Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325791 - media-video/mjpegtools-1.9.0-r1 fails to build
Summary: media-video/mjpegtools-1.9.0-r1 fails to build
Status: RESOLVED DUPLICATE of bug 267829
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-27 02:18 UTC by a_tevelev
Modified: 2010-06-27 18:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.04 KB, text/plain)
2010-06-27 02:30 UTC, a_tevelev
Details
build.log (build.log,159.33 KB, text/plain)
2010-06-27 02:31 UTC, a_tevelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a_tevelev 2010-06-27 02:18:50 UTC
# 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'
Comment 1 a_tevelev 2010-06-27 02:30:20 UTC
Created attachment 236691 [details]
emerge --info
Comment 2 a_tevelev 2010-06-27 02:31:21 UTC
Created attachment 236693 [details]
build.log
Comment 3 Rafał Mużyło 2010-06-27 16:17:54 UTC
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.
Comment 4 Kevin Pyle 2010-06-27 18:23:30 UTC
(In reply to comment #3)
> Post your 'emerge  --info'.

The original reporter's emerge --info is attached as comment #1, attachment #236691 [details].
Comment 5 Rafał Mużyło 2010-06-27 18:54:11 UTC
Oops, I've missed that.

Still, test for parallel make/ccache problems.

hardened might play a role here, also check binutils.
Comment 6 Rafał Mużyło 2010-06-27 18:56:30 UTC
Sorry again, this time for the noise.

*** This bug has been marked as a duplicate of bug 267829 ***