Date: Sun, 6 Dec 2009 21:43:18 GMT From: Igor Soumenkov <2igosha@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141233: sane-backends doesn't build on 8-STABLE Message-ID: <200912062143.nB6LhI60093332@www.freebsd.org> Resent-Message-ID: <200912062150.nB6Lo2gv040282@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141233 >Category: ports >Synopsis: sane-backends doesn't build on 8-STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 06 21:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Igor Soumenkov >Release: 8-STABLE >Organization: >Environment: FreeBSD igosha-desktop 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Nov 28 00:09:29 MSK 2009 igosha@igosha-desktop:/usr/obj/usr/src/sys/IGOSHA-8 i386 >Description: build fails with the following output: /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -I/usr/local/include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -O2 -pipe -fno-strict-aliasing -W -Wall -MT sanei_usb.lo -MD -MP -MF .deps/sanei_usb.Tpo -c -o sanei_usb.lo sanei_usb.c cc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -I/usr/local/include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -O2 -pipe -fno-strict-aliasing -W -Wall -MT sanei_usb.lo -MD -MP -MF .deps/sanei_usb.Tpo -c sanei_usb.c -fPIC -DPIC -o .libs/sanei_usb.o In file included from sanei_usb.c:101: /usr/include/dev/usb/usb.h:274: error: redefinition of 'struct usb_device_descriptor' /usr/include/dev/usb/usb.h:365: error: redefinition of 'struct usb_config_descriptor' /usr/include/dev/usb/usb.h:382: error: redefinition of 'struct usb_interface_descriptor' /usr/include/dev/usb/usb.h:499: error: redefinition of 'struct usb_endpoint_descriptor' /usr/include/dev/usb/usb.h:543: error: redefinition of 'struct usb_string_descriptor' sanei_usb.c: In function 'kernel_get_vendor_product': sanei_usb.c:248: warning: unused parameter 'fd' sanei_usb.c:248: warning: unused parameter 'name' sanei_usb.c:248: warning: unused parameter 'vendorID' sanei_usb.c:248: warning: unused parameter 'productID' sanei_usb.c: In function 'sanei_usb_init': sanei_usb.c:578: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:578: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:585: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:585: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:590: error: 'struct usb_config_descriptor' has no member named 'bNumInterfaces' sanei_usb.c:599: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:600: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:605: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:605: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:608: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:627: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:628: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:629: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:629: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:636: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:636: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:647: warning: assignment makes integer from pointer without a cast sanei_usb.c:648: warning: assignment makes integer from pointer without a cast sanei_usb.c:655: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:655: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c: In function 'sanei_usb_get_vendor_product': sanei_usb.c:1029: warning: assignment makes integer from pointer without a cast sanei_usb.c:1031: warning: assignment makes integer from pointer without a cast sanei_usb.c: In function 'sanei_usb_open': sanei_usb.c:1235: error: 'struct usb_config_descriptor' has no member named 'bNumInterfaces' sanei_usb.c:1238: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:1245: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:1253: error: 'struct usb_interface_descriptor' has no member named 'endpoint' sanei_usb.c: In function 'sanei_usb_write_bulk': sanei_usb.c:2177: warning: passing argument 3 of 'usb_bulk_write' discards qualifiers from pointer target type sanei_usb.c: In function 'sanei_usb_get_descriptor': sanei_usb.c:2842: warning: assignment makes integer from pointer without a cast sanei_usb.c:2843: warning: assignment makes integer from pointer without a cast sanei_usb.c:2848: error: 'struct usb_device_descriptor' has no member named 'bMaxPacketSize0' gmake[1]: *** [sanei_usb.lo] Ошибка 1 gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/sanei' gmake: *** [all-recursive] Ошибка 1 *** Error code 1 >How-To-Repeat: cd /usr/ports/graphics/sane-backends make >Fix: none known >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912062143.nB6LhI60093332>