From patchwork Sat Feb 5 00:08:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 37006 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 20E4C27BBEA; Sat, 5 Feb 2022 00:09:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5439927BBE9 for ; Sat, 5 Feb 2022 00:09:15 +0000 (GMT) Received: from localhost ([::1]:57208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG8de-00056a-Fz for patchwork@mira.cbaines.net; Fri, 04 Feb 2022 19:09:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG8dS-000569-SB for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nG8dS-0005q9-Iq for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nG8dS-00087Y-FD for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53609] [PATCH v2 1/4] gnu: Add perl-5.14. References: <8735l7hi2k.fsf@elephly.net> In-Reply-To: <8735l7hi2k.fsf@elephly.net> Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Feb 2022 00:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53609@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 53609-submit@debbugs.gnu.org id=B53609.164401971831158 (code B ref 53609); Sat, 05 Feb 2022 00:09:02 +0000 Received: (at 53609) by debbugs.gnu.org; 5 Feb 2022 00:08:38 +0000 Received: from localhost ([127.0.0.1]:33240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8d3-00086S-M1 for submit@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:38 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8d0-00086A-Aj for 53609@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:36 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1644019710; cv=none; d=zohomail.com; s=zohoarc; b=AOJUMZHDzgwIbMc49ovGQi1Y25X5RkHSLQ64sEEBZarY9+cg+x298CsF68hg2vFJk1Vqadb86E2XOj8a00PVz5Nocd7byzVLg/I5/FN5CvCMCfnaZulaGcY59xo03JPg2rvPkbdGJ7iSyOoSi9iWPfqe5c7/u0mnwpP+5LRTvuY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644019710; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=SvOYQ/NeSPALMqoremiy9p05uqfJhNZ4nwS0v2KQcss=; b=QBilVSNy1s5YCxiLoIFwW3I1iYUVeEBO1cNEfSYA5tpuLf6VVTrQvVaojK4GBg4ThUGINI9mFwM4OC9A+ntHhR420hGGcM93SV9Na21aDrcuyDQIMbtXGnzBsTKs+j7L5XEErRcnmELJ51z71FKBl3T/0/UWI06Pt6TO3kR9Wi0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1644019710; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=SvOYQ/NeSPALMqoremiy9p05uqfJhNZ4nwS0v2KQcss=; b=al6f5bDX+3h42kaTT6BT7b8oJvm+1xpB3JpMWTOEScKB7OaYN/sSfXoKh6OTxDQn Dr9RkvwTqWrSKOI2SdK6wgGXlX9Y+R8iaMVC7V2+dWrWzl22z/m413zTj5cs17c2GXn aqHKNESVQ5NbT4+zrOf64veyc68Ev/lHqqw/PTwo= Received: from localhost (p54ad4dac.dip0.t-ipconnect.de [84.173.77.172]) by mx.zohomail.com with SMTPS id 1644019708968898.1403322518346; Fri, 4 Feb 2022 16:08:28 -0800 (PST) From: Ricardo Wurmus Date: Sat, 5 Feb 2022 01:08:20 +0100 Message-Id: <20220205000823.2680-1-rekado@elephly.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-ZohoMailClient: External 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/perl.scm (perl-5.14): New variable. --- gnu/packages/perl.scm | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 069c2c6e2e..d6ca055147 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -65,6 +65,7 @@ (define-module (gnu packages perl) #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages gl) #:use-module (gnu packages gtk) @@ -258,6 +259,78 @@ (define-public perl (home-page "https://www.perl.org/") (license license:gpl1+))) ; or "Artistic" +(define-public perl-5.14 + (package + (name "perl") + (version "5.14.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/src/5.0/perl-" + version ".tar.gz")) + (sha256 + (base32 + "1js47zzna3v38fjnirf2vq6y0rjp8m86ysj5vagzgkig956d8gw0")) + (patches (search-patches + "perl-5.14-no-sys-dirs.patch" + "perl-5.14-autosplit-default-time.patch" + "perl-5.14-module-pluggable-search.patch")))) + (properties `((release-date . "2013-03-10"))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (libc (assoc-ref inputs "libc"))) + ;; Use the right path for `pwd'. + (substitute* "dist/Cwd/Cwd.pm" + (("/bin/pwd") + (which "pwd"))) + + (invoke "./Configure" + (string-append "-Dprefix=" out) + (string-append "-Dman1dir=" out "/share/man/man1") + (string-append "-Dman3dir=" out "/share/man/man3") + "-de" "-Dcc=gcc" + "-Uinstallusrbinperl" + "-Dinstallstyle=lib/perl5" + "-Duseshrplib" + (string-append "-Dlocincpth=" libc "/include") + (string-append "-Dloclibpth=" libc "/lib") + + ;; Force the library search path to contain only libc + ;; because it is recorded in Config.pm and + ;; Config_heavy.pl; we don't want to keep a reference + ;; to everything that's in $LIBRARY_PATH at build + ;; time (Binutils, bzip2, file, etc.) + (string-append "-Dlibpth=" libc "/lib") + (string-append "-Dplibpth=" libc "/lib"))))) + + (add-before 'strip 'make-shared-objects-writable + (lambda* (#:key outputs #:allow-other-keys) + ;; The 'lib/perl5' directory contains ~50 MiB of .so. Make them + ;; writable so that 'strip' actually strips them. + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib"))) + (for-each (lambda (dso) + (chmod dso #o755)) + (find-files lib "\\.so$")))))))) + (native-inputs + (list gcc-7)) + (native-search-paths (list (search-path-specification + (variable "PERL5LIB") + (files '("lib/perl5/site_perl"))))) + (home-page "https://www.perl.org/") + (synopsis "Implementation of the Perl programming language") + (description + "Perl is a general-purpose programming language originally developed for +text manipulation and now used for a wide range of tasks including system +administration, web development, network programming, GUI development, and +more.") + (license license:gpl1+))) + (define-public perl-algorithm-c3 (package (name "perl-algorithm-c3") From patchwork Sat Feb 5 00:08:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 37005 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DC94327BBEB; Sat, 5 Feb 2022 00:09:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6F51D27BBEA for ; Sat, 5 Feb 2022 00:09:15 +0000 (GMT) Received: from localhost ([::1]:57206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG8de-00056Z-IZ for patchwork@mira.cbaines.net; Fri, 04 Feb 2022 19:09:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG8dT-00056A-9K for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nG8dS-0005qE-Vb for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nG8dS-00087f-S2 for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53609] [PATCH v2 2/4] gnu: Add gcc-2.95-wrapper. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Feb 2022 00:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53609@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 53609-submit@debbugs.gnu.org id=B53609.164401971831164 (code B ref 53609); Sat, 05 Feb 2022 00:09:02 +0000 Received: (at 53609) by debbugs.gnu.org; 5 Feb 2022 00:08:38 +0000 Received: from localhost ([127.0.0.1]:33242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8d4-00086V-21 for submit@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:38 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8d2-00086L-Sx for 53609@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1644019714; cv=none; d=zohomail.com; s=zohoarc; b=bF96o/NCLr6/j7co4cjxCVWmFPYjwQBQHYRAeoKcMLWMZWsDi0PQ6OB/eR/O9pHSGCwEOkjVB6EQk251ncRr0KfPFI8tAWxbG+Buxm5Rs5O69LIh6iYpDa6Lu7G33nTB5XDOfIyAGNLo8qvCHmdo4jxwsnVou+Aj4PbEExig9b8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644019714; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sk7jDn/quwbUrg2CgjFygChAzjbYrp0uLrinhSYCg0E=; b=TCrYw/qJKa5cY4uDE8EZahcyyq2aY1X0Ru4aZT6gpqQEQ6SgjFhMKMkfXBMlIViLlBF9iT+HLhTawi+JHR4NJsY+zSqzOSOqeJXNUEp0yatj4I2lJkLzht1Y/2bcv6iRYE74OVJPdpv/+QXqjQzrvDTjRHctKRho3/P9+QKvGOw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1644019714; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=sk7jDn/quwbUrg2CgjFygChAzjbYrp0uLrinhSYCg0E=; b=XLz7O51LLwR5hMZ7bdo38hKUa4lxf4nEKa+03byy7jy8HTNPjyXZLun09vHZwQzN g4OUjp58SjtwdzzN2Rwg3l4cNA3WG3fLN2fD/LRosvT2/Skg7UG3TFqb97UrJevaicd 3heWxvGoC8mikYvaNcpuSvusiycbX8aK5X9FK9VE= Received: from localhost (p54ad4dac.dip0.t-ipconnect.de [84.173.77.172]) by mx.zohomail.com with SMTPS id 1644019712364348.5284699529093; Fri, 4 Feb 2022 16:08:32 -0800 (PST) From: Ricardo Wurmus Date: Sat, 5 Feb 2022 01:08:21 +0100 Message-Id: <20220205000823.2680-2-rekado@elephly.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220205000823.2680-1-rekado@elephly.net> References: <20220205000823.2680-1-rekado@elephly.net> MIME-Version: 1.0 X-ZohoMailClient: External 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/commencement.scm (gcc-2.95-wrapper): New variable. --- gnu/packages/commencement.scm | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 3fb4b2054f..6bbadff796 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2254,6 +2254,63 @@ (define gcc-mesboot1-wrapper (program (string-append bin "/gcc"))) (invoke program "--help"))))))))) +(define gcc-2.95-wrapper + ;; We need this so gcc-mesboot0 can be used to create shared binaries that + ;; have the correct interpreter, otherwise configuring gcc-mesboot using + ;; --enable-shared will fail. + (package + (inherit gcc-mesboot0) + (name "gcc-2.95-wrapper") + (source #f) + (inputs '()) + (native-inputs `(("bash" ,bash-mesboot) + ("coreutils" ,coreutils-mesboot0) + ("libc" ,glibc-2.2.5) + ("gcc" ,gcc-mesboot0))) + (arguments + `(#:implicit-inputs? #f + #:guile ,%bootstrap-guile + #:phases + (modify-phases %standard-phases + (delete 'unpack) + (delete 'configure) + (delete 'install) + (replace 'build + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bash (assoc-ref %build-inputs "bash")) + (libc (assoc-ref %build-inputs "libc")) + (gcc (assoc-ref %build-inputs "gcc")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (for-each + (lambda (program) + (let ((wrapper (string-append bin "/" program))) + (with-output-to-file wrapper + (lambda _ + (display (string-append "#! " bash "/bin/bash +exec " gcc "/bin/" program +" -Wl,--dynamic-linker" +;; also for x86_64-linux, we are still on i686-linux +" -Wl," libc ,(glibc-dynamic-linker "i686-linux") +" -Wl,--rpath" +" -Wl," libc "/lib" +" \"$@\" +")) + (chmod wrapper #o555))))) + '("cpp" + "gcc" + "g++" + "i686-unknown-linux-gnu-cpp" + "i686-unknown-linux-gnu-gcc" + "i686-unknown-linux-gnu-g++"))))) + (replace 'check + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (program (string-append bin "/gcc"))) + (invoke program "--help"))))))))) + (define gcc-mesboot (package (inherit gcc-mesboot1) From patchwork Sat Feb 5 00:08:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 37007 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 329B327BBEA; Sat, 5 Feb 2022 00:09:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 029EE27BBE9 for ; Sat, 5 Feb 2022 00:09:21 +0000 (GMT) Received: from localhost ([::1]:57636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG8dk-0005OR-7G for patchwork@mira.cbaines.net; Fri, 04 Feb 2022 19:09:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG8dT-00056H-K7 for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nG8dT-0005qO-BK for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nG8dT-00087m-7y for guix-patches@gnu.org; Fri, 04 Feb 2022 19:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53609] [PATCH v2 3/4] gnu: Add glibc-2.2.5. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Feb 2022 00:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53609@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 53609-submit@debbugs.gnu.org id=B53609.164401973531197 (code B ref 53609); Sat, 05 Feb 2022 00:09:03 +0000 Received: (at 53609) by debbugs.gnu.org; 5 Feb 2022 00:08:55 +0000 Received: from localhost ([127.0.0.1]:33246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8dL-000876-CC for submit@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:55 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG8d6-00086i-13 for 53609@debbugs.gnu.org; Fri, 04 Feb 2022 19:08:54 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1644019718; cv=none; d=zohomail.com; s=zohoarc; b=GadtBXxTI9fQh8kTcyskiRDJI4bmKnqUcIubkjmV6DnvdJS7U6GB82xg1ISj+G52ny5rCkE9F/maJiDXxQxicSLJOovzMfJQ8Dmw1mI4ea09mfKMFTTQSarLalmd222e9RKXxs3sgh2D6xr68ozEmwVdWvOZMeBH1PTL8dKp3Sk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644019718; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1E2F2KI/4m3I3BSviPOKcbwRA2o1R26NhMqhyE7h6+I=; b=RfG2CzhCOUYXbiamNIW7xLi/518+Tf6KAdlJikjYPM/SbJEOq2GVaSslOfJMaUxzS+BwSDpNlzbXuRY/QYj+uF/m74POwj6zVKv6r6n7Mh3YzCS9H/pjk5BKIghM0PsQ0JkC8NpfQR3kK0+5VJkW3PJq6csj8ARqizVY+P3zFhc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1644019717; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=1E2F2KI/4m3I3BSviPOKcbwRA2o1R26NhMqhyE7h6+I=; b=cGtkXrjAemWNk+3ZGdoMYGQmmk6Z6PeOd5+LUCtUj+dBs4UPK3+0RsW7u/2B/4Hg bH23WYR5inXtjjmSZCmDccpz5PfJAGDvtggPjqzYArD2TdbuALhJPU5Ycc/aCIeVjBX 36bCPwIsG/irmm9sesSL8OErkY5SrAGS2D4R9SdA= Received: from localhost (p54ad4dac.dip0.t-ipconnect.de [84.173.77.172]) by mx.zohomail.com with SMTPS id 16440197157071022.2390057333222; Fri, 4 Feb 2022 16:08:35 -0800 (PST) From: Ricardo Wurmus Date: Sat, 5 Feb 2022 01:08:22 +0100 Message-Id: <20220205000823.2680-3-rekado@elephly.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220205000823.2680-1-rekado@elephly.net> References: <20220205000823.2680-1-rekado@elephly.net> MIME-Version: 1.0 X-ZohoMailClient: External 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/commencement.scm (glibc-2.2.5): New variable. --- gnu/packages/commencement.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 6bbadff796..4f10b22e78 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3471,6 +3471,30 @@ (define glibc-final ,@(package-outputs glibc-final-with-bootstrap-bash)) ,@(package-arguments glibc-final-with-bootstrap-bash))))) +(define glibc-2.2.5 + (package/inherit + glibc-mesboot0 + (arguments + (substitute-keyword-arguments (package-arguments glibc-mesboot0) + ((#:configure-flags flags '()) + #~(let ((out (assoc-ref %outputs "out")) + (headers (assoc-ref %build-inputs "kernel-headers"))) + `("--enable-shared" + "--enable-static" + "--disable-sanity-checks" + "--build=i686-unknown-linux-gnu" + "--host=i686-unknown-linux-gnu" + ,(string-append "--with-headers=" headers "/include") + "--enable-static-nss" + "--without-__thread" + "--without-cvs" + "--without-gd" + "--without-tls" + ,(string-append "--prefix=" out)))))) + (propagated-inputs `(("kernel-headers" ,linux-libre-headers))) + (native-inputs + (alist-delete "kernel-headers" (%boot-mesboot1-inputs))))) + (define/system-dependent gcc-boot0-wrapped ;; Make the cross-tools GCC-BOOT0 and BINUTILS-BOOT0 available under the ;; non-cross names.