Opened 10 years ago
Last modified 2 years ago
#47292 new defect
py27-shiboken @1.2.2_3: build failure on PowerPC Leopard
Reported by: | rickjburner@… | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), udbraumann | |
Port: | py27-shiboken |
Description (last modified by larryv (Lawrence Velázquez))
py27-shiboken fails to build on my system. I downloaded and built Shiboken from source without any errors so I know it's an issue with the port. I believe my build failure is due to building with gcc-4.2. I attempted adding "compiler.whitelist macports-gcc-4.8" to the port file, but I get a build error that the "-arch" argument is invalid and I can't figure out how to remove the argument.
Any help would be appreciated. I'm attempting to streamline the FreeCAD install process for OS X 10.5 and this is the last hurdle in the process. My system specs are listed below. Build log is attached.
OS X 10.5.8
Power PC
Power Mac 11,2
Attachments (1)
Change History (6)
Changed 10 years ago by rickjburner@…
comment:1 follow-up: 2 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | py27-shiboken Shiboken ppc PowerPC 10.5 10.5.8 FreeCAD removed |
Owner: | changed from macports-tickets@… to mmoll@… |
Summary: | py27-shiboken-1.2.2_3.darwin_9.ppc - build failure → py27-shiboken @1.2.2_3: build failure on PowerPC Leopard |
:info:build /opt/local/include/sparsehash/internal/hashtable-common.h:244: error: ‘operator()’ is not a member of ‘__gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ :info:build make[2]: *** [libshiboken/CMakeFiles/libshiboken.dir/sbkconverter.cpp.o] Error 1
What compiler did you use that worked?
comment:2 Changed 10 years ago by rickjburner@…
Replying to larryv@…:
:info:build /opt/local/include/sparsehash/internal/hashtable-common.h:244: error: ‘operator()’ is not a member of ‘__gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ :info:build make[2]: *** [libshiboken/CMakeFiles/libshiboken.dir/sbkconverter.cpp.o] Error 1What compiler did you use that worked?
macports-gcc-4.8 worked without any errors on the build from source.
comment:4 Changed 2 years ago by barracuda156
On 10.6.8 Rosetta with gcc12
it fails on this:
[ 96%] Running generator for 'shiboken'... cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/Shiboken-1.2.4/shibokenmodule && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/build/generator/shiboken --project-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/build/shibokenmodule/shibokenmodule.txt shiboken(61799,0xa0bcc620) malloc: *** error for object 0xa0f15754: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug shiboken(61799,0xa0bcc620) malloc: *** error for object 0xa0f157c4: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Detecting inconsistencies in typesystem... [OK] /bin/sh: line 1: 61799 Bus error /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/build/generator/shiboken --project-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/build/shibokenmodule/shibokenmodule.txt make[2]: *** [shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Error 138 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-shiboken/py27-shiboken/work/build' make[1]: *** [shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Error 2
comment:5 Changed 2 years ago by barracuda156
Both py27-shiboken
and py310-shiboken
also fail on 10.6 PPC (10A190) with identical error like on 10.6.8.
build log