From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2EotLSRXtWItjQAAbAwnHQ (envelope-from ) for ; Fri, 24 Jun 2022 08:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KOnLLCRXtWKIfwAAauVa8A (envelope-from ) for ; Fri, 24 Jun 2022 08:18:12 +0200 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 4E4CE2A210 for ; Fri, 24 Jun 2022 08:18:12 +0200 (CEST) Received: from localhost ([::1]:57990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4cdu-0003DR-Um for larch@yhetil.org; Fri, 24 Jun 2022 02:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4cdm-0003D5-4H for guix-patches@gnu.org; Fri, 24 Jun 2022 02:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4cdl-00088y-RV for guix-patches@gnu.org; Fri, 24 Jun 2022 02:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4cdl-0006PN-NT for guix-patches@gnu.org; Fri, 24 Jun 2022 02:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56181] [PATCH] gnu: packages: qbe: Update to 1.0. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jun 2022 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" , 56181@debbugs.gnu.org Received: via spool by 56181-submit@debbugs.gnu.org id=B56181.165605145324597 (code B ref 56181); Fri, 24 Jun 2022 06:18:01 +0000 Received: (at 56181) by debbugs.gnu.org; 24 Jun 2022 06:17:33 +0000 Received: from localhost ([127.0.0.1]:40630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4cdI-0006Od-GD for submit@debbugs.gnu.org; Fri, 24 Jun 2022 02:17:32 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:10273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4cdF-0006OS-4t for 56181@debbugs.gnu.org; Fri, 24 Jun 2022 02:17:31 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4LTn324LHHz3wgb; Fri, 24 Jun 2022 08:17:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1656051438; bh=7GropBrG5ywtpw2lN3DQm9/LGaMoyPYNLq+Xk9a6iAo=; h=Subject:From:To:Date:In-Reply-To:References; b=I8cWsfAJoATeeAIQCImqRUiUnB4apsIHQJa9FNnoXcQaYw5exhvO17FfJHZTJdyB7 0pJX+YJNIF2WDrqVDKvU4BMabAlUGw4LzrMFspreivp8uakay2iK2TaP0U6QQzFUKJ hAFtCkMOglbJsVwjlqAu7S/C4Xpu3Zr8NGRZKx1U= Message-ID: From: Liliana Marie Prikler Date: Fri, 24 Jun 2022 08:17:19 +0200 In-Reply-To: <20220624060410.3257-1-paren@disroot.org> References: <20220624060410.3257-1-paren@disroot.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656051492; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7GropBrG5ywtpw2lN3DQm9/LGaMoyPYNLq+Xk9a6iAo=; b=Qv9XK0iudTCHeHIoeJxF71d2n19t1/Mx6hBNh0OkCTdp8N9Hm6djHGLFiNkf3lOAHOMICe UtFZfDX5yMGr4F200aZTw8ZLBUECzw9+G6s1FnAs8+9lQlcVrdIb5FbHTB2GSLfiZdtYW2 tGAsZNwEk4Uhs0nAMBQ7+twZ8M5LfsN1HzH0Qhb+uXWgPcsluXYSV8DFwG+UQCXh8QQ2q/ UsygBSbN4qJG8NTNmBY6ObLJ9OdmjzPdFFTQwupCXmxWvh3LKPmQJpVj+2HKXU4ZPi+3sh +xyWaeaWQoIyXRwxCOxaOT2f7bofPcnNUlWbY5YWCDhqldTfHQfbQp90szRPrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656051492; a=rsa-sha256; cv=none; b=gxSIV6s3+XvPC61wH8I1gQQRfwFZ2wLnMbLFk64RhMs3WnaaXq67LU2yfcvHdAJMLJr8cH OWAkYFG7J3VvLa6vH+KFNXrV+N05G+pBNb75xP/7STj8JsG+RMw+QFKU3urmkhF5ndS5hd Yz3IBodCxXOk6qu4Da99oI4xIlROxmXCl2UZvjZsHExuNj67Jqdgjt83NBnm82F06lPE/z xTgZckygsNh6g2bzmMQOCRUFL02/jyE3Nig+NXLE2cpBozSYyuerbwa+cvJlnkT4kUZDIF zDUPerlGwMFOuIkRiD12q9V1krTuF23DCDK0qW5FnPZP+a38+dibrMujo8Xpkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=I8cWsfAJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=I8cWsfAJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4E4CE2A210 X-Spam-Score: 4.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: CuTUsNyYgEeB Am Freitag, dem 24.06.2022 um 07:04 +0100 schrieb (: > * gnu/packages/c.scm (qbe): Update to 1.0. > --- >  gnu/packages/c.scm | 72 ++++++++++++++++++++++------------------------ >  1 file changed, 35 insertions(+), 37 deletions(-) > > diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm > index 3e49539473..2dc8adb895 100644 > --- a/gnu/packages/c.scm > +++ b/gnu/packages/c.scm > @@ -147,44 +147,42 @@ (define-public pcc >      (license (list license:bsd-2 license:bsd-3)))) >   >  (define-public qbe > -  (let ((commit "2caa26e388b1c904d2f12fb09f84df7e761d8331") > -        (revision "1")) > -    (package > -      (name "qbe") > -      (version (git-version "0.0" revision commit)) > -      (source (origin > -                (method git-fetch) > -                (uri (git-reference > -                      (url "git://c9x.me/qbe") > -                      (commit commit))) > -                (file-name (git-file-name name version)) > -                (sha256 > -                 (base32 > -                  > "1gv03ym0gqrl4wkbhysa82025xwrkr1fg44z814b6vnggwlqgljc")))) > -      (build-system gnu-build-system) > -      (arguments > -       (list #:make-flags > -             #~(list (string-append "CC=" #$(cc-for-target)) > -                     (string-append "PREFIX=" #$output)) > -             #:phases > -             #~(modify-phases %standard-phases > -                 (add-after 'unpack 'allow-cross-compilation > -                   (lambda _ > -                     (substitute* "Makefile" > -                       (("`uname -m`") #$(or (%current-target-system) > -                                             (%current-system)))))) > -                 (add-after 'allow-cross-compilation 'use-$CC-for- > tests > -                   (lambda _ > -                     (substitute* "tools/test.sh" > -                       (("cc=\"cc -no-pie\"") "cc=\"${CC} -no- > pie\"")))) > -                 (delete 'configure)))) > -      (supported-systems (list "x86_64-linux" "aarch64-linux" > "riscv64-linux")) > -      (synopsis "Simple compiler backend") > -      (description > -       "QBE is a small compiler backend using an SSA-based > intermediate > +  (package > +   (name "qbe") > +   (version "1.0") > +   (source (origin > +            (method git-fetch) > +            (uri (git-reference > +                  (url "git://c9x.me/qbe") > +                  (commit (string-append "v" version)))) > +            (file-name (git-file-name name version)) > +            (sha256 > +             (base32 > +              > "0qx4a3fjjrp2m4dsn19rpbjf89k9w7w7l09s96jx8vv15vzsdgis")))) > +   (build-system gnu-build-system) > +   (arguments > +    (list #:make-flags > +          #~(list (string-append "CC=" #$(cc-for-target)) > +                  (string-append "PREFIX=" #$output)) > +          #:phases > +          #~(modify-phases %standard-phases > +              (add-after 'unpack 'allow-cross-compilation > +                (lambda _ > +                  (substitute* "Makefile" > +                    (("`uname -m`") #$(or (%current-target-system) > +                                          (%current-system)))))) > +              (add-after 'allow-cross-compilation 'use-$CC-for-tests > +                (lambda _ > +                  (substitute* "tools/test.sh" > +                    (("cc=\"cc -no-pie\"") "cc=\"${CC} -no-pie\"")))) I'm pretty sure you can drop this phase as of [1]. Nice to know that Gentoo folk have our back. > +              (delete 'configure)))) > +   (supported-systems (list "x86_64-linux" "aarch64-linux" "riscv64- > linux")) > +   (synopsis "Simple compiler backend") > +   (description > +    "QBE is a small compiler backend using an SSA-based intermediate >  language as input.") > -      (home-page "https://c9x.me/compile/") > -      (license license:expat)))) > +   (home-page "https://c9x.me/compile/") > +   (license license:expat))) Otherwise LGTM. Cheers [1] https://c9x.me/git/qbe.git/commit/?id=2b451a28d8e98d5919e94dd611a8d9c66a9396af