Summary: | app-admin/keepassx fails to build with gcc-4.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | brankob |
Component: | Current packages | Assignee: | Dror Levin (RETIRED) <spatz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | qt, tgurr, xarthisius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/?func=detail&aid=3519324&group_id=166631&atid=839779 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 | ||
Attachments: |
new ebuild
patch for compiling with gcc-4.7.0_rc* emerge --info portage log file |
Created attachment 306165 [details, diff]
patch for compiling with gcc-4.7.0_rc*
Please attach full build.log and paste your emerge --info for completeness. TIA Created attachment 306175 [details]
emerge --info
Created attachment 306177 [details]
portage log file
It's just a case of missing #include <unistd.h> that was not needed with 4.6* and earlier. I don't know if this is gcc-4.7* bug or feature, but it seems that at least several packages are affected by it... (In reply to comment #5) > It's just a case of missing #include <unistd.h> that was not needed with > 4.6* and earlier. > > I don't know if this is gcc-4.7* bug or feature, but it seems that at least > several packages are affected by it... It's a "feature" ;) and more than several are affected you can find a good estimate at fedora's ml[1]. Thanks again for the report. Assigning to the maintainers. [1] https://lists.fedoraproject.org/pipermail/devel/2011-December/160723.html Reported upstream and fixed in CVS. Thanks. |
Created attachment 306163 [details] new ebuild I susspect this happens also with other gcc-4.7 versions. It seems this is to missing include that is not default with new gcc. Here is new abuild and small patch.