From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uInTAwOXx2DDnwAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 19:50:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2D3wOgKXx2CzBgAAB5/wlQ (envelope-from ) for ; Mon, 14 Jun 2021 17:50:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACFE4B470 for ; Mon, 14 Jun 2021 19:50:58 +0200 (CEST) Received: from localhost ([::1]:55046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsqjh-0003Xx-LN for larch@yhetil.org; Mon, 14 Jun 2021 13:50:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsqjK-0003Xl-UE for guix-devel@gnu.org; Mon, 14 Jun 2021 13:50:34 -0400 Received: from ns13.heimat.it ([46.4.214.66]:44010) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsqjI-0007IL-CQ for guix-devel@gnu.org; Mon, 14 Jun 2021 13:50:34 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 5C4913021BA for ; Mon, 14 Jun 2021 17:50:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id brcZojAyJtMF for ; Mon, 14 Jun 2021 17:50:07 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id BCC0F3021B7 for ; Mon, 14 Jun 2021 17:50:07 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 2A88CFDFB1E for ; Mon, 14 Jun 2021 19:50:07 +0200 (CEST) Received: (nullmailer pid 8071 invoked by uid 1000); Mon, 14 Jun 2021 17:50:06 -0000 From: Giovanni Biscuolo To: guix-devel@gnu.org Subject: problem with ruby-taskjuggler packaging and timezone Organization: Xelera.eu Date: Mon, 14 Jun 2021 19:50:06 +0200 Message-ID: <87y2bcnxo1.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623693058; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=BTLwYjeG6XO0ehVg1jvDyAieeT8NGvGVww1tBioIM8g=; b=GpLRLyFjqDHAvyaMOYV6cUxorO2IlSNt7gO2ugW+4BH4TzgCmDsvIsPwZaHSt3Y6jCuKkO gAJpaQ7mfJAvTTio8hkavDfL6xYyOqOTqCT0jD3mpdIfX3m2mW2Bbrsluk6FPW2hZYAxaM BcAtZD7Qp2yYKngnImyV+CHx640pZQ2BAPyePiQjwWT6xa4Qvut7FCf+yvMVqYg6CqapJf CN48rjmvl/lLCAr52p6MGUPRXHtrqvNd/IOntZeDYT7j6fygMUPonNbWDnvtgrO7uydZip gvHeFbOHpVc1P1llZz35UDDPQvQC2dR1GaJu9EElfRc/NE5+4DYzU7Og1cXB3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623693058; a=rsa-sha256; cv=none; b=QVnkV10GkTseLUp0VT/DkG29HUiXSSgNpaZ3zfU/q9Gz+NzanH+oiXI+MwuY9gWkznf1mo kY+MDKCE4Oo6VaCDKCT8bVdJJ+Szoz9y3QcIXN5rIFV/jBGZQr9kA8VGsbneZTaeE9Fjqd bTeYHwTdFaecehKDZJoGs/Nhf+gi0NM2SYucS3othaAv4glhw7CG1KhNeD0y0ayYR7BBn3 WcDmyhKr2YEltsGjwicCRTatmjGJCGiiZpaGYdhgCHJh+eptx1rglOOqnz2CWrGIoWZz0Y mklAubbApY/rY5Q6/gPGaJrkKPRdrXqyWdElx7zdcfRrDNBWPMz5GiOR4dLD3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: ACFE4B470 X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: F16OHysgQvyt --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guix! I'm packaging ruby-taskjuggler (I'll provide a patch series as soon as I get to fix this bug), this is the package definition: =2D-8<---------------cut here---------------start------------->8--- (define-public ruby-taskjuggler (package (name "ruby-taskjuggler") (version "3.7.1") (source (origin (method url-fetch) (uri (rubygems-uri "taskjuggler" version)) (sha256 (base32 "1jrsajzhzpnfa8hj6lbf7adn8hls56dz3yw1gvzgz9y4zkka3k9v")))) (build-system ruby-build-system) (inputs `(("tzdata" ,tzdata))) (propagated-inputs `(("ruby-mail" ,ruby-mail) ("ruby-term-ansicolor" ,ruby-term-ansicolor))) (arguments '(#:phases (modify-phases %standard-phases (replace 'replace-git-ls-files (lambda _ (substitute* "tasks/rdoc.rake" (("`git ls-files -- lib`") "`find lib/ -type f |sort`")) #t)) (add-before 'check 'tzdir-setup (lambda* (#:key inputs #:allow-other-keys) (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")) #t)) (add-before 'check 'delete-test-BatchProcessor ;; test_BatchProcessor fails with exeption: ;; run> terminated with exception (report_on_exception = is true) (lambda _ (delete-file "test/test_BatchProcessor.rb") #t))))) (synopsis "Project management command line tool with a domain specific language") (description "TaskJuggler (tj3) is a project management command line tool for proje= ct planning and tracking. You plan and track your projects using a domain specific language, projects are plain text files written using your favouri= te text editor. It includes customizable reporting tools to publish HTML, CSV= or iCalendar reports and an email based status tracking system to generate and process time sheets. It covers the complete spectrum of project management tasks from the first idea to the completion of the project. It assists you during project scopi= ng, resource assignment, cost and revenue planning, risk and communication management, status tracking and reporting.") (home-page "https://taskjuggler.org") (license license:gpl2))) =2D-8<---------------cut here---------------end--------------->8--- The derivation is succesfully built, tests included (except the removed one) but if I run the program with a test file I get problems with the timezone: =2D-8<---------------cut here---------------start------------->8--- giovanni@roquette: tj3 -o project-001 project-001.tjp=20 ./acme-includes/project-defaults.tji:3: Error: Europe/Rome is not a known t= ime zone timezone 'Europe/Rome' =2D-8<---------------cut here---------------end--------------->8--- I can use any timezone but UTC and the result is always the same. The strange thing is that timezones are tested at build time but they seems missing at runtime. Please any hint on what I'm doing wrong? Thanks! Gio' P.S.: for the package to be compiled ruby-term-ansicolor must be upgraded to 1.7.1=20 =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmDHls4MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkS5IsP/jDBYrjsFBTuQ0FC+aaidHKXCqpmRckCBDXT/VVZ K7L3APDNk16OoRysI+44GYJ1xlXtxPI3ELjo+Gw0oN3EN2UKZAy3wmvpD/4PiOpO 5GEi4u/UXd4cL/yxTJPxDJVB9CUwrczmtpbT2aJPTVAvL34Z0iPJkkmixPCskQmG ODKA2B6LH71bzPZflHvcT53uYVrwnVxGIUF6S2cM/ZQxAwKUv7LK4QSjlxWvOUMZ ENMQtvVCjTwV9e+f+5uA4wKU0jBgpG51jVxDbV29fp1RTAf3LjjBA9b09lpL1pwe ELjczbqEm4BqxVHzcKKagfS1stMoI76qJ09JxKE0X7UQA6RD0qo2gZ8qhKGwZX17 +XN6L+lSO4OMQFCKJwDJjdn528yO7URncNACjv23+1sSw85SXTdPrd/3B4bYptLm KZJykclm+ntJasze8psHhSEjjGB++k5GII5rvPyi82tG2UA1bYiMIW0Itd4OqxZz RyzGoZ9I1TZeWmCG8/DfjIAads4q4b4rwbOVuiInmzvvm2ouWEYjEt+biuKHumU3 MuIdw5sjnchKH42ihxpr2u4QJluwauR7AJ48xbT8IOoSd5AjrMCq+nORLvgFgcPg RF9q0p/9pNwcke8n4OM7JUlKphy3uDTlBYvPMAidWmRKAGrFfqMI2yH9tXRXslcV kIta =p3fc -----END PGP SIGNATURE----- --=-=-=--