Bug 205217 - app-editors/gedit-2.20.4 fails to install with MAKEOPTS="-j"
Bug#: 205217 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: xake@rymdraket.net
Component: Ebuilds
URL: 
Summary: app-editors/gedit-2.20.4 fails to install with MAKEOPTS="-j"
Keywords:  
Status Whiteboard: 
Opened: 2008-01-10 15:45 0000
Description:   Opened: 2008-01-10 15:45 0000
This is due to the gedit/Makefile.am using 'install-exec-local' to make a
symlink ('ln -s gedit gnome-text-editor'). This makes it possible for make
install to try make the symlink before the binary gedit is installed and die
horrible if install-exec has not yet installed gedit.
Use 'install-exec-hook' instead and make will wait with 'ln -s' until after
'install-exec' is finished before trying to symlink anything.

Will attach the same patch sent upstream in bug:
https://bugzilla.gnome.org/show_bug.cgi?id=508512

------- Comment #1 From Xake 2008-01-10 15:46:34 0000 -------
Created an attachment (id=140607) [details]
Patch against gedit-2.20.4

------- Comment #2 From Xake 2008-01-25 15:17:55 0000 -------
Fixed upstream. Wait for new version or patch?

------- Comment #3 From Marco Leogrande 2008-02-01 18:29:30 0000 -------
Please consider applying this patch to gedit-2.20.4, as I'm experiencing the
very same problem. I used a quick and dirty MAKEOPTS="-j1" and the issue
disappeared.

Btw, gedit-2.20.4 became stable on x86 6 hours ago and 36 minutes ago on ppc,
so expect lots of complains :)

------- Comment #4 From Gilles Dartiguelongue 2008-02-10 21:11:44 0000 -------
fixed in CVS