Summary: | gthumb-2.6.7 emerges and runs on ppc64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua (RETIRED) <joslwah> |
Component: | New packages | Assignee: | ppc64 architecture team <ppc64> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | allanonjl |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch to fix broken Makefile.am that breaks parallel builds.
Change to ebuild to use patch that fixes parallel makes. Corrected version of change to ebuild to use patch that fixes parallel makes. |
Description
Joshua (RETIRED)
![]() 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 Neither 2.6.7 nor 2.6.8 emerge for me. What flag are you referring to? 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. 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. 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. 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. Created attachment 72943 [details, diff]
Patch to fix broken Makefile.am that breaks parallel builds.
Should be stored in files directory.
Created attachment 72944 [details, diff]
Change to ebuild to use patch that fixes parallel makes.
Used in conjunction eith components-cv.patch
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.
backported a similar patch into 2.6.8-r1. ppc64 team, please test and keyword, thanks! added ~ppc64 stable. closing |