ports/119875: qemu port fails to build on freebsd-6
Stefan `Sec` Zehl
sec at 42.org
Mon Jan 21 22:30:08 UTC 2008
>Number: 119875
>Category: ports
>Synopsis: qemu port fails to build on freebsd-6
>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: Mon Jan 21 22:30:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Stefan `Sec` Zehl
>Release: FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ice 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #40: Sat Nov 24 17:10:45 CET 2007 root@:/export/obj/export/src/sys/ICE i386
>Description:
portupgrade fails to upgrade the qemu port for me. It fails with:
cc -O2 -fno-strict-aliasing -pipe -Wall -O2 -g -fno-strict-aliasing -I. -I/export/ports/emulators/qemu/work/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/export/ports/emulators/qemu/work/qemu-0.9.1/slirp -c -o usb-bsd.o usb-bsd.c
usb-bsd.c: In function `usb_host_handle_control':
usb-bsd.c:177: error: `USBD_SHORT_XFER_OK' undeclared (first use in this function)
usb-bsd.c:177: error: (Each undeclared identifier is reported only once
usb-bsd.c:177: error: for each function it appears in.)
usb-bsd.c: In function `usb_info_device':
usb-bsd.c:574: warning: implicit declaration of function `term_printf'
gmake: *** [usb-bsd.o] Error 1
*** Error code 2
>How-To-Repeat:
portupgrade -R qemu\*
>Fix:
the define USBD_SHORT_XFER_OK is found in <dev/usb2/usb.h> instead of the
included <dev/usb/usb.h> although I have no idea why there are two
different usb subdirectories %)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list