GNU bug report logs -
#27314
guix includes wrong directory in build environment
Previous Next
Reported by: ng0 <ng0 <at> pragmatique.xyz>
Date: Sat, 10 Jun 2017 18:08:01 UTC
Severity: normal
Tags: notabug
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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 <at> 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/
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 years and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.