X-Loop: help-debbugs@HIDDEN Subject: bug#37523: Print hint if build fails due to invalid character in package source base name Resent-From: Hartmut Goebel <h.goebel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 26 Sep 2019 16:02:02 +0000 Resent-Message-ID: <handler.37523.B.15695137203067 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 37523 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 37523 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.15695137203067 (code B ref -1); Thu, 26 Sep 2019 16:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2019 16:02:00 +0000 Received: from localhost ([127.0.0.1]:44454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iDWDQ-0000n8-2f for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 12:02:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:60599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <h.goebel@HIDDEN>) id 1iDWDO-0000le-5a for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 12:01:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34255) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <h.goebel@HIDDEN>) id 1iDWDF-0003uk-5u for bug-guix@HIDDEN; Thu, 26 Sep 2019 12:01:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <h.goebel@HIDDEN>) id 1iDWDD-000302-4Q for bug-guix@HIDDEN; Thu, 26 Sep 2019 12:01:48 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <h.goebel@HIDDEN>) id 1iDWDC-0002ss-VL for bug-guix@HIDDEN; Thu, 26 Sep 2019 12:01:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46fKRp0nSHz1rKJp for <bug-guix@HIDDEN>; Thu, 26 Sep 2019 18:01:42 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46fKRp0gKPz1qqkL for <bug-guix@HIDDEN>; Thu, 26 Sep 2019 18:01:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ObEvKQvkU26F for <bug-guix@HIDDEN>; Thu, 26 Sep 2019 18:01:41 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-55-104.dynamic.mnet-online.de [188.174.55.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <bug-guix@HIDDEN>; Thu, 26 Sep 2019 18:01:41 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6A81E60084 for <bug-guix@HIDDEN>; Thu, 26 Sep 2019 18:04:24 +0200 (CEST) From: Hartmut Goebel <h.goebel@HIDDEN> Openpgp: preference=signencrypt Organization: crazy-compilers.com Message-ID: <80714a9a-b70d-8810-0f1b-606b8a6b8743@HIDDEN> Date: Thu, 26 Sep 2019 18:01:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Followup to <http://issues.guix.gnu.org/issue/26175#4>: guix shall print a hint if building fails due to the package source base name containing a character invalid in a store filename (e.g. "@" or "%")= . Currently, when building such a package, one gets an error message like: guix build: error: invalid character `@' in name `kde-l10n-ca@HIDDEN' guix build should catch this error and print a hint like: You may add a =E2=80=98file-name=E2=80=99 field to the package source to = work around this. Ludovic Court=C3=A8s wrote on Sun Sep 08 22:07:10+0200 2019 > Unfortunately it cannot really be caught. I mean, you could catch > =E2=80=98&store-protocol-error=E2=80=99 error conditions, but then the = error message is > just a string, there=E2=80=99s no error code you can compare against. Example package raising this error: (use-modules (guix packages) (guix download) (guix build-system gnu)) (package =C2=A0 (name "kde-l10n-ca-valencia") =C2=A0 (version "14.11.80") =C2=A0 (source =C2=A0=C2=A0 (origin =C2=A0=C2=A0=C2=A0=C2=A0 (method url-fetch) =C2=A0=C2=A0=C2=A0=C2=A0 (uri (string-append "mirror://kde//Attic/applica= tions/" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ver= sion "/src/kde-l10n/" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "kd= e-l10n-ca@valencia-" version ".tar.xz")) =C2=A0=C2=A0=C2=A0=C2=A0 (sha256 (base32 "1mqadassxcm0m9r1l02m5vr4bbandn48xz8gifvxmb4wiz8i8d0w")))) =C2=A0 (build-system gnu-build-system) =C2=A0 (synopsis "") (description "") (license "") (home-page "")) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@HIDDEN | | www.crazy-compilers.com | compilers which you thought are impossible |
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Hartmut Goebel <h.goebel@HIDDEN> Subject: bug#37523: Acknowledgement (Print hint if build fails due to invalid character in package source base name) Message-ID: <handler.37523.B.15695137203067.ack <at> debbugs.gnu.org> References: <80714a9a-b70d-8810-0f1b-606b8a6b8743@HIDDEN> X-Gnu-PR-Message: ack 37523 X-Gnu-PR-Package: guix Reply-To: 37523 <at> debbugs.gnu.org Date: Thu, 26 Sep 2019 16:02:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 37523 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 37523: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37523 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.