From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0AyuEIGofWDGvAAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 17:57:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yDBrCoGofWBxLAAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 15:57:53 +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 D682D9F1E for ; Mon, 19 Apr 2021 17:57:52 +0200 (CEST) Received: from localhost ([::1]:43816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYWHY-0003r0-1M for larch@yhetil.org; Mon, 19 Apr 2021 11:57:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYWEo-0001uE-An for guix-patches@gnu.org; Mon, 19 Apr 2021 11:55:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYWEo-000412-26 for guix-patches@gnu.org; Mon, 19 Apr 2021 11:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYWEo-0001sK-1b for guix-patches@gnu.org; Mon, 19 Apr 2021 11:55:02 -0400 Subject: bug#47851: [PACKAGE] Add cl-svg, inferior-shell, fare-mop, cl-png Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Sharlatan Hellseher Cc: 47851-done@debbugs.gnu.org Mail-Followup-To: 47851@debbugs.gnu.org, glv@posteo.net, sharlatanus@gmail.com Received: via spool by 47851-done@debbugs.gnu.org id=D47851.16188476807172 (code D ref 47851); Mon, 19 Apr 2021 15:55:01 +0000 Received: (at 47851-done) by debbugs.gnu.org; 19 Apr 2021 15:54:40 +0000 Received: from localhost ([127.0.0.1]:51804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYWER-0001rb-SR for submit@debbugs.gnu.org; Mon, 19 Apr 2021 11:54:40 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYWEP-0001rM-DD for 47851-done@debbugs.gnu.org; Mon, 19 Apr 2021 11:54:38 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1CE44240102 for <47851-done@debbugs.gnu.org>; Mon, 19 Apr 2021 17:54:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618847671; bh=0QPXKitwoZqKX6Nj/Rwcz9GFtW9sJsohkW/UdALLvW0=; h=From:To:Cc:Subject:Date:From; b=ZwVQAP4/wg+c7U08JKat0svEOnIkmTH/6jv/nBBffctTVqq/+GrV5VmuTTeufyoym l5FHWGSRhJivhrqvjd9DOxjzCm9DMcKyzGthVCAIXugGV++c2qyciG1MWQ1RG17xls LS70ZbXzJSq7yzAvpqkEfbcROn7olcO97kAMcJawgr3PT4GZwKIlHGUGEa/mQNjM4J 2HAmgaMe97ujlrGbVfOOiqr2MIMc2yrbPhJ27OUiw+LluAmZMLhArJghW+rFctuJZJ iUA/8cG50rA9d2thOP+sh3htuq2ThnbQ0QYMwcMQsAqW5cgc9G9/af9O/ZGOuOssrV MCOs4MPUPpV5Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPBFw5j3pz6tmZ; Mon, 19 Apr 2021 17:54:28 +0200 (CEST) References: From: Guillaume Le Vaillant In-reply-to: Date: Mon, 19 Apr 2021 15:54:24 +0000 Message-ID: <87lf9ei827.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618847873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=0QPXKitwoZqKX6Nj/Rwcz9GFtW9sJsohkW/UdALLvW0=; b=jiwJtCMRqHGU0pao8NeOsJCkYdqBz9Br5ezCR0PPgM8RomxwUTHhiWGBNFS+qXb/DjfUkb W96Fxny/efqtFOaCvvFfV01q5BCP52hL2oLolSbYPKBHilh4hOIhhLP8d8noRxxAFyy5FQ rnN8rbPUTQNYfo180uIVtMtq+M2n3Tn1+eAomgfLhxV1ajd40dz2M/6ka7Y40vkUvf/CAt hBLwqEcxlNQ3uPeO0z0/FHe7oBqMNpV6Obea49jPdq+FjSNr76IQx/fKAIbIM8NY01f3Vp 5M5ac+HviDndJGZ6+/S/SRm9iKIoRp14QD4b2BtJ/F1pM7JwAHRswGRixcpnqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618847873; a=rsa-sha256; cv=none; b=sGb+/Ek4GwDQete5dbXyrMPw2l63SX1LL6rT2kvmrBArBvhXjNDeondJ5mU3M/X2PVnpUC 49Wtgz76Y9X01R8SVNTYz2AER3jPYWUZZKNBb5bfqR880U//wtdZzYFNzceuYbX9ONR7fN w5Nts2LX5KVPcrMc4tSJ52AERZGgtRbmDsuaiv1PzipuXxOEbO1w9ny5ftMceXDOZPFPd9 I2TdrKQs0JdSeh9wgHuf6pNgMfwpM+0rQRsj/shcXO3ncdSty4FOGM+NbElIUPkCqPwFQf 74i2rklKcI+FlZ3cev/6vcut2J2bK8zYK0Pd9WQCQuJ2HDe1fpQ2acDsEeAeMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZwVQAP4/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZwVQAP4/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D682D9F1E X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: ONQ99TvQ1Y/I --=-=-= Content-Type: text/plain Patches pushed as 1cef75faaebec55d0c5f1c03aed8deebff1dbad4 and following with a few fixes. Thanks Sharlatan Hellseher skribis: > Hi Guix team! > > Preparation list of patches for art generation system Weir > I've packed it but it's failed on ECL build with > > ;;; Warning: ;;; in file various.lisp, position 144 ;;; at > (DEFCONSTANT PII ...) ;;; ! The expression 6.283185307179586477l0 is > not of the expected type DOUBLE-FLOAT ;;; Warning: ;;; in file > various.lisp, position 195 ;;; at (DEFCONSTANT PI5 ...) ;;; ! The > expression 1.5707963267948966193l0 is not of the expected type > DOUBLE-FLOAT > > Maintainer has not option for opening an issue. > > For someone who has more knowledge in CL to check > https://github.com/Hellseher/guix-channel/blob/main/ffab/packages/lisp-xyz.scm#L1467 I think it's a bug in the "various.lisp" file. Inside it there is: --8<---------------cut here---------------start------------->8--- (declaim (type double-float PII PI5)) (defconstant PII (the double-float #.(* PI 2d0))) (defconstant PI5 (the double-float #.(* PI 0.5d0))) --8<---------------cut here---------------end--------------->8--- However the Common Lisp spec indicates that 'pi' is a 'long-float'. It works with SBCL because it implements 'double-float' and 'long-float' as the same type (which is allowed according to the spec). However in ECL the types are different ('long-float' has more precision than 'double-float'). Converting 'pi' to a 'double-float' should make the code work in both SBCL and ECL (note: I've not tested): --8<---------------cut here---------------start------------->8--- (declaim (type double-float PII PI5)) (defconstant PII (the double-float #.(* (float PI 1.0d0) 2d0))) (defconstant PI5 (the double-float #.(* (float PI 1.0d0) 0.5d0))) --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYH2nsA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+BtgD+MQdOkIie8BWZqHpNtP5wtKjhfnpAcBaVLm53 /w89dmEA/0wuADQMqGbwhe0ExBTIJDVPhv8gZMPnuAvoitfylvA4 =EioJ -----END PGP SIGNATURE----- --=-=-=--