From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EARhF2ZsamMtsAAAbAwnHQ (envelope-from ) for ; Tue, 08 Nov 2022 15:49:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4DVaF2ZsamNrowAAauVa8A (envelope-from ) for ; Tue, 08 Nov 2022 15:49:10 +0100 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 E6A73F049 for ; Tue, 8 Nov 2022 15:49:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osPu9-0003so-Ov; Tue, 08 Nov 2022 09:48:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osPu7-0003rM-9F for help-guix@gnu.org; Tue, 08 Nov 2022 09:48:43 -0500 Received: from cczrelay02.in2p3.fr ([134.158.66.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osPu5-00078t-E9 for help-guix@gnu.org; Tue, 08 Nov 2022 09:48:43 -0500 Received: from [192.168.1.11] (buc10-1_migr-88-170-139-253.fbx.proxad.net [88.170.139.253] (may be forged)) (authenticated bits=0) by cczrelay02.in2p3.fr (8.14.4/8.14.4) with ESMTP id 2A8EmYQW013246 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 8 Nov 2022 15:48:34 +0100 Message-ID: <4ca9d324-adc7-8553-ea08-c158cc1941d8@iphc.cnrs.fr> Date: Tue, 8 Nov 2022 15:48:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: Error using gcc with trivial-build-system Content-Language: en-US To: Tobias Geerinckx-Rice Cc: help-guix References: <365d37dc93ae35ff965c7c4736b8a59d@tobias.gr> From: Emmanuel Medernach In-Reply-To: <365d37dc93ae35ff965c7c4736b8a59d@tobias.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.158.66.142; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay02.in2p3.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667918950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RCjfeckgYntRi58Yp2TW2SeCwI+l4idVf438qXiakpc=; b=qlKg7wYWpDnULX+D901XLHI0NGKNFyq21sQlcb8C0y4ngTZTbrFUaX5ANBScPpNSA0BDBp 9kvpFPQBJTlTPe+7UnUAc/G8Pn/XsmLIyMnj9oEkX2NBxYpN0SYm96oAUpqN7ipMIdaovD oalW66J7rs2tZFGTJHT+JZF4jYE9P/9k1HiPm8QBFC7Ijexfb9ShXMiM9u6GmeksfyC0On qowe+iP/tRf1StCPZH+MtESp0LZN+R21CojuusP19CfzTrN4fLH2MKwP7MIOSBAi7qv4RS O7Z1S4bRfO3x2z7zOfXsidrz1KehIOMFn1W66Qi+ujShmkf0Ka6bUhfRFYv37Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667918950; a=rsa-sha256; cv=none; b=MUCaqNavFpYeJ2DkfhIUWAMTMwx1ooxzsZ9Vuuh3mVUjkufIoJO+qzMXqunlBdkkX2BGjo 1uWmiLF1XYlcBebNLpas++Lr4pwQv0ROBX/kaIJ+L5DbMQQiMBzzQS88RSWnjH6kxMqWeT DBvUANfnSN0OPCvNiURPpqVCxYAtvF2KlFo1tce9xlab0fYod+xRXy047srSKV9MfG1WVW 0KArpg8tSS96NgmvWxEG8/oQPAVEsJ2ogcDcphEMTp2bE8oTb/MXtWigZdGmv/OoupRF/P DYzjiGCBBPheuidRaUL99N/lzXTFxSs1bS4n/81mabHh83jP/ReXfjekqyJ9eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E6A73F049 X-Spam-Score: -3.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: IbpxUCuyetHL Le 08/11/2022 à 15:10, Tobias Geerinckx-Rice a écrit : > Hi Emmanuel! > > On 2022-11-08 11:23, Emmanuel Medernach wrote: >> I have a local package with a compile script that >> I need to add to our local GUIX packages. > > (Nitpick: Guix isn't a acronym.  Never has been.) > >> I tried to use trivial-build-system with >> gcc-toolchain input, all works well when I compile >> it manually in a 'guix shell' > > Because ‘guix shell’ sets up a proper profile; quite unlike the > trivial-build-system. > > Using trivial-build-system here *is* the bug.  It's not a starter kit > for building better things; it's for trivial packages that don't need > building. > > Rather than waste your time fighting that fact, use the > gnu-build-system.  It is that starter kit. > > If your tarball doesn't provide some standard GNU things like > ./configure or ‘make check’, that's quite common.  You can simply > (delete 'configure), set #:tests? #f, etc. > Thanks for your help, I will use the gnu-build-system and customize it as you suggest. About customizing I have another question, at the end of the build I have messages like: warning: collision encountered: ... I would prefer to manage myself what is copied to the profile or what is not and where, is it possible ? Emmanuel > Happy building, > > T G-R > > Sent from a Web browser.  Excuse or enjoy my brevity.