From mboxrd@z Thu Jan 1 00:00:00 1970 From: brettg@posteo.net Subject: VTE 0.55.0 Date: Thu, 31 Jan 2019 07:06:59 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp5VC-0004vt-Rz for guix-devel@gnu.org; Thu, 31 Jan 2019 01:07:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp5VB-0007Zx-Q5 for guix-devel@gnu.org; Thu, 31 Jan 2019 01:07:06 -0500 Received: from mout01.posteo.de ([185.67.36.65]:60227) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gp5VB-0007YR-7r for guix-devel@gnu.org; Thu, 31 Jan 2019 01:07:05 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 115DF16005D for ; Thu, 31 Jan 2019 07:07:00 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43qqWR4Tpnz6tmD for ; Thu, 31 Jan 2019 07:06:59 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix devel Hi all, I am working on trying to package a newer version of the GNOME virtual terminal lib (VTE). I have mostly copied the previous version as a starting point. When I try to build it, it is throwing an error saying that I need to use a C++17 compliant standard in the compiler. Okay, no problem, so I try to pass a configuration flag to enable the g++17 std. However, when I do this it is accepting that as a valid configuration parameter, but the configuration is still saying that it is not C++17 compliant. I tried to see if Ricardo had something for this in his wip gnome branch, but it does not seem like he does. So here I am. (define-public vte (package (name "vte") (version "0.55.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "064hvyx7w8l2lnwca28n7bbrks2ivqgd7h82nrp3gpx54bdr1n3f")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("vala" ,vala) ("gobject-introspection" ,gobject-introspection) ("glib" ,glib "bin") ; for glib-genmarshal, etc. ("gperf" ,gperf) ("xmllint" ,libxml2))) (propagated-inputs `(("gtk+" ,gtk+) ;required by vte-2.91.pc ("gnutls" ,gnutls) ;ditto ("pcre2" ,pcre2))) ;ditto (arguments `(#:configure-flags '("CXXFLAGS=-std=c++17"))) (home-page "https://www.gnome.org/") (synopsis "Virtual Terminal Emulator") (description "VTE is a library (libvte) implementing a terminal emulator widget for GTK+, and a minimal sample application (vte) using that. Vte is mainly used in gnome-terminal, but can also be used to embed a console/terminal in games, editors, IDEs, etc.") (license license:lgpl2.1+))) ------- checking whether g++ supports C++17 features by default... no checking whether g++ supports C++17 features with -std=gnu++17... no checking whether g++ supports C++17 features with -std=gnu++1z... no checking whether g++ supports C++17 features with -std=c++17... no checking whether g++ supports C++17 features with +std=c++17... no checking whether g++ supports C++17 features with -h std=c++17... no checking whether g++ supports C++17 features with -std=c++1z... no checking whether g++ supports C++17 features with +std=c++1z... no checking whether g++ supports C++17 features with -h std=c++1z... no configure: error: *** A compiler with support for C++17 language features is required. thanks for your help Brett Gilio