Summary: | kde-base/pykde4-4.7.4 fails to compile tests for -semantic-desktop (akonadi/agentbase.h: No such file or directory) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.gz
the build log |
Description
Paweł Hajdan, Jr. (RETIRED)
2012-02-15 09:32:43 UTC
have you tried to (re)compile kde-base/kdepimlibs ? (In reply to comment #1) > have you tried to (re)compile kde-base/kdepimlibs ? Yes, after that pykde4 failed with the same error. Note that I have USE="-semantic-desktop": [ebuild R ] kde-base/kdepimlibs-4.7.4-r1 USE="handbook test (-aqua) -debug -ldap -semantic-desktop" 0 kB [ebuild R ] kde-base/pykde4-4.7.4 USE="doc (-aqua) -debug -examples -semantic-desktop" 0 kB attempted to replicate;
Pawel your suspicion appears founded.
localhost kdelibs # USE=-semantic-desktop emerge =kde-base/pykde4-4.7.4
after doing kdelibs with matching use flags;
>>> Emerging (1 of 1) kde-base/pykde4-4.7.4
>>> Installing (1 of 1) kde-base/pykde4-4.7.4
hence
localhost idella # eix pykde4
[I] kde-base/pykde4
Available versions: (4) 4.6.3 4.6.3-r1 4.7.4 ~4.8.0
{aqua debug doc examples kdeprefix semantic-desktop}
Installed versions: 4.7.4(4)(01:12:22 22/02/12)(-aqua -debug -doc -examples -semantic-desktop)
however;
localhost idella # eix kdepimlibs
[I] kde-base/kdepimlibs
Available versions: (4) 4.6.3!t 4.7.4-r1!t ~4.8.0!t
{aqua debug +handbook kdeprefix ldap +prison semantic-desktop test}
Installed versions: 4.7.4-r1(4)!t(23:12:48 21/02/12)(handbook ldap semantic-desktop test -aqua -debug)
So;
localhost pykde4 # USE=-semantic-desktop emerge kdepimlib
followed by
localhost pykde4 # USE=-semantic-desktop emerge pykde4
followed by set FEATURES=test in /etc/make.conf and finally
localhost pykde4 # USE=-semantic-desktop emerge pykde4
* ERROR: kde-base/pykde4-4.7.4 failed (test phase):
* emake failed
Only took all night to replicate it twice.
The three essential components that match the initial Description are;
kdepimlibs-4.7.4-r1 -semantic-desktop
pykde4-4.7.4 -semantic-desktop test
This is a test phase failure
[ 41%] Built target python_module_PyKDE4_kio
make: *** [all] Error 2
* ERROR: kde-base/pykde4-4.7.4 failed (test phase):
* emake failed
localhost pykde4 # grep agentbase.h /var/tmp/portage/portage/kde-base/pykde4-4.7.4/temp/build.log
/var/tmp/portage/portage/kde-base/pykde4-4.7.4/work/pykde4-4.7.4/sip/akonadi/agentbase.sip:114:31: fatal error: akonadi/agentbase.h: No such file or directory
makes an exact match to the initial Description. It differs at the point (41%) at which it occurred. What makes this difficult to catch is that the kdepimlibs can be emerge with semantic-desktop + or -. Setting pykde4 to
-semantic-desktop only pulled in kdelibs to match -semantic-desktop. I had to explicitly re-emerge kdepimlibs to USE=-semantic-desktop to replicate and draw the fail.
As far as a fix goes;
"it looks like the test phase reruns make without passing the flags that the normal src_compile phase passes." from the ever reliable marienz.
Created attachment 302725 [details]
the build log
Added REQUIRED_USE="test? ( semantic-desktop )" Everything else is not really worth the effort here. |