Opened 7 years ago

Closed 7 years ago

#55330 closed defect (fixed)

libnetpbm @10.80.01: destroot fails due to non-standard group name

Reported by: chucko58 (Chuck Fry) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libnetpbm

Description

This is a slightly modified installation of macports without sysadmin privileges. See #49501 for background.

Installation of libnetpbm fails due to 'chown' being given my non-standard group name without appropriate quoting. See attached log file.

Attachments (2)

main.log (217.0 KB) - added by chucko58 (Chuck Fry) 7 years ago.
Log file generated by 'port install libnetpbm'
main.2.log (217.0 KB) - added by chucko58 (Chuck Fry) 7 years ago.
Log file generated by 'port install libnetpbm' after maintainer modification

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by chucko58 (Chuck Fry)

Attachment: main.log added

Log file generated by 'port install libnetpbm'

comment:1 Changed 7 years ago by chucko58 (Chuck Fry)

There are 244 other ports installed on this machine via MacPorts. So the problem being reported appears specific to libnetpbm.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers libnetpbm), if any.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 68e2e3ff48fa86151e0f2537506fc9d47f4f4d0a/macports-ports:

netpbm: Quote user and group when running chown

Fixes installation when user or group contains illegal characters.

Closes: #55330

Changed 7 years ago by chucko58 (Chuck Fry)

Attachment: main.2.log added

Log file generated by 'port install libnetpbm' after maintainer modification

comment:4 Changed 7 years ago by chucko58 (Chuck Fry)

Resolution: fixed
Status: closedreopened

Most recent change still does not allow libnetpbm to be installed with my bogus group name. See main.2.log.

Curiously, 'ls -l' and 'groups' only display the group number, not the name:

rdnzl:~ cfry$ whoami
cfry
rdnzl:~ cfry$ groups cfry
513 everyone netaccounts _lpadmin _developer _lpoperator
rdnzl:~ cfry$ ls -ld ~
drwx------  109 cfry  513  3706 Nov 14 19:04 /Users/cfry
rdnzl:~ cfry$ uname -a
Darwin rdnzl 16.7.0 Darwin Kernel Version 16.7.0: Wed Oct  4 00:17:00 PDT 2017; root:xnu-3789.71.6~1/RELEASE_X86_64 x86_64
rdnzl:~ cfry$ 

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

I don't know what else I can do to accommodate your broken setup.

comment:6 Changed 7 years ago by chucko58 (Chuck Fry)

The malformed (but mandatory) group name was cached in the existing MacPorts installation. I reinstalled MacPorts from source (with a couple minor glitches) and the problem does not recur. Please close this ticket.

comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.