unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35034: One libgit2 derivation fails on armhf, another succeeds
@ 2019-03-28 20:38 Mark H Weaver
  2019-03-28 21:40 ` Danny Milosavljevic
  2019-03-28 21:58 ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds) Mark H Weaver
  0 siblings, 2 replies; 4+ messages in thread
From: Mark H Weaver @ 2019-03-28 20:38 UTC (permalink / raw)
  To: 35034

The 'guile2.0-git-0.2.0' package fails to build on hydra.gnu.org,
because its dependency 'libgit2' fails to build:

  https://hydra.gnu.org/build/3429713#tabs-buildsteps

However, there's another 'libgit2' derivation in the same evaluation,
which succeeds:

  https://hydra.gnu.org/eval/110449?filter=libgit2

Looking at the source for 'guile2.0-git', defined in
gnu/packages/guile.scm, it appears to use the standard 'libgit2'
package, unless 'package-for-guile-2.0' is somehow modifying the
'libgit2' derivation.

Any idea what's going on here?

       Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35034: One libgit2 derivation fails on armhf, another succeeds
  2019-03-28 20:38 bug#35034: One libgit2 derivation fails on armhf, another succeeds Mark H Weaver
@ 2019-03-28 21:40 ` Danny Milosavljevic
  2019-03-28 21:58 ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds) Mark H Weaver
  1 sibling, 0 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2019-03-28 21:40 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 35034

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

Hi Mark,

On Thu, 28 Mar 2019 16:38:27 -0400
Mark H Weaver <mhw@netris.org> wrote:

> unless 'package-for-guile-2.0' is somehow modifying the
> 'libgit2' derivation.
> 
> Any idea what's going on here?

Not really, *but* I've recently replaced Python by Guile in libgit2
tests.

Maybe that broke something - especially if package-for-guile-2.0 somehow
either provides both guile versions as native inputs or selects one
incompatible with the "generate.scm" I wrote.

Here, (ice-9 textual-ports) seems to be not found.  Does it not exist in
guile 2.0 ? (I wasn't aware we still used guile 2.0 for something...)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds)
  2019-03-28 20:38 bug#35034: One libgit2 derivation fails on armhf, another succeeds Mark H Weaver
  2019-03-28 21:40 ` Danny Milosavljevic
@ 2019-03-28 21:58 ` Mark H Weaver
  2019-03-29 15:29   ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2019-03-28 21:58 UTC (permalink / raw)
  To: 35034

retitle 35034 guile2.0-git rewrites libgit2 input to use guile-2.0
thanks

It turns out that this problem is not specific to armhf.  'guile2.0-git'
recently started failing to build on all Hydra-supported systems.

I see now what's going on.  The problem was introduced by:

  commit 03fb5ff6ae01a680c786d9ee148839543c519411
  Author: Danny Milosavljevic <dannym@scratchpost.org>
  Date:   Thu Mar 21 23:28:43 2019 +0100
  
    gnu: libgit2: Avoid Python.
    
    * gnu/packages/patches/libgit2-avoid-python.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Add it.
    * gnu/packages/version-control.scm (libgit2)[source]: Use it.
    [inputs]: Remove python.
    [native-inputs]: Add guile-2.2.

The 'guile-git' package has 'libgit2' as an input.  The 'guile2.0-git'
variant package uses 'package-for-guile-2.0' to rewrite 'guile-git' to
use 'guile-2.0'.  Unfortunately, this rewrites more deeply than we
probably want.  In this case, the rewriting extends into 'libgit2',
changing its native-input from 'guile-2.2' to 'guile-2.0'.  However, the
Guile code that Danny wrote doesn't work with 'guile-2.0', because it
uses the (ice-9 textual-ports) module, which doesn't exist in Guile 2.0.

Suggestions?

      Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0
  2019-03-28 21:58 ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds) Mark H Weaver
@ 2019-03-29 15:29   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-03-29 15:29 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 35034

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> retitle 35034 guile2.0-git rewrites libgit2 input to use guile-2.0
> thanks
>
> It turns out that this problem is not specific to armhf.  'guile2.0-git'
> recently started failing to build on all Hydra-supported systems.
>
> I see now what's going on.  The problem was introduced by:
>
>   commit 03fb5ff6ae01a680c786d9ee148839543c519411
>   Author: Danny Milosavljevic <dannym@scratchpost.org>
>   Date:   Thu Mar 21 23:28:43 2019 +0100
>   
>     gnu: libgit2: Avoid Python.

[...]

> The 'guile-git' package has 'libgit2' as an input.  The 'guile2.0-git'
> variant package uses 'package-for-guile-2.0' to rewrite 'guile-git' to
> use 'guile-2.0'.  Unfortunately, this rewrites more deeply than we
> probably want.  In this case, the rewriting extends into 'libgit2',
> changing its native-input from 'guile-2.2' to 'guile-2.0'.  However, the
> Guile code that Danny wrote doesn't work with 'guile-2.0', because it
> uses the (ice-9 textual-ports) module, which doesn't exist in Guile 2.0.

I’m tempted to sidestep the problem by removing “guile2.0-git”, which I
think is of little use.

WDYT?

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-29 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28 20:38 bug#35034: One libgit2 derivation fails on armhf, another succeeds Mark H Weaver
2019-03-28 21:40 ` Danny Milosavljevic
2019-03-28 21:58 ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds) Mark H Weaver
2019-03-29 15:29   ` bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).