# emerge -uv media-video/mjpegtools These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-video/mjpegtools-1.9.0-r1 [1.9.0] USE="X dga dv gtk* mmx png sdl v4l* yv12 -quicktime" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB ... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../utils -fno-PIC -march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wunused -MT yuvscaler-yuvscaler_resample.o -MD -MP -MF .deps/yuvscaler-yuvscaler_resample.Tpo -c -o yuvscaler-yuvscaler_resample.o `test -f 'yuvscaler_resample.c' || echo './'`yuvscaler_resample.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../utils -fno-PIC -march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wunused -MT yuvscaler-yuvscaler_bicubic.o -MD -MP -MF .deps/yuvscaler-yuvscaler_bicubic.Tpo -c -o yuvscaler-yuvscaler_bicubic.o `test -f 'yuvscaler_bicubic.c' || echo './'`yuvscaler_bicubic.c mv -f .deps/yuvscaler-yuvscaler_bicubic.Tpo .deps/yuvscaler-yuvscaler_bicubic.Po mv -f .deps/yuvscaler-yuvscaler_resample.Tpo .deps/yuvscaler-yuvscaler_resample.Po mv -f .deps/yuvscaler-yuvscaler.Tpo .deps/yuvscaler-yuvscaler.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fno-PIC -march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wunused -Wl,-O1 -o yuvscaler yuvscaler-yuvscaler.o yuvscaler-yuvscaler_resample.o yuvscaler-yuvscaler_bicubic.o ../utils/libmjpegutils.la -lm -lm mkdir .libs x86_64-pc-linux-gnu-gcc -fno-PIC -march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wunused -Wl,-O1 -o .libs/yuvscaler yuvscaler-yuvscaler.o yuvscaler-yuvscaler_resample.o yuvscaler-yuvscaler_bicubic.o ../utils/.libs/libmjpegutils.so -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: yuvscaler-yuvscaler.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC yuvscaler-yuvscaler.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [yuvscaler] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/work/mjpegtools-1.9.0/yuvscaler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/work/mjpegtools-1.9.0' make: *** [all] Error 2 * ERROR: media-video/mjpegtools-1.9.0-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3052: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =media-video/mjpegtools-1.9.0-r1', * the complete build log and the output of 'emerge -pqv =media-video/mjpegtools-1.9.0-r1'. * The complete build log is located at '/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/temp/environment'. * S: '/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/work/mjpegtools-1.9.0' >>> Failed to emerge media-video/mjpegtools-1.9.0-r1, Log file: >>> '/var/tmp/portage/media-video/mjpegtools-1.9.0-r1/temp/build.log'
Created attachment 236691 [details] emerge --info
Created attachment 236693 [details] build.log
Post your 'emerge --info'. It may be just a parallel make/ccache problem. If it's not, it's rather strange - -fno-PIC is added by the package and it doesn't look like it caused problems before.
(In reply to comment #3) > Post your 'emerge --info'. The original reporter's emerge --info is attached as comment #1, attachment #236691 [details].
Oops, I've missed that. Still, test for parallel make/ccache problems. hardened might play a role here, also check binutils.
Sorry again, this time for the noise. *** This bug has been marked as a duplicate of bug 267829 ***