Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112129 - gthumb-2.6.7 emerges and runs on ppc64
Summary: gthumb-2.6.7 emerges and runs on ppc64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 17:03 UTC by Joshua (RETIRED)
Modified: 2006-05-07 13:09 UTC (History)
1 user (show)

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


Attachments
Patch to fix broken Makefile.am that breaks parallel builds. (components-cv.patch,1.13 KB, patch)
2005-11-15 06:15 UTC, Joshua (RETIRED)
Details | Diff
Change to ebuild to use patch that fixes parallel makes. (ebuild.patch,827 bytes, patch)
2005-11-15 06:17 UTC, Joshua (RETIRED)
Details | Diff
Corrected version of change to ebuild to use patch that fixes parallel makes. (ebuild.patch,883 bytes, patch)
2005-11-16 14:50 UTC, Joshua (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua (RETIRED) gentoo-dev 2005-11-10 17:03:09 UTC
media-gfx/gthumb/gthumb-2.6.7 emerges fine once flag is added.

N.B.  2.6.8 does not.  Haven't tracked things down well on that yet.  Just get
gthumb started.
Comment 1 Joshua (RETIRED) gentoo-dev 2005-11-10 17:03:44 UTC
Portage 2.0.51.22-r3 (default-linux/ppc/2005.1/ppc64/64bit-userland/970/pmac,
gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 ppc64)
=================================================================
System uname: 2.6.12-gentoo-r6 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-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 /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="ppc64 X alsa altivec audiofile berkdb bitmap-fonts bzip2 cdr cjk crypt curl
dga dmx dts dvd emacs encode ethereal exif exiscan-acl expat fam gdbm gif glut
gnome gpm gtk gtk2 idn ipv6 jpeg lcms libwww live mbox mng motif mule ncurses
nls nptl ogg oggvorbis opengl oss pam pcre perl png python readline real sdl
server spell ssl tcltk tcpd tetex threads tiff truetype truetype-fonts
type1-fonts udev unicode usb vorbis xinerama xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 2 Brent Baude (RETIRED) gentoo-dev 2005-11-12 14:20:24 UTC
Neither 2.6.7 nor 2.6.8 emerge for me.  What flag are you referring to?
Comment 3 Joshua (RETIRED) gentoo-dev 2005-11-12 17:17:52 UTC
Sorry, was too tired when I submitted this and made lots of mistakes.  Oh well.

Mark gthumb-2.6.7 as ~ppc64.

Then get:

[ebuild   R   ] media-gfx/gthumb-2.6.7  -debug -gphoto2 +jpeg +png +tiff 0 kB 

Emerges and runs fine as far as I can see.  emerge info as before.

Comment 4 Joshua (RETIRED) gentoo-dev 2005-11-13 21:46:19 UTC
O.k.  Having done some more research, I've discovered the following:

gthumb-2.6.7 won't emerge if nautilus is already emerged.

So either need to mark nautilus as forbidden or set it up so that nautilus is
unemerged, then gthumb emerged and then nautilus restored, assuming nautilus was
previously emerged.
Comment 5 Joshua (RETIRED) gentoo-dev 2005-11-14 06:07:08 UTC
O.k.  it looks as though parallel makes may well be the problem.  Compiling with
-j1 looks like it fixes the problem.  Cf #78843, although the fix there doesn't
appear to fix it here.
Comment 6 Joshua (RETIRED) gentoo-dev 2005-11-15 05:16:14 UTC
O.k.  Sorry for the rather odd summary line but this has shifted.

There is a bug in current versions of gthumb 2.6.x.  Fix is to change
components/catalog-view/Makefile.am as follows:

From:
GNOME_GThumb_CatalogView.server.in: GNOME_GThumb_CatalogView.server.in.in Makefile
        sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|g" \
        < $(srcdir)/GNOME_GThumb_CatalogView.server.in.in > temp \
        && mv temp GNOME_GThumb_CatalogView.server.in

To:
GNOME_GThumb_CatalogView.server.in: GNOME_GThumb_CatalogView.server.in.in Makefile
        sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|g" \
        < $(srcdir)/GNOME_GThumb_CatalogView.server.in.in > temp.server \
        && mv temp.server GNOME_GThumb_CatalogView.server.in


This then lets it compile on SMP machines.  I think it also supercedes fix for 
bug #78843.  I think this is the proper fix rather than masking the error.

This fix has been merged upstream in CVS.

This should let it compile consistently on ppc64.  Without it it is clear that
compile should fail at times on SMP.
Comment 7 Joshua (RETIRED) gentoo-dev 2005-11-15 06:15:53 UTC
Created attachment 72943 [details, diff]
Patch to fix broken Makefile.am that breaks parallel builds.

Should be stored in files directory.
Comment 8 Joshua (RETIRED) gentoo-dev 2005-11-15 06:17:13 UTC
Created attachment 72944 [details, diff]
Change to ebuild to use patch that fixes parallel makes.

Used in conjunction eith components-cv.patch
Comment 9 Joshua (RETIRED) gentoo-dev 2005-11-16 14:50:04 UTC
Created attachment 73036 [details, diff]
Corrected version of change to ebuild to use patch that fixes parallel makes.

Somehow patch to ebuild lost it's first line.  This is a corrected version.
Comment 10 John N. Laliberte (RETIRED) gentoo-dev 2005-12-04 15:44:42 UTC
backported a similar patch into 2.6.8-r1.  ppc64 team, please test and keyword,
thanks!
Comment 11 Markus Rothe (RETIRED) gentoo-dev 2005-12-19 03:00:20 UTC
added ~ppc64
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2006-05-07 13:09:25 UTC
stable. closing