From unknown Tue Jun 17 01:47:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34207: grantlee fails to build Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Jan 2019 11:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34207 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 34207@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15485005782762 (code B ref -1); Sat, 26 Jan 2019 11:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 11:02:58 +0000 Received: from localhost ([127.0.0.1]:45852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLjl-0000iS-PJ for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLjj-0000iF-0Y for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:45365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnLjd-0001TD-Q6 for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnLjc-00036N-TW for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnLjc-0001SA-6F for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:48 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnLjb-0001Qg-BH for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:48 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548499650; cv=none; d=zoho.com; s=zohoarc; b=aTY9kQ5Nvar/DWbQVehKwUIUfCDxQPKB6R0Noui9QrsaDdx50onmeQqBTh8rZZ78Z+yVkueTsRJ/2pxtwNPLv53JomPkMoEu+4hRpS97kBcIalnmOzUSHpT+ejxWz0Wi0NJ1b3djB0iHVqOFqeQfNELqHT7wVeFCjUovagCSseo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548499650; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=6i0aC/iYsBiFr5W5nZ2iBlefwnwBUcWl4MezWYguDG8=; b=M4FUXcQln9Toi3GAaiAquoQ2VUBOb+Me6LgZgGl67HVu+8RWK32YDJ1ocCtXn3AJEDaczMO0xLej3getPdutnf0YZVUtPQ376u4n7cuKYiqLv10F26i/aaVTcBSvV4L5sm5d/yueGVse1uGWw9YisUiiyk/F6FQXPn4Kg28qjGs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548499650; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1654; bh=6i0aC/iYsBiFr5W5nZ2iBlefwnwBUcWl4MezWYguDG8=; b=ZUwk+6+UT2Asbk/3D8kCK5KETDMivwcNEzh2XwACZPejVs88/S2961nhqNiNlcPG KVZzKYa+Tj6R4PUI/+LL7f90uyyjza4m5lphV7R+9M7wsnvCz4BmM2i/5zCskrs8rDJ 7xo6ccxTfbP//Y84SeT4M1KxhgcGZDkOcSWinJrc= Received: from localhost (p578E729F.dip0.t-ipconnect.de [87.142.114.159]) by mx.zohomail.com with SMTPS id 1548499647527504.2008510116643; Sat, 26 Jan 2019 02:47:27 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 26 Jan 2019 11:47:23 +0100 Message-ID: <87a7jnvgp0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) 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: -0.0 (/) Grantlee has two test failures: --8<---------------cut here---------------start------------->8--- FAIL! : TestFilters::testDateBasedFilters(date01) Compared values are not = the same Actual (result): "" Expected (output): "01" Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/test= s/testfilters.cpp(117)] FAIL! : TestFilters::testDateBasedFilters(date02) Compared values are not = the same Actual (result): "" Expected (output): "Jan. 1, 2008" Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/test= s/testfilters.cpp(117)] --8<---------------cut here---------------end--------------->8--- The tests in templates/tests/testfilters.cpp look like this: --8<---------------cut here---------------start------------->8--- Dict dict; =E2=80=A6 QDateTime d(QDate(2008, 1, 1)); dict.clear(); dict.insert(QStringLiteral("d"), d); QTest::newRow("date01") << "{{ d|date:\"MM\" }}" << dict << QStringLiteral("01") << NoError; QTest::newRow("date02") << QStringLiteral("{{ d|date }}") << dict << d.toString(QStringLiteral("MMM. d, yyyy")) << NoError; --8<---------------cut here---------------end--------------->8--- The following test for =E2=80=9Cdate03=E2=80=9D passes: --8<---------------cut here---------------start------------->8--- dict.insert(QStringLiteral("d"), QStringLiteral("fail_string")); QTest::newRow("date03") << "{{ d|date:\"MM\" }}" << dict << QString() << NoError; --8<---------------cut here---------------end--------------->8--- IIUC this means: some non-date is injected and the template resulted in the empty string. -- Ricardo From unknown Tue Jun 17 01:47:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#34207: closed (Closing) Message-ID: References: <20200905204833.GB24809@jurong> <87a7jnvgp0.fsf@elephly.net> X-Gnu-PR-Message: they-closed 34207 X-Gnu-PR-Package: guix Reply-To: 34207@debbugs.gnu.org Date: Sat, 05 Sep 2020 20:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1599338942-14464-1" This is a multi-part message in MIME format... ------------=_1599338942-14464-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34207: grantlee fails to build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34207@debbugs.gnu.org. --=20 34207: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34207 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1599338942-14464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34207-done) by debbugs.gnu.org; 5 Sep 2020 20:48:50 +0000 Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEf7C-0003kv-0Y for submit@debbugs.gnu.org; Sat, 05 Sep 2020 16:48:50 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:37740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEf79-0003km-Th for 34207-done@debbugs.gnu.org; Sat, 05 Sep 2020 16:48:48 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 58675CF76; Sat, 5 Sep 2020 22:48:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jrdaOK2xm6B5; Sat, 5 Sep 2020 22:48:46 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::610]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9FF82CF73; Sat, 5 Sep 2020 22:48:46 +0200 (CEST) Date: Sat, 5 Sep 2020 22:48:33 +0200 From: Andreas Enge To: 34207-done@debbugs.gnu.org Subject: Closing Message-ID: <20200905204833.GB24809@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 34207-done 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: -0.3 (/) grantlee-5.2.0 is served as a substitute, so the problem is apparently solved. Closing. Andreas ------------=_1599338942-14464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 11:02:58 +0000 Received: from localhost ([127.0.0.1]:45852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLjl-0000iS-PJ for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLjj-0000iF-0Y for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:45365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnLjd-0001TD-Q6 for submit@debbugs.gnu.org; Sat, 26 Jan 2019 06:02:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnLjc-00036N-TW for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnLjc-0001SA-6F for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:48 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnLjb-0001Qg-BH for bug-guix@gnu.org; Sat, 26 Jan 2019 06:02:48 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548499650; cv=none; d=zoho.com; s=zohoarc; b=aTY9kQ5Nvar/DWbQVehKwUIUfCDxQPKB6R0Noui9QrsaDdx50onmeQqBTh8rZZ78Z+yVkueTsRJ/2pxtwNPLv53JomPkMoEu+4hRpS97kBcIalnmOzUSHpT+ejxWz0Wi0NJ1b3djB0iHVqOFqeQfNELqHT7wVeFCjUovagCSseo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548499650; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=6i0aC/iYsBiFr5W5nZ2iBlefwnwBUcWl4MezWYguDG8=; b=M4FUXcQln9Toi3GAaiAquoQ2VUBOb+Me6LgZgGl67HVu+8RWK32YDJ1ocCtXn3AJEDaczMO0xLej3getPdutnf0YZVUtPQ376u4n7cuKYiqLv10F26i/aaVTcBSvV4L5sm5d/yueGVse1uGWw9YisUiiyk/F6FQXPn4Kg28qjGs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548499650; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1654; bh=6i0aC/iYsBiFr5W5nZ2iBlefwnwBUcWl4MezWYguDG8=; b=ZUwk+6+UT2Asbk/3D8kCK5KETDMivwcNEzh2XwACZPejVs88/S2961nhqNiNlcPG KVZzKYa+Tj6R4PUI/+LL7f90uyyjza4m5lphV7R+9M7wsnvCz4BmM2i/5zCskrs8rDJ 7xo6ccxTfbP//Y84SeT4M1KxhgcGZDkOcSWinJrc= Received: from localhost (p578E729F.dip0.t-ipconnect.de [87.142.114.159]) by mx.zohomail.com with SMTPS id 1548499647527504.2008510116643; Sat, 26 Jan 2019 02:47:27 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: grantlee fails to build X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 26 Jan 2019 11:47:23 +0100 Message-ID: <87a7jnvgp0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) 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: -0.0 (/) Grantlee has two test failures: --8<---------------cut here---------------start------------->8--- FAIL! : TestFilters::testDateBasedFilters(date01) Compared values are not = the same Actual (result): "" Expected (output): "01" Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/test= s/testfilters.cpp(117)] FAIL! : TestFilters::testDateBasedFilters(date02) Compared values are not = the same Actual (result): "" Expected (output): "Jan. 1, 2008" Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/test= s/testfilters.cpp(117)] --8<---------------cut here---------------end--------------->8--- The tests in templates/tests/testfilters.cpp look like this: --8<---------------cut here---------------start------------->8--- Dict dict; =E2=80=A6 QDateTime d(QDate(2008, 1, 1)); dict.clear(); dict.insert(QStringLiteral("d"), d); QTest::newRow("date01") << "{{ d|date:\"MM\" }}" << dict << QStringLiteral("01") << NoError; QTest::newRow("date02") << QStringLiteral("{{ d|date }}") << dict << d.toString(QStringLiteral("MMM. d, yyyy")) << NoError; --8<---------------cut here---------------end--------------->8--- The following test for =E2=80=9Cdate03=E2=80=9D passes: --8<---------------cut here---------------start------------->8--- dict.insert(QStringLiteral("d"), QStringLiteral("fail_string")); QTest::newRow("date03") << "{{ d|date:\"MM\" }}" << dict << QString() << NoError; --8<---------------cut here---------------end--------------->8--- IIUC this means: some non-date is injected and the template resulted in the empty string. -- Ricardo ------------=_1599338942-14464-1--