Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97000 - dev-libs/tvision-2.0.3 emerge failed
Summary: dev-libs/tvision-2.0.3 emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 107236 108982 113418 115994 123029 131413 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-24 17:40 UTC by Robert Velisav MICIOVICI
Modified: 2006-07-13 02:53 UTC (History)
8 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 Robert Velisav MICIOVICI 2005-06-24 17:40:20 UTC
g++  -I../include -I/usr/X11R6/include       -fPIC -O3 -march=pentium3
-fprefetch-loop-arrays -funroll-loops -pipe  -c ../classes/linux/linuxmouse.cc
-o obj/linuxmouse.lo
In file included from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:14,
                 from ../classes/linux/linuxmouse.cc:34:
/usr/include/linux/list.h:222: error: expected `,' or `...' before "new"
/usr/include/linux/list.h: In function `void list_replace_rcu(list_head*,
list_head*)':
/usr/include/linux/list.h:223: error: expected identifier before '->' token
/usr/include/linux/list.h:223: error: expected `;' before '->' token
/usr/include/linux/list.h:224: error: expected identifier before '->' token
/usr/include/linux/list.h:224: error: expected `;' before '->' token
/usr/include/linux/list.h:226: error: expected identifier before '->' token
/usr/include/linux/list.h:226: error: expected `;' before '->' token
/usr/include/linux/list.h:227: error: expected identifier before '->' token
/usr/include/linux/list.h:227: error: expected `;' before '->' token
In file included from /usr/include/linux/keyboard.h:14,
                 from ../classes/linux/linuxmouse.cc:34:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to
`volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int
test_and_set_bit(int, volatile long unsigned int*)'
make[1]: *** [obj/linuxmouse.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/tvision-2.0.3/work/tvision/makes'
make: *** [dynamic-lib] Error 2
make: *** Waiting for unfinished jobs....
g++  -I../include -I/usr/X11R6/include        -O3 -march=pentium3
-fprefetch-loop-arrays -funroll-loops -pipe  -c ../classes/linux/linuxmouse.cc
-o obj/linuxmouse.o
g++  -I../include -I/usr/X11R6/include        -O3 -march=pentium3
-fprefetch-loop-arrays -funroll-loops -pipe  -c ../classes/linux/linuxscr.cc -o
obj/linuxscr.o
In file included from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:14,
                 from ../classes/linux/linuxmouse.cc:34:
/usr/include/linux/list.h:222: error: expected `,' or `...' before "new"
/usr/include/linux/list.h: In function `void list_replace_rcu(list_head*,
list_head*)':
/usr/include/linux/list.h:223: error: expected identifier before '->' token
/usr/include/linux/list.h:223: error: expected `;' before '->' token
/usr/include/linux/list.h:224: error: expected identifier before '->' token
/usr/include/linux/list.h:224: error: expected `;' before '->' token
/usr/include/linux/list.h:226: error: expected identifier before '->' token
/usr/include/linux/list.h:226: error: expected `;' before '->' token
/usr/include/linux/list.h:227: error: expected identifier before '->' token
/usr/include/linux/list.h:227: error: expected `;' before '->' token
In file included from /usr/include/linux/keyboard.h:14,
                 from ../classes/linux/linuxmouse.cc:34:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to
`volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int
test_and_set_bit(int, volatile long unsigned int*)'
make[1]: *** [obj/linuxmouse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/tvision-2.0.3/work/tvision/makes'
make: *** [static-lib] Error 2

!!! ERROR: dev-libs/tvision-2.0.3 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge -v tvision
2.
3.

Actual Results:  
tvision build failes

Expected Results:  
tvision should build

emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1
sys-apps/sandbox:    1.2.1-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r1, 1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/tomcat5 /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/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/share/config /usr/lib/X11/xkb /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/bind
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/rc.d /etc/terminfo
/etc/wget /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/ ftp://ftp.lug.ro/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib acl activefilter ada adns alsa apache2
apm arts artswrappersuid artworkextra atm audiofile authfile avi bash-completion
bcmath berkdb bidi bind-mysql bitmap-fonts bluetooth bonobo bzip2 bzlib calendar
caps cdb cdda cddb cdio cdparanoia cdr cdrom chipcard chroot clearcase
commercial cpdflib cpudetection crypt css ctype cups curl curlwrappers dba dbase
dbm dbx dga dhcp dio directfb divx4linux djbfft dlz doc dpms dts dv dvb dvd dvdr
dvdread ecc edirectory edl eds emboss encode esd esx ethereal evo examples exif
extensions fam fame fbcon fbdev filepro firebird flac flash flatfile flexresp
font-server foomaticdb fortran fping frascend freetds freetype frxp ftp gcj gd
gd-external gdbm ggi gif gimpprint glitz glut gmp gnokii gnome gnustep gnutls
gphoto2 gpm gps graphviz gstreamer gtk gtk2 gtkhtml guile hal hardenedphp
haskell hbci howl iconv idn ieee1394 imagemagick imap imlib inifile inline
innodb ipv6 irda irmc jabber jack java javascript jbig jikes jit jpeg jpeg2k
junit kde kdeenablefinal kerberos kig-scripting krb4 lcms ldap libcaca libclamav
libg++ libgda libwww lirc live lm_sensors logitech-mouse logmail lzo mad maildir
mailwrapper matroska mcal mcve mhash mikmod mime ming mjpeg mmx mng mono motif
mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpm-prefork mpm-worker
mppe-mppc mssql musepack mysql mythtv nas ncurses netboot nethack network nis
nls nntp nptl ntlm oav objc odbc ofx ogg oggvorbis openexr opengl oss pam
pam_chroot pam_console pam_timestamp pascal pcmcia pcntl pcre pda pdflib
perforce perl pg-hier pg-intdatetime php pic pie plotutils png pnp posix
postgres povray pvm pwdb python qmail qt quicktime quotas quotes radius rdesktop
readline real rtc ruby samba sasl savedconfig scanner sdk sdl sendfile server
session sftplogging sguil shaper shared sharedmem silc simplexml skey slang slp
smartcard sms snmp snortsam soap sockets softquota spamassassin speex spell spl
sql sqlite sse ssl stream subversion svg svga sysvipc tcltk tcpd tetex tga
theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts ucs2
udpfromto unicode usb v4l v4l2 vcd vhosts vidix vlm vorbis wddx wifi win32codecs
winbind wmf wxwindows xanim xchatdccserver xchattext xforms xine xinetd xml xml2
xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yaz zeroconf
zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-25 18:29:30 UTC
metadata.xml missing
Comment 2 Ryan M Ong 2005-07-03 21:10:57 UTC
Confirming Bug I get it too
Comment 3 Ryan M Ong 2005-07-03 21:11:55 UTC
Confirming Bug I get it too
Comment 4 Daniel Black (RETIRED) gentoo-dev 2005-07-04 15:09:22 UTC
I've emailed the author referencing here. It became a problem with 2.6.11 
headers I assume.  
Comment 5 Ksero 2005-08-27 14:00:27 UTC
A workaround is to add "-fpermissive" to CXXFLAGS. This relaxes the c++ type
checking, which is mainly useful when developing.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-09-03 00:54:59 UTC
thanks Ksero - used -fpermissive to fix 2.0.3 
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-09-26 00:44:19 UTC
*** Bug 107236 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-10-12 02:24:57 UTC
*** Bug 108982 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 01:10:46 UTC
*** Bug 113418 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 16:51:55 UTC
*** Bug 115994 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-16 07:03:40 UTC
*** Bug 123029 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-04-27 00:49:41 UTC
*** Bug 131413 has been marked as a duplicate of this bug. ***
Comment 13 Frédéric COIFFIER 2006-07-13 02:53:34 UTC
With gcc (GCC) 4.1.1 (Gentoo 4.1.1), dev-libs/tvision-2.0.3 fails to compile, even with -fpermissive :

g++  -I../include -I/usr/X11R6/include        -march=athlon-xp -O2 -g2 -ggdb -pipe -fpermissive  -c ../classes/fpbase.cc -o obj/fpbase.o
../classes/fpbase.cc: In member function ‘CLY_int_filebuf* CLY_int_filebuf::open(FILE*, std::_Ios_Openmode)’:
../classes/fpbase.cc:111: erreur: ‘_M_set_indeterminate’ was not declared in this scope
../classes/fpbase.cc: In member function ‘CLY_int_filebuf* CLY_int_filebuf::open(int, std::_Ios_Openmode)’:
../classes/fpbase.cc:126: erreur: no matching function for call to &#8216;std::__basic_file<char>::sys_open(int&, std::_Ios_Openmode&, bool)&#8217;
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/basic_file.h:70: note: candidats sont: std::__basic_file<char>* std::__basic_file<char>::sys_open(std::__c_file*, std::_Ios_Openmode)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/basic_file.h:73: note:                 std::__basic_file<char>* std::__basic_file<char>::sys_open(int, std::_Ios_Openmode)
../classes/fpbase.cc:133: erreur: &#8216;_M_set_indeterminate&#8217; was not declared in this scope
make[1]: *** [obj/fpbase.o] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/tvision-2.0.3/work/tvision/makes'
make: *** [static-lib] Erreur 2

!!! ERROR: dev-libs/tvision-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  tvision-2.0.3.ebuild, line 25:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.