Opened 3 years ago

Last modified 3 years ago

#62297 closed defect

py38-dns-lexicon does not install lexicon executable correctly — at Version 6

Reported by: LucaFilipozzi (Luca Filipozzi) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: py-dns-lexion

Description (last modified by LucaFilipozzi (Luca Filipozzi))

The symlink is correct:

/opt/local/bin/lexicon-3.8 -> /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/lexicon

but the target is not installed with executable bit set:

$ pwd
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin
n$ ls -l lexicon
-rw-r--r-- 1 root wheel 267 Jan  3 04:57 lexicon

Finally, the package invite the user to symlink lexicon to the appropriate version

port select --set lexicon lexicon-3.8

Change History (6)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to Schamschula
Port: py-dns-lexion added; py38-dns-lexion removed
Status: newassigned

In the future please add the maintainer, if any, to CC (port info --maintainer py-dns-lexicon).

comment:2 Changed 3 years ago by Schamschula (Marius Schamschula)

OK. I hadn't noticed that we were installing an executable, as this port was created to provide a library for certbot.

This can be easily be fixed.

Adding port select is also doable.

comment:3 Changed 3 years ago by Schamschula (Marius Schamschula)

In 7d86e126b49e9ab35a69120a19b810681ad90790/macports-ports (master):

lexicon_select: new port for py-dns-lexicon

See: #62297

comment:4 Changed 3 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 0fd1f6e5039c065c923c1416d7790c66c1ce8ab6/macports-ports (master):

py-dns-lexicon: set lexicon executable, add lexicon_select

Closes: #62297

comment:5 Changed 3 years ago by LucaFilipozzi (Luca Filipozzi)

Thanks for the quick response. I'm afraid I've encountered a challange when attempting to install py38-dns-lexicon.

:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:debug:destroot PortGroup select: Installing select files to destroot
:error:destroot Failed to destroot py38-dns-lexicon: xinstall: Cannot stat: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-dns-lexicon/files/lexicon38, No such file or directory
:debug:destroot Error code: NONE
:debug:destroot Backtrace: xinstall: Cannot stat: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-dns-lexicon/files/lexicon38, No such file or directory
:debug:destroot     while executing
:debug:destroot "$post $targetname"
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-dns-lexicon/py38-dns-lexicon/main.log for details.

comment:6 Changed 3 years ago by LucaFilipozzi (Luca Filipozzi)

Description: modified (diff)
Resolution: fixed
Status: closedreopened
Note: See TracTickets for help on using tickets.