GNU bug report logs - #31319
ghc-case-insensitive: Duplicate 'inputs' field.

Previous Next

Package: guix;

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

Date: Mon, 30 Apr 2018 17:51:01 UTC

Severity: normal

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

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 31319 in the body.
You can then email your comments to 31319 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#31319; Package guix. (Mon, 30 Apr 2018 17:51:01 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, 30 Apr 2018 17:51:01 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: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Mon, 30 Apr 2018 13:49:11 -0400
Our 'ghc-case-insensitive' package contains two 'inputs' field
initializers.  If I'm not mistaken, the first one is being effectively
ignored, so 'ghc-hunit' is not actually an input.

It would be good to clean this up so that we can start raising errors
when duplicate field initializers are present.

      Mark




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Wed, 09 May 2018 22:35:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Thu, 10 May 2018 00:34:28 +0200
Hi Mark,

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

> Our 'ghc-case-insensitive' package contains two 'inputs' field
> initializers.  If I'm not mistaken, the first one is being effectively
> ignored, so 'ghc-hunit' is not actually an input.
>
> It would be good to clean this up so that we can start raising errors
> when duplicate field initializers are present.

What about applying your patch that detects duplicate fields, rebuilding
all the .go files, and then resolving any such case by keeping only the
last occurrence of the field?

This is what happens currently anyway so it won’t change the derivations
produced for the faulty packages.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Thu, 10 May 2018 18:01:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Thu, 10 May 2018 13:59:51 -0400
Hi Ludovic,

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

> Mark H Weaver <mhw <at> netris.org> skribis:
>
>> Our 'ghc-case-insensitive' package contains two 'inputs' field
>> initializers.  If I'm not mistaken, the first one is being effectively
>> ignored, so 'ghc-hunit' is not actually an input.
>>
>> It would be good to clean this up so that we can start raising errors
>> when duplicate field initializers are present.
>
> What about applying your patch that detects duplicate fields, rebuilding
> all the .go files, and then resolving any such case by keeping only the
> last occurrence of the field?
>
> This is what happens currently anyway so it won’t change the derivations
> produced for the faulty packages.

It's true that it wouldn't change anything to simply remove those
ignored duplicate field initializers.  However, I thought it would be
better to give people familiar with these packages an opportunity to
investigate.  Someone may have had a good reason for adding those
inputs, even if they are not strictly needed for a successful build.

Of course, at some point we should timeout on this.  I would advocate
commenting out the redundant duplicates instead of simply deleting them,
along with a FIXME comment asking someone to investigate.  We could also
look in the commit history to find out who added those redundant inputs,
and ask them directly.

If you're impatient to get the duplicate field detection patch committed
soon, I could implement these "timeout" measures in the next couple of
days.

What do you think?

      Mark




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Thu, 10 May 2018 20:32:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Thu, 10 May 2018 22:30:57 +0200
Hi Mark,

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

> If you're impatient to get the duplicate field detection patch committed
> soon, I could implement these "timeout" measures in the next couple of
> days.
>
> What do you think?

A timeout of a few days would be perfect.  :-)

Thank you!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Mon, 02 Jul 2018 13:06:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Mon, 02 Jul 2018 15:05:06 +0200
Hello Mark,

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

> It's true that it wouldn't change anything to simply remove those
> ignored duplicate field initializers.  However, I thought it would be
> better to give people familiar with these packages an opportunity to
> investigate.  Someone may have had a good reason for adding those
> inputs, even if they are not strictly needed for a successful build.
>
> Of course, at some point we should timeout on this.  I would advocate
> commenting out the redundant duplicates instead of simply deleting them,
> along with a FIXME comment asking someone to investigate.  We could also
> look in the commit history to find out who added those redundant inputs,
> and ask them directly.
>
> If you're impatient to get the duplicate field detection patch committed
> soon, I could implement these "timeout" measures in the next couple of
> days.

I think we should go ahead now and mechanically fix packages with
duplicate fields, and apply the duplicate detection patch.

Would you like to do that?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Thu, 19 Jul 2018 10:04:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Thu, 19 Jul 2018 12:02:48 +0200
Ping!

I’d really like to apply the patch you posted in
<https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00201.html>
along with the corresponding package fixes.

I can do that if you want.

Ludo’.

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

> Hello Mark,
>
> Mark H Weaver <mhw <at> netris.org> skribis:
>
>> It's true that it wouldn't change anything to simply remove those
>> ignored duplicate field initializers.  However, I thought it would be
>> better to give people familiar with these packages an opportunity to
>> investigate.  Someone may have had a good reason for adding those
>> inputs, even if they are not strictly needed for a successful build.
>>
>> Of course, at some point we should timeout on this.  I would advocate
>> commenting out the redundant duplicates instead of simply deleting them,
>> along with a FIXME comment asking someone to investigate.  We could also
>> look in the commit history to find out who added those redundant inputs,
>> and ask them directly.
>>
>> If you're impatient to get the duplicate field detection patch committed
>> soon, I could implement these "timeout" measures in the next couple of
>> days.
>
> I think we should go ahead now and mechanically fix packages with
> duplicate fields, and apply the duplicate detection patch.
>
> Would you like to do that?
>
> Thanks,
> Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#31319; Package guix. (Fri, 20 Jul 2018 21:25:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 31319 <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Fri, 20 Jul 2018 17:23:17 -0400
Hi Ludovic,

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

> Ping!
>
> I’d really like to apply the patch you posted in
> <https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00201.html>
> along with the corresponding package fixes.

Yes, sorry for the long delay on this.  I've been nervous about
<https://bugs.gnu.org/29774>, which I encountered after applying my
patch to detect duplicate fields, and which has not yet been explained
as far as I know.  The problem seems to be sensitive to seemingly
unrelated changes in the source tree.  Since I run Guix from my own
private branch, I'm not confident what will happen if I apply this patch
to master.

> I can do that if you want.

Please do.

     Thanks!
       Mark




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 22 Jan 2019 22:07:02 GMT) Full text and rfc822 format available.

Notification sent to Mark H Weaver <mhw <at> netris.org>:
bug acknowledged by developer. (Tue, 22 Jan 2019 22:07:03 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31319-done <at> debbugs.gnu.org
Subject: Re: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Tue, 22 Jan 2019 23:06:26 +0100
Mark H Weaver <mhw <at> netris.org> skribis:

> Our 'ghc-case-insensitive' package contains two 'inputs' field
> initializers.  If I'm not mistaken, the first one is being effectively
> ignored, so 'ghc-hunit' is not actually an input.

Fixed in b2e46ac5318dd790530659a459bd1e714287ff37.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Feb 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 60 days ago.

Previous Next


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