#62297 closed defect (fixed)
py38-dns-lexicon does not install lexicon executable correctly
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 $ 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
Attachments (1)
Change History (16)
comment:1 Changed 4 years ago by reneeotten (Renee Otten)
Owner: | set to Schamschula |
---|---|
Port: | py-dns-lexion added; py38-dns-lexion removed |
Status: | new → assigned |
comment:2 Changed 4 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 4 years ago by Schamschula (Marius Schamschula)
comment:4 Changed 4 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 4 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 4 years ago by LucaFilipozzi (Luca Filipozzi)
Description: | modified (diff) |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
comment:7 Changed 4 years ago by LucaFilipozzi (Luca Filipozzi)
Description: | modified (diff) |
---|
comment:8 follow-up: 9 Changed 4 years ago by Schamschula (Marius Schamschula)
Can you attach you log file? I tested this on my local machine before committing it.
comment:9 Changed 4 years ago by reneeotten (Renee Otten)
Replying to Schamschula:
Can you attach you log file? I tested this on my local machine before committing it.
it looks like you forgot to do git add
for the files
directory:
% ls `port dir py-dns-lexicon` Portfile
comment:10 Changed 4 years ago by Schamschula (Marius Schamschula)
I see what happened. The files for the select PG didn't get committed.
comment:11 Changed 4 years ago by LucaFilipozzi (Luca Filipozzi)
Fresh attempt:
# port clean py38-dns-lexicon ---> Cleaning py38-dns-lexicon # port install py38-dns-lexicon ---> Computing dependencies for py38-dns-lexicon ---> Fetching archive for py38-dns-lexicon ---> Attempting to fetch py38-dns-lexicon-3.5.3_1.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py38-dns-lexicon ---> Attempting to fetch py38-dns-lexicon-3.5.3_1.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/py38-dns-lexicon ---> Attempting to fetch py38-dns-lexicon-3.5.3_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/py38-dns-lexicon ---> Fetching distfiles for py38-dns-lexicon ---> Verifying checksums for py38-dns-lexicon ---> Extracting py38-dns-lexicon ---> Configuring py38-dns-lexicon ---> Building py38-dns-lexicon ---> Staging py38-dns-lexicon into destroot Error: 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 Error: 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. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port py38-dns-lexicon failed # ls -l /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-dns-lexicon total 4 -rw-r--r-- 1 root 505 2839 2021-02-14 13:36:16 Portfile lrwxr-xr-x 1 root 505 156 2021-02-14 17:35:34 work -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-dns-lexicon/py38-dns-lexicon/work
attaching log file
Changed 4 years ago by LucaFilipozzi (Luca Filipozzi)
2021-02-14T17:35 PT build attempt
comment:12 Changed 4 years ago by Schamschula (Marius Schamschula)
Actually, I forgot to copy them over from my build tree into the GitHub tree. I remembered to do it for the lexicon_select
port, but not for py-dns-lexicon
itself.
comment:14 Changed 4 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
In the future please add the maintainer, if any, to CC (
port info --maintainer py-dns-lexicon
).