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

Bug 137452

Summary: enblend version 2.5 fails to compile
Product: Gentoo Linux Reporter: Erich Bender <eeb7920>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erich Bender 2006-06-20 19:05:57 UTC
enblend version 2.5 fails to compile (see below).  When I go back to version
2.3 it compiles and installs normally.

here is the output of emerge --info

trillian erich # emerge --info enblend
Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14-gentoo- r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/sha re/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/ kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdow n /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/t exmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic /config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gento o ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mozsvg mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktim e readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts typ e1-fonts udev vorbis xml xmms xorg xprint xv zlib elibc_glibc kernel_linux userl and_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


When executing the command

emerge enblend

I get the errors:

...
...
...
then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f
".deps/enblend-enblend.Tpo"; exit 1; fi
In file included from enblend.h:34,
                 from enblend.cc:82:
assemble.h: In function `std::pair<ImageType*, AlphaType*>
   enblend::assemble(std::list<vigra::ImageImportInfo*,
   std::allocator<vigra::ImageImportInfo*> >&, enblend::EnblendROI&,
   enblend::EnblendROI&)':
assemble.h:109: error: syntax error before `/' token
assemble.h:113: error: template definition of non-template `
   enblend::assemble(std::list<vigra::ImageImportInfo*,
   std::allocator<vigra::ImageImportInfo*> >&, enblend::EnblendROI&,
   enblend::EnblendROI&)::ThresholdingAccessor enblend::imageATA(...)'
assemble.h:114: error: `enblend::assemble(std::list<vigra::ImageImportInfo*,
   std::allocator<vigra::ImageImportInfo*> >&, enblend::EnblendROI&,
   enblend::EnblendROI&)::ThresholdingAccessor vigra::NumericTraits<typename
   AlphaType::PixelType>::imageA' is not a static member of `struct
   vigra::NumericTraits<typename AlphaType::PixelType>'
assemble.h:114: error: template definition of non-template `
   enblend::assemble(std::list<vigra::ImageImportInfo*,
   std::allocator<vigra::ImageImportInfo*> >&, enblend::EnblendROI&,
   enblend::EnblendROI&)::ThresholdingAccessor vigra::NumericTraits<typename
   AlphaType::PixelType>::imageA'

...
...
...
   '
assemble.h:201: error: template definition of non-template `
   vigra::FindBoundingRectangle vigra::NumericTraits<typename
   AlphaType::PixelType>::unionRect'
assemble.h:220: confused by earlier errors, bailing out
make[3]: *** [enblend-enblend.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/enblend-2.5/work/enblend-2.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/enblend-2.5/work/enblend-2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/enblend-2.5/work/enblend-2.5'
make: *** [all] Error 2

!!! ERROR: media-gfx/enblend-2.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-21 00:32:27 UTC
Your gcc is outdated.

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