From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMfPz-0007sU-JQ for guix-patches@gnu.org; Thu, 09 Apr 2020 18:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMfPy-0000dQ-Km for guix-patches@gnu.org; Thu, 09 Apr 2020 18:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMfPy-0000dG-IK for guix-patches@gnu.org; Thu, 09 Apr 2020 18:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jMfPy-0005Xl-Dw for guix-patches@gnu.org; Thu, 09 Apr 2020 18:13:02 -0400 Subject: [bug#40485] Acknowledgement (gnu: Update libxfce4ui to 4.15.2.) Resent-Message-ID: Date: Fri, 10 Apr 2020 00:11:57 +0200 From: Danny Milosavljevic Message-ID: <20200410001157.45e1a2e7@scratchpost.org> In-Reply-To: <39267250-afcc-1e79-db07-cd47756d0967@riseup.net> References: <20200407155647.76622614@scratchpost.org> <20200407160101.0cc1d475@scratchpost.org> <20200407160744.15d74364@scratchpost.org> <8d29d7f0-c494-4843-a6df-ac1704e24fdc@riseup.net> <20200407162336.5377640b@scratchpost.org> <9c68509b-c720-429f-aa10-a8289ed43a64@riseup.net> <20200407214803.1766ef7f@scratchpost.org> <25e2a647-635c-f8f6-a962-8701fd69e3ce@riseup.net> <20200409001936.16098b47@scratchpost.org> <39267250-afcc-1e79-db07-cd47756d0967@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/6OU3dpQLYeJy+6d3vKRuk0Y"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Naga Malleswari , ludo@gnu.org Cc: 40485@debbugs.gnu.org --Sig_/6OU3dpQLYeJy+6d3vKRuk0Y Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, On Fri, 10 Apr 2020 02:12:42 +0530 Naga Malleswari wrote: >On 09/04/20 3:49 am, Danny Milosavljevic wrote: >> + (inherit libxfce4ui-1) >> + (name "libxfce4ui") ; not necessary but I like it for no reason >> + (version "4.15.2") >> + (source (origin ; necessary block!! =20 >I used the same. I added name block. It worked !!! >1) If name block is removed in the latest [libxfce4ui package], it's build= ing the >older version. Why?? If I remove (name "libxfce4ui") from the latest libxfce4ui package, and then invoke make -j5 SUBDIRS=3D then I get an error error: name: unbound variable. from the compilation of gnu/packages/xfce.scm. So that's why the latest libxfce4ui package would never be loaded into guix (it's broken) and instead the other one would be used. I'm not sure why that is the case. It's certainly different to most other programming languages. @Ludo? @Ludo: Reduced test case: ,use (guix packages) (define-public a (package (name "a") (version name) (source #f) (build-system #f) (synopsis #f) (description #f) (license= #f) (home-page #f))) (define-public b (package (inherit a) (version name))) ; error message here Error message: ;;; :9:4: warning: possibly unbound variable `name' :9:4: In procedure module-lookup: Unbound variable: name What's happening here? I would have expected NAME to be available from the descendant record and accessing the ancestor record... is it not available on purpose? >2)=A0 /latest is also removed from variable. Would it make a difference? No. It's just part of a variable's name (the slash has no special meaning either). --Sig_/6OU3dpQLYeJy+6d3vKRuk0Y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6Pna0ACgkQ5xo1VCww uqVHtgf9F4GM+fFtspRTRhjCuk88Js0WSUdYD39qwRDAZU24Rx5xNCzoP6FJc6ba QCZRn8rQyYPCM8vdMCt7rvaC98L/RVS+GZbldhz9HzXc94ptYP6vm+oTpmLrSl8p E8q3FcmN1yXohyzb0SlG2me4iS4QvF2hA5PpLuRtMXNBZbVdsTJ6kzdg3Qwrj/bY 4MthYt0Je1U3HAJ6gnFBqV4uN85yG6No2QBa7/xzZgS53dcKBE91CMPkhT5LHhVE qrbdrDxZknMCYekTlGFesd5MwsjNFFNrYuICfoNJ5jwQ1YwsLxDhIyM4KHyGtYFu cSntmdrDkObJ8daQr3RNo44+2JeVSg== =Ml2v -----END PGP SIGNATURE----- --Sig_/6OU3dpQLYeJy+6d3vKRuk0Y--