Opened 4 years ago
Last modified 3 years ago
#61807 assigned defect
py37-meshio fails to destroot
Reported by: | dgarnier (reinrag1a) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | py-meshio |
Description
Something seems to be off when installing for python3.7. Works fine for python3.8.
Relevant error from log is:
:info:destroot Listing '.install-cache/pkg/meshio-4.3.6.dist-info'... :info:destroot Traceback (most recent call last): :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__main__.py", line 128, in <module> :info:destroot install(cache_dir, args.destdir) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__init__.py", line 284, in install :info:destroot _copy_dir(scripts_cache_dir, destdir_path('scripts')) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__init__.py", line 96, in _copy_dir :info:destroot shutil.copy2(path, root) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 266, in copy2 :info:destroot copyfile(src, dst, follow_symlinks=follow_symlinks) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 121, in copyfile :info:destroot with open(dst, 'wb') as fdst: :info:destroot FileNotFoundError: [Errno 2] No such file or directory: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/meshio-info' info:destroot ERROR [Errno 2] No such file or directory: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/meshio-info' :info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/meshio-4.3.6" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m install --verbose /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/meshio-4.3.6-py3-none-any.whl --destdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/destroot :info:destroot Exit code: 1
Its clear that /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin
Indeed, if one then does:
sudo mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-meshio/py37-meshio/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin
the install completes.
I don't know why this fails for python37 and not python38. Seems like an issue in the upstream meshio, but maybe a workaround can be made as the fix is pretty easy.
Change History (3)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to Schamschula |
---|---|
Port: | py-meshio added |
Status: | new → assigned |
Summary: | py-meshio fails to install for python37 → py37-meshio fails to destroot |
comment:2 Changed 4 years ago by Schamschula (Marius Schamschula)
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
the current version is py-meshio @4.4.3
- do you still experience the problem with the PY37 subport or can this ticket be closed?
Note: See
TracTickets for help on using
tickets.
This is rather strange.
I no longer have Python 3.7 installed on my build machine, but 3.8 and 3.9 both build as expected.