Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50505 - plptools stops building with a "assert: undeclared"
Summary: plptools stops building with a "assert: undeclared"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 20:33 UTC by Michael Waiblinger
Modified: 2004-06-26 16:08 UTC (History)
0 users

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 Michael Waiblinger 2004-05-08 20:33:49 UTC
Emerging plptools leads to following error:
Enum.h:198: error: `assert' undeclared (first use this function)

Reproducible: Always
Steps to Reproduce:
1. emerge plptools

Actual Results:  
emerge quits with 

Enum.h: In member function `Enum<E>& Enum<E>::operator=(E) [with E =
   rfsv::errs]':
rfsv32.cc:47:   instantiated from here
Enum.h:198: error: `assert' undeclared (first use this function)
Enum.h:198: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
Enum.h: In constructor `Enum<E>::Enum(E) [with E = rfsv::errs]':
rfsv32.cc:60:   instantiated from here
Enum.h:180: error: `assert' undeclared (first use this function)
make[1]: *** [rfsv32.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/plptools-0.12/work/plptools-0.12/lib'
make: *** [all-recursive] Error 1

!!! ERROR: app-pda/plptools-0.12 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)


Expected Results:  
emerge should do what it is supposed to ;)

emerge info:

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-mm1)
=================================================================
System uname: 2.6.5-mm1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.9
distcc 2.13 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.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox userpriv usersandbox"
GENTOO_MIRRORS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portrepair
/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acpi alsa apache2 apm arts artswrappersuid auctex
avi berkdb bonobo cddb cdr chroot crypt cscope cups curl dga directfb doc dvd
emacs encode esd ethereal evms2 faad fbcon flac foomaticdb gdbm ggi gif glut
gnome gpm gtk gtkhtml guile hbci icc-pgo imap imlib java jikes joystick jpeg kde
leim libg++ libwww linguas_de lirc lufsusermount mad maildir mikmod mmap mmx mng
monkey motif mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mpi mysql nas
ncurses nls nptl oav offensive oggvorbis openal opengl oss pam pdflib perl
physfs pic plotutils png python qt quicktime readline ruby samba sasl scanner
sdl skey slang slp speex spell sse ssl svga tcltk tcpd tetex theora tiff
truetype usb vim-with-x wmf wxwindows x86 xface xml xml2 xmms xosd xv xvid zlib"
Comment 1 Michael Waiblinger 2004-05-08 20:36:13 UTC
The cvs-tree of the programm is updated and i figured out that simply taking the new Enum.h is sufficient.

http://cvs.sourceforge.net/viewcvs.py/plptools/plptools/lib/
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-06-26 16:08:21 UTC
fixed in portage, thanks for your report.