Subject: pkg/24155: bochs 2 doesn't compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <thomasdevreese@hotmail.com>
List: netbsd-bugs
Date: 01/19/2004 21:44:53
>Number:         24155
>Category:       pkg
>Synopsis:       bochs 2 doesn't compile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 19 21:45:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Devreese
>Release:        1.6-current
>Organization:
>Environment:
NetBSD iow 1.6ZG NetBSD 1.6ZG (MYOWN) #0: Sun Dec 14 15:38:50 CET 2003  thomas@iow:/usr/obj/sys/arch/i386/compile/MYOWN i386
>Description:
pkgsrc/emulators/bochs doesn't compile.
Head of the makefile:
# $NetBSD: Makefile,v 1.30 2003/11/06 18:26:46 gavan Exp $

DISTNAME=               bochs-2.0.2
CATEGORIES=             emulators
MASTER_SITES=           ${MASTER_SITE_SOURCEFORGE:=bochs/}

MAINTAINER=             tech-pkg@NetBSD.org
HOMEPAGE=               http://bochs.sourceforge.net/
COMMENT=                i386 machine emulator capable of running DOS/Windows


it stops with the following error message:
===> Building for bochs-2.0.2
cd iodev && \
/usr/pkg/bin/gmake  libiodev.a
gmake[1]: Entering directory `/usr/pkgsrc/emulators/bochs/work/bochs-2.0.2/iodev'
c++ -c  -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -I/usr/X11R6/include -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    devices.cc -o devices.o
In file included from ../bochs.h:399,
                 from devices.cc:28:
../cpu/cpu.h:1832: macro `CPUID' used with just one arg
gmake[1]: *** [devices.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/emulators/bochs/work/bochs-2.0.2/iodev'
gmake: *** [iodev/libiodev.a] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/emulators/bochs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/bochs
>How-To-Repeat:

>Fix:

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