I'm rebuild media-gfx/swftools-0.9.2 on @preserved-rebuild and this rebuild failded: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H swfbbox.o -o swfbbox ../lib/librfxswf.a ../lib/libbase.a -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -L/usr/lib64 -lgif -ljpeg -lz -lm -lz -lbz2 -lfontconfig -lfreetype gif2swf.o: In function `MovieAddFrame': gif2swf.c:(.text+0x4c7): undefined reference to `PrintGifError' gif2swf.o: In function `CheckInputFile': gif2swf.c:(.text+0x1294): undefined reference to `PrintGifError' collect2: error: ld returned 1 exit status make[2]: *** [gif2swf] Error 1 make[2]: *** Waiting for unfinished jobs.... debug enabled, not stripping swfbbox make[2]: Leaving directory `/var/tmp/portage/media-gfx/swftools-0.9.2/work/swftools-0.9.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-gfx/swftools-0.9.2/work/swftools-0.9.2' * ERROR: media-gfx/swftools-0.9.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/swftools-0.9.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/swftools-0.9.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-gfx/swftools-0.9.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/swftools-0.9.2/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/swftools-0.9.2/work/swftools-0.9.2' * S: '/var/tmp/portage/media-gfx/swftools-0.9.2/work/swftools-0.9.2' I find bug solution and finded this link - http://forums.gentoo.org/viewtopic-t-971506.html?sid=3a3adffe24dcd3a7c7ef6166aaa13b5c
please post your emerge --info and full build log
Created attachment 361700 [details] emerge --info
Created attachment 361704 [details] Full build log to media-gfx/swftools-0.9.2
Created attachment 361722 [details, diff] swftools-0.9.2_nopdf.patch The patch from git supposed to fix the build issue with >= giflib 5 http://wiki.swftools.org/viewgit/?a=commitdiff&p=swftools-git%20&h=05c1df6a6da28734533722dc0ac99ea5b206a492 I modified it a bit, so it works with giflib 4.2 (current unstable in tree) and hopefully working with 4.1 (as it worked without the patch) too. I compiled it, but I didn't test any functionality. In the ebuild just add this patch file in line 26 like the other two.
In fact, I accidentally gave wrong filename for the patch. It should be: swftools-0.9.2_giflib5.patch :) Sorry. Nothing to with the existing nopdf patch!
I'm testing tools, it's work.
I need to commit it ;)
+ 26 Oct 2013; Pacho Ramos <pacho@gentoo.org> + +files/swftools-0.9.2_giflib.patch, swftools-0.9.2.ebuild: + Fix build with latest giflib, bug #488992 by Boris Vingradov and fix by László + Szalma. +