From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 28 17:40:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 453AB1065673 for ; Thu, 28 May 2009 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA788FC19 for ; Thu, 28 May 2009 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4SHe1ho065616 for ; Thu, 28 May 2009 17:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4SHe12D065615; Thu, 28 May 2009 17:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 28 May 2009 17:40:01 GMT Resent-Message-Id: <200905281740.n4SHe12D065615@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, freebsdroot@easytarget.me.uk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E720B106566C for ; Thu, 28 May 2009 17:33:22 +0000 (UTC) (envelope-from owen@calvin.easytarget.me.uk) Received: from calvin.easytarget.me.uk (owen.demon.nl [82.161.71.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4424D8FC1A for ; Thu, 28 May 2009 17:33:21 +0000 (UTC) (envelope-from owen@calvin.easytarget.me.uk) Received: from calvin.easytarget.me.uk (localhost [127.0.0.1]) by calvin.easytarget.me.uk (8.14.3/8.14.3) with ESMTP id n4SHEYhN048115 for ; Thu, 28 May 2009 19:14:34 +0200 (CEST) (envelope-from owen@calvin.easytarget.me.uk) Received: (from root@localhost) by calvin.easytarget.me.uk (8.14.3/8.14.3/Submit) id n4SHEYB2048114; Thu, 28 May 2009 19:14:34 +0200 (CEST) (envelope-from owen) Message-Id: <200905281714.n4SHEYB2048114@calvin.easytarget.me.uk> Date: Thu, 28 May 2009 19:14:34 +0200 (CEST) From: freebsdroot@easytarget.me.uk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/135028: multimedia/pwcbsd compilation broken by usb2 updates X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsdroot@easytarget.me.uk List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 17:40:02 -0000 >Number: 135028 >Category: ports >Synopsis: multimedia/pwcbsd compilation broken by usb2 updates >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 28 17:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Owen Carter >Release: FreeBSD 7.2-RELEASE i386 >Organization: easytarget.me.uk >Environment: System: FreeBSD calvin.easytarget.me.uk 7.2-RELEASE FreeBSD 7.2-RELEASE #8: Mon May 4 13:59:05 CEST 2009 root@calvin.easytarget.me.uk:/usr/obj/usr/src/sys/CALVINKERNEL i386 >Description: Latest commit to the multimedia/pwcbsd v1.4.1_2 has added USB2 (USB4BSD) support, but broken building on existing systems. As far as I know USB2 is only in -CURRENT (scheduled for FreeBSD 8). It's not exactly a high turnover port, so I can live with it not compiling and rely on the old version for the time being. I'm not a portage expert, but surely ports should compile for the released versions of the OS as well as planned future ones ;-) Here is compile output in full: calvin# pwd /usr/ports/multimedia/pwcbsd calvin# make ===> Vulnerability check disabled, database not found ===> Found saved configuration for pwcbsd-1.4.1_2 ===> Extracting for pwcbsd-1.4.1_2 => MD5 Checksum OK for pwcbsd-1.4.1.tar.gz. => SHA256 Checksum OK for pwcbsd-1.4.1.tar.gz. ===> Patching for pwcbsd-1.4.1_2 ===> Applying FreeBSD patches for pwcbsd-1.4.1_2 ===> pwcbsd-1.4.1_2 depends on file: /usr/local/bin/sdl-config - found ===> pwcbsd-1.4.1_2 depends on shared library: jpeg.9 - found ===> pwcbsd-1.4.1_2 depends on shared library: SDL-1.2.11 - found ===> Configuring for pwcbsd-1.4.1_2 ===> Building for pwcbsd-1.4.1_2 make -f Makefile.kld all Warning: Object directory not changed from original /usr/ports/multimedia/pwcbsd/work/pwcbsd cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c pwc.c In file included from pwc.c:27: pwc.h:47:31: error: dev/usb/usb_mfunc.h: No such file or directory pwc.h:48:31: error: dev/usb/usb_error.h: No such file or directory pwc.h:50:30: error: dev/usb/usb_core.h: No such file or directory pwc.h:51:31: error: dev/usb/usb_debug.h: No such file or directory pwc.h:52:32: error: dev/usb/usb_lookup.h: No such file or directory pwc.h:53:30: error: dev/usb/usb_util.h: No such file or directory pwc.h:54:32: error: dev/usb/usb_busdma.h: No such file or directory pwc.h:55:33: error: dev/usb/usb_request.h: No such file or directory pwc.h:80:5: warning: "USB_DEBUG" is not defined pwc.c:62: error: array type has incomplete element type pwc.c:63: error: array index in non-array initializer pwc.c:63: error: (near initialization for 'pwc_config') pwc.c:64: error: field name not in record or union initializer pwc.c:64: error: (near initialization for 'pwc_config') pwc.c:65: error: field name not in record or union initializer pwc.c:65: error: (near initialization for 'pwc_config') pwc.c:65: error: 'UE_ADDR_ANY' undeclared here (not in a function) pwc.c:66: error: field name not in record or union initializer pwc.c:66: error: (near initialization for 'pwc_config') pwc.c:67: error: field name not in record or union initializer pwc.c:67: error: (near initialization for 'pwc_config') pwc.c:68: error: field name not in record or union initializer pwc.c:68: error: (near initialization for 'pwc_config') pwc.c:69: error: field name not in record or union initializer pwc.c:69: error: (near initialization for 'pwc_config') pwc.c:69: error: field name not in record or union initializer pwc.c:69: error: (near initialization for 'pwc_config') pwc.c:70: error: field name not in record or union initializer pwc.c:70: error: (near initialization for 'pwc_config') pwc.c:73: error: array index in non-array initializer pwc.c:73: error: (near initialization for 'pwc_config') pwc.c:74: error: field name not in record or union initializer pwc.c:74: error: (near initialization for 'pwc_config') pwc.c:75: error: field name not in record or union initializer pwc.c:75: error: (near initialization for 'pwc_config') pwc.c:76: error: field name not in record or union initializer pwc.c:76: error: (near initialization for 'pwc_config') pwc.c:77: error: field name not in record or union initializer pwc.c:77: error: (near initialization for 'pwc_config') pwc.c:78: error: field name not in record or union initializer pwc.c:78: error: (near initialization for 'pwc_config') pwc.c:79: error: field name not in record or union initializer pwc.c:79: error: (near initialization for 'pwc_config') pwc.c:79: error: field name not in record or union initializer pwc.c:79: error: (near initialization for 'pwc_config') pwc.c:80: error: field name not in record or union initializer pwc.c:80: error: (near initialization for 'pwc_config') pwc.c:84: error: array type has incomplete element type pwc.c:85: warning: implicit declaration of function 'USB_VPI' pwc.c: In function 'pwc_probe': pwc.c:145: error: dereferencing pointer to incomplete type pwc.c:145: error: 'USB_MODE_HOST' undeclared (first use in this function) pwc.c:145: error: (Each undeclared identifier is reported only once pwc.c:145: error: for each function it appears in.) pwc.c:152: error: dereferencing pointer to incomplete type pwc.c:155: warning: implicit declaration of function 'usb2_lookup_id_by_uaa' pwc.c:155: warning: nested extern declaration of 'usb2_lookup_id_by_uaa' pwc.c: In function 'pwc_attach': pwc.c:169: warning: implicit declaration of function 'device_set_usb2_desc' pwc.c:169: warning: nested extern declaration of 'device_set_usb2_desc' pwc.c:173: error: dereferencing pointer to incomplete type pwc.c:174: warning: implicit declaration of function 'USB_GET_DRIVER_INFO' pwc.c:174: warning: nested extern declaration of 'USB_GET_DRIVER_INFO' pwc.c:175: error: dereferencing pointer to incomplete type pwc.c:180: error: dereferencing pointer to incomplete type pwc.c:181: error: dereferencing pointer to incomplete type pwc.c:184: error: dereferencing pointer to incomplete type pwc.c: In function 'pwc_detach': pwc.c:296: warning: implicit declaration of function 'usb2_transfer_unsetup' pwc.c:296: warning: nested extern declaration of 'usb2_transfer_unsetup' pwc.c: In function 'pwc_open': pwc.c:324: warning: unused variable 'unit' pwc.c: In function 'pwc_close': pwc.c:460: warning: implicit declaration of function 'usb2_set_alt_interface_index' pwc.c:460: warning: nested extern declaration of 'usb2_set_alt_interface_index' pwc.c:437: warning: unused variable 'unit' pwc.c: In function 'pwc_read': pwc.c:478: warning: unused variable 'unit' pwc.c: In function 'pwc_try_video_mode': pwc.c:619: error: 'USB_ERR_NORMAL_COMPLETION' undeclared (first use in this function) pwc.c:625: warning: implicit declaration of function 'usb2_transfer_setup' pwc.c:625: warning: nested extern declaration of 'usb2_transfer_setup' pwc.c:632: warning: implicit declaration of function 'usb2_transfer_start' pwc.c:632: warning: nested extern declaration of 'usb2_transfer_start' pwc.c: In function 'pwc_isoc_rx_callback': pwc.c:680: warning: implicit declaration of function 'USB_GET_STATE' pwc.c:680: warning: nested extern declaration of 'USB_GET_STATE' pwc.c:681: error: 'USB_ST_TRANSFERRED' undeclared (first use in this function) pwc.c:682: error: dereferencing pointer to incomplete type pwc.c:686: error: 'USB_ST_SETUP' undeclared (first use in this function) pwc.c:688: error: dereferencing pointer to incomplete type pwc.c:689: error: dereferencing pointer to incomplete type pwc.c:689: error: dereferencing pointer to incomplete type pwc.c:691: error: dereferencing pointer to incomplete type pwc.c:691: error: dereferencing pointer to incomplete type pwc.c:692: warning: implicit declaration of function 'usb2_start_hardware' pwc.c:692: warning: nested extern declaration of 'usb2_start_hardware' pwc.c:695: error: dereferencing pointer to incomplete type pwc.c:695: error: 'USB_ERR_CANCELLED' undeclared (first use in this function) pwc.c: In function 'pwc_isoc_handler': pwc.c:729: error: dereferencing pointer to incomplete type pwc.c:730: error: dereferencing pointer to incomplete type pwc.c:743: warning: implicit declaration of function 'usb2_copy_out' pwc.c:743: warning: nested extern declaration of 'usb2_copy_out' pwc.c:743: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd. *** Error code 1 Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd. *** Error code 1 Stop in /usr/ports/multimedia/pwcbsd. *** Error code 1 Stop in /usr/ports/multimedia/pwcbsd. calvin# >How-To-Repeat: # cd /usr/ports/multimedia/pwcbsd ; make >Fix: Unknown (Revert back to previous version and compile as workaround?) >Release-Note: >Audit-Trail: >Unformatted: