You are not logged in.
Hi,
I've tried to build a package for murmur today using makechrootpkg.
I can't build a valid package because there are all files missing which are given in the source-array although they exist in the PKGBUILD directory.
The makepkg started by makechrootpkg validates the files correctly:
==> Retrieving Sources...
-> Using cached copy of mumble-1.2.1.tar.gz
-> Using cached copy of murmur.rc.d
-> Using cached copy of murmur.conf.d
-> Using cached copy of murmur.dbus.conf
-> Using cached copy of murmur.logrotate.d
==> Validating source files with md4sums...
mumble-1.2.1.tar.gz ... Passed
murmur.rc.d ... Passed
murmur.conf.d ... Passed
murmur.dbus.conf ... Passed
murmur.logrotate.d ... PassedBut after correctly compiling the sources these files can't be installed:
install: cannot stat `/build/murmur.rc.d': No such file or directory
install: cannot stat `/build/murmur.conf.d': No such file or directory
install: cannot stat `/build/murmur.dbus.conf': No such file or directory
install: cannot stat `/build/murmur.logrotate.d': No such file or directoryWithin this directory the files are missing although they are listed in the source-array.
Is it a bug of makechrootpkg or why are could these files be missing?
Regards
Andrwe
Last edited by Andrwe (2010-02-07 08:00:39)
Website: andrwe.org
Offline
is a bug in murmur's PKGBUILD since the source-array is copied in /build/src. for example
install -Dm755 ${startdir}/murmur.rc.d ${pkgdir}/etc/rc.d/murmur
install -Dm644 ${startdir}/murmur.conf.d ${pkgdir}/etc/conf.d/murmurshould be
install -Dm755 ${srcdir}/murmur.rc.d ${pkgdir}/etc/rc.d/murmur
install -Dm644 ${srcdir}/murmur.conf.d ${pkgdir}/etc/conf.d/murmuretc
Last edited by wonder (2010-02-07 01:06:02)
Give what you have. To someone, it may be better than you dare to think.
Offline
Exactly. Never use $startdir as there are no guarantees about its location relative to $srcdir or $pkgdir or even what files it contains...
Offline
Offline