Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#16536 closed defect (invalid)

port registry is not including files created by destroot.keepdirs

Reported by: mf2k (Frank Schima) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jberry@…, jmroot (Joshua Root)
Port: sane-backends

Description

In the sane-backends port, I created a directory (${prefix}/var/lock) with xinstall -d and added it to destroot.keepdirs. MacPorts created the file .turd_sane-backends so the directory does not get automatically deleted after the destroot phase. But that file does not appear in "port contents sane-backends". Consequently, when the port is uninstalled, the file and the directory remain.

Change History (5)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: invalid
Status: newclosed

You're creating ${prefix}/var/lock but you should be creating ${destroot}${prefix}/var/lock.

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

Sorry, I'm not explaining it very well. See ticket #14978. I am meaning to create ${prefix}/var/lock. In any event, the point is not the directory, but that the registry is not apparently including the hidden file.

comment:3 Changed 16 years ago by mf2k (Frank Schima)

I see my mistake now. You are correct and the registry does properly see the file when I made the change you suggest!

comment:4 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Port: sane-backends added
Note: See TracTickets for help on using tickets.