<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>36219</bug_id>
          
          <creation_ts>2003-12-21 01:56 0000</creation_ts>
          <short_desc>gthumb 2.2.0 fails to compile</short_desc>
          <delta_ts>2004-01-26 15:25:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tawesley@yahoo.com</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          <cc>foser@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>tawesley@yahoo.com</who>
            <bug_when>2003-12-21 01:56:51 0000</bug_when>
            <thetext>When upgrading gthumb the compilation fails with the following output:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMEDATADIR=\&quot;&quot;/usr/share&quot;\&quot;            -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 &quot;s|\@LIBEXECDIR\@|/usr/libexec|g&quot; \
&lt; ./GNOME_GThumb_CatalogView.server.in.in &gt; temp \
&amp;&amp; mv temp GNOME_GThumb_CatalogView.server.in
sed -e &apos;s?\@ICONSDIR\@?/usr/share/gthumb/icons?g&apos; \
&lt; ./GNOME_GThumb_CatalogView.xml.in &gt; temp \
&amp;&amp; mv temp GNOME_GThumb_CatalogView.xml
mv: cannot stat `temp&apos;: 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gthumb-2.2.0/work/gthumb-2.2.0/components&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gthumb-2.2.0/work/gthumb-2.2.0&apos;
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache fixpackages sandbox&quot;
GENTOO_MIRRORS=&quot;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&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>khai@gentoo.org</who>
            <bug_when>2003-12-21 09:59:10 0000</bug_when>
            <thetext>gthumb compiled fine here, try lowering optimizations. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tawesley@yahoo.com</who>
            <bug_when>2003-12-21 10:20:28 0000</bug_when>
            <thetext>-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&apos;t handle it then it should disable it.

Tom</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2003-12-21 17:15:26 0000</bug_when>
            <thetext>set -j2 and should work</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eddymul@gmail.com</who>
            <bug_when>2004-01-26 00:49:56 0000</bug_when>
            <thetext>I also had the exact same problem. I&apos;m using distcc and ccache.

I then followed Luca Barbato&apos;s advice and `export MAKEOPTS=&quot;-j2&quot;` before i re-`emerge gthumb`. It works now.

Maybe we need to &quot;strip-flags&quot; in the ebuild?

-Eddy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2004-01-26 03:31:06 0000</bug_when>
            <thetext>Fixed, hopefully</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-01-26 15:25:45 0000</bug_when>
            <thetext>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. &apos;capped jobs to fix #xxxxx&apos;) so i don&apos;t have to look up bugs unneeded.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>