Bug 342625 - Can't install digiKam
Summary: Can't install digiKam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: unspecified
Platform: MacPorts macOS
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 12:51 UTC by a1mixer
Modified: 2022-01-02 08:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a1mixer 2015-01-08 12:51:50 UTC
--->  Computing dependencies for py27-gobject...
--->  Dependencies to be installed: py27-cairo py27-numpy
--->  Building py27-numpy
Running from numpy source directory.
Traceback (most recent call last):
  File "/opt/local/bin/cython", line 9, in <module>
    load_entry_point('Cython==0.21.2', 'console_scripts', 'cython')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 637, in setuptools_main
    return main(command_line = 1)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 654, in main
    result = compile(sources, options)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 629, in compile
    return compile_multiple(source, options)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 602, in compile_multiple
    context = options.create_context()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 527, in create_context
    self.cplus, self.language_level, options=self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 69, in __init__
    from . import Builtin, CythonScope
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
    from .UtilityCode import CythonUtilityCode
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
    from .TreeFragment import parse_from_strings, StringParseContext
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/TreeFragment.py", line 20, in <module>
    from . import Parsing
  File "Cython/Compiler/Parsing.py", line 26, in init Cython.Compiler.Parsing (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.21.2/Cython/Compiler/Parsing.c:55936)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/ModuleNode.py", line 2929, in <module>
    capsule_utility_code = UtilityCode.load("Capsule")
  File "Cython/Compiler/Code.py", line 240, in Cython.Compiler.Code.UtilityCodeBase.load (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.21.2/Cython/Compiler/Code.c:7277)
    self.write("\n")
ValueError: More than one filename match found for utility code Capsule
Processing numpy/random/mtrand/mtrand.pyx
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 199, in <module>
    main()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 195, in main
    find_process_files(root_dir)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 187, in find_process_files
    process(cur_dir, fromfile, tofile, function, hash_db)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 161, in process
    processor_function(fromfile, tofile)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 72, in process_pyx
    raise Exception('Cython failed')
Exception: Cython failed
Cythonizing sources
Traceback (most recent call last):
  File "setup.py", line 251, in <module>
    setup_package()
  File "setup.py", line 239, in setup_package
    generate_cython()
  File "setup.py", line 191, in generate_cython
    raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Exit code: 1
Warning: targets not executed for py27-numpy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py27-numpy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

numpy log:

Building py27-numpy
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py27-numpy)
:debug:build Environment: 
ATLAS='None'
BLAS='/usr/lib'
CC='/usr/bin/gcc-4.2'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64 -arch i386'
CPATH='/opt/local/include'
CXX='/usr/bin/g++-4.2'
CXXFLAGS='-arch x86_64 -arch i386'
F77='/opt/local/bin/gfortran-mp-4.9'
F90='/opt/local/bin/gfortran-mp-4.9'
FC='/opt/local/bin/gfortran-mp-4.9'
LAPACK='/usr/lib'
LDFLAGS='-arch x86_64 -arch i386'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
OBJC='/usr/bin/gcc-4.2'
OBJCFLAGS='-arch x86_64 -arch i386'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
:info:build Running from numpy source directory.
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/cython", line 9, in <module>
:info:build     load_entry_point('Cython==0.21.2', 'console_scripts', 'cython')()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 637, in setuptools_main
:info:build     return main(command_line = 1)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 654, in main
:info:build     result = compile(sources, options)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 629, in compile
:info:build     return compile_multiple(source, options)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 602, in compile_multiple
:info:build     context = options.create_context()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 527, in create_context
:info:build     self.cplus, self.language_level, options=self)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 69, in __init__
:info:build     from . import Builtin, CythonScope
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
:info:build     from .UtilityCode import CythonUtilityCode
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
:info:build     from .TreeFragment import parse_from_strings, StringParseContext
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/TreeFragment.py", line 20, in <module>
:info:build     from . import Parsing
:info:build   File "Cython/Compiler/Parsing.py", line 26, in init Cython.Compiler.Parsing (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.21.2/Cython/Compiler/Parsing.c:55936)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/ModuleNode.py", line 2929, in <module>
:info:build     capsule_utility_code = UtilityCode.load("Capsule")
:info:build   File "Cython/Compiler/Code.py", line 240, in Cython.Compiler.Code.UtilityCodeBase.load (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.21.2/Cython/Compiler/Code.c:7277)
:info:build     self.write("\n")
:info:build ValueError: More than one filename match found for utility code Capsule
:info:build Processing numpy/random/mtrand/mtrand.pyx
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 199, in <module>
:info:build     main()
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 195, in main
:info:build     find_process_files(root_dir)
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 187, in find_process_files
:info:build     process(cur_dir, fromfile, tofile, function, hash_db)
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 161, in process
:info:build     processor_function(fromfile, tofile)
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1/tools/cythonize.py", line 72, in process_pyx
:info:build     raise Exception('Cython failed')
:info:build Exception: Cython failed
:info:build Cythonizing sources
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 251, in <module>
:info:build     setup_package()
:info:build   File "setup.py", line 239, in setup_package
:info:build     generate_cython()
:info:build   File "setup.py", line 191, in generate_cython
:info:build     raise RuntimeError("Running cythonize failed!")
:info:build RuntimeError: Running cythonize failed!
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
:info:build Exit code: 1
:error:build org.macports.build for port py27-numpy returned: command execution failed
:debug:build Error code: CHILDSTATUS 25248 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for py27-numpy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install py27-numpy
:debug:build Registry error: qt4-mac-sqlite3-plugin not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port py27-numpy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/main.log
 



Reproducible: Always

Steps to Reproduce:
1.install digikam
2.numpy install fails
3.

Actual Results:  
numpy install fails

Expected Results:  
install digikam

every install i try stops at py27-numpy.  i don't know how to go around it or why i need it.

i completely uninstalled all my ports and started reinstalling everything.  it all went fine until py27-numpy.
Error: org.macports.build for port py27-numpy returned: command execution failed
Error: Failed to install py27-numpy
i run os x 10.6.8.  macports 2.3.3
Comment 1 Christoph Feck 2015-01-08 15:07:13 UTC
Already reported as bug 342624.
Comment 2 caulier.gilles 2022-01-02 08:06:56 UTC
Fixed with #342624.