[Bug 168185] Review Request: z88dk - Z80 cross compiler

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 17 17:00:05 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: z88dk - Z80 cross compiler


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168185





------- Additional Comments From paul at city-fan.org  2005-10-17 12:59 EST -------
The upstream download page
(http://sourceforge.net/project/showfiles.php?group_id=2917) does not offer a
.tar.gz file (as per the spec), but there is a z88dk-src-1.6.tgz file. This file
is different from the z88dk-src-1.6.tar.gz file in the SRPM. The
z88dk-src-1.6.tgz file expands to directory z88dk, whereas your
z88dk-src-1.6.tar.gz file expands to directory z88dk-1.6.

I shall attach a patch for the spec file that:
- uses a full URL for the z88dk-src-1.6.tgz tarball
- changes %%prep to account for the directory name change
- changes %{_bindir}/find to /usr/bin/find (see Bug 170506 for discussion)

The resulting package will build ok on FC4 i386.

However, I tried building the package on RHEL3 (x64_64) - the only x86_64 box I
have access to - and it failed:

--- Building Z88 Library  ---

cd fcntl ; /usr/bin/make lz88
make[2]: Entering directory `/usr/src/redhat/BUILD/z88dk/libsrc/fcntl'
cd z88 ; /usr/bin/make z88_fcntl
make[3]: Entering directory `/usr/src/redhat/BUILD/z88dk/libsrc/fcntl/z88'
zcc -vn -make-lib close.c
zcc -vn -make-lib creat.c
zcc -vn -make-lib lseek.c
zcc -vn -make-lib open.c
zcc -vn -make-lib open_z88.c
zcc -vn -make-lib nropen.c
zcc -vn -make-lib read.c
zcc -vn -make-lib write.c
zcc -vn -make-lib writebyte.c
zcc -vn -make-lib readbyte.c
zcc -vn -make-lib stat.c
1 errors occurred during assembly
Errors in source file stat.c:
File '/tmp/tmpXXXqUXdi.opt', Module 'STAT', at line 26, Integer out of range
make[3]: *** [stat.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/z88dk/libsrc/fcntl/z88'
make[2]: *** [lz88] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/z88dk/libsrc/fcntl'
make[1]: *** [z88_clib.lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/z88dk/libsrc'
make: *** [libs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.28544 (%build)

You may need to use ExclusiveArch or ExcludeArch whilst this is being fixed -
hopefully upstream (see http://fedoraproject.org/wiki/PackageReviewGuidelines
regarding packages that don't build on all architectures, if this problem
happens on Fedora).


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list