GNU bug report logs - #34207
grantlee fails to build

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ricardo Wurmus <rekado@HIDDEN>; dated Sat, 26 Jan 2019 11:03:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 11:02:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 26 06:02:58 2019
Received: from localhost ([127.0.0.1]:45852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gnLjl-0000iS-PJ
	for submit <at> 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 <rekado@HIDDEN>) id 1gnLjj-0000iF-0Y
 for submit <at> 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 <rekado@HIDDEN>) id 1gnLjd-0001TD-Q6
 for submit <at> 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 <rekado@HIDDEN>) id 1gnLjc-00036N-TW
 for bug-guix@HIDDEN; 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 <rekado@HIDDEN>) id 1gnLjc-0001SA-6F
 for bug-guix@HIDDEN; 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 <rekado@HIDDEN>) id 1gnLjb-0001Qg-BH
 for bug-guix@HIDDEN; 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@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548499650; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 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 <rekado@HIDDEN>
To: bug-guix@HIDDEN
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@HIDDEN>
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 <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: -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





Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34207; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.