all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@infotropique.org>
To: "Ludovic Courtès" <ludo@gnu.org>, 27314-done@debbugs.gnu.org
Subject: bug#27314: guix includes wrong directory in build environment
Date: Tue, 27 Jun 2017 14:27:01 +0000	[thread overview]
Message-ID: <20170627142701.6j4aa4tfz4efguct@abyayala> (raw)
In-Reply-To: <20170627142303.hbpegpjzotukkiwn@abyayala>

[-- Attachment #1: Type: text/plain, Size: 3330 bytes --]

Oops! Okay I found the mistake!

I forgot that I have this in my ng0/packages/gnunet.scm:

;; fuse, pointing to the tests disabled version of gnunet-git
(define-public gnunet-fuse
  (let* ((commit "c25f3acb22f386f2836cd7c7ae21fcef272c0352")
         (revision "2"))
    (package
      (inherit gnunetg)
      (name "gnunet-fuse")
      (version (package-version gnunetgf))
[…]

I had it in there for so long that I forgot it exists.
Sorry :)

ng0 transcribed 3.6K bytes:
> Ludovic Courtès transcribed 1.7K bytes:
> > Hi ng0,
> > 
> > ng0 <ng0@infotropique.org> skribis:
> > 
> > > Ludovic Courtès transcribed 0.9K bytes:
> > >> Hi ng0,
> > >> 
> > >> config.log reads this:
> > >> 
> > >> > configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
> > >> > In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
> > >> >                  from conftest.c:44:
> > >> > /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
> > >> > compilation terminated.
> > >> 
> > >> I think this means that ‘gnunetgf’ should propagate libgcrypt.
> > >> 
> > >> I’m closing this bug because I think it’s a packaging issue and not the
> > >> bug suggested in the Subject line.
> > >> 
> > >> Thanks,
> > >> Ludo’.
> > >
> > > The thing here is that I am _not_ using gnunetgf for the package in question,
> > > I am using gnunet, from guix master. So from my perspective it is a bug and it
> > > is repeating every time.
> > >
> > > gnunetgf[2] inherits from gnunetg[1]
> > >
> > > 1: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L59
> > > 2: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L167
> > >
> > > and gnunetg inherits from gnunet but overrides most of the package definition.
> > 
> > Hey, this is not Guix code here.  :-)
> 
> Okay, but it is not guix code which is getting into the way of guix code:
> gnunet-fuse is being prepared in the guix repository, not one of my
> GUIX_PACKAGE_PATH repositories.
> 
> > I can only give guidance to debug this.  For instance, could you check
> > with “guix graph” whether the package graph really looks the way you
> > want?
> 
> No. As you can see in the DAG it makes use of gnunetgt while I specify
> really ("gnunet" ,gnunet) in the gnunet-fuse in gnu/packages/gnunet.scm
> . This is what is messing with my head. Why?
> 
> gnunetgt is the first directory which includes gnunet in its name and is
> currently in the /gnu/store that is the only relation I see.
> 
> https://krosos.org/gnunet-fuse.pdf
> 
> > Thanks,
> > Ludo’.
> > 
> > 
> > 
> > 
> 
> -- 
> ng0
> OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> infotropique: https://www.infotropique.org
> personal: https://ng-0.github.io https://krosos.org/



-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-06-27 14:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-10 18:06 bug#27314: guix includes wrong directory in build environment ng0
2017-06-16  8:48 ` Ludovic Courtès
2017-06-16 10:12   ` ng0
2017-06-26 19:54     ` Ludovic Courtès
2017-06-26 21:25       ` ng0
2017-06-27 13:42         ` Ludovic Courtès
2017-06-27 14:23           ` ng0
2017-06-27 14:27             ` ng0 [this message]
2017-06-27 19:33               ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170627142701.6j4aa4tfz4efguct@abyayala \
    --to=ng0@infotropique.org \
    --cc=27314-done@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.