Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12637 closed defect (fixed)

BUG: ghostscript 8.60 destoot phase installs into /usr/libexec/cups/filter

Reported by: mtalexander (Mike Alexander) Owned by: digdog@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: digdog@…,mtalexander (Mike Alexander),pmq@…
Port:

Description

The destroot phase (not the install or activate phase) of ghostscript 8.60 tries to copy a file into "/usr/libexec/cups/filter". Ghostscript may need to install things there, but it shouldn't do so until one actually installs the port. Doing it during destroot seems wrong. Note that this does not seem to be the same problem as the man page mtree violation that has been reported several times.

I'll attach a log fragment that shows what I mean.

Attachments (2)

ghostscript.log (2.4 KB) - added by mtalexander (Mike Alexander) 17 years ago.
Log showing the error
Portfile.diff (250 bytes) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 17 years ago.

Download all attachments as: .zip

Change History (6)

Changed 17 years ago by mtalexander (Mike Alexander)

Attachment: ghostscript.log added

Log showing the error

comment:1 Changed 17 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

One relatively easy solution is to offer the option of disabling cups. A variant nocups also allows a not-root user to install ghostscript.

Changed 17 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:2 Changed 17 years ago by pmq@…

Cc: pmq@… added

Confirming this bug here too. In case of maintainer timeout (let's say this week-end?), I'll commit this patch, as I have ports that depend on a working ghostscript.

comment:3 Changed 17 years ago by pmq@…

Resolution: fixed
Status: newclosed

Committed a slightly modified version, as the variant name needs to be 'no_something' with an underscore. Also add a description. Thanks a lot!

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.