problems building geninitrd-2.4.1 and genromfs-0.3.9

Philip J. Hollenback phil at hollenback.net
Sat Aug 4 23:04:32 CEST 2001


Hi,

I'm trying to build these two packages from your pld source on a
modified rh62 system.  I have problems building both, perhaps someone
could shed some light on this?

rpm -bb genromfs.spec fails like this:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81323
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf genromfs-0.3
+ /bin/gzip -dc /usr/src/redhat/SOURCES/genromfs-0.3.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd genromfs-0.3
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (genromfs-ac_am.patch):
Patch #0 (genromfs-ac_am.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.47157
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd genromfs-0.3
+ libtoolize --copy --force
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
+ aclocal
+ automake -a -c
automake: configure.in: installing `./install-sh'
    error while copying

automake: configure.in: installing `./mkinstalldirs'
    error while copying

automake: configure.in: installing `./missing'
    error while copying

automake: Makefile.am: installing `./INSTALL'
    error while copying

automake: Makefile.am: required file `./NEWS' not found
automake: Makefile.am: required file `./README' not found
automake: Makefile.am: required file `./AUTHORS' not found
Bad exit status from /var/tmp/rpm-tmp.47157 (%build)




and rpm -bb geninitrd.spec fails like this:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2601
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf geninitrd-2.4
+ /bin/gzip -dc /usr/src/redhat/SOURCES/geninitrd-2.4.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd geninitrd-2.4
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.76156
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd geninitrd-2.4
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.76156
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd geninitrd-2.4
+ rm -rf /%{tmpdir}/geninitrd-2.4-root-root
+ /usr/bin/make BUILDROOT=/%{tmpdir}/geninitrd-2.4-root-root install
install -d /%{tmpdir}/geninitrd-2.4-root-root/{sbin,/usr/share/man/man8,/etc/sysconfig}
sed 's/%VERSIONTAG%/2.4/' < geninitrd > /%{tmpdir}/geninitrd-2.4-root-root/sbin/geninitrd
/bin/sh: /%{tmpdir}/geninitrd-2.4-root-root/sbin/geninitrd: No such file or directory
make: *** [install] Error 1
Bad exit status from /var/tmp/rpm-tmp.76156 (%install)


There appear to be errors in the source packages - for example,
genromfs is missing the NEWS file.

How can I fix this?

Also, what is the shell 'trash' that your geninitrd refers to?  I
can't find that anywhere.

P.

ps - I'm using your rpms because I use your kernel rpm and really like
it.

-- 
Philip J. Hollenback
philiph at pobox.com
http://www.hollenback.net



More information about the pld-devel-en mailing list