[Aurora-sparc-devel] [SPARC64] zlib-1.2.1.2-3.fc3.src.rpm

Christian Joensson christian.joensson at gmail.com
Tue May 16 06:52:51 EDT 2006


[Maybe a bit off topic here, let me know if I should drop this(these?)
thread(threads), for now, I hope you can accept the information herein
as memory support for me and others interested until the foot is set
down on what the Aurora project wants with sparc64 variants...]

Now, zlib...

barfs like this:

Processing files: zlib-devel-1.2.1.2-3.fc3
error: File not found by glob: /var/tmp/zlib-1.2.1.2-root/usr/lib64/*.so
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2826
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd zlib-1.2.1.2
+ DOCDIR=/var/tmp/zlib-1.2.1.2-root/usr/share/doc/zlib-devel-1.2.1.2
+ export DOCDIR
+ rm -rf /var/tmp/zlib-1.2.1.2-root/usr/share/doc/zlib-devel-1.2.1.2
+ /bin/mkdir -p /var/tmp/zlib-1.2.1.2-root/usr/share/doc/zlib-devel-1.2.1.2
+ cp -pr ChangeLog algorithm.txt minigzip.c example.c
/var/tmp/zlib-1.2.1.2-root/usr/share/doc/zlib-devel-1.2.1.2
+ exit 0


RPM build errors:
    File not found by glob: /var/tmp/zlib-1.2.1.2-root/usr/lib64/libz.so.*
    File not found by glob: /var/tmp/zlib-1.2.1.2-root/usr/lib64/*.so

due to not being able to build shared libs... again, -m64 fixes it, in
the zlib case, a simple CC='gcc -m64' in front of the rpmbuild command
does the trick for me.

CC='gcc -m64' rpmbuild --rebuild zlib-1.2.1.2-3.fc3.src.rpm --target=sparc64

N.B., the above trick does not work for libpng though...

--
Cheers,

/ChJ


More information about the Aurora-sparc-devel mailing list