#59908 closed defect (fixed)
upc @5.2.0.1: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | upc |
Description
upc doesn't build on 10.13. I think the error is:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_upc/upc/work/upc-5.2.0.1/gcc/auto-profile.c:25: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/map:446: /Library/Developer/CommandLineTools/usr/include/c++/v1/functional:1408:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? _VSTD::abort(); ^~~~~~~ /Library/Developer/CommandLineTools/usr/include/c++/v1/__config:441:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_upc/upc/work/upc-5.2.0.1/gcc/system.h:700:13: note: 'fancy_abort' declared here extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; ^
(It does build on 10.14.)
Change History (4)
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by tenomoto (Takeshi Enomoto)
I was wasting my time trying to install High Sierra on my old MacBook Pro, which did not boot. Finally I was able to set up High Sierra in Parallels, but it is slow. Anyway, I saw a report for FreeBSD, which suggest including <new>
. This fix didn't work and I was wondering what to do. Yes, inclusion of <map>
seems to work. Thanks for your help.
comment:3 Changed 5 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 4 years ago by tenomoto (Takeshi Enomoto)
In 0b56bee81fe75958cb23dbcb603031d95f6c7a5a/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):
Note: See
TracTickets for help on using
tickets.
This will probably be similar to the older gcc build failures we saw with gcc5, gcc4.7-9 a few years ago with a new xcode version that was subsequently fixed in a gcc backpatch for gcc5 at least.
e.g. this bug report <https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg543787.html>.