Created attachment 323226 [details] ermerge --info compilation of splashutils fails, because gzip is not added to linker args. end of build log: CREATE libfbsplash.pc CREATE libfbsplashrender.pc LD fbcondecor_helper /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libfreetype.a(ftgzip.o): In function `ft_gzip_stream_close': ftgzip.c:(.text+0x1c4): undefined reference to `inflateEnd' /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libfreetype.a(ftgzip.o): In function `ft_gzip_file_fill_output': ftgzip.c:(.text+0x2e1): undefined reference to `inflate' /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libfreetype.a(ftgzip.o): In function `ft_gzip_file_io': ftgzip.c:(.text+0x446): undefined reference to `inflateReset' /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libfreetype.a(ftgzip.o): In function `FT_Stream_OpenGzip': ftgzip.c:(.text+0x736): undefined reference to `inflateInit2_' ftgzip.c:(.text+0x7a1): undefined reference to `inflateEnd' collect2: ld returned 1 exit status the failing command looks like this: cd /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4/src ld -m elf_i386 -static -o fbsplashctl /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/crt1.o /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/crtbeginT.o -L/usr/lib/nptl -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.3 -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../.. -O1 fbsplashctl-daemon_cmd.o fbsplashctl-daemon.o fbsplashctl-util.o fbsplashctl-fbsplashctl.o fbsplashctl-fbcon_decor_ctl.o --as-needed ./.libs/libfbsplashrender.a /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4/src/.libs/libfbsplash.a -ljpeg -lfreetype -lm ./.libs/libfbsplash.a -lpthread -lrt -lbz2 --start-group -lgcc -lgcc_eh -lc --end-group /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/crtend.o /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/crtn.o adding "-lz" after "-lc" makes this go away, but it's probably the wrong solution. looks like splashutils package tries to use internal copy of gzip, but ebuild deletes the Makefile, and never tries to build it at all.
Created attachment 323228 [details] build log
1.5.4.4-r1 works for me, 1.5.4.4 doesn't. The functions failing in 1.5.4.4 are different (bzip2). There's a thread in the forums: http://forums.gentoo.org/viewtopic-t-924864-highlight-splashutils.html
Still valid with -r2?
*** Bug 440350 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > Still valid with -r2? Yes. I just tried rebuilding splashutils-1.5.4.4-r1 and splashutils-1.5.4.4-r2 without gpm/mng/png, and got the same error. ---- emerge -pvuDN @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ~] media-gfx/splashutils-1.5.4.4-r2 [1.5.4.4-r1] USE="fbcondecor truetype -gpm* -hardened -mng* -png*" 0 kB ------
I see no difference in building splashutils-1.5.4.4-r1 or -r2. The combination of USE flags seem to matter: USE="truetype -fbcondecor -gpm* -hardened -mng* -png*" -- Doesn't build USE="gpm mng png truetype -fbcondecor -hardened" -- Builds fine USE="fbcondecor* mng png truetype -gpm* -hardened" -- Builds fine USE="fbcondecor png truetype -gpm -hardened -mng*" -- Builds fine USE="fbcondecor truetype -gpm -hardened -mng -png*" -- Doesn't build USE="fbcondecor -gpm -hardened -mng -png* -truetype*" -- Builds fine
Created attachment 344426 [details] emerge --info
I have the same problem and managed to solve it. The solution is in the /usr/lib/pkgconfig/freetype2.pc libraries order. The line with `Requires.private: zlib` should be removed and order of Libs.private should look like this Libs.private: -lbz2 -lpng16 -lz . This modifications solves the issue.
Stabilization teams don't belong here.
(In reply to Peter from comment #8) > I have the same problem and managed to solve it. The solution is in the > /usr/lib/pkgconfig/freetype2.pc libraries order. The line with > `Requires.private: zlib` should be removed and order of Libs.private should > look like this Libs.private: -lbz2 -lpng16 -lz . This modifications solves > the issue. his is 'good'. Can you make a patch to effect the change in the code and I can either commit it directly or you can become co-maintainer (proxy) and it sill still be committed and you can continue to proxy maintain.
(In reply to Peter from comment #8) > I have the same problem and managed to solve it. The solution is in the > /usr/lib/pkgconfig/freetype2.pc libraries order. The line with > `Requires.private: zlib` should be removed and order of Libs.private should > look like this Libs.private: -lbz2 -lpng16 -lz . This modifications solves > the issue. Although my interest since this bug was created is definitely down and I do not reboot nearly as much, very cool to finally to see a fix.
*** This bug has been marked as a duplicate of bug 490530 ***