Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58326 - bbppp-0.2.3 failed compile
Summary: bbppp-0.2.3 failed compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Josh Grebe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 12:36 UTC by Antonio
Modified: 2005-01-08 10:39 UTC (History)
2 users (show)

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


Attachments
multiline literal patch to compilg under gcc3 (bbppp-gcc3-multiline.patch,2.82 KB, patch)
2004-08-12 15:33 UTC, Josh Grebe (RETIRED)
Details | Diff
ebuild correct with patch (bbppp-0.2.3.ebuild,939 bytes, text/plain)
2004-08-20 02:17 UTC, Antonio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-07-25 12:36:46 UTC
This is error:

........
..........
.........
g++ -DPACKAGE=\"bbppp\" -DVERSION=\"0.2.3\" -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -D
HAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDI
O_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H
=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_
H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TI
ME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1  -I. -I.    -DINTER
LACE            -DGLOBAL_BB=\"/usr/share/bbtools/bbppp.bb\"             -DGLOBAL
_NOBB=\"/usr/share/bbtools/bbppp.nobb\"  -march=athlon-xp -O2 -pipe -fomit-frame
-pointer  -I/usr/X11R6/include -c main.cc
distcc[7786] ERROR: compile on localhost failed
main.cc:45:24: missing terminating " character
main.cc: In function `void Usage()':
main.cc:46: error: `s' undeclared (first use this function)
main.cc:46: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cc:46: error: `options' undeclared (first use this function)
main.cc:46: error: stray '\' in program
main.cc:46:31: missing terminating " character
main.cc:46: error: parse error before string constant
distcc[7785] ERROR: compile on localhost failed
make[1]: *** [main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
distcc[7771] (dcc_connect_timed) ERROR: Connection to 192.168.0.2:3632 failed: N
o route to host
distcc[7771] (dcc_build_somewhere) Warning: failed to distribute to 192.168.0.2,
 running locally instead
make[1]: Leaving directory `/var/tmp/portage/bbppp-0.2.3/work/bbppp-0.2.3'
make: *** [all-recursive] Error 1

!!! ERROR: x11-misc/bbppp-0.2.3 failed.
!!! Function src_compile, Line 17, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Antonio 2004-07-25 12:37:43 UTC
My emerge info:

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r
1)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/sha
e/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/p
ef /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /
sr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texm
/xdvi/ /var/bind /var/lib/jboss /var/qmail/control /var/www/localhost/htdocs/mythweb/c
nfig"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://sunsit
.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiof
le autofs avi berkdb blender-game bonobo cddb cdr clamav clisp cmucl crypt cups curl d
llo divx4linux doc dv dvb dvd dvdr dvdread emacs encode escreen esd etwin evms2 evo ex
f f77 faac faad fam ffmpeg flac flash fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gi
p gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci
icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg kde k
rberos ldirectord libdsk libg++ libgda libwww live mad mbox mcal mdb mikmod mldonkeypa
go mmx mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav 
sn mysql nas ncurses net nls nptl nvidia oav odbc ofx oggvorbis openal opengl oscar os
 pam pdflib perl pic png portaudio postgres ppds pthreads python qt quicktime readline
ruby samba sasl scanner sdl slang sndfile speex spell ssl svg svga tcltk tcpd tetex th
ora tiff transcode truetype type1 usb v4l v4l2 virus-scan wxwindows x86 xface xfs xine
xinerama xml xml2 xmms xprint xrandr xv xvid yahoo zlib"
Comment 3 Josh Grebe (RETIRED) gentoo-dev 2004-08-12 15:33:02 UTC
Created attachment 37314 [details, diff]
multiline literal patch to compilg under gcc3

Installing this patch will fix the compilation issue. Anyone want to add it to
the ebuild?
Comment 4 Ciaran McCreesh 2004-08-12 15:35:13 UTC
Off ya go Josh. You'll want to update the metadata.xml to list yourself as maintainer.
Comment 5 Antonio 2004-08-20 02:17:27 UTC
Created attachment 37792 [details]
ebuild correct with patch

This ebuild compile and install well
Comment 6 Antonio 2004-08-20 02:23:49 UTC
I see this new error:

>>> original instance of package unmerged safely.
/usr/sbin/ebuild.sh: line 34: cd: /usr/X11R6/bin/wm: No such file or directory
grep: blackbox: No such file or directory
sed: impossibile leggere blackbox: No such file or directory
 * Caching service dependencies...
 *  Service 'dnsmasq' already provide 'dns'!;
 *  Not adding service 'named'...
>>> x11-misc/bbppp-0.2.3 merged.

????
Comment 7 Aaron Walker (RETIRED) gentoo-dev 2005-01-08 10:39:57 UTC
Fixed.