Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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)

main.log (180.7 KB) - added by LucaFilipozzi (Luca Filipozzi) 3 years ago.
2021-02-14T17:35 PT build attempt

Download all attachments as: .zip

Change History (16)

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

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

Description: modified (diff)

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

Can you attach you log file? I tested this on my local machine before committing it.

comment:9 in reply to:  8 Changed 3 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 3 years ago by Schamschula (Marius Schamschula)

I see what happened. The files for the select PG didn't get committed.

comment:11 Changed 3 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 3 years ago by LucaFilipozzi (Luca Filipozzi)

Attachment: main.log added

2021-02-14T17:35 PT build attempt

comment:12 Changed 3 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:13 Changed 3 years ago by LucaFilipozzi (Luca Filipozzi)

Thanks, installed successfully.

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

Resolution: fixed
Status: reopenedclosed

comment:15 Changed 3 years ago by harens <harensdeveloper@…>

In 76360a866a862b93a7329952bbc40281bf93a19d/macports-ports (master):

py-dns-lexicon: remove poetry dependency

See #62297
See #62296
Closes #62682

  • Remove py-future dependency and fix setuptools category
  • Simplify symlink
  • Unpin py36 version
Note: See TracTickets for help on using tickets.