Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186706 - net-libs/libfwbuilder: Compilation failure with gcc-4.2
Summary: net-libs/libfwbuilder: Compilation failure with gcc-4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Carlos Silva (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-07-26 15:57 UTC by Tiziano Müller (RETIRED)
Modified: 2007-08-04 11:40 UTC (History)
1 user (show)

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


Attachments
libfwbuilder-2.1.13-gcc42.patch (libfwbuilder-2.1.13-gcc42.patch,8.88 KB, patch)
2007-07-26 15:59 UTC, Tiziano Müller (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2007-07-26 15:57:52 UTC
Number one:
[...]
dns.cpp: At global scope:
dns.cpp:817: error: 'void* libfwbuilder::DNS_bulkBackResolve_Thread(void*)' should have been declared inside 'libfwbuilder'
make[2]: *** [.obj/dns.o] Error 1
make[2]: Leaving directory `/var/tmp/paludis/net-libs/libfwbuilder-2.1.13/work/libfwbuilder-2.1.13/src/fwbuilder'
make[1]: *** [sub-fwbuilder] Error 2
make[1]: Leaving directory `/var/tmp/paludis/net-libs/libfwbuilder-2.1.13/work/libfwbuilder-2.1.13/src'
make: *** [sub-src] Error 2

... and so on. Basically wrong namespace usage. Probably report to upstream.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-07-26 15:59:23 UTC
Created attachment 126089 [details, diff]
libfwbuilder-2.1.13-gcc42.patch

Well, here's the patch to fix the mess.
Comment 2 keenblade 2007-07-27 21:29:10 UTC
(In reply to comment #1)
> Created an attachment (id=126089) [edit]
> libfwbuilder-2.1.13-gcc42.patch
> 
> Well, here's the patch to fix the mess.
> 

Thanks, that worked for my ~amd64 arch.
Comment 3 Willard Dawson 2007-07-30 19:10:13 UTC
The patch works in my x86 / gcc4.2 environment as well.  Curious, why this one hasn't been pushed out, yet...
Comment 4 Carlos Silva (RETIRED) gentoo-dev 2007-07-30 19:27:09 UTC
working on this plus a few other fixes. either today or tomorrow it will be released.
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2007-07-30 21:41:40 UTC
in cvs now. thx.