ports/132126: emulators/{qemu, qemu-devel} doesnt compile on the CURRENT after USB stack changes

Oleg Ginzburg oleg.ginzburg at nevosoft.ru
Thu Feb 26 13:10:02 UTC 2009


>Number:         132126
>Category:       ports
>Synopsis:       emulators/{qemu,qemu-devel} doesnt compile on the CURRENT after USB stack changes
>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:   Thu Feb 26 13:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        8-CURRENT
>Organization:
>Environment:
FreeBSD oleg.net.nevosoft.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #3 r189024: Wed Feb 25 14:28:18 MSK 2009     root at oleg.net.nevosoft.ru:/usr/obj/usr/src/sys/o20090103  i386
>Description:
After recompile kernel/world and "cd /usr/src ; yes |make delete-old ; yes | make delete-old-libs" port of QEMU failed to compile with some errors:
---
gcc34 -O2 -pipe -fno-strict-aliasing -Wall -O2 -g -fno-strict-aliasing -I. -I/usr/ports/emulators/qemu/work/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/ports/emulators/qemu/work/qemu-0.9.1/slirp    -c -o usb-bsd.o usb-bsd.c                                                                                               
usb-bsd.c:55: error: `USB_MAX_ENDPOINTS' undeclared here (not in a function)                                                                                                       
usb-bsd.c: In function `usb_host_handle_control':                                                                                                                                  
usb-bsd.c:128: error: storage size of 'req' isn't known                                                                                                                            
usb-bsd.c:129: error: storage size of 'aiface' isn't known                                                                                                                         
usb-bsd.c:143: error: `USB_SET_CONFIG' undeclared (first use in this function)                                                                                                     
usb-bsd.c:143: error: (Each undeclared identifier is reported only once                                                                                                            
usb-bsd.c:143: error: for each function it appears in.)                                                                                                                            
usb-bsd.c:160: error: `USB_SET_ALTINTERFACE' undeclared (first use in this function)                                                                                               
usb-bsd.c:177: error: `USBD_SHORT_XFER_OK' undeclared (first use in this function)                                                                                                 
usb-bsd.c:179: error: `USB_SET_TIMEOUT' undeclared (first use in this function)
usb-bsd.c:191: error: `USB_DO_REQUEST' undeclared (first use in this function)
usb-bsd.c:128: warning: unused variable `req'
usb-bsd.c:129: warning: unused variable `aiface'
usb-bsd.c: In function `usb_host_handle_data':
usb-bsd.c:233: error: `USB_SET_TIMEOUT' undeclared (first use in this function)
usb-bsd.c:241: error: `USB_SET_SHORT_XFER' undeclared (first use in this function)
usb-bsd.c: In function `usb_host_device_open':
usb-bsd.c:293: error: storage size of 'bus_info' isn't known
usb-bsd.c:293: error: storage size of 'dev_info' isn't known
usb-bsd.c:315: error: `USB_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:346: error: `USB_GET_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:355: error: `USB_SPEED_LOW' undeclared (first use in this function)
usb-bsd.c:357: error: `USB_SPEED_FULL' undeclared (first use in this function)
usb-bsd.c:380: error: `USB_SETDEBUG' undeclared (first use in this function)
usb-bsd.c:293: warning: unused variable `bus_info'
usb-bsd.c:293: warning: unused variable `dev_info'
usb-bsd.c: In function `usb_host_scan':
usb-bsd.c:391: error: storage size of 'bus_info' isn't known
usb-bsd.c:392: error: storage size of 'dev_info' isn't known
usb-bsd.c:408: error: `USB_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:430: error: `USB_GET_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:391: warning: unused variable `bus_info'
usb-bsd.c:392: warning: unused variable `dev_info'
usb-bsd.c: In function `usb_info_device':
usb-bsd.c:560: error: `USB_SPEED_LOW' undeclared (first use in this function)
usb-bsd.c:563: error: `USB_SPEED_FULL' undeclared (first use in this function)
usb-bsd.c:566: error: `USB_SPEED_HIGH' undeclared (first use in this function)
usb-bsd.c:574: warning: implicit declaration of function `term_printf'
gmake: *** [usb-bsd.o] Error 1
*** Error code 2

Stop in /usr/ports/emulators/qemu.
*** Error code 1
---
>How-To-Repeat:
//update to latest src tree
1) (on 8-CURRENT) csup or `svn checkout svn://svn.freebsd.org/base/head /usr/src` for update SRC tree for fresh sources.
2) cd /usr/src; make buildworld && make kernel=GENERIC;
3) shutdown -r now
4) (after boot) cd /usr/src && make installworld
// delete deprecated files & libs 
5) cd /usr/src
6) yes |make delete-old
7) yes |make delete-old-libs
// update ports tree
8) portsnap fetch update
9) cd /usr/ports/emulators/qemu; make

>Fix:


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



More information about the freebsd-ports-bugs mailing list