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

Bug 554512

Summary: =sys-libs/gwenhywfar-4.3.3: fails compiling
Product: Gentoo Linux Reporter: Paul Klos <gentoo>
Component: [OLD] LibraryAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of emerge --info
Build log

Description Paul Klos 2015-07-11 13:30:20 UTC
I have sys-libs/gwenhywfar-4.3.3 installed. Portage wants to re-emerge it because of an updated net-libs/gnutls-3.3.15:

!!! existing preserved libs:
>>> package: net-libs/gnutls-3.3.15
 *  - /usr/lib64/libgnutls.so.26
 *  - /usr/lib64/libgnutls.so.26.22.6
 *      used by /usr/lib64/libgwengui-qt4.so.0.0.0 (sys-libs/gwenhywfar-4.3.3)
 *      used by /usr/lib64/libgwenhywfar.so.60.3.3 (sys-libs/gwenhywfar-4.3.3)

For some reason, the emerge now consistently fails with these errors:

libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/crtbeginS.o  .libs/cppdialog.o .libs/cppgui.o .libs/fox16_gui.o .libs/fox16_gui_dialog.o .libs/fox16_gui_sortinglist.o .libs/fox16_gui_updater.o .libs/fox16_htmlctx.o .libs/fox16_htmllabel.o .libs/fox16_htmltext.o .libs/theme.o   -Wl,-rpath -Wl,/var/tmp/portage/sys-libs/gwenhywfar-4.3.3/work/gwenhywfar-4.3.3/src/.libs /usr/lib64/libFOX-1.6.so ../../src/.libs/libgwenhywfar.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../lib64/crtn.o  -march=core2 -O2 -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,libgwengui-fox16.so.0 -o .libs/libgwengui-fox16.so.0.0.0
libtest.cpp: In function ‘int test2(int, char**)’:
libtest.cpp:117:14: error: ‘sleep’ was not declared in this scope
       sleep(1);
              ^
libtest.cpp: In function ‘int test4(int, char**)’:
libtest.cpp:232:14: error: ‘sleep’ was not declared in this scope
       sleep(1);
              ^
libtest.cpp: In function ‘int test6(int, char**)’:
libtest.cpp:349:14: error: ‘sleep’ was not declared in this scope
       sleep(1);
              ^
Makefile:513: recipe for target 'libtest.o' failed
make[3]: *** [libtest.o] Error 1

Reproducible: Always

Steps to Reproduce:
1. emerge sys-libs/gwenhywfar-4.3.3
Actual Results:  
build fails

Expected Results:  
a rebuilt version of gwenhywfar should have been installed
Comment 1 Paul Klos 2015-07-11 13:33:43 UTC
Created attachment 406522 [details]
Output of emerge --info
Comment 2 Paul Klos 2015-07-11 13:34:11 UTC
Created attachment 406524 [details]
Build log
Comment 3 Paul Klos 2015-11-11 21:02:01 UTC
It builds successfully if I disable the fox useflag
Comment 4 Hanno Böck gentoo-dev 2016-05-11 09:34:22 UTC
can you test if this also happens with the latest version 4.15.3? We'll probably stabilize that soon due to security issues.
Comment 5 Paul Klos 2016-05-12 20:25:16 UTC
(In reply to Hanno Boeck from comment #4)
> can you test if this also happens with the latest version 4.15.3? We'll
> probably stabilize that soon due to security issues.

Version 4.15.3 builds fine, both with and without the fox useflag. With it, it pulls in the packages listed below. All of them built just fine.

As far as I can tell, version 4.15.3 is fine.



# emerge -1av
sys-libs/gwenhywfar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-libs/fox-wrapper-3::gentoo  0 KiB
[ebuild  N     ] dev-util/reswrap-4.0.0::gentoo  USE="-debug -doc -profile" 0 KiB
[ebuild  N     ] x11-libs/fox-1.6.49:1.6::gentoo  USE="bzip2 jpeg opengl png tiff truetype zlib -debug -doc -profile" 0 KiB
[ebuild   R   ~] sys-libs/gwenhywfar-4.15.3::gentoo  USE="fox* gtk qt4 -debug -doc" 0 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 0 KiB
Comment 6 Hanno Böck gentoo-dev 2016-09-13 12:15:49 UTC
ok, seems this is fixed by updating to newer version, done.