[MacPorts] #64850: py39-kiwisolver @1.4.0_0: error: no member named 'abort' in namespace 'std' (was: py39-kiwisolver @1.4.0_0: error: Failed to build on macosx-10.10-x86_64)

MacPorts noreply at macports.org
Sat Mar 19 10:19:12 UTC 2022


#64850: py39-kiwisolver @1.4.0_0: error: no member named 'abort' in namespace 'std'
----------------------------+------------------------
  Reporter:  macdeport      |      Owner:  reneeotten
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:  yosemite
      Port:  py-kiwisolver  |
----------------------------+------------------------
Changes (by jmroot):

 * owner:  (none) => reneeotten
 * status:  new => assigned
 * port:  py39-kiwisolver => py-kiwisolver


Old description:

> /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.

New description:

 {{{
 /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.
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/64850#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list