Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83153 - libgnome-2.8.1 failed to compile
Summary: libgnome-2.8.1 failed to compile
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 01:19 UTC by Milus János
Modified: 2005-02-24 02:15 UTC (History)
1 user (show)

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


Attachments
this patch fixes the problem for libgnome-2.8.1 compilation (libgnome.patch,600 bytes, patch)
2005-02-24 01:52 UTC, Jean Bréfort
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milus János 2005-02-24 01:19:14 UTC
I got the following error when I try to emerge libgnome-2.8.1 (just the last few lines):

mv -f gnome-help.o .libs/gnome-help.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/usr\" -DLIBGNOME_LIBDIR=\"/usr/lib64\" -DLIBGNOME_DATADIR=\"/usr/share\" -DLIBGNOME_BINDIR=\"/usr/bin\" -DLIBGNOME_LOCALSTATEDIR=\"/var/lib\" -DLIBGNOME_SYSCONFDIR=\"/etc\" -DVERSION=\"2.8.1\" -DGNOMEVFSVERSION=\"2.8.4\" -DG_LOG_DOMAIN=\"Gnome\" -fPIC -O2 -march=athlon64 -mmmx -m3dnow -m64 -fomit-frame-pointer -pipe -MT gnome-help.lo -MD -MP -MF .deps/gnome-help.Tpo -c gnome-help.c >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/libgnome-2.8.1/work/libgnome-2.8.1/libgnome'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgnome-2.8.1/work/libgnome-2.8.1/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgnome-2.8.1/work/libgnome-2.8.1'make: *** [all] Error 2

!!! ERROR: gnome-base/libgnome-2.8.1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge libgnome
2.
3.




# emerge info
Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 12:28:28)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.4, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-fPIC -O2 -march=athlon64 -mmmx -m3dnow -m64 -fomit-frame-pointer
-pipe"CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fPIC -O2 -march=athlon64 -mmmx -m3dnow -m64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox severe strict"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.inode.at/ http://mirror.switch.ch/mirror/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 GAPING_SECURITY_HOLE S3TC X X509 Xaw3d aac acpi acpi4linux alsa
apache2 artworkextra bash-completion bdf beepmp bitmap-fonts bmp bzlib calendar
cap caps cddb cdinstall cdparanoia cdr chroot crypt css ctype curl dba dbx
devmap dga dio divx4linux dmx droproot dts dvd dvdr dvdread edl eds encode
erandom esd ethereal evo exif extensions f77 fam ffmpeg fftw flac fortran ftp gb
gd gif gimp gimpprint gmail gnome gnomedb gphoto2 gpm graphviz gs gstreamer gtk
gtkhtml howl idea image imagekits imlib imlib2 intl ipv6 jabber java jce jp2
jpeg libgda live lzo lzw lzw-tiff mad matroska mbox md5sum mime mimencode mjpeg
mng mozsvg mozxmlterm mp3 mpi mplayer mythtv ncurses network nls nntp no_wxgtk1
nocd nptl nvidia offensive ofx oggvorbis openal opengl pam pcre pda pdf perl png
posix ppds python readline sdl silc smartcard smime sndfile sockets sox ssl svg
sysvipc szip tcpd tga theora threads tiff transcode truetype truetype-fonts
type1 type1-fonts usb userlocales uudeview v4l v4l2 vhosts videos vim vim-pager
vim-with-x wmf xanim xface xim xml2 xosd xpm xrandr xv xvid xvmc yv12 zlib zvbi
linguas_hu"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2005-02-24 01:31:52 UTC
Your report is actually missing the error, please post a few more lines up.
Comment 2 Jean Bréfort 2005-02-24 01:39:12 UTC
Same error here, also on amd64.

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/usr\" -DLIBGNOME_LIBDIR=\"/usr/lib\" -DLIBGNOME_DATADIR=\"/usr/share\" -DLIBGNOME_BINDIR=\"/usr/bin\" -DLIBGNOME_LOCALSTATEDIR=\"/var/lib\" -DLIBGNOME_SYSCONFDIR=\"/etc\" -DVERSION=\"2.8.1\" -DGNOMEVFSVERSION=\"2.8.4\" -DG_LOG_DOMAIN=\"Gnome\" -g -O2 -pipe -MT gnome-program.lo -MD -MP -MF .deps/gnome-program.Tpo -c gnome-program.c  -fPIC -DPIC -o .libs/gnome-program.o
gnome-program.c: In function `gnome_program_init_paramv':
gnome-program.c:1931: error: invalid initializer
Comment 3 Jean Bréfort 2005-02-24 01:44:23 UTC
My feeling is that it is a gnome bug. See this change:
http://cvs.gnome.org/viewcvs/libgnome/libgnome/gnome-program.c?r1=1.72&r2=1.73

I make a bug report at bugzilla.gnome.org
Comment 4 Jean Bréfort 2005-02-24 01:46:17 UTC
Hmm, it has already been reported.

http://bugzilla.gnome.org/show_bug.cgi?id=168110
Comment 5 Jean Bréfort 2005-02-24 01:52:27 UTC
Created attachment 52025 [details, diff]
this patch fixes the problem for libgnome-2.8.1 compilation
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2005-02-24 02:15:03 UTC
I've reverted the va_list initialisation to remain inline with Aron's previous patch.

You'll need to sync, and then remerge -2.8.1.

Do we always want to init va_list to an array, as in your patch? I guess we need more information, but this patch will fix things until then. Ideally we'll see how upstream comments on your page Jean.

Resolving bug upstream, as it's being tracked (and should be fixed) up there.