From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ALbPECNtNGBpRQAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 02:49:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YPgPCyNtNGBLbgAA1q6Kng (envelope-from ) for ; Tue, 23 Feb 2021 02:49:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B95D78BF8 for ; Tue, 23 Feb 2021 03:49:05 +0100 (CET) Received: from localhost ([::1]:38146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lENl1-0003yE-JX for larch@yhetil.org; Mon, 22 Feb 2021 21:49:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lENks-0003xz-Ie for help-guix@gnu.org; Mon, 22 Feb 2021 21:48:54 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lENkn-0003Ab-Ad for help-guix@gnu.org; Mon, 22 Feb 2021 21:48:54 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4A8BA5C01E7; Mon, 22 Feb 2021 21:48:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 22 Feb 2021 21:48:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=roshLBcBg0EZUMsMgSZVKLb4 FEfH+WMyoMdQmweNItg=; b=jf+oivfnfn8IKh0Xoe95sUlY6w8d1ORZ+EoqLzg6 fWT+uWUPBms3tm2EpIqNZNRsPVe7CXQwm9YM9p4+RYrNY1zBG7QQ4qMXoWiHxGRq 7fzwDTP5UVGJ96HlbnQ73Wj6dLgt7seURklncokCRE96bMhfLtYCYZtgTHeU+741 f/s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=roshLB cBg0EZUMsMgSZVKLb4FEfH+WMyoMdQmweNItg=; b=VaX+U+IHN7ohqPSUAJmp79 65FqOR/6WKf1PZ02+XK9jXJ5IuWiA0aZ/LL6gfTOtQHSiyRocs/nmfaRe5cYlK91 bVFbehvU+evdCxIoTyhFg7WaDOm7GmPXMtJeyOK7Lo678vD6EkfVkBvWc5fxM70U x8ZWnDfGvhRdgVPMgNrXOk/ud0YBC3IvA0K7jr7RxqucZgDSyOWOWpkJifFVQ4XZ wv6sCZRgE7tI7Tc7S/jZ4IR1hOeEtO4g6AfEKeXQx6nZmXg9T6xUxbsJTQurc2IX OZUPXmKKOIOSSq8zvJz0Xn5mARUaZ3iw47/5qSo8XjI5PI1bCUIl0l/SLo8D+MBA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeeggdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepvddvudegffefiedttdfhfedvuefhgfekieekgeekveetgefhfeetgfegueduffei necuffhomhgrihhnpehgnhhurdhorhhgnecukfhppedutddtrdduuddrudeiledrudduke enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvgho sehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id AD101240057; Mon, 22 Feb 2021 21:48:46 -0500 (EST) Date: Mon, 22 Feb 2021 21:48:44 -0500 From: Leo Famulari To: Andy Tai Subject: Re: building package: gcc 7.5.0 referenced instead of latest gcc; not sure why Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.26; envelope-from=leo@famulari.name; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=jf+oivfn; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=VaX+U+IH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B95D78BF8 X-Spam-Score: -2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: R4Vwx0TIF6G7 On Mon, Feb 22, 2021 at 04:10:16PM -0800, Andy Tai wrote: [...] > I am not sure why gcc 7.5 is being used; no where in the package > definition scm file references explicitly gcc 7.5. I did not install > gcc 7.5 explicitly either. This is the "default" GCC package used when building packages, gcc-final from %final-inputs in 'gnu/packages/commencement.scm': https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/commencement.scm?h=v1.2.0#n3753 If you follow the chain of inheritance and references from gcc-final, you'll see it goes like this: gcc-final -> gcc-boot0 -> gcc -> gcc-7.5 ... and in gcc-7.5, the version is defined. You can override it by adding other packages of gcc to the native-inputs of vtk. For example: ------ diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index c3ea8491d9..195b21c508 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -49,6 +49,7 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gcc) #:use-module (gnu packages geo) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -291,6 +292,8 @@ many popular formats.") "-DVTK_USE_SYSTEM_TIFF:BOOL=TRUE" "-DVTK_USE_SYSTEM_ZLIB:BOOL=TRUE") #:tests? #f)) ;XXX: test data not included + (native-inputs + `(("gcc" ,gcc-8))) (inputs `(("double-conversion" ,double-conversion) ("eigen" ,eigen) ------ ... and then it will be compiled using our package of GCC 8, which is precisely: ------ $ guix show gcc-toolchain@8 name: gcc-toolchain version: 8.4.0 outputs: out debug static systems: x86_64-linux i686-linux dependencies: binutils@2.34 gcc@8.4.0 glibc@2.31 ld-wrapper@0 location: gnu/packages/commencement.scm:3836:4 homepage: https://gcc.gnu.org/ license: GPL 3+ synopsis: Complete GCC tool chain for C/C++ development description: This package provides a complete GCC tool chain for C/C++ development to be installed in user profiles. This includes GCC, as well as libc (headers and binaries, plus debugging + symbols in the `debug' output), and Binutils. GCC is the GNU Compiler Collection. ------ I hope that helps!