From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNjrf-0008AQ-LL for guix-patches@gnu.org; Sun, 12 Apr 2020 17:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNjre-00054i-J0 for guix-patches@gnu.org; Sun, 12 Apr 2020 17:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNjre-00054e-G6 for guix-patches@gnu.org; Sun, 12 Apr 2020 17:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNjre-0003Ix-8x for guix-patches@gnu.org; Sun, 12 Apr 2020 17:10:02 -0400 Subject: [bug#40485] Acknowledgement (gnu: Update libxfce4ui to 4.15.2.) Resent-Message-ID: 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> <20200410001157.45e1a2e7@scratchpost.org> From: Naga Malleswari Message-ID: <83cde561-7ed4-8d04-51ca-19a824fb3e8a@riseup.net> Date: Mon, 13 Apr 2020 02:39:07 +0530 MIME-Version: 1.0 In-Reply-To: <20200410001157.45e1a2e7@scratchpost.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Danny Milosavljevic , ludo@gnu.org Cc: 40485@debbugs.gnu.org Hi Danny Is there a suggestion how to work on this. Meanwhile i submitted another patch, please review http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40546 On 10/04/20 3:41 am, Danny Milosavljevic wrote: > 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!! >> I used the same. I added name block. It worked !!! >> 1) If name block is removed in the latest [libxfce4ui package], it's building the >> older version. Why?? > If I remove (name "libxfce4ui") from the latest libxfce4ui package, and then > invoke > > make -j5 SUBDIRS= > > 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)  /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). -- Regards NagaMalli