Subject: pkg/24155: bochs 2 doesn't compile
To: None <>
From: None <>
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
>Originator:     Thomas Devreese
>Release:        1.6-current
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
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

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 -o devices.o
In file included from ../bochs.h:399,
../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

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

make: stopped in /usr/pkgsrc/emulators/bochs