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

Bug 127711

Summary: captive-1.1.7-r1 does not compile cleanly on gcc 3.3.6
Product: Gentoo Linux Reporter: D K <dkrajisnik>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-446814.html
Whiteboard:
Package list:
Runtime testing required: ---

Description D K 2006-03-26 22:51:48 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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
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=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups dri dts eds emboss encode ethereal expat fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 idn imagemagick imap imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pop python qt quicktime readline recode samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

The Error:
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I../../../src/libcaptive/include -I../../../intl -DLIBCAPTIVE -I../../../src/libcaptive/reactos/include -I../../../reactos/include -I../../../reactos/ntoskrnl/include -I. -I. -I../../../ -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=1 -O2 -march=i686 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT librtl_la-time.lo -MD -MP -MF .deps/librtl_la-time.Tpo -c time.c  -fPIC -DPIC -o .libs/librtl_la-time.o
time.c:90:34: missing terminating " character
make[7]: *** [librtl_la-time.lo] Error 1
make[7]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src/libcaptive/rtl'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src/libcaptive/rtl'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src/libcaptive'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src/libcaptive'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/captive-1.1.7-r1/work/captive-1.1.7'
make: *** [all] Error 2

!!! ERROR: sys-fs/captive-1.1.7-r1 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

time.c:
89: #if TICKSTO1970%TICKSPERSEC
90: #error "Unsupported: TICKSTO1970""
91: #endif 

Line 90 is a syntax error.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-27 02:42:21 UTC
We don't support gcc-3.3.x any more. Reopen if you can reproduce the problem with current stable gcc (3.4.5).

http://www.gentoo.org/doc/en/gcc-upgrading.xml