cups build error needs warning placed into UPDATING
Scott Bennett
bennett at cs.niu.edu
Tue Jul 28 14:36:41 UTC 2009
I ran into a problem with the cups update build failing with the following
messages.
===> Installing for cups-base-1.3.10_3
===> Generating temporary packing list
===> Checking if print/cups-base already installed
if ! pw groupshow cups; then pw groupadd cups -g 193; fi
pw: unknown group `cups'
pw: gid `193' has already been allocated
*** Error code 65
Stop in /usr/ports/print/cups-base.
===>>> A backup package for cups-base-1.3.10_2 should
be located in /usr/ports/packages/portmaster-backup
===>>> Installation of cups-base-1.3.10_3 (print/cups-base) failed
===>>> Aborting update
===>>> Update for cups-base-1.3.10_2 failed
===>>> Aborting update
...and so forth. After much experimentation and head-scratching, it finally
dawned on me that the problem was the result of having nscd(8) running and
with cacheing enabled for "group" accesses. [eyeballs rolled...] Killing
nscd and temporarily editing the "cache" operands out of the lines in
/etc/nsswitch.conf solved the problem upon rerunning portmaster.
A warning about this ought to be in UPDATING, not only for cups, but
for any other builds and installs that alter any of the data typically cached
by nscd(8). If these ports are being installed or updated, then nscd should
first be taken out of the picture.
Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet: bennett at cs.niu.edu *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good *
* objection to the introduction of that bane of all free governments *
* -- a standing army." *
* -- Gov. John Hancock, New York Journal, 28 January 1790 *
**********************************************************************
More information about the freebsd-ports
mailing list