Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219779

Summary: media-gfx/enblend-3.0 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: enblend-3.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-29 22:33:01 UTC
make[3]: Entering directory `/var/tmp/portage/media-gfx/enblend-3.0/work/enblend-3.0/src/vigra_impex'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include -O3 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHasTIFF -DNDEBUG -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libvigra_impex_a-bmp.o -MD -MP -MF ".deps/libvigra_impex_a-bmp.Tpo" -c -o libvigra_impex_a-bmp.o `test -f 'bmp.cxx' || echo './'`bmp.cxx; \
        then mv -f ".deps/libvigra_impex_a-bmp.Tpo" ".deps/libvigra_impex_a-bmp.Po"; else rm -f ".deps/libvigra_impex_a-bmp.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include -O3 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHasTIFF -DNDEBUG -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libvigra_impex_a-byteorder.o -MD -MP -MF ".deps/libvigra_impex_a-byteorder.Tpo" -c -o libvigra_impex_a-byteorder.o `test -f 'byteorder.cxx' || echo './'`byteorder.cxx; \
        then mv -f ".deps/libvigra_impex_a-byteorder.Tpo" ".deps/libvigra_impex_a-byteorder.Po"; else rm -f ".deps/libvigra_impex_a-byteorder.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include -O3 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHasTIFF -DNDEBUG -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libvigra_impex_a-codecmanager.o -MD -MP -MF ".deps/libvigra_impex_a-codecmanager.Tpo" -c -o libvigra_impex_a-codecmanager.o `test -f 'codecmanager.cxx' || echo './'`codecmanager.cxx; \
        then mv -f ".deps/libvigra_impex_a-codecmanager.Tpo" ".deps/libvigra_impex_a-codecmanager.Po"; else rm -f ".deps/libvigra_impex_a-codecmanager.Tpo"; exit 1; fi
In file included from ../../include/vigra/codec.hxx:58,
                 from bmp.hxx:41,
                 from bmp.cxx:46:
../../include/vigra/diff2d.hxx: In member function ‘bool vigra::Rect2D::contains(const vigra::Rect2D&) const’:
../../include/vigra/diff2d.hxx:1133: warning: suggest parentheses around && within ||
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include -O3 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHasTIFF -DNDEBUG -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libvigra_impex_a-gif.o -MD -MP -MF ".deps/libvigra_impex_a-gif.Tpo" -c -o libvigra_impex_a-gif.o `test -f 'gif.cxx' || echo './'`gif.cxx; \
        then mv -f ".deps/libvigra_impex_a-gif.Tpo" ".deps/libvigra_impex_a-gif.Po"; else rm -f ".deps/libvigra_impex_a-gif.Tpo"; exit 1; fi
In file included from ../../include/vigra/codec.hxx:58,
                 from codecmanager.hxx:43,
                 from codecmanager.cxx:48:
../../include/vigra/diff2d.hxx: In member function ‘bool vigra::Rect2D::contains(const vigra::Rect2D&) const’:
../../include/vigra/diff2d.hxx:1133: warning: suggest parentheses around && within ||
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include -O3 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHasTIFF -DNDEBUG -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libvigra_impex_a-hdr.o -MD -MP -MF ".deps/libvigra_impex_a-hdr.Tpo" -c -o libvigra_impex_a-hdr.o `test -f 'hdr.cxx' || echo './'`hdr.cxx; \
        then mv -f ".deps/libvigra_impex_a-hdr.Tpo" ".deps/libvigra_impex_a-hdr.Po"; else rm -f ".deps/libvigra_impex_a-hdr.Tpo"; exit 1; fi
In file included from ../../include/vigra/iteratortraits.hxx:43,
                 from ../../include/vigra/diff2d.hxx:45,
                 from hdr.hxx:43,
                 from hdr.cxx:41:
../../include/vigra/imageiteratoradapter.hxx: In constructor ‘vigra::LineIterator<IMAGE_ITERATOR>::LineIterator(const IMAGE_ITERATOR&, const IMAGE_ITERATOR&)’:
../../include/vigra/imageiteratoradapter.hxx:532: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:99: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:103: note:                 float std::abs(float)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:107: note:                 long double std::abs(long double)
../../include/vigra/imageiteratoradapter.hxx:535: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:99: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:103: note:                 float std::abs(float)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:107: note:                 long double std::abs(long double)
In file included from hdr.hxx:43,
                 from hdr.cxx:41:
../../include/vigra/diff2d.hxx: In member function ‘bool vigra::Rect2D::contains(const vigra::Rect2D&) const’:
../../include/vigra/diff2d.hxx:1133: warning: suggest parentheses around && within ||
make[3]: *** [libvigra_impex_a-hdr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../include/vigra/codec.hxx:58,
                 from gif.hxx:41,
                 from gif.cxx:48:
../../include/vigra/diff2d.hxx: In member function ‘bool vigra::Rect2D::contains(const vigra::Rect2D&) const’:
../../include/vigra/diff2d.hxx:1133: warning: suggest parentheses around && within ||
make[3]: Leaving directory `/var/tmp/portage/media-gfx/enblend-3.0/work/enblend-3.0/src/vigra_impex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/enblend-3.0/work/enblend-3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/enblend-3.0/work/enblend-3.0'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-29 22:33:49 UTC
Created attachment 151373 [details, diff]
enblend-3.0-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Markus Meier gentoo-dev 2008-05-02 11:43:51 UTC
Fixed in cvs, thanks for the patch.