Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 167484
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 173676
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brett Royles <brett.gentoo@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 167484 depends on: Show dependency tree
Bug 167484 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-18 15:19 0000
swig -c++ -python -o gv_python.cpp ./gv.i
echo "Not building man pages as they would require tcl"
Not building man pages as they would require tcl
touch gv_python.man
/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE   -I/usr/include/python2.4      -O2
-march=i686 -pipe -msse3 -c -o gv_perl.lo gv_perl.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc
-I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/python2.4 -O2 -march=i686
-pipe -msse3 -c gv_perl.cpp  -fPIC -DPIC -o .libs/gv_perl.o
/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE   -I/usr/include/python2.4      -O2
-march=i686 -pipe -msse3 -c -o gv_python.lo gv_python.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc
-I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/python2.4 -O2 -march=i686
-pipe -msse3 -c gv_python.cpp  -fPIC -DPIC -o .libs/gv_python.o
gv_python.cpp:2429:39: warning: no newline at end of file
gv_python.cpp:2429: error: missing terminating " character
gv_python.cpp: In function 'void SWIG_Python_TypeError(const char*,
PyObject*)':
gv_python.cpp:2429: error: expected primary-expression at end of input
gv_python.cpp:2429: error: expected `;' at end of input
gv_python.cpp:2429: error: expected `}' at end of input
gv_python.cpp:2429: error: expected `}' at end of input
gv_python.cpp: At global scope:
gv_python.cpp:2429: error: expected `}' at end of input
make[3]: *** [gv_python.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12'
make: *** [all] Error 2 

!!! ERROR: media-gfx/graphviz-2.12 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3429:   Called src_compile
  graphviz-2.12.ebuild, line 101:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/media-gfx/graphviz-2.12/temp/build.log'.



Reproducible: Always

Steps to Reproduce:
1.emerge media-gfx/graphviz-2.12
2.
3.




brett@ws01 ~ $ emerge --info 
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) D CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 18 Feb 2007 13:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X aac acl acpi aiglx alsa apache2 arj arts
artworkextra audacious audiofile bash-completion beagle berkdb bitmap-fonts
bittorrent bluetooth branding bzip2 calendar cdb cdda cddb cdparanoia cdr cdrom
cgi clamav clamd cli colordiff console cracklib crypt css cups curl
curlwrappers dbus dlloader dri dvb dvbplayer dvd dvdr epiphany esd evolution
fastbuild ffmpeg filepicker firefox flac foomaticdb fortran ftp gaim gd gdbm
gif gimp gimpprint glsa glut gnome gnome-print gnuplot gpm gtk gtk2 gtkspell
hal hash httpd icecast iconv id3 ieee1394 imagemagick imap ipv6 irda isdnlog
java java5 jpeg kde kdepim kdm kerberos ldap libg++ libnotify lirc lm_sensors
midi mmx mmxext mod_php modplug mono mozbranding mp3 mp4 mpeg mpeg2 mplayer msn
musepack music mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh
nautilus ncurses nls nptl nptlonly nsplugin ntlm offensive office ogg opengl
openssl oss pam pcre pdf pear-db perl php plugins png ppds pppd python qt3
quicktime quotas readline real realmedia reflection reiserfs remote replytolist
rhythmbox rss samba sasl sdk sensord server session sftp sms smtp snmp sound
sounds spamassassin spell spl sse sse2 sse3 ssl suid suidcheck sylpheed symlink
tcpd threads tidy tiff timestats timidity tools transcode truetype
truetype-fonts type1-fonts unicode unzip upnp usb v4l v4l2 vcd vhosts
visualization vnc vorbis wifi win32codecs winbind winpopup wma wmf wmp x86 xcf
xchattext xfs xinerama xml xmlreader xorg xosd xplanet xscreensaver xterm xvid
yahoo zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB"
USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Brett Royles 2007-02-18 21:47:39 0000 -------
I rebooted and this compiled!

------- Comment #2 From Ben Schwartz 2007-03-30 02:07:29 0000 -------
I encountered this compile error as well.

$ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Genuine Intel(R) CPU           L2400  @
1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 29 Mar 2007 16:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer
parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en_US en es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3ds X X509 a52 aac acpi aiglx aim alsa amr amrr aotuv asf avahi
bash-completion beagle berkdb bitmap-fonts blas bluetooth bootsplash branding
bzip2 cairo ccache cdda cddb cdparanoia cdr cjk cli cpudetection cracklib
crosscompile crypt cups dbus directfb dmi dmx doc dri dts dv dvd dvdr dvdread
dvi eds emacs emboss encode esd exif fam fbcon fbsplash ffmpeg fftw firefox
flac flash fortran ftp gb gcj gdbm gif gimp ginac glitz glut gnome gnuplot
gphoto2 gpm gps grammar gstreamer gtk guile gzip hal hardenedphp hdaps hddtemp
i8x0 iconv icq ieee1394 imagemagick imap imlib ipv6 irc isdnlog jabber jack
java javascript jbig jpeg jpeg2k kdeenablefinal kerberos ladspa lapack lash
lcms ldap libg++ libnotify lirc live mad matroska midi mikmod mime ming mjpeg
mmap mmx mmxext mng mod mono mozsvg mp3 mp4 mpeg musepack nautilus ncurses nls
nptl nptlonly nsplugin ntfs offensive ogg opengl oscar pam pcre pda pdf perl
plotutils png ppds pppd python quicktime readline real realmedia reflection rtc
sdl session shorten smp speex spell spl sse sse-filters sse2 ssl svg tcpd tetex
tga theora threads thunderbird tiff timidity toolkit-scroll-bars truetype
truetype-fonts type1-fonts unicode usb vcd videos vorbis wavpack wifi
win32codecs wma wmf x264 x86 xanim xine xinerama xml xorg xpm xv xvid xvmc yv12
zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_US en es" USERLAND="GNU" VIDEO_CARDS="i810
vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Axel Dyks 2007-03-31 16:45:44 0000 -------
Had the same error!
... and funnily, when runnimg the same emerge for a second time, it worked.

This kind of non-deterministic behavior smells a lot like having
a "parallel build issue", epsecially because all users reporting
-- including myself --  have at least MAKEOPTS="-j3" and are
propably building the beast on a multi-core cpu.

The "famous last words" suggest to me that "swig" hasn't finished
writing to "gv_python.cpp" when "gcc" starts the compilation.

So I think that -- as a quick fix -- "-j3" should be filtered out
for this ebuild.

Cheers,

Axel

P. S.: @Brett (original reporter): I think you should reopen the bug.

------- Comment #4 From Jakub Moc (RETIRED) 2007-04-07 17:05:31 0000 -------
Eh...

------- Comment #5 From Jakub Moc (RETIRED) 2007-04-07 17:05:44 0000 -------

*** This bug has been marked as a duplicate of bug 173676 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug