Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183427 - sci-visualization/gnuplot-4.0-r1 compile failed
Summary: sci-visualization/gnuplot-4.0-r1 compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 179533
Blocks:
  Show dependency tree
 
Reported: 2007-06-27 16:21 UTC by Andrea
Modified: 2007-08-07 16:40 UTC (History)
3 users (show)

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


Attachments
new patch for gnuplot-4.2.0 + GGI (gnuplot-4.2.0-libggi.patch,2.38 KB, patch)
2007-06-27 16:43 UTC, hiyuh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2007-06-27 16:21:29 UTC
i'm tring to compile but i get this error:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/4.0\" -DCONTACT=\"gnuplot-bugs@lists.sourceforge.net\" -DHELPFILE=\"/usr/share/gnuplot/gih/gnuplot.gih\" -I/usr/include -I/usr/include  -march=k8 -O2 -pipe -msse3 -funroll-loops -MT util.o -MD -MP -MF ".deps/util.Tpo" \
          -c -o util.o `test -f 'util.c' || echo './'`util.c; \
        then mv ".deps/util.Tpo" ".deps/util.Po"; \
        else rm -f ".deps/util.Tpo"; exit 1; \
        fi
In file included from term.h:443,
                 from term.c:1006:
../term/ggi.trm:119: error: expected ‘)’ before ‘keysym’
../term/ggi.trm:120: error: expected ‘)’ before ‘button’
../term/ggi.trm:121: error: expected ‘)’ before ‘y’
../term/ggi.trm: In function ‘GGI_from_keysym’:
../term/ggi.trm:661: error: expected declaration specifiers before ‘uint32’
../term/ggi.trm: In function ‘GGI_from_button’:
../term/ggi.trm:828: error: expected declaration specifiers before ‘uint32’
../term/ggi.trm: At top level:
../term/ggi.trm:845: error: static declaration of ‘GGI_y’ follows non-static declaration
../term/ggi.trm:505: error: previous implicit declaration of ‘GGI_y’ was here
../term/ggi.trm: In function ‘GGI_y’:
../term/ggi.trm:845: error: expected declaration specifiers before ‘sint32’
make[3]: *** [term.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.0-r1/work/gnuplot-4.0.0'
make: *** [all] Error 2

!!! ERROR: sci-visualization/gnuplot-4.0-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  gnuplot-4.0-r1.ebuild, line 68:   Called die

!!! (no error message)
!!! 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/sci-visualization/gnuplot-4.0-r1/temp/build.log'.


Reproducible: Always




i have media-libs/libggi-2.2.2 installed



sharkk@localhost ~ $ emerge --info
Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 27 Jun 2007 15:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3 -funroll-loops"
CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3 -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.intergenia.de http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB it en"
MAKEOPTS="-j2"
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/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X X509 Xaw3d a52 aac aalib acl acpi akode alsa amd64 amr aotuv apache2 arts asf bcmath berkdb bidi bitmap-fonts bjam bzip2 cairo cdparanoia cdr cgi chroot cjk cli clisp cpudetection cracklib crypt ctype cups curl dbus dga directfb djbfft dmi dri dts dvd dvdr dvdread dynamic ecc eds emboss encode erandom exif fam ffmpeg firefox flac fortran fpx ftp gcl gd gdbm ggi gif gimp gimpprint glitz glut gmp gpm graphviz gs gsl gstreamer gtk gtk2 hal hash hpn iconv idea idn imagemagick imap imlib ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde kerberos kig-scripting kqemu lcms ldap libcaca libg++ lzo mad mbrola md5sum mhash midi mikmod ming mmap mng modplug mp3 mp4 mpeg mpi mplayer mudflap musepack mysql mysqli ncurses network nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl openmp oss overlays pam pcntl pcre pdf perl php png posix ppds pppd python qt3 qt4 quicktime readline reflection rle rtc rtsp ruby sametime sasl scenarios screen sdl session simplexml skins slp smp sndfile snmp soap sockets speex spell spl sqlite ssl subversion svg sysfs sysvipc tcl tcltk tcpd tetex tga theora tidy tiff tk tokenizer toolbar truetype truetype-fonts type1-fonts unicode urandom usb vcd vorbis wma wmf wxwindows xanim xcb xcomposite xine xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB it en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-06-27 16:23:40 UTC
gnuplot-4.0-r2 needs to be stabilized because it includes a patch to support current stable libggi.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-06-27 16:28:57 UTC
GGI is going stable for bug 180569.
Comment 3 Andrea 2007-06-27 16:36:50 UTC
(In reply to co
(In reply to comment #1)
> gnuplot-4.0-r2 needs to be stabilized because it includes a patch to support
> current stable libggi.
> 

i have the same problem with gnuplot-4.2.0 
Comment 4 hiyuh 2007-06-27 16:43:30 UTC
Created attachment 123221 [details, diff]
new patch for gnuplot-4.2.0 + GGI

I've created new one, b/c 4.2.0 did partially merge 4.0.x's patch.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-06-27 16:45:36 UTC
To summarize this to avoid confusion:

4.0-r1 is unpatched and needs to die.
4.0-r2 is patched, and needs to go stable.
4.2 has patch included in this bug which needs to be applied.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-27 16:55:16 UTC
(In reply to comment #4)
> I've created new one, b/c 4.2.0 did partially merge 4.0.x's patch.

 Great.  Is applied in 4.2.0, I will report it upstream. 

Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-07 16:40:19 UTC
All major arches have it stable, so closing this bug.
Upstream rejected the patch as no one can verify it will work on all supported platforms.