From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 18:02:22 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 22:02:22 +0000 Received: from localhost ([127.0.0.1]:60748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIJ1q-0004lR-Az for submit@debbugs.gnu.org; Tue, 15 Sep 2020 18:02:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:58166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIJ1n-0004lI-Ld for submit@debbugs.gnu.org; Tue, 15 Sep 2020 18:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIJ1n-0006yk-Ck for bug-guix@gnu.org; Tue, 15 Sep 2020 18:02:19 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:40179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIJ1k-0006UJ-TQ for bug-guix@gnu.org; Tue, 15 Sep 2020 18:02:19 -0400 Received: by mail-wr1-x431.google.com with SMTP id j2so4837513wrx.7 for ; Tue, 15 Sep 2020 15:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=n6hqMT6MFHFQgxIsPj00MI+x+wL+WHFT+PBUhUH0Kik=; b=NWX4vGfANJXka1kdnqe2tY/SG+Kpxv7fCVaCiq/sbBdkQ2on20dLoiSqpReBdznClI c4hRddY6NqJEs9aai4zKGIomwPdZVtbLE4X06zjiXNbZsTQ+tDB2meuuY6mnNPFkLEk/ 056yO4swSQrXq8I3uXkcwSgMFQBTuaPzkGF5NyMTHl3UsmCD2GfqzgD/sNLn98cGU378 kdxcM/796AxsELK/yn+OFrkv35Cev1bNXAtCNrsnDhqTvw3ddaOb4DRCMEDJ8OD5Sb5F d/fYoqo7T8KO4hA6hlSf3ALqx8pK5nagvs/J+tS/SYILbbrHX17vvFreL4pO3IwsM9mx 6zGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=n6hqMT6MFHFQgxIsPj00MI+x+wL+WHFT+PBUhUH0Kik=; b=riS942MlD/2J72ydfK5N/dvu72K93UprBn0zD6U1ecXrnr5YAmJZtymlhK/YWIhgQk YDK/BTSCM0ECKcdpHGCn4V2KkOznh+oAqFfKCgFYfRk/mSWJkIHDA5rnhnrOFKuV3RYf 85qiUzIGEINCTs2Fim0omBPUDztH4deJd0n0jzBaSOVd422xaVOCHBMvUHhqJOs2dl/o b0Pjri0eHHJ4W8d89z5XIRfI5HGDERk25olr2r0DQDXBVYKOIcS1Ogdeljeh1lZTTxB7 TbPHR6Ofw3YIeWYNjkGSCwLAr0kMP13IrC8OroZx29gdhWYkdwHa7uig6d637VK5yHK6 tCDg== X-Gm-Message-State: AOAM5338bmtaDemW8NEKBwo/wK1ZtUZDHj4bf/uH+1kV7u9XzT5XoLoQ 0abb+aaJRvAla03bMAsANJedQ8CBEXQ= X-Google-Smtp-Source: ABdhPJypcjiOLUQOeSBQpRdc3slUl0JfmkL7yzNq/sCEs+xRA7sBahBlR5e1Xyg2FVMdGQ4hCXLj5A== X-Received: by 2002:a5d:67d2:: with SMTP id n18mr23248192wrw.223.1600207334741; Tue, 15 Sep 2020 15:02:14 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id t203sm1494109wmg.43.2020.09.15.15.02.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 15:02:14 -0700 (PDT) From: zimoun To: bug-guix@gnu.org Subject: bootstrap (bash-mesboot0) and =?utf-8?Q?=E2=80=99make_release?= =?utf-8?Q?=E2=80=99?= error Date: Wed, 16 Sep 2020 00:02:11 +0200 Message-ID: <86ft7izokc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Dear, Reading the release document [1] and going step by step, so I start from a fresh worktree and branch and I tweak a bit (maybe I am doing wrong) otherwise it fails: ./bootstrap && ./configure --localstatedir=3D/var/ make make GUIX_MAINTENANCE_DIRECTORY=3D../../maintenance update-NEWS make doc-pot-update then the target and the error: --8<---------------cut here---------------start------------->8--- $ make release [...] make[4]: Leaving directory '/home/simon/src/guix/wk/rel/po/packages' make \ top_distdir=3D"guix-1.0.1.22205-a8360-dirty" distdir=3D"guix-1.0.1.22205-= a8360-dirty" \ dist-info dist-hook make[4]: Entering directory '/home/simon/src/guix/wk/rel' GEN gen-ChangeLog GEN gen-AUTHORS echo 1.0.1.22205-a8360-dirty > "guix-1.0.1.22205-a8360-dirty/.tarball-versi= on" guix-1.0.1.22205-a8360-dirty/gnu/packages/commencement.scm:// /gnu/store/cq= 0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error= : 'sigprocmask' defined twice error: store file names embedded in the distribution make[4]: *** [Makefile:6335: assert-no-store-file-names] Error 1 --8<---------------cut here---------------end--------------->8--- The checkout is based on commit a8360892d7. On IRC [2], it rings a bell. :-) The error should come from =E2=80=99bash-mesboot0=E2=80=99 in (gnu packages commencement) at the =E2= =80=99modify-phases=E2=80=99 [3]: --8<---------------cut here---------------start------------->8--- (add-after 'configure 'configure-fixups (lambda _ (substitute* "config.h" (("#define GETCWD_BROKEN 1") "#undef GETCWD_BROKEN")) (let ((config.h (open-file "config.h" "a"))) (display (string-append " // tcc: error: undefined symbol 'enable_hostname_completion' #define enable_hostname_completion(on_or_off) 0 // /gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/l= ib/libc.a: error: 'sigprocmask' defined twice #define HAVE_POSIX_SIGNALS 1 #define endpwent(x) 0 ") config.h) (close config.h)) #t)) --8<---------------cut here---------------end--------------->8--- Let indicate me how to investigate, I have no clue. :-) All the best, simon [1]: [2]: [3] From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 02:13:59 2020 Received: (at 43435) by debbugs.gnu.org; 16 Sep 2020 06:13:59 +0000 Received: from localhost ([127.0.0.1]:32975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIQhX-00020N-R9 for submit@debbugs.gnu.org; Wed, 16 Sep 2020 02:13:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIQhW-00020A-1V for 43435@debbugs.gnu.org; Wed, 16 Sep 2020 02:13:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34491) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIQhN-0005gg-Sa; Wed, 16 Sep 2020 02:13:45 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=53844 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIQhN-0003Ml-CM; Wed, 16 Sep 2020 02:13:45 -0400 From: Jan Nieuwenhuizen To: zimoun Subject: Re: bug#43435: bootstrap (bash-mesboot0) and =?utf-8?Q?=E2=80=99m?= =?utf-8?Q?ake_release=E2=80=99?= error Organization: AvatarAcademy.nl References: <86ft7izokc.fsf@gmail.com> X-Url: http://AvatarAcademy.nl Date: Wed, 16 Sep 2020 08:13:11 +0200 In-Reply-To: <86ft7izokc.fsf@gmail.com> (zimoun's message of "Wed, 16 Sep 2020 00:02:11 +0200") Message-ID: <87lfhal05k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43435 Cc: 43435@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zimoun writes: Hello zimoun! > Reading the release document [1] and going step by step, so I start from > a fresh worktree and branch and I tweak a bit (maybe I am doing wrong) > otherwise it fails: [..] > guix-1.0.1.22205-a8360-dirty/gnu/packages/commencement.scm:// /gnu/store/= cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: err= or: 'sigprocmask' defined twice > error: store file names embedded in the distribution > make[4]: *** [Makefile:6335: assert-no-store-file-names] Error 1 So, this =E2=80=99assert-no-store-file-names=E2=80=99 check in Makefile.am = greps for -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; which is really meant for source code; to catch the use of hardcoded store file names. Unfortunately, however ... [..] > On IRC [2], it rings a bell. :-) The error should come from > =E2=80=99bash-mesboot0=E2=80=99 in (gnu packages commencement) at the =E2= =80=99modify-phases=E2=80=99 > [3]: > > (add-after 'configure 'configure-fixups > (lambda _ > (substitute* "config.h" > (("#define GETCWD_BROKEN 1") "#undef GETCWD_BROKEN")) > (let ((config.h (open-file "config.h" "a"))) > (display (string-append " > // tcc: error: undefined symbol 'enable_hostname_completion' > #define enable_hostname_completion(on_or_off) 0 > > // /gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a= /lib/libc.a: error: 'sigprocmask' defined twice a commented store file name was added inside a code snippet. Changing this comment to something like // /gnu/store/...-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error: 'sigpro= cmask' defined twice would pass the check, but this triggers a rebuld world. So I am proposing the attached patch that breaks the comment to pass the check, and using unquoted string-append to avoid a world rebuild. Greetings, Janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-commencement-bash-mesboot0-Break-store-file-name.patch Content-Transfer-Encoding: quoted-printable >From 7256bae0eebbec22c42a482ccfdf12fd8b874188 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Wed, 16 Sep 2020 06:57:51 +0200 Subject: [PATCH] gnu: commencement: bash-mesboot0: Break store file-name in comment. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=3DUTF-8 This fixes running =E2=80=98make release=E2=80=99. * gnu/packages/commencement.scm (bash-mesboot0)[arguments]: Break store file name in commend and add unquoted string-append to silence store file name check. The store file name check is meant for code, this file name was unfortunately used is a comment. --- gnu/packages/commencement.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 565799c611..8a0864f26a 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -788,14 +788,17 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\" (substitute* "config.h" (("#define GETCWD_BROKEN 1") "#undef GETCWD_BROKEN")) (let ((config.h (open-file "config.h" "a"))) - (display (string-append " + (display (string-append + ;; XXX TODO: remove nested ,(string-append ...) a= nd + ;; store file name on next rebuild cycle + ,(string-append " // tcc: error: undefined symbol 'enable_hostname_completion' #define enable_hostname_completion(on_or_off) 0 =20 -// /gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/= lib/libc.a: error: 'sigprocmask' defined twice +// /gnu/store/" "cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e= 9a/lib/libc.a: error: 'sigprocmask' defined twice #define HAVE_POSIX_SIGNALS 1 #define endpwent(x) 0 -") +")) config.h) (close config.h)) #t)) --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 07:12:01 2020 Received: (at 43435-done) by debbugs.gnu.org; 16 Sep 2020 11:12:01 +0000 Received: from localhost ([127.0.0.1]:33371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVM1-0001G0-I9 for submit@debbugs.gnu.org; Wed, 16 Sep 2020 07:12:01 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:41407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVM0-0001Fn-DT for 43435-done@debbugs.gnu.org; Wed, 16 Sep 2020 07:12:00 -0400 Received: by mail-wr1-f42.google.com with SMTP id w5so6450513wrp.8 for <43435-done@debbugs.gnu.org>; Wed, 16 Sep 2020 04:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=QI2vFBFLc7FQqnVE+37J4mmLvgfmx3cIK5h/AbK4Udw=; b=lqB19I2b89VYG9WPSjj1LcLUxZJazVFz3i3qGS1u2cwxYRKHmWDzUyAYfl0Ma/fZTP Fe1W+6LyBG9uH8hs4S+AX1VsP7ZtNnALuzFWmgnc6IDZbv4YLB98xSvZTd+thCiTmoFE 5k6vJIbJZtlKYvR5wJ+BL5y3hw9+ixCZ350bpMenrCaiaHkOV6H2P1PC3fHpowgi5Nn/ xaFCwdnBCxekzI8pFKnc0+SM630xK7Fmm8ArcLsFGHMlWmo/asjXZBw9dtqxCkaQQqrc +Gyld7qBACo1PnRiuvsiFc6KIjWh+aZq1Z1cJai70SOPIFsjj3QFhe+XCbkOVsHtKq5+ E1uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=QI2vFBFLc7FQqnVE+37J4mmLvgfmx3cIK5h/AbK4Udw=; b=NHiBa4h+Os+u4u6gGBbLHOUVDIDVP4hDdymnl2Y1FODb/oIrMH7T9PClaQc9b4fRln 2g0Z5cP4zfW7RwYoPamEIN+P+cDTbc/NWzEBgNEDhqd2IR3ciFzC0MzVcunrtAwE/dVH 3B+Qsf+tjDD1oTfhmgmCxty5hr/wTIk/n9KAfs5Yd+Mkav6HugrsafwVA2KlepknsswD m5RD07mPNhYMwxi38wJS/4r5B228wtZUYaKI5Ic48nSCTgnU/9CX3wmkKNSVwAO3qNBn iWh5x2uFUXiGCYj3pnGx8Ih40q9j+FFkfiYgqAxzkrMWN1XcWm58CWqIr79kR8I19ZSO LnJg== X-Gm-Message-State: AOAM531RPihB/+S3q2PdAdBp/HOBTz1veNBJeQ5jgDlOR+chBh/XomBJ AZn+8uPEsMKSp6pyQ6paeld4+kH7gSrckQ== X-Google-Smtp-Source: ABdhPJxOQEl2mm8EVtC8So38dzvGsDJVETn47hBLlVxOHVp2fQNlIpWfCOcGitqTI0IurV9ZlFyGvQ== X-Received: by 2002:a5d:56c1:: with SMTP id m1mr25137758wrw.87.1600254714283; Wed, 16 Sep 2020 04:11:54 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c16sm2344239wrx.31.2020.09.16.04.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 04:11:53 -0700 (PDT) From: zimoun To: Jan Nieuwenhuizen Subject: Re: bug#43435: bootstrap (bash-mesboot0) and =?utf-8?Q?=E2=80=99m?= =?utf-8?Q?ake_release=E2=80=99?= error In-Reply-To: <87lfhal05k.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Wed, 16 Sep 2020 08:13:11 +0200") References: <86ft7izokc.fsf@gmail.com> <87lfhal05k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Wed, 16 Sep 2020 13:11:40 +0200 Message-ID: <87363iq8lv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43435-done Cc: 43435-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi janneke, On Wed, 16 Sep 2020 at 08:13, Jan Nieuwenhuizen wrote: > a commented store file name was added inside a code snippet. Changing > this comment to something like > > // /gnu/store/...-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error: 'sigprocmask' defined twice > > would pass the check, but this triggers a rebuld world. So I am > proposing the attached patch that breaks the comment to pass the check, > and using unquoted string-append to avoid a world rebuild. Thank you for explaining and the patch. As you noticed, it seems a duplicate of bug #43005 and the fix had been pushed to master as b85863f7ce99d05205e57358b36ff50656cca08b. Closing. All the best, simon From unknown Sun Jun 22 03:57:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Oct 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator