You are not logged in.

#1 2006-08-26 21:39:44

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Source compiles normally, doesn't using makepkg

I'm trying to make a PKGBUILD for zsness-0527 (the WIP version), and I'm having a slight issue.  Here is the PKGBUILD I'm using:

pkgname=znes-wip
pkgver=0527
pkgrel=1
pkgdesc="SNES emulator (WIP)"
url="http://zsnes.ipherswipsite.com"
depends=('xorg' 'nasm')
source=(http://files.ipherswipsite.com/zsnes/ZSNESS_0527.tar.bz2)
md5sums=('80e6900992d7f458e337419f163a8902')
build() {
        cd $startdir/src/
        ./autogen.sh --prefix=$startdir/pkg/usr
        make || return 1
        make install
}

Now, if I run the commands manually, the source compiles perfectly.  However, if I run makepkg, zmovie.o fails and says "sh: ./eatio.exe: No such file or directory".

Any ideas on why makepkg is stopping this building?

Cheers


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#2 2006-08-26 23:44:13

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Source compiles normally, doesn't using makepkg

There's already a PKGBUILD in AUR: http://aur.archlinux.org/packages.php?d … =1&ID=2029
Did you try it?

Offline

#3 2006-08-27 00:42:52

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Source compiles normally, doesn't using makepkg

Doh! Didn't even think to search the AUR, I'll give that a go, cheers.

EDIT: Exact same problem.. Strange..

And for reference:

./parsegen -D__UNIXSDL__ -cheader psrhead/md.h -fname md t_md.c md.psr
sh: ./eatio.exe: No such file or directory
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 81:20. Could not get array size.
sh: ./eatio.exe: Text file busy
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 2:19. Could not get array size.
sh: ./eatio.exe: No such file or directory
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 259:23. Could not get array size.
sh: ./eatio.exe: No such file or directory
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 10:13. Could not get array size.
sh: ./eatio.exe: No such file or directory
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 11:15. Could not get array size.
sh: ./eatio.exe: No such file or directory
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 317:21. Could not get array size.
sh: ./eatio.exe: Permission denied
Error: Can not get accurate value information (eatio.res).
Error: parse problem occured at 323:23. Could not get array size.
gcc -march=i686 -O2 -pipe -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -D__OPENGL__ -O3 -fomit-frame-pointer -s -march=pentium-m -O1 -o md.o -c t_md.c
gcc -march=i686 -O2 -pipe -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -D__OPENGL__ -O3 -fomit-frame-pointer -s -march=pentium-m -O1 -o cfg.o -c t_cfg.c
rm -f t_md.c
gcc -march=i686 -O2 -pipe -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -D__OPENGL__ -O3 -fomit-frame-pointer -s -march=pentium-m -o zmovie.o -c zmovie.c
zmovie.c: In function 'pick_var':
zmovie.c:1894: error: 'md_raw' undeclared (first use in this function)
zmovie.c:1894: error: (Each undeclared identifier is reported only once
zmovie.c:1894: error: for each function it appears in.)
zmovie.c:1895: error: 'md_other' undeclared (first use in this function)
zmovie.c:1899: error: 'md_pcm_audio' undeclared (first use in this function)
zmovie.c: In function 'raw_video_close':
zmovie.c:2022: error: 'md_pcm_audio' undeclared (first use in this function)
zmovie.c: In function 'raw_video_open':
zmovie.c:2066: error: 'md_pcm_audio' undeclared (first use in this function)
make: *** [zmovie.o] Error 1
make: *** Waiting for unfinished jobs....
rm -f t_cfg.c
==> ERROR: Build Failed.  Aborting...

Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#4 2006-09-04 08:45:49

saintshakajin
Member
Registered: 2005-04-13
Posts: 32

Re: Source compiles normally, doesn't using makepkg

Try with the new version, there's a lot of changes. I haven't anymore a problem to compile i smile

Offline

Board footer

Powered by FluxBB