Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 13:57:54 +0200
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nox@jelal.kn-bremen.de
Subject:   ports/89064: [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"
Message-ID:  <20051115115754.GA28957@qlovarnika.bg.datamax>
Resent-Message-ID: <200511151200.jAFC0VRa017326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115115754.GA28957>