Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141032 - bbacpi fails to build with gcc-4.1 due to extra qualifiers in resource.hh
Summary: bbacpi fails to build with gcc-4.1 due to extra qualifiers in resource.hh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-07-19 06:37 UTC by William Keaney
Modified: 2006-11-05 14:44 UTC (History)
3 users (show)

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


Attachments
Ebuild utilizing the patch that removes extra qualifiers in resource.hh (bbacpi-0.1.5-r1.ebuild,720 bytes, text/plain)
2006-07-19 06:38 UTC, William Keaney
Details
Patch to remove extra qualifiers from resource.hh (bbacpi-0.1.5-noextraquals.diff,468 bytes, patch)
2006-07-19 06:40 UTC, William Keaney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Keaney 2006-07-19 06:37:30 UTC
Attempting to emerge bbacpi-0.1.5 with gcc-4.1 will result in failure due to extra qualifiers on lines 129 and 130 of resource.hh.  Removing these extra qualifiers resolves the issue.

I have created a patch and corresponding ebuild and would like feedback as to stability / sanity.  Ultimately, if it passes review, please add this ebuild to portage.
Comment 1 William Keaney 2006-07-19 06:38:37 UTC
Created attachment 92205 [details]
Ebuild utilizing the patch that removes extra qualifiers in resource.hh

Description pretty  much says it all: ebuild utilizing a patch.
Comment 2 William Keaney 2006-07-19 06:40:09 UTC
Created attachment 92206 [details, diff]
Patch to remove extra qualifiers from resource.hh

Again, the description should be sufficient.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-26 05:11:22 UTC
ping
Comment 4 Jan 2006-08-05 13:17:10 UTC
WIlliam, please forgive, in general my reactions are much quicker, and they will be in the future. Thanks for filing this bug and providing the patch. However, it does not completely work out for me: I get some steps further, but emerge then dies with

resource.cc:40: error: definition of implicitly-declared 'virtual Resource::~Resource()'

during compilation. The only thing I can see (with my limited C++ experience) is that this error has nothing to do with qualifiers :-)
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2006-11-05 14:44:07 UTC
Jan: I can't reproduce your error.  If you still have this problem, please open a new bug with emerge --info.

Patch applied.  Thanks.