New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16536 (closed defect: invalid)

Opened 3 years ago

Last modified 2 years ago

port registry is not including files created by destroot.keepdirs

Reported by: macsforever2000@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jberry@…, jmr@…
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

Changed 3 years ago by jmr@…

  • cc jmr@… added
  • status changed from new to closed
  • resolution set to invalid

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

Changed 3 years ago by macsforever2000@…

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.

Changed 3 years ago by macsforever2000@…

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

Changed 3 years ago by toby@…

  • milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

Changed 2 years ago by jmr@…

  • port set to sane-backends
  • milestone MacPorts Future deleted
Note: See TracTickets for help on using tickets.