Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282960 - media-video/mjpegtools-1.8.0-r2 doesn't work with gcc4.4
Summary: media-video/mjpegtools-1.8.0-r2 doesn't work with gcc4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 19:45 UTC by Chris Slycord
Modified: 2009-08-27 20:20 UTC (History)
0 users

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


Attachments
Patch to work w/ gcc4.4 (mjpegtools-1.8.0-gcc44.patch,429 bytes, text/plain)
2009-08-27 19:45 UTC, Chris Slycord
Details
diff between original and fixed ebuild (mjpegtools-1.8.0-r2.ebuild.diff,417 bytes, text/plain)
2009-08-27 19:47 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2009-08-27 19:45:14 UTC
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -MT libmplex2_la-lpcmstrm_in.lo -MD -MP -MF .deps/libmplex2_la-lpcmstrm_in.Tpo -c lpcmstrm_in.cpp  -fPIC -DPIC -o .libs/libmplex2_la-lpcmstrm_in.o
lpcmstrm_in.cpp: In static member function 'static bool LPCMStream::Probe(IBitStream&)':
lpcmstrm_in.cpp:56: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [libmplex2_la-lpcmstrm_in.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/mjpegtools-1.8.0-r2/work/mjpegtools-1.8.0/mplex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mjpegtools-1.8.0-r2/work/mjpegtools-1.8.0'
make: *** [all] Error 2
 * 
 * ERROR: media-video/mjpegtools-1.8.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3035:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/mjpegtools-1.8.0-r2
2.
3.

Actual Results:  
Fails to install

Expected Results:  
Install correctly

Fix to follow shortly
Comment 1 Chris Slycord 2009-08-27 19:45:49 UTC
Created attachment 202428 [details]
Patch to work w/ gcc4.4
Comment 2 Chris Slycord 2009-08-27 19:47:02 UTC
Created attachment 202430 [details]
diff between original and fixed ebuild
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-27 20:20:47 UTC
+  27 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+  mjpegtools-1.8.0-r2.ebuild, +files/mjpegtools-1.8.0-glibc-2.10.patch:
+  Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #282960 by Chris Slycord.

Applied without testing as I don't really care about 1.8.0 anymore, if something is still needing it, it's a serious problem in that app.