Date: Sat, 6 Oct 2012 22:43:51 GMT From: michael copeland <michael@kryptos-security.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172416: Building mplayer on 9.1-PRERELEASE errors with host architecture "UNKNOWN" Message-ID: <201210062243.q96Mhpil082832@red.freebsd.org> Resent-Message-ID: <201210062250.q96Mo3x1020568@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172416 >Category: ports >Synopsis: Building mplayer on 9.1-PRERELEASE errors with host architecture "UNKNOWN" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 06 22:50:03 UTC 2012 >Closed-Date: >Last-Modified: >Originator: michael copeland >Release: 9.1-PRERELEASE powerpc >Organization: Kryptos Security >Environment: FreeBSD mini.kryptos-security.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sat Oct 6 01:06:47 EDT 2012 michael@mini.kryptos-security.com:/usr/obj/usr/src/sys/miniTV powerpc >Description: Configure script fails when detecting $host_arch. guilty part is: # host's CPU/instruction set case "$(uname -m 2>&1)" in x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; macppc|ppc*|Power*) host_arch=ppc ;; uname -m gives us powerpc, this isn't here, so add it. # host's CPU/instruction set case "$(uname -m 2>&1)" in x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; macppc|ppc*|Power*|powerpc) host_arch=ppc ;; builds and installs now. >How-To-Repeat: cd to /usr/ports/multimedia/mplayer make install >Fix: edit configure script in work/mplayer-export-2012-07-21 find section # host's CPU/instruction set patch section macppc|ppc*|Power*) host_arch=ppc ;; with macppc|ppc*|Power*|powerpc) host_arch=ppc ;; changing system var UNAME_m to ppc would also work, but this may break other ports. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210062243.q96Mhpil082832>