Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96157 - alltray-0.54 fails to compile
Summary: alltray-0.54 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 01:39 UTC by Peter Humphrey
Modified: 2005-06-15 08:22 UTC (History)
0 users

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


Attachments
Full log of emerge alltray-0.54 (alltray.log,12.35 KB, text/plain)
2005-06-15 01:41 UTC, Peter Humphrey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Humphrey 2005-06-15 01:39:53 UTC
prh@wstn ~ $ sudo emerge -u alltray

[...]

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include  -Wall -Os -march=opteron -mtune=opteron -MT
gnome_theme.o -MD -MP -MF ".deps/gnome_theme.Tpo" -c -o gnome_theme.o
gnome_theme.c; \
then mv -f ".deps/gnome_theme.Tpo" ".deps/gnome_theme.Po"; else rm -f
".deps/gnome_theme.Tpo"; exit 1; fi
child.c: In function `set_env_stuff':
child.c:309: error: `LIBDIR' undeclared (first use in this function)
child.c:309: error: (Each undeclared identifier is reported only once
child.c:309: error: for each function it appears in.)
child.c:309: error: parse error before string constant
make[2]: *** [child.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gnome_theme.c: In function `parse_theme':
gnome_theme.c:164: warning: passing arg 3 of `g_file_get_contents' from
incompatible pointer type
gnome_theme.c:204: warning: passing arg 3 of `g_file_get_contents' from
incompatible pointer type
gnome_theme.c:219: warning: passing arg 3 of `g_file_get_contents' from
incompatible pointer type
make[2]: Leaving directory `/var/tmp/portage/alltray-0.54/work/alltray-0.54/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/alltray-0.54/work/alltray-0.54'
make: *** [all] Error 2

Full log is attached.
Version 0.5.1 is installed ok, but this upgrade fails.


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




prh@wstn ~ $ emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=opteron -mtune=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xservers /etc/fonts /etc/gconf /etc/rc.d
/etc/rsync /etc/terminfo /etc/texmf/web2c /etc/wget /etc/env.d"
CXXFLAGS="-Os -march=opteron -mtune=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig bldpkg ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk         
http://ftp.easynet.nl/mirror/gentoo           
http://trumpetti.atm.tut.fi/gentoo/             
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo               
http://ftp.uni-erlangen.de/pub/mirrors/gentoo          
http://distfiles.gentoo.org   
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB/ISO-8859-15"
LC_ALL="en_GB/ISO-8859-15"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts bash-completion berkdb bitmap-fonts cdr crypt cups
curl dvd esd fam font-server foomaticdb fortran gd gif gimpprint gpm gtk
imagemagick imlib ipv6 java jp2 jpeg junit kdeenablefinal libwww lzw lzw-tiff
mad motif mp3 ncurses nls nptl nptlonly opengl oss pam perl png ppds python qt
readline sdl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb
userlocales xine xml2 xmms xpm xrandr xv zlib linguas_en_GB userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Peter Humphrey 2005-06-15 01:41:27 UTC
Created attachment 61254 [details]
Full log of emerge alltray-0.54
Comment 2 Sven Wegener gentoo-dev 2005-06-15 04:25:43 UTC
checking whether everything is installed to the same prefix... no
checking whether binary relocation is working... no

That's the reason why the compile is failing. alltry uses some uhm interesting
checks to activate these features.

Comment 3 Sven Wegener gentoo-dev 2005-06-15 04:54:56 UTC
I don't have access to an amd64 system, but I suspect the lib64 bit fails these
tests.
Comment 4 Sven Wegener gentoo-dev 2005-06-15 05:17:47 UTC
I've keyworded it -amd64 for now and I'm in contact with the upstream author.
Comment 5 Sven Wegener gentoo-dev 2005-06-15 07:26:21 UTC
I've re-added the ~amd64 flag, should show up on your local rsync mirror in about
one hour. Please give it a try!
Comment 6 Peter Humphrey 2005-06-15 08:20:46 UTC
Compiles just fine now, so this bug can be closed. (I'll open another if there's
a functionality problem :-) Thank you Sven.
Comment 7 Sven Wegener gentoo-dev 2005-06-15 08:22:22 UTC
It's more a workaround than a real fix, but it'll work for now.