pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51394: net/libfilezilla configure fails because of missing C++14 support



>Number:         51394
>Category:       pkg
>Synopsis:       net/libfilezilla configure fails because of missing C++14 support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 06 20:05:00 +0000 2016
>Originator:     Christoph Lemke
>Release:        pkgsrc_2016Q2
>Organization:
>Environment:
NetBSD gx780.lemke.int 7.0_STABLE NetBSD 7.0_STABLE (GX780) #0: Tue Jan 12 21:52:39 CET 2016  christoph%gx780.lemke.int@localhost:/home/christoph/src/sys/arch/amd64/compile/obj/GX780 amd64
>Description:
checking how to hardcode library paths into programs... immediate
checking whether c++ supports C++14 features by default... no
checking whether c++ supports C++14 features with -std=gnu++14... no
checking whether c++ supports C++14 features with -std=gnu++1y... no
checking whether c++ supports C++14 features with -std=c++14... no
checking whether c++ supports C++14 features with -std=c++1y... no
configure: error: *** A compiler with support for C++14 language features is required.
*** Error code 1

Stop.
make[1]: stopped in /filer/christoph/pkgsrc/net/libfilezilla
*** Error code 1

Stop.
make: stopped in /filer/christoph/pkgsrc/net/libfilezilla

>How-To-Repeat:
# cd net/libfilezilla && make
>Fix:
derived from net/filezilla/Makefile

--- a/net/libfilezilla/Makefile
+++ b/net/libfilezilla/Makefile
@@ -16,4 +16,7 @@ USE_LANGUAGES=        c c++
 
 PKGCONFIG_OVERRIDE+=   lib/libfilezilla.pc.in
 
+# GCC 4.9 is required to support C++14.
+GCC_REQD+=             4.9
+
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index