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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40729: closed (Duplicate /etc entries lead to cryptic etc.drv
 build failure)
Date: Mon, 20 Apr 2020 22:10:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Apr 2020 00:09:23 +0200
with message-id <87tv1dzu5o.fsf <at> gnu.org>
and subject line Re: bug#40729: Two rottlog servives causes cryptic etc drv failure
has caused the debbugs.gnu.org bug report #40729,
regarding Duplicate /etc entries lead to cryptic etc.drv build failure
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40729: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40729
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
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’.


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

Previous Next


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