[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53339: security/gpgme requires C++ 11
>Synopsis: security/gpgme requires C++ 11
>Arrival-Date: Mon Jun 04 00:15:00 +0000 2018
>Originator: Valery Ushakov
NetBSD pony 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #0: Thu May 17 00:18:58 MSK 2018 uwe@sampo:/home/uwe/work/netbsd/build6/obj/macppc/sys/arch/macppc/compile/GENERIC macppc
security/gpgme is configured without explicit --enable-languages which
means it will try to autodetect.
The PLIST for the package is written with the assumption that the C++
bindings will be compiled. However gpgme C++ support requires C++ 11.
On NetBSD 6 the system compiler is too old, so configure decides it
will not build C++ support. Since --enable-languages was not
specified, that's not considered an error. But the PLIST still wants
those files, so building the package ultimately fails.
I guest many packages that depend on gpgme only need the C version. I
definitely don't want to build pkgsrc g++ just to be able to read mail
I think the package should build just the plain C code there should be
a separate C++ package. The separate C++ package should explicitely
specify --enable-languages=c++ and property request a C++ 11 compiler.
Build on NetBSD 6.
As a workaround I just trimmed the PLIST to match what is actually built.
Main Index |
Thread Index |