Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30292 - failed camstream compile with gcc 3.3.1-r4
Summary: failed camstream compile with gcc 3.3.1-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-03 21:32 UTC by Jon Hood (RETIRED)
Modified: 2003-10-04 21:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch to camstream. (camstream-gcc-3.3.1.patch,921 bytes, patch)
2003-10-03 21:38 UTC, James Harlow (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood (RETIRED) gentoo-dev 2003-10-03 21:32:54 UTC
Camstream 0.26.2 fails to compile for me.  I get a lot of:
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing
then not too longer, I will get an error:
g++ -march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse,387
-I/usr/qt/3/include -g -Wall -I. -Idevices -Ivideo -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXT=1
-DHAVE_LIBICE=1 -DHAVE_LIBSM=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LINUX_VIDEODEV_H=1 -DHAVE_SELECT=1 -DINCLUDE_STDLIB_H=1
-DHAVE_INTELCPU=1 -DHAVE_MMX=1  -DSHARE_DIR=\"/usr/share/camstream\" -c -o
ftpput.o ftpput.cc
ftpput.cc:38:11: missing terminating " character
ftpput.cc: In member function `void CFTPPut::Usage()':
ftpput.cc:39: error: parse error before `enough'
ftpput.cc:41: error: parse error before `@' token
ftpput.cc:44:21: missing terminating ' character
ftpput.cc:44:21: warning: character constant too long for its type
ftpput.cc:49:1: missing terminating " character
make[1]: *** [ftpput.o] Error 1
rm CamStreamMainWindow.moc.cc WebCamViewer.moc.cc CamWindow.moc.cc
make[1]: Leaving directory
`/var/tmp/portage/camstream-0.26.2/work/camstream-0.26.2/camstream'
make: *** [all] Error 2

!!! ERROR: media-video/camstream-0.26.2 failed.
!!! Function src_compile, Line 377, Exitcode 2
!!! emake failed

Reproducible: Always
Steps to Reproduce:
1. emerge gcc 3.3.1-r4
2. emerge camstream

Actual Results:  
emake fails

Expected Results:  
successful install

# emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-mm2)
=================================================================
System uname: 2.6.0-test6-mm2 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse,387"
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 /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif libg++ mad mikmod nls pdflib
png xml2 xv zlib gtkhtml gdbm slang readline tetex bonobo tcltk guile gpm pam
libwww python esd imlib gtk motif ldap snmp X kde arts alsa java jpeg mozilla
mpeg ncurses mysql gd php4 oggvorbis pdf perl qt quicktime samba sdl spell ssl
dvd truetype xml xmms -apache2 -berkdb cups gtk2 gnome glx cdr ide-scsi scsi
nvidia opengl tcpd aalib directfb fbcon svga mmx sse moznoirc moznomail"
Comment 1 James Harlow (RETIRED) gentoo-dev 2003-10-03 21:38:52 UTC
Created attachment 18713 [details, diff]
proposed patch to camstream.

Fixes a multi-line string literal.
Comment 2 Jon Hood (RETIRED) gentoo-dev 2003-10-03 21:58:19 UTC
patch works; camstream works; thanks a zillion!
Comment 3 Joshua Kinard gentoo-dev 2003-10-04 15:53:27 UTC
Will fix shortly.
Comment 4 Joshua Kinard gentoo-dev 2003-10-04 21:15:57 UTC
Resolving as FIXED; Patch is in CVS now.