Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38123 - gtk-sharp-0.14 fails to install
Summary: gtk-sharp-0.14 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 18:32 UTC by Dan Willemsen
Modified: 2004-02-01 23:00 UTC (History)
0 users

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


Attachments
Fixes Bug #38123 (gtk-sharp-0.14.ebuild.patch,277 bytes, patch)
2004-02-01 22:24 UTC, Joe Khoobyar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Willemsen 2004-01-13 18:32:54 UTC
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"
Comment 1 foser (RETIRED) gentoo-dev 2004-01-14 03:21:10 UTC
it should be looking for /usr/bin/install . You might want to recompile the owner of this file for a start.
Comment 2 Dan Willemsen 2004-01-14 04:33:35 UTC
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
Comment 3 Dan Willemsen 2004-01-14 04:39:59 UTC
Unfortuneatly, reinstalling coreutils did not help

Dan
Comment 4 Joe Khoobyar 2004-02-01 21:15:04 UTC
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.
Comment 5 Joe Khoobyar 2004-02-01 21:55:59 UTC
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
Comment 6 Joe Khoobyar 2004-02-01 22:01:34 UTC
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.

Comment 7 Joe Khoobyar 2004-02-01 22:04:42 UTC
If I knew anything about writing ebuilds, I'd fix it myself, since the problem seems obvious, but I don't, so....
Comment 8 Joe Khoobyar 2004-02-01 22:24:38 UTC
Created attachment 24792 [details, diff]
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
Comment 9 Todd Berman (RETIRED) gentoo-dev 2004-02-01 23:00:46 UTC
fixed in cvs, thanks for the patch.

0.15 is also in ~x86 now