New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18294 (closed defect: fixed)

Opened 3 years ago

Last modified 19 months ago

pure-0.16: broken man page

Reported by: godboutn@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: pure, pure-devel

Description

man pure

reports no documentation after installation of pure-0.16.

The problem is due to an invalid soft link pure.1@ -> pure-0.16.1 whereas the man page itself is compressed and has the name pure-0.16.1.gz.

A patch file fixing the problem in the post-destroot phase is included below.

Attachments

Portfile-pure.diff Download (356 bytes) - added by godboutn@… 3 years ago.

Change History

Changed 3 years ago by godboutn@…

Changed 3 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to ryandesign@…

Changed 3 years ago by ryandesign@…

  • status changed from new to assigned

Thanks. I had noticed this too but forgot to file a ticket and look into it.

It was my understanding that MacPorts base was supposed to handle this automatically so I wanted to see why that wasn't working.

Changed 3 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed
  • port changed from pure to pure, pure-devel

Ok. MacPorts base compresses manpages in the destroot phase. It looks for any symlinks to those manpages and if found, recreates them to point to the compressed version. But this is only working if the existing symlink is relative; pure creates an absolute symlink.

I changed the pure Makefile to make a relative symlink in r46240 along with updating the port to 0.17. I made the same change in pure-devel in r46243.

I filed MacPorts base bug #18302 for the underlying problem that MacPorts doesn't properly re-create absolute manpage symlinks.

Finally, I  asked the author of pure if he would consider making pure make a relative symlink in the first place.

Thanks again for the bug report.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 19 months ago by ryandesign@…

Reverted the fix in r70253 since MacPorts 1.8 and up now handle this correctly.

Note: See TracTickets for help on using tickets.