GNU bug report logs - #24833
Hydra ignores MIPS-specific patch for Mesa on core-updates

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Mon, 31 Oct 2016 06:20:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24833 in the body.
You can then email your comments to 24833 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24833; Package guix. (Mon, 31 Oct 2016 06:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 31 Oct 2016 06:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: Hydra ignores MIPS-specific patch for Mesa on core-updates
Date: Mon, 31 Oct 2016 02:17:35 -0400
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




Information forwarded to bug-guix <at> gnu.org:
bug#24833; Package guix. (Wed, 02 Nov 2016 22:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 24833 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 24833 <at> debbugs.gnu.org
Subject: Re: bug#24833: Hydra ignores MIPS-specific patch for Mesa on
 core-updates
Date: Wed, 02 Nov 2016 23:17:30 +0100
Mark H Weaver <mhw <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#24833; Package guix. (Thu, 03 Nov 2016 02:13:02 GMT) Full text and rfc822 format available.

Message #11 received at 24833 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 24833 <at> debbugs.gnu.org
Subject: Re: bug#24833: Hydra ignores MIPS-specific patch for Mesa on
 core-updates
Date: Wed, 02 Nov 2016 22:10:50 -0400
ludo <at> gnu.org (Ludovic Courtès)
> Mark H Weaver <mhw <at> 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




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 03 Nov 2016 10:30:01 GMT) Full text and rfc822 format available.

Notification sent to Mark H Weaver <mhw <at> netris.org>:
bug acknowledged by developer. (Thu, 03 Nov 2016 10:30:02 GMT) Full text and rfc822 format available.

Message #16 received at 24833-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 24833-done <at> debbugs.gnu.org
Subject: Re: bug#24833: Hydra ignores MIPS-specific patch for Mesa on
 core-updates
Date: Thu, 03 Nov 2016 11:29:33 +0100
Mark H Weaver <mhw <at> netris.org> skribis:

> ludo <at> gnu.org (Ludovic Courtès)
>> Mark H Weaver <mhw <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Dec 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.