You are not logged in.
Pages: 1
I have been doing a makepkg for a few programs, and sometimes I receive an error message saying
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: [i]programname[/i]
After this, when I check the directory, the pkg of the program is there and working, but the filelist holds nothing but '.FILELIST' and '.PKGINFO'
Could anyone tell me how to fix this? Or am I supposed to enter the filenames manually?
Thanks.
Offline
is there something in the pkg.tar.gz file?
what pkgs are that? where from?
.FILELIST is empty, when there is no file in the pkg, what is a bad thing in general while building a pkg
The impossible missions are the only ones which succeed.
Offline
You are right, there is nothing in the pkg.tar.gz file
The package I'm trying to build is bitlbee. The PKGBUILD is
#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=bitlbee
pkgver=0.85a
pkgrel=1
pkgdesc="Talk on the MSN, ICQ, Jabber, Yahoo!, and AIM networks with any IRC client."
url="http://www.bitlbee.org/"
license="GPL"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make prefix=$startdir/pkg/usr install
}
Offline
have a look at the Makefile of the pkg and check if prefix as variable exists
if not, then you need to use the variable that the author uses for installation in other destination ... in most cases it's much better to try DESTDIR=$startdir/pkg instead of prefix=$startdir/pkg/usr first
what i see also in your PKGBUILD: dont you build the pkg first before installing it?
add after ./configure
make || return 1
---
then after successfull building, try to find out the depends (namcap and docs of program you are building)
The impossible missions are the only ones which succeed.
Offline
one hint:
after building, have a look at filelist:
more filelist
and check if this files are logical (any binaries? where are they located? ...)
The impossible missions are the only ones which succeed.
Offline
The makefile uses DESTDIR. Use
make DESTDIR=$startdir/pkg install
Offline
Tried PKGBUILD got...
==> Starting build()...
BitlBee configure
Architecture: Linux
Linux is our primary development platform, BitlBee should work well.
Configuration done:
Debugging disabled.
Binary stripping enabled.
Tcpd support disabled.
Iconv support enabled.
Flood protection disabled.
Building with these protocols: msn jabber oscar yahoo
mkdir -p /home/kevin/Documents/pkg/usr/sbin/
mkdir -p /home/kevin/Documents/pkg/usr/share/bitlbee/
chmod 0755 /home/kevin/Documents/pkg/usr/sbin/ /home/kevin/Documents/pkg/usr/share/bitlbee/
rm -f /home/kevin/Documents/pkg/usr/share/bitlbee//help.txt # Prevent help function from breaking in running sessions
install -m 0755 bitlbee /home/kevin/Documents/pkg/usr/sbin//bitlbee
install: cannot stat `bitlbee': No such file or directory
make: *** [install-bin] Error 1
==> ERROR: Build Failed. Aborting...
Looks like it should be /pkg/usr/share/bitlbee ????
Mr Green
md5sum is d26fc287993e020b38fbde7e5ac6ad0b
Maybe problem with Makefile ??
Mr Green
Offline
install -m 0755 bitlbee /home/kevin/Documents/pkg/usr/sbin//bitlbee
I can see two "/" (slashes) in this line.. maybe that's the problem (I don't know).
:: / my web presence
Offline
kpiche, I did as you suggested(to use DESTDIR), and the build worked. Thanks.
#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=bitlbee
pkgver=0.85a
pkgrel=1
pkgdesc="Talk on the MSN, ICQ, Jabber, Yahoo!, and AIM networks with any IRC client."
url="http://www.bitlbee.org/"
license="GPL"
depends=('gnutls' 'glib2')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz)
md5sums=('d26fc287993e020b38fbde7e5ac6ad0b')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
mkdir -p $startdir/pkg/var/lib/bitlbee
make DESTDIR=$startdir/pkg install
echo Running 'make install-etc'
make DESTDIR=$startdir/pkg install-etc
}
Also, I have added 'make install-etc' at the bottom since it was suggested during the build
And the program does not need to be compiled, just installed directly. At the bitlbee website, its said that some entries should be put into inetd.conf or something. Is is possible to do that from the install directly? Possibly through the install scripts that could be used?
Could someone move this post to Requested packages? Since it should probably go there or to new packages now.
Everyone, thanks for your help, I appreciate it
Edit:
The setting that have to be changed are found at http://reviewed.homelinux.org/software/irc/bitlbee/
Offline
No problem. DP mentioned it first tho... Unfortunately your package only contains directories and some configuration files - the filelist:
.FILELIST
.PKGINFO
usr/
usr/etc/
usr/etc/bitlbee/
usr/etc/bitlbee/bitlbee.conf
usr/etc/bitlbee/motd.txt
usr/sbin/
usr/share/
usr/share/bitlbee/
var/
var/lib/
var/lib/bitlbee/
You need to compile the source first. After the "./configure" line you need a line: "make || return 1". You would think that the make install target would depend on the binary being built first. Duh.
As for your inetd question, add xinetd to the depends= and then have the PKGBUILD copy the doc/bitlbee.xinetd to $startdir/pkg/etc/xinetd.d directory. Then you can add a postinstall script to kill -HUP the xinetd daemon if you want the service available right away.
HTH
Offline
Pages: 1