Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64850 closed defect (fixed)

py39-kiwisolver @1.4.0_0: error: no member named 'abort' in namespace 'std'

Reported by: macdeport Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: yosemite Cc:
Port: py-kiwisolver

Description (last modified by jmroot (Joshua Root))

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work 
:info:build * Getting dependencies for wheel...
:info:build * Building wheel...
:info:build running bdist_wheel
:info:build running build
:info:build running build_ext
:info:build building 'kiwisolver' extension
:info:build creating build
:info:build creating build/temp.macosx-10.10-x86_64-3.9
:info:build creating build/temp.macosx-10.10-x86_64-3.9/py
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work/compwrap/cc/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cppy/include -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c py/constraint.cpp -o build/temp.macosx-10.10-x86_64-3.9/py/constraint.o -std=c++11 -stdlib=libc++
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work/compwrap/cc/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cppy/include -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c py/expression.cpp -o build/temp.macosx-10.10-x86_64-3.9/py/expression.o -std=c++11 -stdlib=libc++
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work/compwrap/cc/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cppy/include -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c py/kiwisolver.cpp -o build/temp.macosx-10.10-x86_64-3.9/py/kiwisolver.o -std=c++11 -stdlib=libc++
:info:build In file included from py/kiwisolver.cpp:9:
:info:build In file included from ./kiwi/kiwi.h:9:
:info:build ./kiwi/constraint.h:70:9: error: no member named 'abort' in namespace 'std'; did you mean simply 'abort'?
:info:build         std::abort();
:info:build         ^~~~~~~~~~
:info:build         abort
:info:build /usr/include/stdlib.h:128:7: note: 'abort' declared here
:info:build void     abort(void) __dead2;
:info:build          ^
:info:build 1 error generated.
:info:build error: command '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work/compwrap/cc/usr/bin/clang' failed with exit code 1
:info:build ERROR Backend subproccess exited when trying to invoke build_wheel
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/work/kiwisolver-1.4.0" && /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-kiwisolver/py39-kiwisolver/work 
:info:build Exit code: 1
:error:build Failed to build py39-kiwisolver: command execution failed
:debug:build Error code: CHILDSTATUS 9387 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/main.log for details.

Attachments (1)

main.log.zip (2.8 KB) - added by macdeport 3 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/main.log

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by macdeport

Attachment: main.log.zip added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kiwisolver/py39-kiwisolver/main.log

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

Description: modified (diff)
Owner: set to reneeotten
Port: py-kiwisolver added; py39-kiwisolver removed
Status: newassigned
Summary: py39-kiwisolver @1.4.0_0: error: Failed to build on macosx-10.10-x86_64py39-kiwisolver @1.4.0_0: error: no member named 'abort' in namespace 'std'

This looks like a programming error; std::abort is used without including <cstdlib>.

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

thanks Joshua - I added your patch so that it will build until upstream has merged it and released a new version.

comment:4 Changed 3 years ago by macdeport

Version: 2.7.12.7.2

Thank you to each of you.

Note: See TracTickets for help on using tickets.