root@auking auking # emerge -pv pike These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-lang/pike-7.4.28 -debug -doc +gdbm -mysql +zlib root@auking auking # emerge info -pv Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:." CLEAN_DELAY="5" COLORTERM="" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" FEATURES="sandbox ccache autoaddcvs" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" GS_LIB="/home/auking/.kde/share/fonts" GTK_RC_FILES="/etc/gtk/gtkrc:/home/auking/.gtkrc:/home/auking/.gtkrc-kde" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="auking" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.1" JDK_HOME="/opt/blackdown-jdk-1.4.1" KDEDIR="/usr/kde/3.1" KDEDIRS="/usr" KDE_MULTIHEAD="false" KONSOLE_DCOP="DCOPRef(konsole-6212,konsole)" KONSOLE_DCOP_SESSION="DCOPRef(konsole-6212,session-2)" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="auking" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man" MOZILLA_FIVE_HOME="/usr/lib/mozilla" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/sbin:/bin:/usr/sbin:/usr/bin" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="19641" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/home/auking" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SESSION_MANAGER="local/auking:/tmp/.ICE-unix/6196" SHLVL="4" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java ruby sdl gpm tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla X -gtk -gnome kde qt" USER="auking" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" USE_ORDER="env:conf:auto:defaults" XARGS="xargs -r" XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched" XINITRC="/etc/X11/xinit/xinitrc" XSESSION="kde-3.1.2" _="/usr/bin/emerge" Reproducible: Always Steps to Reproduce: 1.Last week I did a emerge sync 2.emerge pike 3. Actual Results: Expected Results: Should compile Thanks for your time.
Created attachment 19195 [details] Output of emerge pike command Please look at the output of emerge
doesn't belong to gnome herd
what version of autoconf/automake do you use ?
additionally, could you please try this: MAKEOPTS="-j1" emerge pike
I am using Autoconf version 2.13 I tried doing MAKEOPTS="-j1" emerge pike and this failed. Here are the last few lines of output. gtk.c:5950: `GTK_TROUGH_NONE' undeclared (first use in this function) pgtk.c:5952: `GTK_TROUGH_START' undeclared (first use in this function) pgtk.c:5954: `GTK_UPDATE_ALWAYS' undeclared (first use in this function) pgtk.c:5956: `GTK_UPDATE_CONTINUOUS' undeclared (first use in this function) pgtk.c:5958: `GTK_UPDATE_DELAYED' undeclared (first use in this function) pgtk.c:5960: `GTK_UPDATE_DISCONTINUOUS' undeclared (first use in this function) pgtk.c:5962: `GTK_UPDATE_IF_VALID' undeclared (first use in this function) pgtk.c:5964: `GTK_VISIBILITY_FULL' undeclared (first use in this function) pgtk.c:5966: `GTK_VISIBILITY_NONE' undeclared (first use in this function) pgtk.c:5968: `GTK_VISIBILITY_PARTIAL' undeclared (first use in this function) pgtk.c:5970: `GTK_VISIBLE' undeclared (first use in this function) pgtk.c:5972: `GTK_WINDOW_DIALOG' undeclared (first use in this function) pgtk.c:5974: `GTK_WINDOW_POPUP' undeclared (first use in this function) pgtk.c:5976: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function) pgtk.c:5978: `GTK_WIN_POS_CENTER' undeclared (first use in this function) pgtk.c:5980: `GTK_WIN_POS_MOUSE' undeclared (first use in this function) pgtk.c:5982: `GTK_WIN_POS_NONE' undeclared (first use in this function) pgtk.c:5984: `TRUE' undeclared (first use in this function) pgtk.c: At top level: pgtk.c:6502: parse error before '*' token Compilation command was: /var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686/smartlink gcc -I. -I/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/src/post_modules/GTK -I/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686 -I/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/src -I/usr/X11R6/include -I/usr/X11R6/include -c pgtk.c -o pgtk.o make[5]: *** [pgtk.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686/post_modules/GTK' make[4]: *** [compile1] Error 2 make[4]: Leaving directory `/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686/post_modules/GTK' make[3]: *** [GTK] Error 1 make[3]: Leaving directory `/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686/post_modules' make[2]: *** [post_module_objects] Error 1 make[2]: Leaving directory `/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686' make: *** [compile] Error 2 !!! ERROR: dev-lang/pike-7.4.28 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message)
There seems to be something seriously wrong with the generation of the configure files... Could you please update to a more recent autoconf version ? pike officially only support 2.14 and >=2.5.52 from what I read in their scripts. I really don't know at the moment what else could cause such a seriously broken build process
in my last comment I meant >=2.52, sorry
could you please try again with pike-7.4.28-r1 ? (currently ~). Please also post the use flags you used for it.
ok, obviously, gtk+-2 is the culprit here, I could reproduce the problem. If you compile pike with -gtk2 ibn USE it will work. resolved / fixed (upstream already knows about this)
i have the same problem, it will build with -gtk and -gtk2 in USE, but i happen to need the gtk module in pike. (it fails on other errors associated with gtk if -gtk is not in USE. It seems there are very many dependancies which are not specified in the ebuild. Perhaps some general things associated with a Gnome baised system as opposed to a KDE system without gnome? Anyway, i've been trying to add packages associated with the errors, and seem to be slowly getting there, but it is a very unoptimal way to go about getting an ebuild to work. Could someone please take the time to get the dependancies right on this ebuild? If you'd like an exhastive list of packages which still don't satisfy all dependancies for this ebuild, feel free to email me.
some time ago, I completly disabled gtk+ support in the pike-7.4.28-r1 ebuild (re-sync and you will notice that, it also displays a little einfo) because too many problems popped up. Gtk+2 support often compiled, but the module didn't work and Gtk+1 compiled for some people but not for others...The only solution I saw was to completly disabled gtk+ support because IMHO such a situation can definitly be called "broken". Afaik the -r1 ebuild deals with most dependencies and shouldn't give too much problems ? Please re-sync and merge pike again, you shouldn't experience any gtk-related problems.
This bug seems to have been caused by an overly-enthusiastic sed command in work/Pike-v7.4.28/build/linux-2.4.22-gentoo-test-r1-i686/post_modules/GTK/Makefile: compile1: $(RUNPIKE) $(SRCDIR)/new_build_pgtk.pike --source='$(SRCDIR)/source/'\ $(SRCDIR)/output/few.pike @$(MAKE) OBJS="`cat files_to_compile`" \ CFLAGS="`echo $(CFLAGS) | sed -e 's/-g//g' -e 's/-W[^ ]*//g'`" \ all The s/-g//g expression is breaking the architecture string in this path in $(CFLAGS) below: /var/tmp/portage/pike-7.4.28/work/Pike-v7.4.28/build/linux-2.4.20-gentoo-r5-i686 Compiles fine if the sed expression is replaced with s/-g / /g (note the spaces). Should this be submitted upstream?