From: eculp on
Quoting "Brian W." <brian(a)brianwhalen.net>:

> Dirk Meyer wrote:
>> eculp schrieb:,
>>
>>
>>> would seem that I'm going to have to upgrade all my 7.2-STABLE
>>> servers to either 8.0 or 9.0 that all have usb printers that are
>>> being shared by others through cups.
>>>
>>
>> Please update the ports and try again.
>> I would like to know if using libusb solves your problems.

Thanks, Dirk. My ports, src, kernel, lib, are completely up to date
on all my 7.2 machines. Daily, I' ve been cvsuping and rebuilding all
for the last week.
cvsup - make buildworld - make buildkernel - make installkernel -
make installworld - portmaster -a
This is in addition to having rebuild all cups related ports multiple
times. If I need to do something to "use libusb", I haven't. maybe
that is the problem.

Thanks again,

ed
>>
>> kind regards Dirk
>>
>> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
>> - [dirk.meyer(a)dinoex.sub.org],[dirk.meyer(a)guug.de],[dinoex(a)FreeBSD.org]
>> http://people.freebsd.org/~dinoex/errorlogs/
>> _______________________________________________
>> freebsd-ports(a)freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>>
> I have been having a different cups problem related to the man page
> portion of this on a FreeBSD 8 system. This has been a problem
> that I believe appeared early this week.
>
> Compiling mantohtml.c...
> cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I..
> -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_THREAD_SAFE -D_REENTRANT -c mantohtml.c
> cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
> -L/usr/local/lib -Wl,-R/usr/local/lib -pie -fPIE -Wall
> -Wno-format-y2k -fPIC -Os -g -fstack-protector -o mantohtml
> mantohtml.o
> echo Converting man pages to HTML...
> Converting man pages to HTML...
> for file in cancel.1 cupstestdsc.1 cupstestppd.1 lp.1 lpoptions.1
> lppasswd.1 lpq.1 lprm.1 lpr.1 lpstat.1 ppdc.1 ppdhtml.1 ppdi.1
> ppdmerge.1 ppdpo.1; do \
> echo " $file..."; \
> ./mantohtml `basename $file .1`.man
> >../doc/help/man-`basename $file .1`.html; \
> done
> cancel.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> cupstestdsc.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> cupstestppd.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lp.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lpoptions.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lppasswd.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lpq.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lprm.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lpr.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> lpstat.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> ppdc.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> ppdhtml.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> ppdi.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> ppdmerge.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> ppdpo.1...
> /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR
> gmake[1]: *** [html] Error 1
> gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.4.2/man'
> gmake: *** [all] Error 1
> *** Error code 1
>
> Stop in /usr/ports/print/cups-base.
> *** Error code 1
>
> Stop in /usr/ports/print/cups-base.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20091204-2776-1rxg9wx-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=cups-base-1.3.10_4 UPGRADE_PORT_VER=1.3.10_4 make
> ** Fix the problem and try again.
>
>
>
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Steve Randall on
On Sat, 05 Dec 2009 07:41:38 -0600
eculp <eculp(a)encontacto.net> wrote:

> Quoting "Brian W." <brian(a)brianwhalen.net>:
>
> > Dirk Meyer wrote:
> >> eculp schrieb:,
> >>
> >>
> >>> would seem that I'm going to have to upgrade all my 7.2-STABLE
> >>> servers to either 8.0 or 9.0 that all have usb printers that are
> >>> being shared by others through cups.
> >>>
> >>
> >> Please update the ports and try again.
> >> I would like to know if using libusb solves your problems.

libusb is the cause of the problem.


>
> Thanks, Dirk. My ports, src, kernel, lib, are completely up to date
> on all my 7.2 machines. Daily, I' ve been cvsuping and rebuilding all
> for the last week.
> cvsup - make buildworld - make buildkernel - make installkernel -
> make installworld - portmaster -a
> This is in addition to having rebuild all cups related ports multiple
> times. If I need to do something to "use libusb", I haven't. maybe
> that is the problem.

I should have thought of this sooner.

The best and final (I think) solution is to add --disable-libusb to the
configuration options in cups-base/Makefile and rebuild.

I tested this on 8.0 rather than 7, and didn't try printing, but I
verified that the USB backend sees the traditional /dev/ulptx
device rather than using libusb, so I think it will work for you.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Gary Jennejohn on
On Sat, 05 Dec 2009 07:41:38 -0600
eculp <eculp(a)encontacto.net> wrote:

> Quoting "Brian W." <brian(a)brianwhalen.net>:
>
> > Dirk Meyer wrote:
> >> eculp schrieb:,
> >>
> >>
> >>> would seem that I'm going to have to upgrade all my 7.2-STABLE
> >>> servers to either 8.0 or 9.0 that all have usb printers that are
> >>> being shared by others through cups.
> >>>
> >>
> >> Please update the ports and try again.
> >> I would like to know if using libusb solves your problems.
>
> Thanks, Dirk. My ports, src, kernel, lib, are completely up to date
> on all my 7.2 machines. Daily, I' ve been cvsuping and rebuilding all
> for the last week.
> cvsup - make buildworld - make buildkernel - make installkernel -
> make installworld - portmaster -a
> This is in addition to having rebuild all cups related ports multiple
> times. If I need to do something to "use libusb", I haven't. maybe
> that is the problem.
>

An option WITH_LIBUSB was added to the cups-base/Makefile. That's
probably what Dirk meant.

---
Gary Jennejohn
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: eculp on
Quoting Gary Jennejohn <gary.jennejohn(a)freenet.de>:

> On Sat, 05 Dec 2009 07:41:38 -0600
> eculp <eculp(a)encontacto.net> wrote:
>
>> Quoting "Brian W." <brian(a)brianwhalen.net>:
>>
>> > Dirk Meyer wrote:
>> >> eculp schrieb:,
>> >>
>> >>
>> >>> would seem that I'm going to have to upgrade all my 7.2-STABLE
>> >>> servers to either 8.0 or 9.0 that all have usb printers that are
>> >>> being shared by others through cups.
>> >>>
>> >>
>> >> Please update the ports and try again.
>> >> I would like to know if using libusb solves your problems.
>>
>> Thanks, Dirk. My ports, src, kernel, lib, are completely up to date
>> on all my 7.2 machines. Daily, I' ve been cvsuping and rebuilding all
>> for the last week.
>> cvsup - make buildworld - make buildkernel - make installkernel -
>> make installworld - portmaster -a
>> This is in addition to having rebuild all cups related ports multiple
>> times. If I need to do something to "use libusb", I haven't. maybe
>> that is the problem.
>>
>
> An option WITH_LIBUSB was added to the cups-base/Makefile. That's
> probably what Dirk meant.

Thanks for the explanation, Gary. I have it set with make config but
just hardcoded it into the Makefile and am recompiling but I doubt it
will change but there is still hope. ;)

Thanks again. Have a great weekend

ed
>
> ---
> Gary Jennejohn
>

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: eculp on
Quoting Steve Randall <srandall52(a)gmail.com>:

> On Sat, 05 Dec 2009 07:41:38 -0600
> eculp <eculp(a)encontacto.net> wrote:
>
>> Quoting "Brian W." <brian(a)brianwhalen.net>:
>>
>> > Dirk Meyer wrote:
>> >> eculp schrieb:,
>> >>
>> >>
>> >>> would seem that I'm going to have to upgrade all my 7.2-STABLE
>> >>> servers to either 8.0 or 9.0 that all have usb printers that are
>> >>> being shared by others through cups.
>> >>>
>> >>
>> >> Please update the ports and try again.
>> >> I would like to know if using libusb solves your problems.
>
> libusb is the cause of the problem.
>
>
>>
>> Thanks, Dirk. My ports, src, kernel, lib, are completely up to date
>> on all my 7.2 machines. Daily, I' ve been cvsuping and rebuilding all
>> for the last week.
>> cvsup - make buildworld - make buildkernel - make installkernel -
>> make installworld - portmaster -a
>> This is in addition to having rebuild all cups related ports multiple
>> times. If I need to do something to "use libusb", I haven't. maybe
>> that is the problem.
>
> I should have thought of this sooner.
>
> The best and final (I think) solution is to add --disable-libusb to the
> configuration options in cups-base/Makefile and rebuild.
>
> I tested this on 8.0 rather than 7, and didn't try printing, but I
> verified that the USB backend sees the traditional /dev/ulptx
> device rather than using libusb, so I think it will work for you.

That certainly make sense to me. I am now recompiling without libusb.
I'll let the list know as soon as I can.

Thanks,

ed


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"