Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 07:39:13 GMT
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186400: print/cups-base LIBUSB=off option has no effect
Message-ID:  <201402030739.s137dDsq017929@oldred.freebsd.org>
Resent-Message-ID: <201402030740.s137e043069614@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186400
>Category:       ports
>Synopsis:       print/cups-base LIBUSB=off option has no effect
>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 Feb 03 07:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
FreeBSD osiris.chen.org.nz 10.0-STABLE FreeBSD 10.0-STABLE #0 r261220: Thu Jan 30 18:36:34 NZDT 2014     root@osiris.chen.org.nz:/usr/obj/usr/src/sys/OSIRIS  amd64
>Description:
On 10-STABLE/amd64, the LIBUSB=off option has no effect.

1.osiris:cups-base,8:31pm# cd /usr/ports/print/cups-base
1.osiris:cups-base,8:31pm# make -DBATCH clean configure
..
1.osiris:cups-base,8:35pm# grep disable-libusb work/cups-1.5.4/config.log
  $ ./configure --localstatedir=/var --disable-slp --disable-gssapi --with-cups-user=cups --with-cups-group=cups --with-system-groups=wheel --with-docdir=/usr/local/share/doc/cups --with-icondir=/usr/local/share/icons --with-menudir=/usr/local/share/applications --with-domainsocket=/var/run/cups.sock --with-cachedir=/var/db/cups --with-pam-module=unix --enable-ssl --with-printcap=/usr/local/etc/printcap --disable-gnutls --enable-openssl --without-php --enable-pdftops --with-pdftops=/usr/local/bin/gs --enable-libpaper --disable-dnssd --disable-pam --disable-ldap --disable-dbus --disable-libusb LIBS=-lssp_nonshared --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd10.0

Looks good - the "--disable-libusb" tag is there; but:
1.osiris:cups-base,8:35pm# grep LIBUSB work/cups-1.5.4/config.h
#define HAVE_LIBUSB 1

Which still wouldn't really be a problem except for the fact that libusb is broken on 10-STABLE/amd64 - it doesn't enumerate my printer even if it's there in /dev/ulpt0.
>How-To-Repeat:

>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402030739.s137dDsq017929>