Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240435 - media-video/mjpegtools-1.8.0-r2 doesn't compile with gcc-4.3.2
Summary: media-video/mjpegtools-1.8.0-r2 doesn't compile with gcc-4.3.2
Status: RESOLVED DUPLICATE of bug 240379
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: 2008-10-07 22:56 UTC by Dave
Modified: 2008-10-08 14:27 UTC (History)
0 users

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


Attachments
emerge --info (info,17.38 KB, text/plain)
2008-10-07 22:57 UTC, Dave
Details
build.log (build.log,24.56 KB, text/plain)
2008-10-07 22:59 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2008-10-07 22:56:33 UTC
emerge @preserved-rebuild says I need to recompile media-video/mjpegtools-1.8.0-r2

mytharchive reqiures <media-video/mjpegtools-1.8.99999 so I can't go to a newer version.

I get this error:

mv -f .deps/encoderparams.Tpo .deps/encoderparams.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils    -O2 -march=i686 -pipe -Wno-deprecated -fno-strict-aliasing -pthread  -MT macroblock.lo -MD -MP -MF .deps/macroblock.Tpo -c -o macroblock.lo macroblock.cc
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils -O2 -march=i686 -pipe -Wno-deprecated -fno-strict-aliasing -pthread -MT macroblock.lo -MD -MP -MF .deps/macroblock.Tpo -c macroblock.cc  -fPIC -DPIC -o .libs/macroblock.o
In file included from macroblock.hh:54,
                 from macroblock.cc:24:
encodertypes.h: In member function 'int MotionVector::CodingPenaltyForSAD() const':
encodertypes.h:76: error: 'abs' was not declared in this scope
macroblock.cc: In member function 'void MacroBlock::SelectCodingModeOnVariance()':
macroblock.cc:52: error: 'INT_MAX' was not declared in this scope
make[2]: *** [macroblock.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/mjpegtools-1.8.0-r2/work/mjpegtools-1.8.0/mpeg2enc'
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 2852:  Called die
 * The specific snippet of code:
 * emake || die "emake failed";
 * The die message:
 * emake failed
Comment 1 Dave 2008-10-07 22:57:30 UTC
Created attachment 167563 [details]
emerge --info

This is my emerge --info
Comment 2 Dave 2008-10-07 22:59:39 UTC
Created attachment 167564 [details]
build.log

This is my build.log
Comment 3 Rafał Mużyło 2008-10-08 00:23:03 UTC
Duplicate of bug 240379.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-08 14:27:08 UTC

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