Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270778 - media-video/mjpegtools-1.9.0 fails to compile with glibc-2.10
Summary: media-video/mjpegtools-1.9.0 fails to compile with glibc-2.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 271618 (view as bug list)
Depends on:
Blocks: glibc-2.10
  Show dependency tree
 
Reported: 2009-05-21 23:35 UTC by Peter Alfredsen (RETIRED)
Modified: 2009-06-06 17:41 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2009-05-21 23:35:21 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -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
ac3strm_in.cpp: In member function 'virtual void AC3Stream::FillAUbuffer(unsigned int)':
ac3strm_in.cpp:306: warning: format '%lld' expects type 'long long int', but argument 2 has type 'bitcount_t'
ac3strm_in.cpp: In member function 'virtual void AC3Stream::Close()':
ac3strm_in.cpp:349: warning: format '%lld' expects type 'long long int', but argument 2 has type 'bitcount_t'
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-dtsstrm_in.lo -MD -MP -MF .deps/libmplex2_la-dtsstrm_in.Tpo -c dtsstrm_in.cpp  -fPIC -DPIC -o .libs/libmplex2_la-dtsstrm_in.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-decodebufmodel.lo -MD -MP -MF .deps/libmplex2_la-decodebufmodel.Tpo -c decodebufmodel.cpp -o libmplex2_la-decodebufmodel.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-audiostrm_out.lo -MD -MP -MF .deps/libmplex2_la-audiostrm_out.Tpo -c audiostrm_out.cpp  -fPIC -DPIC -o .libs/libmplex2_la-audiostrm_out.o
mv -f .deps/libmplex2_la-bits.Tpo .deps/libmplex2_la-bits.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils    -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread  -MT libmplex2_la-mpastrm_in.lo -MD -MP -MF .deps/libmplex2_la-mpastrm_in.Tpo -c -o libmplex2_la-mpastrm_in.lo `test -f 'mpastrm_in.cpp' || echo './'`mpastrm_in.cpp
dtsstrm_in.cpp: In member function 'virtual void DTSStream::FillAUbuffer(unsigned int)':
dtsstrm_in.cpp:218: warning: format '%lld' expects type 'long long int', but argument 2 has type 'bitcount_t'
dtsstrm_in.cpp: In member function 'virtual void DTSStream::Close()':
dtsstrm_in.cpp:263: warning: format '%lld' expects type 'long long int', but argument 2 has type 'bitcount_t'
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-ac3strm_in.lo -MD -MP -MF .deps/libmplex2_la-ac3strm_in.Tpo -c ac3strm_in.cpp -o libmplex2_la-ac3strm_in.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-audiostrm_out.lo -MD -MP -MF .deps/libmplex2_la-audiostrm_out.Tpo -c audiostrm_out.cpp -o libmplex2_la-audiostrm_out.o >/dev/null 2>&1
lpcmstrm_in.cpp: In static member function 'static bool LPCMStream::Probe(IBitStream&)':
lpcmstrm_in.cpp:56: error: invalid conversion from 'const char*' to 'char*'
lpcmstrm_in.cpp: In member function 'virtual void LPCMStream::Close()':
lpcmstrm_in.cpp:187: warning: format '%lld' expects type 'long long int', but argument 2 has type 'bitcount_t'
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I .. -I ../utils -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -fno-strict-aliasing -pthread -MT libmplex2_la-interact.lo -MD -MP -MF .deps/libmplex2_la-interact.Tpo -c interact.cpp  -fPIC -DPIC -o .libs/libmplex2_la-interact.o
make[2]: *** [libmplex2_la-lpcmstrm_in.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-24 14:42:36 UTC
This bug needs both gcc-4.4.0 and glibc-2.10 installed to trigger it.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-29 07:35:21 UTC
*** Bug 271618 has been marked as a duplicate of this bug. ***
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-29 07:35:46 UTC
See duplicate bug for a patch...
Comment 4 Oschtan 2009-06-01 03:35:41 UTC
(In reply to comment #3)
> See duplicate bug for a patch...
> 
Patch from duplicate bug 271618 is working! Thanks!

Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-06-04 21:41:04 UTC
+  04 Jun 2009; Peter Alfredsen <loki_val@gentoo.org>
+  mjpegtools-1.9.0.ebuild, +files/mjpegtools-1.9.0-glibc-2.10.patch:
+  Fix the constness of a char w.r.t. bug 270778. Thanks to hirakendu
+  <hirakendu@gmail.com> for providing the patch.
+
Comment 6 hirakendu 2009-06-06 17:41:15 UTC
:)