Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186706

Summary: net-libs/libfwbuilder: Compilation failure with gcc-4.2
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: New packagesAssignee: Carlos Silva (RETIRED) <r3pek>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 162167    
Attachments: libfwbuilder-2.1.13-gcc42.patch

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.