GNU bug report logs - #40729
Duplicate /etc entries lead to cryptic etc.drv build failure

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Mon, 20 Apr 2020 09:09:02 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 40729 in the body.
You can then email your comments to 40729 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#40729; Package guix. (Mon, 20 Apr 2020 09:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 20 Apr 2020 09:09:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: Two rottlog servives causes cryptic etc drv failure
Date: Mon, 20 Apr 2020 10:08:05 +0100
[Message part 1 (text/plain, inline)]
I got this error when reconfiguring with a recent revision of Guix.


/builder for `/gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv' failed with exit code 1
build of /gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv failed
View build log at '/var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2'.
building /gnu/store/59bd67s06inr5vzyxc70yk6garj2aciz-linux-modules.drv...
cannot build derivation `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv' failed
chris <at> guix-hetzner-1 ~$ bzcat /var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2
Backtrace:
           1 (primitive-load "/gnu/store/g4q88pmwr1vy54qpnkz878k3n7f?")
           0 (symlink "/gnu/store/939n705vmkn8613b8gjc10llvsr5jcwc-?" ?)

ERROR: In procedure symlink:
In procedure symlink: File exists



Moving the rottlog-configuration to modify-services for %base-services
resolved this I believe, but that was a guess based on memory. Even if
the system definition is invalid, I don't think here should be where it
fails.
[signature.asc (application/pgp-signature, inline)]

Changed bug title to 'Duplicate /etc entries lead to cryptic etc.drv build failure' from 'Two rottlog servives causes cryptic etc drv failure' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 20 Apr 2020 20:17:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 20 Apr 2020 22:10:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Mon, 20 Apr 2020 22:10:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 40729-done <at> debbugs.gnu.org
Subject: Re: bug#40729: Two rottlog servives causes cryptic etc drv failure
Date: Tue, 21 Apr 2020 00:09:23 +0200
Hi,

Christopher Baines <mail <at> cbaines.net> skribis:

> I got this error when reconfiguring with a recent revision of Guix.
>
>
> /builder for `/gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv' failed with exit code 1
> build of /gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv failed
> View build log at '/var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2'.
> building /gnu/store/59bd67s06inr5vzyxc70yk6garj2aciz-linux-modules.drv...
> cannot build derivation `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv': 1 dependencies couldn't be built
> guix system: error: build of `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv' failed
> chris <at> guix-hetzner-1 ~$ bzcat /var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2
> Backtrace:
>            1 (primitive-load "/gnu/store/g4q88pmwr1vy54qpnkz878k3n7f?")
>            0 (symlink "/gnu/store/939n705vmkn8613b8gjc10llvsr5jcwc-?" ?)
>
> ERROR: In procedure symlink:
> In procedure symlink: File exists

Yeah that’s something I noticed here:

  https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00032.html

Commit a322e9d16b227484ce04721fee0f99618cb1007e does that.

The result is not optimal yet because it just says “duplicate entries”.
Ideally we’d be able to show a ‘fold-services’ trace of sorts telling
showing where the faulty entries come from.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#40729; Package guix. (Tue, 21 Apr 2020 07:06:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 40729-done <at> debbugs.gnu.org
Subject: Re: bug#40729: Two rottlog servives causes cryptic etc drv failure
Date: Tue, 21 Apr 2020 08:05:51 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi,
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> I got this error when reconfiguring with a recent revision of Guix.
>>
>>
>> /builder for `/gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv' failed with exit code 1
>> build of /gnu/store/kbhl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv failed
>> View build log at '/var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2'.
>> building /gnu/store/59bd67s06inr5vzyxc70yk6garj2aciz-linux-modules.drv...
>> cannot build derivation `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv': 1 dependencies couldn't be built
>> guix system: error: build of `/gnu/store/n45vq7jbhn5qz24qlgv6a6ginarqs433-system.drv' failed
>> chris <at> guix-hetzner-1 ~$ bzcat /var/log/guix/drvs/kb/hl4rk6p0z4jbimlqj57vj3dhyjgv4x-etc.drv.bz2
>> Backtrace:
>>            1 (primitive-load "/gnu/store/g4q88pmwr1vy54qpnkz878k3n7f?")
>>            0 (symlink "/gnu/store/939n705vmkn8613b8gjc10llvsr5jcwc-?" ?)
>>
>> ERROR: In procedure symlink:
>> In procedure symlink: File exists
>
> Yeah that’s something I noticed here:
>
>   https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00032.html
>
> Commit a322e9d16b227484ce04721fee0f99618cb1007e does that.
>
> The result is not optimal yet because it just says “duplicate entries”.
> Ideally we’d be able to show a ‘fold-services’ trace of sorts telling
> showing where the faulty entries come from.

Awesome, that'll be useful for sure :)

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 May 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 342 days ago.

Previous Next


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