unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates
@ 2016-10-31  6:17 Mark H Weaver
  2016-11-02 22:17 ` Ludovic Courtès
  2016-11-03  2:10 ` Mark H Weaver
  0 siblings, 2 replies; 4+ messages in thread
From: Mark H Weaver @ 2016-10-31  6:17 UTC (permalink / raw)
  To: 24833

Commit f1267c872fcaed6c53d43b3ff51abb726f7418d6 on core-updates added a
patch to Mesa on MIPS only, in order to prevent unnecessary rebuilds on
other systems.  'guix' running on a MIPS system generates a derivation
that applies the patch, but the derivation generated for MIPS on Hydra
omits the patch.

The corresponding build page on Hydra is:

  https://hydra.gnu.org/build/1569732

The derivation for that build is:

  /gnu/store/vyqmm1zdhbzxjnaq0h6k312mm7ywi1bq-mesa-12.0.1.drv

which uses a source derivation:

  /gnu/store/368ns1adxyv5zhnsn5rx40k6ghd9sr39-mesa-12.0.1.tar.xz.drv

and this derivation simply downloads the source tarball.

In contrast, corresponding derivations generated by 'guix' on a
mips64el-linux machine are:

  /gnu/store/1r8m67dn07q2k75gl7rnw09i2kp4a0rd-mesa-12.0.1.drv
  /gnu/store/imyjp7sx1rzwpc9agvcnjvk28i4qcgis-mesa-12.0.1.tar.xz.drv

and the latter derivation is a 'patch-and-repack' derivation that
applies 'mesa-wayland-egl-symbols-check-mips.patch', as expected.

     Mark

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

* bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates
  2016-10-31  6:17 bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates Mark H Weaver
@ 2016-11-02 22:17 ` Ludovic Courtès
  2016-11-03  2:10 ` Mark H Weaver
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-11-02 22:17 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 24833

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

> Commit f1267c872fcaed6c53d43b3ff51abb726f7418d6 on core-updates added a
> patch to Mesa on MIPS only, in order to prevent unnecessary rebuilds on
> other systems.  'guix' running on a MIPS system generates a derivation
> that applies the patch, but the derivation generated for MIPS on Hydra
> omits the patch.

Did it turn out to be the same issue as <http://bugs.gnu.org/24833>, or
is it something entirely different?

Ludo’.

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

* bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates
  2016-10-31  6:17 bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates Mark H Weaver
  2016-11-02 22:17 ` Ludovic Courtès
@ 2016-11-03  2:10 ` Mark H Weaver
  2016-11-03 10:29   ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2016-11-03  2:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 24833

ludo@gnu.org (Ludovic Courtès)
> Mark H Weaver <mhw@netris.org> skribis:
>
>> Commit f1267c872fcaed6c53d43b3ff51abb726f7418d6 on core-updates added a
>> patch to Mesa on MIPS only, in order to prevent unnecessary rebuilds on
>> other systems.  'guix' running on a MIPS system generates a derivation
>> that applies the patch, but the derivation generated for MIPS on Hydra
>> omits the patch.
>
> Did it turn out to be the same issue as <http://bugs.gnu.org/24833>, or
> is it something entirely different?

Bug 24833 is this bug, so yes, by reflexivity it's the same issue, but I
suspect that's not what you meant to ask :)

This bug still remains, and I'm not aware of another bug that's the same
issue as this one.

     Thanks,
       Mark

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

* bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates
  2016-11-03  2:10 ` Mark H Weaver
@ 2016-11-03 10:29   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-11-03 10:29 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 24833-done

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

> ludo@gnu.org (Ludovic Courtès)
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> Commit f1267c872fcaed6c53d43b3ff51abb726f7418d6 on core-updates added a
>>> patch to Mesa on MIPS only, in order to prevent unnecessary rebuilds on
>>> other systems.  'guix' running on a MIPS system generates a derivation
>>> that applies the patch, but the derivation generated for MIPS on Hydra
>>> omits the patch.
>>
>> Did it turn out to be the same issue as <http://bugs.gnu.org/24833>, or
>> is it something entirely different?
>
> Bug 24833 is this bug, so yes, by reflexivity it's the same issue, but I
> suspect that's not what you meant to ask :)

Arf, sorry, I meant to ask if this is related to
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24832>.

Commit f1267c872fcaed6c53d43b3ff51abb726f7418d6 doesn’t have the desired
effect: the ‘patches’ field is voluntarily unthunked, so it gets to see
the ‘%current-system’ value that it gets when gl.scm is loaded, hence
the problem we’re experiencing.

This is fixed in 4c93fe83e89473b2d16b93900c87e0da0ceecd6e by making the
patch an input depending on ‘%current-system’, within an ‘inputs’ field.

Thanks!

Ludo’.

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

end of thread, other threads:[~2016-11-03 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31  6:17 bug#24833: Hydra ignores MIPS-specific patch for Mesa on core-updates Mark H Weaver
2016-11-02 22:17 ` Ludovic Courtès
2016-11-03  2:10 ` Mark H Weaver
2016-11-03 10:29   ` 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).