Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36219 - gthumb 2.2.0 fails to compile
Summary: gthumb 2.2.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-21 01:56 UTC by Tom Wesley
Modified: 2004-01-26 15:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wesley 2003-12-21 01:56:51 UTC
When upgrading gthumb the compilation fails with the following output:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMEDATADIR=\""/usr/share"\"            -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2                         -I../../libgthumb    -mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer -c main.c
sed -e "s|\@LIBEXECDIR\@|/usr/libexec|g" \
< ./GNOME_GThumb_CatalogView.server.in.in > temp \
&& mv temp GNOME_GThumb_CatalogView.server.in
sed -e 's?\@ICONSDIR\@?/usr/share/gthumb/icons?g' \
< ./GNOME_GThumb_CatalogView.xml.in > temp \
&& mv temp GNOME_GThumb_CatalogView.xml
mv: cannot stat `temp': No such file or directory
make[3]: *** [GNOME_GThumb_CatalogView.server.in] Error 1
make[3]: *** Waiting for unfinished jobs....
touch nautilus_view_component_idl_stamp
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gthumb-2.2.0/work/gthumb-2.2.0/components/catalog-view'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gthumb-2.2.0/work/gthumb-2.2.0/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gthumb-2.2.0/work/gthumb-2.2.0'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: media-gfx/gthumb-2.2.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0,
2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.caliu.info/pub/gentoo/ http://gentoo.linux.no/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j4"
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="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg ldap
libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis
opengl oss pam pda pdflib perl pic png python quicktime readline ruby sdl slang
spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib
video_cards_radeon"
Comment 1 Yi Quang (RETIRED) gentoo-dev 2003-12-21 09:59:10 UTC
gthumb compiled fine here, try lowering optimizations. 
Comment 2 Tom Wesley 2003-12-21 10:20:28 UTC
-O3 -pipe should be fine, and is generically supported - or at least I thought it was...

It seems it was my MAKEOPTS.  Seems a bug in the ebuild in the fact that if it can't handle it then it should disable it.

Tom
Comment 3 Luca Barbato gentoo-dev 2003-12-21 17:15:26 UTC
set -j2 and should work
Comment 4 Eddy Mulyono 2004-01-26 00:49:56 UTC
I also had the exact same problem. I'm using distcc and ccache.

I then followed Luca Barbato's advice and `export MAKEOPTS="-j2"` before i re-`emerge gthumb`. It works now.

Maybe we need to "strip-flags" in the ebuild?

-Eddy
Comment 5 Luca Barbato gentoo-dev 2004-01-26 03:31:06 UTC
Fixed, hopefully
Comment 6 foser (RETIRED) gentoo-dev 2004-01-26 15:25:45 UTC
Hmm i just discovered this, this bug should go to gnome (see metadata) . gfx second herd fine with me, just add it.

Anyway, lu_zero try to make functional changelog remarks, like what you actually did (eg. 'capped jobs to fix #xxxxx') so i don't have to look up bugs unneeded.