sparc64 support was dropped from misc/compat9x, when trying to build currently it errors out with "...only for i386 amd64, while you are running sparc64" 9.2-RELEASE files where taken from ftp://ftp.freebsd.org/pub/FreeBSD/releases/sparc64/9.2-RELEASE and installed into a chroot. The libs where then lifted from there using compat9x-i386-9.2.902000.201310.tar.xz as a reference. I have updated the port Makefile, distinfo, and created a pkg-plist.sparc64 to enable build on sparc64. I have done serveral test builds, installs and uninstalls. The sparc64 distfile is available from http://bsdtec.com/freebsd/distfiles/compat9x-sparc64-9.2.902000.201310.tar.xz Fix: see attached patch Patch attached with submission follows: How-To-Repeat: try to build misc/compat9x from ports on a sparc64 machine
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool)
Created attachment 163650 [details] new port diff
Created attachment 163651 [details] new port diff
Please check this newly generated patch. The distfile in question can be found in ~mmoll/tmp/ on freefall. As you probably also need to move this file to your LOCAL source, it'd be nice if you could commit this change also if there are no objections.
Fails for me, with: pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libopie.so.6: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libufs.so.5: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libtacplus.so.4: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libbsnmp.so.5: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libdwarf.so.2: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/liblwres.so.80: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libutil.so.8: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libcam.so.5: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libobjc.so.4: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libz.so.5: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libpcap.so.7: No such file or directory pkg-static: Unable to access file /var/poudriere/ports/default/misc/compat9x/work/stage/usr/local/lib/compat/libsbuf.so.5: No such file or directory *** Error code 74
are you sure you tested compat9x? not 8x?
v245_2_stable# pwd /var/poudriere/ports/default/misc/compat9x v245_2_stable# make -V DISTFILES compat9x-sparc64-9.3.903000.20151116.tar.xz v245_2_stable# make fetch ===> compat9x-sparc64-9.3.903000.20151116 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by compat9x-sparc64-9.3.903000.20151116 for building v245_2_stable# freefall% pwd /home/mmoll/tmp freefall% ls -al c* -rw-r--r-- 1 mmoll devel 1335972 Nov 29 15:34 compat9x-sparc64-9.3.903000.20151116.tar.xz
Created attachment 163824 [details] poudriere log this is building perfectly fine for me
I would suggest submitting this as a separate port (misc/compat9x-sparc64). It won't conflict with the i386 / amd64 version as PKGNAME will be different.
I don't see any benefit in doing that, what am I missing? :)
Let me put this another way: I will not add sparc64 support to the existing compat9x port. If you want a compat9x-sparc64 port, feel free to submit one and maintain it yourself.