From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iPklK5FjamOOdgAAbAwnHQ (envelope-from ) for ; Tue, 08 Nov 2022 15:11:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kBpDK5FjamM+qQAA9RJhRA (envelope-from ) for ; Tue, 08 Nov 2022 15:11:29 +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 600E3D497 for ; Tue, 8 Nov 2022 15:11:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osPJf-0002vv-Uq; Tue, 08 Nov 2022 09:11:03 -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 1osPJe-0002u1-GV for help-guix@gnu.org; Tue, 08 Nov 2022 09:11:02 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osPJc-0000MA-9v for help-guix@gnu.org; Tue, 08 Nov 2022 09:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=F/zxJh3yAXjVh fiHwfHldyBy/D7zooKuuouxDADTLrw=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=YTNKBTmX1HKHlzFNhsyfG1WBg/MVvAre71Wgc+/G5 C/qCC5sbAxv7Bm21w9A6uhei4lQ1iqMVkS6PvbUkMbgGkvKXNp26+pCbUGcJTecp0VGXrv 5g7WYUhV9ZvbKLPqRDL9rMh4zBDewCH/BEmCg6Z8nlTj0INAssiOVyHuXQho3hDKVeBfPD CN3vYJBXyihk0+h23a3ZjKvuStcry1Gt/XyjF5OhmOOK/Au8F7v5xQrouc0PgNNq4V40cR rwneT0/0J51uSXz8Y3KDyzbDwCL0VHmhjzwONrTXbSx0AU/mwF0x7noiG8mf05+wiXqbd1 IxdeIIJ322SGI1hAHamPg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 7a0ff8e6; Tue, 8 Nov 2022 14:10:46 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 08 Nov 2022 15:10:46 +0100 From: Tobias Geerinckx-Rice To: Emmanuel Medernach Cc: help-guix Subject: Re: Error using gcc with trivial-build-system In-Reply-To: References: Message-ID: <365d37dc93ae35ff965c7c4736b8a59d@tobias.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.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=1667916689; 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:dkim-signature; bh=F/zxJh3yAXjVhfiHwfHldyBy/D7zooKuuouxDADTLrw=; b=dD8+LJhJc4k58PLAoxwClwm5BmzYoN+9ZKWE5sPjj2i/GqAHjCMl6z5oRLuw4GLWpNXC6S GtmgcUWfJTv6//m3YjWwWVPk9m2/sIC41aDVNbkR4O4W/x6LbjKPkYgNWs496X6aacDgGi yX1gda1os7r7SgaIUHjsOTVPW2kTiz18WbSICmVlJkYPGKj+iXI1Ze0RG36nJ7me3all3v gVLmT9EkAoY3UIBIlM/t5mbHCuqTvBjVLsrIvmKr1hCcevt+MR40JfgqpT1uWMsW7suX55 ZMLbU1GvgiNOsmLtrJiKNunHM4UlWtmFgB34a1JuqSSO778/qxsn0qfMGD4j/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667916689; a=rsa-sha256; cv=none; b=XAEhrmRuyVmMR4Ee7Vf1qlssq6ZAs8NQpfWt8oUbkPRJ5sB+6TA1lE9mCGbUqW5GRld9Sh RhzWfhjRiynoJ1JdbEpLF65uqap9T6JtpykDTaNNe6Qx2/pjiYqG1yfaMptShl1R/aDJB8 mSrJtKum4BFinmb7xqEktsfWRqv3H0eY9MF0mya8H1j0tNiOrcR9bx2UdrJjfO9gIcknNz sqYpoEOP6q8I0iizEgyTLidih2l3B/hnNAI2iVn6kbmkn+MpbpWug6JCx9dp7wLmZwjRe5 Yzeq0nwuzKrBvksix1VGjlk6OaMk/q4ooP5fQBlpjPJ4OBDj8mciLFgtYyju1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=YTNKBTmX; dmarc=pass (policy=reject) header.from=tobias.gr; 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: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=YTNKBTmX; dmarc=pass (policy=reject) header.from=tobias.gr; 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: 600E3D497 X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: Idb7hhvphsAU 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. Happy building, T G-R Sent from a Web browser. Excuse or enjoy my brevity.