Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 648912 Details for
Bug 732224
dev-python/pygraphviz: fails to run tests on arm (cannot import name '_graphviz' from 'pygraphviz')
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_732224.txt (text/plain), 11.00 KB, created by
Sam James
on 2020-07-11 14:24:39 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2020-07-11 14:24:39 UTC
Size:
11.00 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pygraphviz-1.5 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: arm elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pygraphviz-1.5.zip to /var/tmp/portage/dev-python/pygraphviz-1.5/work >>>> Source unpacked in /var/tmp/portage/dev-python/pygraphviz-1.5/work >>>> Preparing source in /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5 ... > [32;01m*[0m Applying pygraphviz-1.5-docs.patch ... >[A[173C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5 ... > [32;01m*[0m python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 8 >running build >running build_py >creating /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/release.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/agraph.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/__init__.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/graphviz.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/version.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >creating /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_attribute_defaults.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_html.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_attributes.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_edge_attributes.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_layout.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_subgraph.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_string.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/__init__.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_node_attributes.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_drawing.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_unicode.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_graph.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_clear.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_setup.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >copying pygraphviz/tests/test_readwrite.py -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/tests >running egg_info >writing pygraphviz.egg-info/PKG-INFO >writing dependency_links to pygraphviz.egg-info/dependency_links.txt >writing top-level names to pygraphviz.egg-info/top_level.txt >reading manifest file 'pygraphviz.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching '*.png' under directory 'doc' >warning: no files found matching '*.html' under directory 'doc' >warning: no files found matching '*.txt' under directory 'doc' >warning: no files found matching '*.css' under directory 'doc' >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' >writing manifest file 'pygraphviz.egg-info/SOURCES.txt' >copying pygraphviz/graphviz.i -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >copying pygraphviz/graphviz_wrap.c -> /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz >warning: build_py: byte-compiling is disabled, skipping. > >running build_ext >building 'pygraphviz._graphviz' extension >creating /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/temp.linux-armv8l-3.7 >creating /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/temp.linux-armv8l-3.7/pygraphviz >armv7a-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fdiagnostics-show-option -frecord-gcc-switches -fPIC -I/usr/include/python3.7m -c pygraphviz/graphviz_wrap.c -o /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/temp.linux-armv8l-3.7/pygraphviz/graphviz_wrap.o >pygraphviz/graphviz_wrap.c: In function âagattr_labelâ: >pygraphviz/graphviz_wrap.c:3038:12: warning: returning âAgsym_t *â {aka âstruct Agsym_s *â} from a function with return type âintâ makes integer from pointer without a cast [-Wint-conversion] > 3038 | return agattr(g, kind, name, val); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >armv7a-unknown-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fdiagnostics-show-option -frecord-gcc-switches /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/temp.linux-armv8l-3.7/pygraphviz/graphviz_wrap.o -L/usr/lib -lcdt -lcgraph -lpython3.7m -o /var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5-python3_7/lib/pygraphviz/_graphviz.cpython-37m-arm-linux-gnueabihf.so >>>> Source compiled. >>>> Test phase: dev-python/pygraphviz-1.5 > [32;01m*[0m python3_7: running distutils-r1_run_phase python_test >nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] >#1 Failure: ImportError (cannot import name '_graphviz' from 'pygraphviz' (/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/__init__.py)) ... ERROR > >====================================================================== >ERROR: Failure: ImportError (cannot import name '_graphviz' from 'pygraphviz' (/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/__init__.py)) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest > raise self.exc_val.with_traceback(self.tb) > File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName > addr.filename, addr.module) > File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath > return self.importFromDir(dir_path, fqname) > File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir > mod = load_module(part_fqname, fh, filename, desc) > File "/usr/lib/python3.7/imp.py", line 244, in load_module > return load_package(name, filename) > File "/usr/lib/python3.7/imp.py", line 216, in load_package > return _load(spec) > File "<frozen importlib._bootstrap>", line 696, in _load > File "<frozen importlib._bootstrap>", line 677, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 728, in exec_module > File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed > File "/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/__init__.py", line 58, in <module> > from .agraph import AGraph, Node, Edge, Attribute, ItemAttribute, DotError > File "/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/agraph.py", line 22, in <module> > from . import graphviz as gv > File "/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/graphviz.py", line 13, in <module> > from . import _graphviz >ImportError: cannot import name '_graphviz' from 'pygraphviz' (/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5/pygraphviz/__init__.py) > >---------------------------------------------------------------------- >Ran 1 test in 0.214s > >FAILED (errors=1) > [31;01m*[0m ERROR: dev-python/pygraphviz-1.5::gentoo failed (test phase): > [31;01m*[0m (no error message) > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_test > [31;01m*[0m environment, line 2913: Called distutils-r1_src_test > [31;01m*[0m environment, line 1236: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 417: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2515: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2018: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2016: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 824: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1173: Called python_test > [31;01m*[0m environment, line 2873: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m PYTHONPATH=${PYTHONPATH}:${BUILD_DIR}/lib/pygraphviz nosetests -c setup.cfg -x -v || die > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pygraphviz-1.5::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pygraphviz-1.5::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pygraphviz-1.5/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pygraphviz-1.5/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pygraphviz-1.5/work/pygraphviz-1.5'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 732224
: 648912