Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80604 - Pam 0.77-r6 cannot stat `/usr/share/automake/install-sh'
Summary: Pam 0.77-r6 cannot stat `/usr/share/automake/install-sh'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 81121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-03 10:04 UTC by Colin Tinker
Modified: 2005-02-25 12:31 UTC (History)
2 users (show)

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


Attachments
pam-0.77-r6.ebuild.diff (pam-0.77-r6.ebuild.diff,330 bytes, patch)
2005-02-08 01:28 UTC, Roland Bär
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2005-02-03 10:04:48 UTC
* Applying pam-0.77-pam_xauth-also-set-DISPLAY.patch ...                 [ ok ]
cp: cannot stat `/usr/share/automake/install-sh': No such file or directory


Reproducible: Always
Steps to Reproduce:
1.emerge pam
2.
3.

Actual Results:  
Fails as above  

Expected Results:  
emerge cleanly  

emerge info 
Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 23 2004, 18:09:24)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.5, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-mtune=athlon-xp -march=athlon-xp -pipe -O2" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -pipe -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache clean distcc distlocks 
fixpackages sandbox sfperms userpriv usersandbox" 
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" 
LANG="en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowex X X509 a52 aac aalib acpi acpi4linux aim alsa apm arts 
artworkextra audiofile avantgo avi bash-completion berkdb bidi bitmap-fonts 
bluetooth bonobo bootsplash cddb cdparanoia cdr chroot codecs crypt css ctype 
cups dga dhcp dio directfb divx4linux dts dvb dvd dvdr dvdread eds encode esd 
ethereal evo exif ext-zlib extensions f77 fam fame fbcon fftw flac font-server 
foomaticdbfortran freetype gd gdbm gif gimp gimpprint gmail gnokii gnome 
gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq idea ieee1394 imagemagick imlib 
imlib2 innodb ipv6 irda irmc ithreads jabber java joystick jp2 jpeg jpeg2k 
junit justify kde kdexdeltas ldap libg++ libwww live lm_sensors lzo lzw-tiff 
mad mikmod mime mmx mmx2 mng monkey motif mozcalendar mozp3p mozsvg mozxmlterm 
mpeg msn mysql nas ncursesnetwork nls no-old-linux nocd nptl nvidia offensive 
ogg oggvorbis opengl opie oscar oss pam pcap pcre pda pdflib perl pic pie png 
postgres pthreads python qt quicktime rdesktop readline real ruby samba sblive 
scanner sdl silc skey slang smime sms snmp sockets sox speedo speex spell sse 
ssl svg svga t1lib tcltk tcpd test tga theora threads tiff transcode truetype 
truetype-fonts type1-fonts usb usepackagedmakefiles userlocales uudeview v4l 
v4l2 vim-with-x wifi wmf xanim xine xml xml2 xmms xosd xprint xscreensaver xv 
xvid xvmc yahoo zlib zvbi linguas_en_GB" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Claus Lund 2005-02-03 13:07:51 UTC
I just wanted to say that I experienced this same error.

I have install-sh in a few places but not in /usr/share/automake:
root # find /usr/share -name install-sh
/usr/share/automake-1.5/install-sh
/usr/share/libtool/libltdl/install-sh
/usr/share/automake-1.9/install-sh

Does it have something to do with the change to automake?

My emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb  1 2005, 17:44:35)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.4_p6, 1.6.3, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb fortran gdbm gif gpm hardened imlib ipv6 jpeg libg++ libwww ncurses nls pam pdflib perl png python readline spell ssl svga tcpd truetype-fonts type1-fonts xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 2 Colin Tinker 2005-02-03 13:18:32 UTC
I had a problem with openmotif and it was due to automake and had to emerge all versions of automake one at time ie emerge =sys-dev/automake-1.4_r6 and now pam emerges fine
Comment 3 Claus Lund 2005-02-03 18:12:36 UTC
I just emerge each automake again ... and now pam did indeed compile. However I think that might have broken something else. See bug # 80661 (http://bugs.gentoo.org/show_bug.cgi?id=80661)
Comment 4 Ian Stakenvicius 2005-02-04 10:19:37 UTC
***ALSO FAILS ON AMD64***

Having the same problem with amd64 system.  Automake 1.9, automake-wrapper is installed.  The error (as far as I can tell) is in the pam-0.77-r6.ebuild file, on line #99:

'cp /usr/share/automake/install.sh . || die'

But (at least with my system) there is no /usr/share/automake/ directory -- just /usr/share/automake-1.X/ (where 5<=x<=9).  Maybe this ebuild isn't using the automake-wrapper (which installs to /usr/share/aclocal, right?) and it should?  Or maybe automake-wrapper should symlink one of the versions to /usr/share/automake/ ..  I was able to properly emerge the package after running 'ln -s /usr/share/automake-1.9 /usr/share/automake'.

Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-05 12:50:14 UTC
$ epm -qf /usr/share/automake
automake-1.4_p6

Seems to also be automake related ...
Comment 6 SpanKY gentoo-dev 2005-02-05 20:20:35 UTC
automake-1.4_p6 installs a symlink for /usr/share/automake to automake-1.4:
    dosym automake-${SLOT} /usr/share/automake

$ ls /usr/share/automake -l
lrwxrwxrwx  1 root root 12 Jan 27 14:28 /usr/share/automake -> automake-1.4

make sure you have automake-1.4 on your system and if you dont, re-emerge it
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-06 10:21:01 UTC
Yep, but I was wondering if you know what could have cause it to go missing -
the wrapper issue we know, but this I dont know what changed in the last few
weeks ...
Comment 8 SpanKY gentoo-dev 2005-02-06 11:36:34 UTC
the only thing that has changed in the last few weeks is that the packages were moved to stable
Comment 9 Ian Stakenvicius 2005-02-07 07:21:56 UTC
RE:  SpanKY's comment..  

If this package requires automake-1.4, then why is ">=sys-devel/automake-1.6" in the .ebuild??  should this not be changed to "=sys-devel/automake-1.4" then??
Comment 10 SpanKY gentoo-dev 2005-02-07 08:31:29 UTC
*** Bug 81121 has been marked as a duplicate of this bug. ***
Comment 11 Roland Bär 2005-02-08 01:28:08 UTC
Created attachment 50707 [details, diff]
pam-0.77-r6.ebuild.diff

This install-sh seams to me only needed for an obsolete(?) check for existance
of that auxilliary file. 
The underlying problem is in the deep of autoconf macros, have a look at
/usr/share/autoconf/autoconf/general.m4 
or change/remove the macro in configure.in, which triggers that...
Seams to work with empty install-sh.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-10 09:31:41 UTC
As to question about depends - all auto* was in one package, and then split
out.  The DEPENDS was just never updated.


Can all please try the patch in comment #11 ?
Comment 13 Ian Stakenvicius 2005-02-10 12:43:19 UTC
The patch worked great here.
(are we supposed to provide feedback like this?)
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-25 12:31:27 UTC
Added to pam-0.78, thanks.