[MacPorts] #65553: Failed to Stage py39-networkx into destroot -- ERROR Unhandled data folder: data

MacPorts noreply at macports.org
Wed Jul 27 21:35:59 UTC 2022


#65553: Failed to Stage py39-networkx into destroot -- ERROR Unhandled data folder:
data
--------------------+---------------------------
 Reporter:  RobK88  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:  lion    |       Port:  py39-networkx
--------------------+---------------------------
 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$
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65553>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list