Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30210 - POSE 3.5-r2 ebuild compilation failed
Summary: POSE 3.5-r2 ebuild compilation failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 15:30 UTC by Attila Kesmarki
Modified: 2004-02-21 01:09 UTC (History)
1 user (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 Attila Kesmarki 2003-10-02 15:30:37 UTC
Kernel:  
  2.6.0-test6 (stock) 
 
GCC: 
g++ (GCC) 3.3.1 20030916 (Gentoo Linux 3.3.1-r4, propolice) 
Copyright (C) 2003 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 
 
The error: 
 
 
g++ -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_TYPE_SOCKLEN_T=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_MKDIR=1 
-DHAVE_MKSTEMP=1 -DHAVE_TEMPNAM=1 -DHAVE_LIBFLTK=1  -I. -I../BuildUnix  -I../
BuildUnix/../SrcShared -I../BuildUnix/../SrcShared/Hardware -I../BuildUnix/../
SrcShared/Hardware/TRG -I../BuildUnix/../SrcShared/Palm/Device -I../
BuildUnix/../SrcShared/Palm/Platform -I../BuildUnix/../SrcShared/Palm/
Platform/Core/Hardware/IncsPrv -I../BuildUnix/../SrcShared/Palm/Platform/Core/
System/IncsPrv -I../BuildUnix/../SrcShared/Palm/Platform/Incs -I../
BuildUnix/../SrcShared/Palm/Platform/Incs/Core -I../BuildUnix/../SrcShared/
Palm/Platform/Incs/Core/Hardware -I../BuildUnix/../SrcShared/Palm/Platform/
Incs/Core/System -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/UI -I../
BuildUnix/../SrcShared/Palm/Platform/Incs/Libraries -I../BuildUnix/../
SrcShared/Gzip -I../BuildUnix/../SrcShared/jpeg -I../BuildUnix/../SrcShared/
omnithread -I../BuildUnix/../SrcShared/Patches -I../BuildUnix/../SrcShared/UAE 
-I../BuildUnix/../SrcUnix -I../BuildUnix/../SrcUnix/espws-2.0  -I/var/tmp/
portage/pose-3.5-r2/work/Emulator_Src_3.5/install-fltk/include  
-DPLATFORM_UNIX=1 -D__PALMOS_TRAPS__=0 -DEMULATION_LEVEL=EMULATION_UNIX -O2  
-DHAS_PROFILING=0 -DNDEBUG  -fexceptions -Wall -Wno-multichar 
-Wno-unknown-pragmas -Wno-conversion    -D_REENTRANT -DNoNanoSleep 
-DPthreadDraftVersion=10 -I/usr/X11R6/include -c ../BuildUnix/../SrcShared/
Hardware/EmRegs328.cpp 
In file included from ../SrcShared/CGremlins.h:17, 
                 from ../SrcShared/Hordes.h:19, 
                 from ../SrcShared/Logging.h:17, 
                 from ../SrcShared/EmDlg.h:23, 
                 from ../SrcShared/EmSession.h:18, 
                 from ../SrcShared/Hardware/EmRegs328.cpp:23: 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator>>(std::deque<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:93: warning: `std::deque<T, std::allocator<_CharT> 
   >::iterator' is implicitly a typename 
../SrcShared/EmStream.h:93: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator>>(std::list<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:111: warning: `std::list<T, std::allocator<_CharT> 
   >::iterator' is implicitly a typename 
../SrcShared/EmStream.h:111: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator>>(std::vector<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:129: warning: `std::vector<T, std::allocator<_CharT> 
   >::iterator' is implicitly a typename 
../SrcShared/EmStream.h:129: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator<<(const std::deque<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:146: warning: `std::deque<T, std::allocator<_CharT> 
   >::const_iterator' is implicitly a typename 
../SrcShared/EmStream.h:146: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator<<(const std::list<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:163: warning: `std::list<T, std::allocator<_CharT> 
   >::const_iterator' is implicitly a typename 
../SrcShared/EmStream.h:163: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/EmStream.h: In member function `EmStream& 
   EmStream::operator<<(const std::vector<T, std::allocator<_CharT> >&)': 
../SrcShared/EmStream.h:180: warning: `std::vector<T, std::allocator<_CharT> 
   >::const_iterator' is implicitly a typename 
../SrcShared/EmStream.h:180: warning: implicit typename is deprecated, please 
   see the documentation for details 
../SrcShared/Hardware/EmRegs328.cpp: At global scope: 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
../SrcShared/Hardware/EmRegs328.cpp:321: error: brace-enclosed initializer 
used 
   to initialize `UInt8' 
make[1]: *** [EmRegs328.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r2/work/
Emulator_Src_3.5/build-normal' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: app-emulation/pose-3.5-r2 failed. 
!!! Function src_compile, Line 56, Exitcode 2 
!!! (no error message) 
 

Reproducible: Always
Steps to Reproduce:
1. emerge pose 
2. 
3. 
Actual Results:  
emerge failed 

Expected Results:  
emerge success  

Kernel:  
  2.6.0-test6 (stock) 
 
GCC: 
g++ (GCC) 3.3.1 20030916 (Gentoo Linux 3.3.1-r4, propolice) 
Copyright (C) 2003 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 
emerge info: 
 
Portage 2.0.49-r7 (unavailable, gcc-3.3.1, glibc-2.2.93-r0,2.3.2-r1, 
2.6.0-test6) 
================================================================= 
System uname: 2.6.0-test6 i686 AMD Athlon(tm) XP 2000+ 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -m3dnow -O3 -pipe -fomit-frame-pointer -fforce-addr 
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 
-fprefetch-loop-arrays -frename-registers" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/
share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/
config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/
config/ /usr/share/config /opt/quake3/cpma/server.cfg" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -m3dnow -O3 -pipe -fomit-frame-pointer -fforce-addr 
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 
-fprefetch-loop-arrays -frename-registers" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs fixpackages sandbox ccache" 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://
www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://ftp.itworks.hu/gentoo-portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb 
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk 
java guile mysql postgres X sdl gpm tcpd pam libwww ssl python esd imlib 
oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner 
acl acpi acpi4linux amd apache2 artswrappersuid dga dnd doc dvd evo faad fbcon 
fbdev flash gb gd gnomedb gtk2 imap innodb ipv6 jikes kerberos lcms libgda mad 
maildir memlimit mule odbc offensive pda perl php pic plotutils ppds radeon 
samba sasl slp sqlite sse threads tiff usb wmf xface xml xvid -qtmt -nas"
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-10-06 11:13:34 UTC
hmpf, this pose package is problemmatic in many regards, now I see it does
not like gcc-3.3 :(. Doesn't look like there are frequent updates to the
package, so I am not sure this will be fixed soon. I'll try to see what I
can do, but meanwhile if you really need it you might try to use gcc-3.2.3..

George
Comment 2 Arturo Cisneros 2003-12-17 18:54:23 UTC
Im using GCC 3.2.3 and pose fails for me as well.  

../SrcShared/EmStream.h: In member function `EmStream&
   EmStream::operator<<(const std::vector<T, std::allocator<_CharT> >&)':
../SrcShared/EmStream.h:180: warning: `typename std::vector<T,
   std::allocator<_CharT> >::const_iterator' is implicitly a typename
../SrcShared/EmStream.h:180: warning: implicit typename is deprecated, please
   see the documentation for details
EmDlgFltkFactory.cpp: In function `Fl_Double_Window* PrvMakeCommonDialog()':
EmDlgFltkFactory.cpp:507: `FL_BACKGROUND_COLOR' undeclared (first use this
   function)
EmDlgFltkFactory.cpp:507: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[1]: *** [EmDlgFltkFactory.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r2/work/Emulator_Src_3.5/build-normal'
make: *** [all-recursive] Error 1
 
!!! ERROR: app-emulation/pose-3.5-r2 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)
Comment 3 Arturo Cisneros 2003-12-17 22:34:18 UTC
Hmm.  I unmerged FLTK 1.1.4 and emerged 1.0.11 and it compiled and started.  Still no dependency check for FTLK at all though? Let alone the correct version?  That was reported over a year ago.
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2003-12-24 20:18:11 UTC
Um, no, its not that simple. This solution worked about a year ago, but ceased to long since then (looks like due to updated gcc mostly). Please see #5219 for more details.

Arturo: are you running a stable profile by chance?
Could you please post your emerge info, so I could take a look at the (rare :)) working configuration?

The cleanest way to go would be to make pose link statically against locally built fltk (see the -r1, -r2 ebuilds), but this route does not work at present :(. I'll try to screw with this thing somewhat more to see what can be done.

George
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2004-01-27 00:55:55 UTC
Hi guys.

Please test the -r3 that I just added to portage. It now build using just one version of fltk and fixes the gcc-3.3 related compilation failure.

George
Comment 6 Attila Kesmarki 2004-01-28 10:47:04 UTC
This new ebuild works correctly to me with gcc 3.3.2
Thanks!
Comment 7 Antonio 2004-02-20 10:00:49 UTC
gentoonet root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.math.bme.hu http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts autofs avi berkdb bonobo cdr clamav crypt cups doc dv dvd dvdr encode esd faad fam ffmpeg flac foomaticdb gd gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imap imlib jabber java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mpeg4 mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd tetex transcode truetype x86 xine xml2 xmms xv zlib"

The ebuild pose-3.5-r4 work fine for me
Thanks!
Comment 8 John Altstadt 2004-02-20 12:19:59 UTC
I tried to emerge pose 3.5-r1 today. It failed. I came here and discovered that there was already a fix for it.

pose-3.5-r4.ebuild builds okay and the application runs.

Thanks.
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2004-02-21 01:09:08 UTC
Hi guys.

Thanks for testing!
Bumoped this revision to stable..

George