pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: geography/geos needs gcc >= 8 ?
Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost> writes:
> It seems to me
> GCC_REQD+= 8
> is necessary for geography/geos
+# C++17 is not enough for
+# Noder.cpp:15:10: fatal error: filesystem: No such file or directory
+GCC_REQD+= 8
You left out what you are building on, but I'm guessing it is something
ancient. Perhaps NetBSD 9?
I'm not happy about how c++17 doesn't mean c++17 in compiler selection,
but that's how pkgsrc is. I am guessing that this uses filesystem --
which is as I understand it part of the c++17 standard, but not part of
pkgsrc's c++17 flavor -- in which case, the right fix is to add
"filesystem" to USE_CXX_FEATURES.
(Plus, while it's not fair to non-NetBSD, we align required versions to
the "limited versions set" in gcc.mk, to avoid building every single
version of gcc.)
I just build-tested with filesystem in features on NetBSD 10, and that
was fine, so I committed it. I no longer have a NetBSD 9 amd64 system,
and it's formally unsupported.
Home |
Main Index |
Thread Index |
Old Index