ports/89064: [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"

Vasil Dimov vd at datamax.bg
Tue Nov 15 12:00:32 UTC 2005


>Number:         89064
>Category:       ports
>Synopsis:       [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 12:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
DataMax
>Environment:

System: FreeBSD qlovarnika.bg.datamax 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Nov  8 09:24:59 EET 2005     root at qlovarnika.bg.datamax:/usr/obj/usr/src/sys/QLOVARNIKA  amd64

>Description:

emulators/qemu refuses to build on amd64 with the message
"qemu-0.7.2s.20051112 is only for amd64 i386, and you are running x86_64."

>How-To-Repeat:

/usr/ports/emulators/qemu# uname -p
amd64
/usr/ports/emulators/qemu# make
===>  qemu-0.7.2s.20051112 is only for amd64 i386, and you are running x86_64.
/usr/ports/emulators/qemu#

>Fix:

--- qemu_amd64.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsupdroot/ports/emulators/qemu/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile	14 Nov 2005 05:17:09 -0000	1.36
+++ Makefile	15 Nov 2005 11:51:54 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	qemu
 PORTVERSION=	0.7.2s.20051112
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://www.qemu.org/:release \
 		http://people.fruitsalad.org/nox/qemu/:snapshot \
@@ -47,7 +47,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-ARCH=		x86_64
+MAKE_ARGS=	ARCH=x86_64
 .endif
 USE_GCC=	3.4
 
--- qemu_amd64.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list