New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14005 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

asciidoc-8.2.5 python_select and readlink

Reported by: noemail Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python linux readlink asciidoc Cc:
Port:

Description

The asciidoc command is failing because it has #!/opt/local/bin/python hardcoded for the shebang line, and I don't have python_select installed. I fixed this by installing python_select, although I had to fix that up by adding an extra alternative, python25-apple, since I'm on Leopard (I'll report that bug separately).

After that, a2x is still failing because it uses readlink -f, and the BSD readlink command works differently from the Linux one. I don't know if you want to report this upstream or just handle it with a MacPorts-specific patch file, which is why I'm reporting it here and not upstream.

I temporarily fixed the readlink problem by defining a function called readlink at the top of the script which just does echo "$2". After that, it works with no options. However, I've now found that the --copy option doesn't work, because it uses cp -u, which is another Linux-ism.

Change History

Changed 4 years ago by wsiegrist@…

The reporter's email address and the comments containing the reporter's email address have been removed by Mac OS Forge management.

Changed 4 years ago by jmr@…

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

Assigning to maintainer.

Changed 3 years ago by raimue@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r47351.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.