Bug 38123 - gtk-sharp-0.14 fails to install
|
Bug#:
38123
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dotnet@gentoo.org
|
Reported By: dan@willemsen.us
|
|
Component: Unspecified
|
|
|
URL:
|
|
Summary: gtk-sharp-0.14 fails to install
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-01-13 18:32 0000
|
When i try to emerge gtk-sharp-0.14, it compiles everything fine, goes into the
install phase, and errors out not finding
/var/tmp/portage/gtk-sharp-0.14/image//usr/bin/install. I tried to find out
what was causing this, but i couldn't figure it out :(.
Reproducible: Always
Steps to Reproduce:
1. emerge gtk-sharp
2.
3.
Actual Results:
>>> Install gtk-sharp-0.14 into /var/tmp/portage/gtk-sharp-0.14/image/ category
x11-libs
for i in glue parser; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14
/glue'
make[2]: Entering directory
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/glue'
/bin/sh ../mkinstalldirs /var/tmp/portage/gtk-sharp-0.14/image//usr/lib
mkdir -p -- /var/tmp/portage/gtk-sharp-0.14/image//usr/lib
/bin/sh ../libtool
--mode=install /var/tmp/portage/gtk-sharp-0.14/image//usr/bin/install -c
libgtksharpglue.la /var/tmp/portage/gtk-sharp-0
.14/image//usr/lib/libgtksharpglue.la
/var/tmp/portage/gtk-sharp-0.14/image//usr/bin/install
-c .libs/libgtksharpglue.so
/var/tmp/portage/gtk-sharp-0.14/image//usr/lib/libgtksharp
glue.so
../libtool: line 1: /var/tmp/portage/gtk-sharp-0.14/image//usr/bin/install: No
such file
or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[2]: Leaving directory
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/glue'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/glue'
make: *** [install-native] Error 1
!!! ERROR: x11-libs/gtk-sharp-0.14 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed
Expected Results:
Used /usr/bin/install instead and finish installing.
Portage 2.0.50_pre14 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 mobile AMD Athlon(tm) XP-M 2200+
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/gentoo/
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 apm arts avi berkdb cdr crypt cups directfb dvd
encode esd ethereal evo fbcon flash foomaticdb gd gdbm gif gnome gphoto2 gpm
gps gstreamer gtk gtk2 gtkhtml imagemagick imap imlib java jikes joystick jpeg
kde
ldap libg++ libwww lirc mad maildir mbox mcal mikmod mmx motif mozilla mpeg
mysql ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png
pnp ppds python qt quicktime readline samba scanner sdl slang slp snmp socks5
speex spell sse ssl svga tcltk tcpd tetex tiff truetype trusted usb wmf x86
xinerama
xml xml2 xmms xosd xv zlib"
it should be looking for /usr/bin/install . You might want to recompile the
owner of this file for a start.
I'm recompiling coreutils now, which is the owner of /usr/bin/install
I was able to get this to merge temporarily by going through these steps:
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild clean
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild unpack
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild compile
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild preinst
cd /var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/
make install
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild postinst
ebuild /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild qmerge
I don't know if all those steps were necessary, but that allowed me to merge it.
Dan Willemsen
Unfortuneatly, reinstalling coreutils did not help
Dan
I get the same problem with this ebuild, and it really doesn't appear that it
should have anything to do with a coreutils build IMO.
Here's the problem:
Once the install phase is entered, line 47 of glue/Makefile is:
INSTALL = /var/tmp/portage/gtk-sharp-0.14/image//usr/bin/install -c
Instead it should read as:
INSTALL = /usr/bin/install -c
Also, upon further inspection, you'll also find that line 91 should be
corrected to "MONO = /usr/bin/mono" and line 94 to "PKG_CONFIG =
/usr/bin/pkg-config", sans quotes.
If I knew anything about writing ebuilds, I'd fix it myself, since the problem
seems obvious, but I don't, so....
Created an attachment (id=24792) [details]
Fixes Bug #38123
Hmm... I geuss from now on I'll actually look at the ebuild. :)
I've honestly never really taken a good look at an ebuild... okay, fine, I've
never looked at one at all. I didn't realize that it was just shell code. :)
I like Gentoo more every day. :)
Anyhow, here's a patch against the original ebuild. It seemed to work just
fine for me.
Joe Khoobyar
Ankhcraft
joe@ankhcraft.com
fixed in cvs, thanks for the patch.
0.15 is also in ~x86 now