Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349612 - Failed to emerge dev-util/kdevplatform-1.1.1 with USE=kdeenablefinal: macro "APPENDED_LIST_FIRST" in different places with different numbers of arguments
Summary: Failed to emerge dev-util/kdevplatform-1.1.1 with USE=kdeenablefinal: macro "...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://barney.cs.uni-potsdam.de/mail...
Whiteboard:
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2010-12-24 14:23 UTC by Erik
Modified: 2011-02-05 13:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2010-12-24 14:23:20 UTC
Emerge of dev-util/kdevplatform-1.1.1 fails with USE=kdeenablefinal.

Reproducible: Always

Steps to Reproduce:
1. include kdeenablefinal in /etc/make.conf:USE=
2. create /etc/portage/profile/use.mask with the line "-kdeenablefinal"
3. emerge -uDNav world

Actual Results:
I fil inkluderad från /var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1_build/language/kdevplatformlanguage_final_cpp.cpp:37:
/var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/identifier.cpp:66:65: fel: makrot "APPENDED_LIST_FIRST" kräver 3 argument, men endast 2 anges
/var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/identifier.cpp:68:41: fel: makrot "END_APPENDED_LISTS" kräver 2 argument, men endast 1 anges
/var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/identifier.cpp:184:53: fel: makrot "APPENDED_LIST_FIRST" kräver 3 argument, men endast 2 anges
/var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/identifier.cpp:186:33: fel: makrot "END_APPENDED_LISTS" kräver 2 argument, men endast 1 anges
.
.
.

Expected Results:  
successful installation of the package


The problem seems to be that the macro is defined with different number of arguments in different places:
https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/master/entry/language/duchain/appendedlist_static.h#L65
https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/master/entry/language/duchain/appendedlist.h#L300
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-25 02:42:11 UTC
@kde:

has anyone changed his mind about the kdeenablefinal use flag? As far as I recall, we masked the use flag because no one was willing to support it and because it simply didn't work.
I'm adding a comment here in the Nth bug Erik opened about this, as this was the "one too many" report that pushed me to react.
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-26 13:26:05 UTC
@Erik:
I'm going to (test and) proxy commit upstream those patches in the 28th, which is two days before the 4.5.5 tagging. I follow kde-devel and a bunch of other kde mls ftr. Also, please consider joining us.
@Jorge:
if Erik wants to support it and has patches, I don't mind at all having it masked
Comment 3 Erik 2011-01-17 05:18:46 UTC
This particular build error is said to be fixed, but only in the 1.2 branch.
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-02-05 13:43:34 UTC
1.2 it tree, should be fixed