Summary: | media-video/transcode-1.1.4 does not compile w/ gcc-4.4.2 because of missing libgomp.la | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | rogerx.oss |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas Sturmlechner
![]() run # fix_libtool_files.sh 4.4.1 (replace 4.4.1 with the old gcc version) and it should be alright again. (In reply to comment #1) > run > # fix_libtool_files.sh 4.4.1 > (replace 4.4.1 with the old gcc version) > and it should be alright again. > I had 4.4.2_pre9999 running long ago and 4.4.1_pre9999 just before that. I did run fix_libtool_files.sh before and it didn't change a thing. (In reply to comment #2) > (In reply to comment #1) > > run > > # fix_libtool_files.sh 4.4.1 > > (replace 4.4.1 with the old gcc version) > > and it should be alright again. > > > > I had 4.4.2_pre9999 running long ago and 4.4.1_pre9999 just before that. I did > run fix_libtool_files.sh before and it didn't change a thing. > Ok, it turns out I missed the change from 4.4.0_pre9999 to 4.4.1_pre9999, or rather mis-used fix_libtool_files.sh fix_libtool_files.sh 4.4.0* (instead of 4.4.0 back then) did the trick. Thanks for the help, I'll mark that bug as fixed now. My error reads "usr/lib/gcc/i686-pc-linux-gnu/4.3.4"... Looks like the beginning top folder designator is stripped. ...unlike your original posting. =sys-apps/portage-2.2_rc46 libtool: link: i686-pc-linux-gnu-gcc -shared .libs/export_ffmpeg_la-export_ffmpeg.o .libs/export_ffmpeg_la-aud_aux.o .libs/export_ffmpeg_la-ffmpeg_cfg.o -lavcodec -L/usr/lib /usr/lib/libmp3lame.so -lm -lz -ldl -march=pentium3 -Wl,-O1 -Wl,-soname -Wl,export_ffmpeg.so -o .libs/export_ffmpeg.so ../libtool: line 6427: cd: usr/lib/gcc/i686-pc-linux-gnu/4.3.4: No such file or directory libtool: link: warning: cannot determine absolute directory name of `usr/lib/gcc/i686-pc-linux-gnu/4.3.4' /bin/grep: usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la: No such file or directory /bin/sed: can't read usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la: No such file or directory libtool: link: `usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la' is not a valid libtool archive make[2]: *** [export_im.la] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: ( cd ".libs" && rm -f "export_ffmpeg.la" && ln -s "../export_ffmpeg.la" "export_ffmpeg.la" ) make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.4/work/transcode-1.1.4/export' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.4/work/transcode-1.1.4' make: *** [all] Error 2 Explaining why WORKSFORME: both reporter and comment 4 are effects of similar source of problem - gcc la files. Both were caused by mistakes in either gcc ebuild or one of the used eclasses, that have been long fixed in the tree. The problems now are caused by the broken la files, so either reemerge gcc of edit those la files - you should edit libgomp.la and set libdir to the one la file is in, then either revdep-rebuild or (this may not be enough) correct libMagickWand.la and LibMagickCore.la |