Opened 2 years ago

Closed 2 years ago

#65553 closed defect (fixed)

py39-networkx: Failed to Stage into destroot -- ERROR Unhandled data folder: data

Reported by: RobK88 Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-networkx

Description

The port for py39-networkx builds but it fails when it tries to stage the binaries into destroot.

P.S. I am running Lion 10.7.5 but it does not look like a Lion related error.

bash-3.2$ sudo port clean py39-networkx
--->  Cleaning py39-networkx
bash-3.2$ sudo port -v upgrade  py39-networkx
--->  Computing dependencies for py39-networkx.
--->  Fetching distfiles for py39-networkx
--->  Verifying checksums for py39-networkx
--->  Checksumming networkx-2.8.5.tar.gz
--->  Extracting py39-networkx
--->  Extracting networkx-2.8.5.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-networkx/networkx-2.8.5.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring py39-networkx
--->  Building py39-networkx
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work/networkx-2.8.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work 
running egg_info
writing networkx.egg-info/PKG-INFO
writing dependency_links to networkx.egg-info/dependency_links.txt
writing requirements to networkx.egg-info/requires.txt
writing top-level names to networkx.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'networkx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt' under directory 'doc'
warning: no files found matching '*.inc' under directory 'doc'
warning: no files found matching 'networkx/*/tests/*.txt'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.svn' found anywhere in distribution
no previously-included directories found matching 'doc/build'
no previously-included directories found matching 'doc/auto_examples'
no previously-included directories found matching 'doc/modules'
no previously-included directories found matching 'doc/reference/generated'
no previously-included directories found matching 'doc/reference/algorithms/generated'
no previously-included directories found matching 'doc/reference/classes/generated'
no previously-included directories found matching 'doc/reference/readwrite/generated'
adding license file 'LICENSE.txt'
writing manifest file 'networkx.egg-info/SOURCES.txt'
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/networkx
copying networkx/__init__.py -> build/lib/networkx
copying networkx/conftest.py -> build/lib/networkx

etc
etc

Compiling '.install-cache/pkg/networkx-2.8.5.data/data/share/doc/networkx-2.8.5/examples/subclass/plot_printgraph.py'...
Listing '.install-cache/pkg/networkx-2.8.5.dist-info'...
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/install/__main__.py", line 128, in <module>
    install(cache_dir, args.destdir)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/install/__init__.py", line 293, in install
    warnings.warn('Unhandled data folder: {}'.format(node), IncompleteInstallationWarning)
install.IncompleteInstallationWarning: Unhandled data folder: data

ERROR Unhandled data folder: data
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work/networkx-2.8.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m install --verbose /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work/networkx-2.8.5-py3-none-any.whl --destdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/work/destroot 
Exit code: 1
Error: Failed to destroot py39-networkx: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-networkx/py39-networkx/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
bash-3.2$

Attachments (1)

main.log (414.1 KB) - added by RobK88 2 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: stromnov@… removed
Keywords: lion removed
Owner: set to stromnov
Port: py-networkx added; py39-networkx removed
Status: newassigned
Summary: Failed to Stage py39-networkx into destroot -- ERROR Unhandled data folder: datapy39-networkx: Failed to Stage into destroot -- ERROR Unhandled data folder: data

Can you try again after updating to get [74b78db23f5bdfd1841179c0b9f2d48a9d9efca5/macports-ports]?

comment:2 Changed 2 years ago by RobK88

Thanks Joshua. Your patches fixed the bug. I was able to successfully upgrade the port.

bash-3.2$ port installed py39-networkx
The following ports are currently installed:
  py39-networkx @2.6.3_0
  py39-networkx @2.8.5_0 (active)

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.