View previous topic :: View next topic |
Author |
Message |
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 1:31 pm Post subject: portage curly brace use flag for test [SOLVED] |
|
|
It appears that sometimes portage shows use flags with curly braces surrounding the flag.
It appears that "USE=-flag" has no effect on such a flag.
After two days of searching over internet I ask : is this feature documented in gentoo?
example:
USE="-test" emerge opensp
answer:
circular dependency
It might be possible to break the cycle
by applying the following change
- app-text/opensp-1.5.2-r3 (changed USE: -test)
Last edited by sinfree on Wed Sep 11, 2013 4:03 pm; edited 1 time in total |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 2:44 pm Post subject: RDEPEND and PDEPEND in openjade ebuild |
|
|
As stated in https://devmanual.gentoo.org/general-concepts/dependencies/index.html
saying:
Post-Merge Dependencies
The PDEPEND variable specifies dependencies which must be merged after the package. This is sometimes used for plugins which have a dependency upon the package being merged. Generally PDEPEND should be avoided in favour of RDEPEND except where this will create circular dependency chains.
should I change RDEPEND to PDEPEND for app-text/opensp dependency in openjade ebuild? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 2:49 pm Post subject: Pdepend |
|
|
If I modify the ebuild to add the PDEPEND modification how do I avoid package corruption? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 2:55 pm Post subject: --digest option |
|
|
The digest option seems to avoid portage corruption from being noticed.
But the circular dependency continues to block upgrade. |
|
Back to top |
|
|
rh1 Guru
Joined: 10 Apr 2010 Posts: 501
|
Posted: Wed Sep 11, 2013 2:55 pm Post subject: |
|
|
The Dev guide isn't quite accurate. Packages listed in PDEPEND in an ebuild are not guarenteed to be emerged after that package. See https://bugs.gentoo.org/show_bug.cgi?id=424117 . As far as corruption the best solution is to create an overlay and stick your modified ebuild in it. |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 2:59 pm Post subject: Bad solution |
|
|
These solutions appears to be bad solutions as they are too complex to be implied:
the circular dependency appears each time the package openjade is used.
It blocks my world update.
There should be a simple solution avoiding developing tchniques. |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:02 pm Post subject: simple solution but heavy |
|
|
The simple solution is to ask package maintainer to correct their ebuild, but it has a time effect on package upgrade as it blocks world upgrade.
What should be temporary work around? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:04 pm Post subject: email of ebuild maintainer |
|
|
If I want to signal ebuild problem where can I find ebuild maintainer email? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:33 pm Post subject: "test" flag has conditional flag in opensp |
|
|
"test" flag has conditional flag in opensp; why I cannot disable it with USE="-test"? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:39 pm Post subject: USE="-test" is what emerge preconises, so what els |
|
|
USE="-test" is what emerge preconises, so what else? |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:47 pm Post subject: http://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html |
|
|
--changed-use
Tells emerge to include installed packages where USE flags have changed since installation. This option also implies the --selective option. Unlike --newuse, the --changed-use option does not trigger reinstallation when flags that the user has not enabled are added or removed.
NOTE: This option ignores the state of the "test" USE flag, since that flag has a special binding to FEATURES="test" (see make.conf(5) for more information about FEATURES settings).
So that USE="-test" has no effect as changed-use cannot affect test.
I have to modify FEATURES settings, just web browsing a little more... |
|
Back to top |
|
|
sinfree n00b
Joined: 10 Sep 2013 Posts: 17
|
Posted: Wed Sep 11, 2013 3:53 pm Post subject: FEATURES="-test" [SOLVED] |
|
|
The USE variable has no effect on test.
But FEATURES can,
so
FEATURES="-test" emerge opensp
can unlock
emerge --update world |
|
Back to top |
|
|
|