You are not logged in.
Hi,
I made a PKGBUILD for the io (programming language) virtual machine but makepkg hangs at:
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...The PKGBUILD:
# Contributor:
pkgname=io
pkgver=2008.03.30
pkgrel=1
pkgdesc="Virtual machine for Io, a small, prototype-based programming language"
url="http://www.iolanguage.com/"
arch=(i686)
license=()
depends=()
makedepends=()
options=()
conflicts=()
source=(http://github.com/tarballs/stevedekorte-io-4debb4b25740b8dd46ad16f43f04f0fc5b4a23e1.tar.gz)
md5sums=('')
build() {
mv $startdir/src/stevedekorte-io-4debb4b25740b8dd46ad16f43f04f0fc5b4a23e1 $startdir/src/$pkgname-$pkgver
cd $startdir/src/$pkgname-$pkgver
make vm || return 1
make INSTALL_PREFIX=${startdir}/pkg/usr install
rm -rf ${startdir}/src/io-2008.03.30/_build
}has anyone a hint where to start searching for a solution? Or can anyone explain to me what "Stripping debugging symbols from binaries and libraries ..." in this context means?
Thanks,
hightower
Offline
You can try options=(!strip)
You can also look at makepkg, it's a simple bash script, to find out which command it uses for stripping.
And then maybe try running it manually in your pkg/ folder.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Ok,
First of all thanks to shining.
I found the reason. The responsible piece of code:
for file in $(find {,usr/{,local/},opt/*/}{bin,lib,sbin} -type f 2> /dev/null || true); do
case "$(file -biz "$file")" in
*application/x-sharedlib*) # Libraries
/usr/bin/strip --strip-debug "$file";;
*application/x-executable*) # Binaries
/usr/bin/strip "$file";;
esac
doneAs some filenames contain spaces they are split in the wrong way so the "filename storage" contains wrong file names. As several files contain " - " the script tries to read from stdin which causes the hang (I suppose). I'll file a bug report.
hightower
Last edited by hightower (2008-04-26 21:54:48)
Offline
First of all thanks to shining.
And kudos to you for finding out what the problem was and reporting the bug, great work!
Also thanks to Daenyth for his solution which was merged after being reworked by Dan :
http://projects.archlinux.org/git/?p=pa … bcd76cc514
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline