Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 112129
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: ppc64 architecture team <ppc64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joshua (RETIRED) <joslwah@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
components-cv.patch Patch to fix broken Makefile.am that breaks parallel builds. patch Joshua (RETIRED) 2005-11-15 06:15 0000 1.13 KB Details | Diff
ebuild.patch Change to ebuild to use patch that fixes parallel makes. patch Joshua (RETIRED) 2005-11-15 06:17 0000 827 bytes Details | Diff
ebuild.patch Corrected version of change to ebuild to use patch that fixes parallel makes. patch Joshua (RETIRED) 2005-11-16 14:50 0000 883 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 112129 depends on: Show dependency tree
Bug 112129 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-10 17:03 0000
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 From Joshua (RETIRED) 2005-11-10 17:03:44 0000 -------
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 From Brent Baude 2005-11-12 14:20:24 0000 -------
Neither 2.6.7 nor 2.6.8 emerge for me.  What flag are you referring to?

------- Comment #3 From Joshua (RETIRED) 2005-11-12 17:17:52 0000 -------
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 From Joshua (RETIRED) 2005-11-13 21:46:19 0000 -------
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 From Joshua (RETIRED) 2005-11-14 06:07:08 0000 -------
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 From Joshua (RETIRED) 2005-11-15 05:16:14 0000 -------
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 From Joshua (RETIRED) 2005-11-15 06:15:53 0000 -------
Created an attachment (id=72943) [details]
Patch to fix broken Makefile.am that breaks parallel builds.

Should be stored in files directory.  

------- Comment #8 From Joshua (RETIRED) 2005-11-15 06:17:13 0000 -------
Created an attachment (id=72944) [details]
Change to ebuild to use patch that fixes parallel makes.

Used in conjunction eith components-cv.patch

------- Comment #9 From Joshua (RETIRED) 2005-11-16 14:50:04 0000 -------
Created an attachment (id=73036) [details]
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 From John N. Laliberte (RETIRED) 2005-12-04 15:44:42 0000 -------
backported a similar patch into 2.6.8-r1.  ppc64 team, please test and keyword,
thanks!

------- Comment #11 From Markus Rothe 2005-12-19 03:00:20 0000 -------
added ~ppc64

------- Comment #12 From Markus Rothe 2006-05-07 13:09:25 0000 -------
stable. closing

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug