<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>38123</bug_id>
          
          <creation_ts>2004-01-13 18:32 0000</creation_ts>
          <short_desc>gtk-sharp-0.14 fails to install</short_desc>
          <delta_ts>2004-02-01 23:00:46 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dan@willemsen.us</reporter>
          <assigned_to>dotnet@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dan@willemsen.us</who>
            <bug_when>2004-01-13 18:32:54 0000</bug_when>
            <thetext>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&apos;t figure it out :(.

Reproducible: Always
Steps to Reproduce:
1. emerge gtk-sharp
2.
3.
Actual Results:  
&gt;&gt;&gt; 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&apos; 
make[2]: Entering directory 
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/glue&apos; 
/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&apos; 
make[1]: *** [install-am] Error 2 
make[1]: Leaving directory 
`/var/tmp/portage/gtk-sharp-0.14/work/gtk-sharp-0.14/glue&apos; 
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=&quot;x86 ~x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CFLAGS=&quot;-O2 -march=athlon-xp -pipe&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
COMPILER=&quot;gcc3&quot; 
CONFIG_PROTECT=&quot;/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&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot; 
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoaddcvs ccache distcc sandbox&quot; 
GENTOO_MIRRORS=&quot;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/&quot; 
MAKEOPTS=&quot;-j2&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot; 
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot; 
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-01-14 03:21:10 0000</bug_when>
            <thetext>it should be looking for /usr/bin/install . You might want to recompile the owner of this file for a start.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dan@willemsen.us</who>
            <bug_when>2004-01-14 04:33:35 0000</bug_when>
            <thetext>I&apos;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&apos;t know if all those steps were necessary, but that allowed me to merge it.

Dan Willemsen</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dan@willemsen.us</who>
            <bug_when>2004-01-14 04:39:59 0000</bug_when>
            <thetext>Unfortuneatly, reinstalling coreutils did not help

Dan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@ankhcraft.com</who>
            <bug_when>2004-02-01 21:15:04 0000</bug_when>
            <thetext>I get the same problem with this ebuild, and it really doesn&apos;t appear that it should have anything to do with a coreutils build IMO.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@ankhcraft.com</who>
            <bug_when>2004-02-01 21:55:59 0000</bug_when>
            <thetext>Here&apos;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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@ankhcraft.com</who>
            <bug_when>2004-02-01 22:01:34 0000</bug_when>
            <thetext>Also, upon further inspection, you&apos;ll also find that line 91 should be corrected to &quot;MONO = /usr/bin/mono&quot; and line 94 to &quot;PKG_CONFIG = /usr/bin/pkg-config&quot;, sans quotes.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@ankhcraft.com</who>
            <bug_when>2004-02-01 22:04:42 0000</bug_when>
            <thetext>If I knew anything about writing ebuilds, I&apos;d fix it myself, since the problem seems obvious, but I don&apos;t, so....</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@ankhcraft.com</who>
            <bug_when>2004-02-01 22:24:38 0000</bug_when>
            <thetext>Created an attachment (id=24792)
Fixes Bug #38123

Hmm... I geuss from now on I&apos;ll actually look at the ebuild. :)

I&apos;ve honestly never really taken a good look at an ebuild... okay, fine, I&apos;ve
never looked at one at all.  I didn&apos;t realize that it was just shell code. :)  

I like Gentoo more every day. :)

Anyhow, here&apos;s a patch against the original ebuild.  It seemed to work just
fine for me.

Joe Khoobyar
Ankhcraft
joe@ankhcraft.com</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tberman@gentoo.org</who>
            <bug_when>2004-02-01 23:00:46 0000</bug_when>
            <thetext>fixed in cvs, thanks for the patch.

0.15 is also in ~x86 now</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24792</attachid>
            <date>2004-02-01 22:24 0000</date>
            <desc>Fixes Bug #38123</desc>
            <filename>gtk-sharp-0.14.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">NjRjNjQKPCAJZm9yIGkgaW4gJChmaW5kIC4gLWluYW1lIE1ha2VmaWxlKTsgZG8gY3AgJGkgJHtp
fS5vcmlnOyBzZWQgInM6JHtERVNURElSfS91c3I6JHtEfS91c3I6IiAkaS5vcmlnID4gJGk7IGRv
bmUKLS0tCj4gCWZvciBpIGluICQoZmluZCAuIC1pbmFtZSBNYWtlZmlsZSk7IGRvIGNwICRpICR7
aX0ub3JpZzsgc2VkIC1lICJzOiR7REVTVERJUn0vdXNyOiR7RH0vdXNyOiIgLWUgInM6JHtEfS91
c3IvYmluOiR7REVTVERJUn0vdXNyL2JpbjoiIDwgJGkub3JpZyA+ICRpOyBkb25lCg==
</data>        

          </attachment>
    </bug>

</bugzilla>