ports/184379: [patch] misc/compat9x enable sparc64

Craig Butler craig001 at lerwick.hopto.org
Sat Nov 30 01:10:00 UTC 2013


>Number:         184379
>Category:       ports
>Synopsis:       [patch] misc/compat9x enable sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 30 01:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Craig Butler
>Release:        9.2-RELEASE sparc64
>Organization:
>Environment:
FreeBSD blueeye.lerwick.hopto.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct 8 16:09:50 BST 2013 root at blueeye.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC sparc64
>Description:
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
>How-To-Repeat:
try to build misc/compat9x from ports on a sparc64 machine
>Fix:
see attached patch


Patch attached with submission follows:

diff -ruN misc/compat9x.orig/Makefile misc/compat9x/Makefile
--- misc/compat9x.orig/Makefile	2013-10-31 23:38:29.000000000 +0000
+++ misc/compat9x/Makefile	2013-11-30 00:25:05.584206420 +0000
@@ -15,7 +15,7 @@
 
 USE_XZ=		yes
 NO_BUILD=	yes
-ONLY_FOR_ARCHS=	i386 amd64
+ONLY_FOR_ARCHS=	i386 amd64 sparc64
 PLIST=		${PKGDIR}/pkg-plist.${ARCH}
 TARGET_DIR=	${PREFIX}/lib/compat
 TARGET32_DIR=	${PREFIX}/lib32/compat
diff -ruN misc/compat9x.orig/distinfo misc/compat9x/distinfo
--- misc/compat9x.orig/distinfo	2013-10-15 12:40:32.000000000 +0100
+++ misc/compat9x/distinfo	2013-11-30 00:32:47.573224106 +0000
@@ -2,3 +2,5 @@
 SIZE (compat9x-amd64-9.2.902000.201310.tar.xz) = 2925776
 SHA256 (compat9x-i386-9.2.902000.201310.tar.xz) = 72dde64e860996b2a8415bdaa8d42388491d3e4afff522ee79eb332c25d6984e
 SIZE (compat9x-i386-9.2.902000.201310.tar.xz) = 1539320
+SHA256 (compat9x-sparc64-9.2.902000.201310.tar.xz) = 83a7688992efe327f81e505144a1026d39bd25d23bd74fa10c8a0e40ef101661
+SIZE (compat9x-sparc64-9.2.902000.201310.tar.xz) = 1354076
diff -ruN misc/compat9x.orig/pkg-plist.sparc64 misc/compat9x/pkg-plist.sparc64
--- misc/compat9x.orig/pkg-plist.sparc64	1970-01-01 01:00:00.000000000 +0100
+++ misc/compat9x/pkg-plist.sparc64	2013-11-30 00:28:13.289219121 +0000
@@ -0,0 +1,22 @@
+lib/compat/libarchive.so.5
+lib/compat/libsupc++.so.1
+lib/compat/liblwres.so.80
+lib/compat/libdialog.so.7
+lib/compat/libroken.so.10
+lib/compat/libstdc++.so.6
+lib/compat/libasn1.so.10
+lib/compat/libcrypto.so.6
+lib/compat/libmd.so.5
+lib/compat/libssl.so.6
+lib/compat/libkadm5clnt.so.10
+lib/compat/libodialog.so.7
+lib/compat/libhx509.so.10
+lib/compat/libusb.so.2
+lib/compat/libheimntlm.so.10
+lib/compat/libkvm.so.5
+lib/compat/libkafs5.so.10
+lib/compat/libkrb5.so.10
+lib/compat/libftpio.so.8
+lib/compat/libhdb.so.10
+lib/compat/libkadm5srv.so.10
+ at dirrmtry lib/compat


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list