GNU bug report logs - #32167
Kernel 'build' directory in the store is a broken symbolic link

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: <pkill9@HIDDEN>; dated Sun, 15 Jul 2018 20:09:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 23 Jul 2018 13:01:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 23 09:01:17 2018
Received: from localhost ([127.0.0.1]:53197 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fhaSj-00033W-5e
	for submit <at> debbugs.gnu.org; Mon, 23 Jul 2018 09:01:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fhaSg-00033I-BF
 for 32167 <at> debbugs.gnu.org; Mon, 23 Jul 2018 09:01:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fhaSX-0001BF-14
 for 32167 <at> debbugs.gnu.org; Mon, 23 Jul 2018 09:01:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36979)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fhaSR-00018O-GP; Mon, 23 Jul 2018 09:00:59 -0400
Received: from [193.50.110.227] (port=34748 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fhaSQ-0001hz-VD; Mon, 23 Jul 2018 09:00:59 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
References: <E1fenJF-0006Hr-S2@HIDDEN>
 <E1ff7iJ-0002Jl-P1@HIDDEN>
 <20180716201500.3d1f13ae@HIDDEN> <87r2k2u9bl.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 23 Jul 2018 15:00:57 +0200
In-Reply-To: <87r2k2u9bl.fsf@HIDDEN> (Mark H. Weaver's message of "Mon, 16
 Jul 2018 18:03:58 -0400")
Message-ID: <87k1pmrtrq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32167
Cc: Danny Milosavljevic <dannym@HIDDEN>, 32167 <at> debbugs.gnu.org,
 pkill9@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hi,

Mark H Weaver <mhw@HIDDEN> skribis:

> Danny Milosavljevic <dannym@HIDDEN> writes:
>
>> On Mon, 16 Jul 2018 18:55:11 +0100 (BST)
>> <pkill9@HIDDEN> wrote:
>>
>>> It would be good to keep the build directory though, since it's
>>> expected to exist, and it's easier to just download a module's
>>> source and compile it and test it.
>>
>> I agree.
>>
>> /run/booted-system/kernel/lib/modules/4.17.3-gnu is in the store
>> anyway so it will be seen by the GC.
>>
>> The fix would be in linux-libre.
>
> If we were to preserve the kernel build directory as a store item, and
> keep a link from the modules directory to the build directory, that
> would greatly increase the size of the most minimal system that users
> could build.

Yeah, we shouldn=E2=80=99t do that IMO.

> If the intent here is to allow support for out-of-tree kernel modules,
> then fixing these symlinks would not solve the problem, and it's not
> clear to me that fixing them would be part of a proper solution on
> GuixSD.  GuixSD is not a system where you can simply compile a kernel
> module manually and install it, because our module directory is
> immutable.  If the goal is to support building out-of-tree kernel
> modules, that's a separate discussion that deserves its own "wishlist"
> bug report, I think.

I agree.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 16 Jul 2018 23:10:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 19:10:19 2018
Received: from localhost ([127.0.0.1]:44143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ffCdH-0007Jb-MJ
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 19:10:19 -0400
Received: from aibo.runbox.com ([91.220.196.211]:50248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pkill9@HIDDEN>) id 1ffCdF-0007JR-Cn
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 19:10:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=rbselector1;
 h=Message-Id:In-Reply-To:Date:Subject:CC:To:From:MIME-Version
 :Content-Transfer-Encoding:Content-Type;
 bh=lG4NPExjo46W1cer60QwiXZmD+cEBsI3ltEtYhkM2Q0=; b=A2lzpLZ19VL6qPIzT214THbYSK
 FHYwZA5aTRH3uoa2qJ713smJImM4uIPkg5eNL+wVcsCCGInKDPypDUq58M1pW/8Jz5eE8oalDemGs
 ARcfZbnDv8wjO981EpU3P3ZvDw1Kg/K0ZScFWlKmjrWtOvOqQXwL69fqwGDXBNZi7QkwqOEbuqdg2
 UnI8UTyJHLt/PcYXu2eMH5rhe1PYh7WHEQKlUg39Va170ROx/bARlhM+TPKX6NNyrCkizRrLv5YSP
 NDd7PShhKZqvtoZtKtCXE+EdLfapFopbs9gQeNqTtK3661tYd8cxqAQUHtEvwKZWYKJ2QrYV96wiB
 1quKcp0g==;
Received: from [10.9.9.128] (helo=rmmprod06.runbox)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>)
 id 1ffCdB-00015m-HT; Tue, 17 Jul 2018 01:10:13 +0200
Received: from mail by rmmprod06.runbox with local (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>)
 id 1ffCdB-0002Wh-Fd; Tue, 17 Jul 2018 01:10:13 +0200
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received: from [Authenticated user (850733)] by runbox.com with http
 (RMM6); Mon, 16 Jul 2018 23:10:13 GMT
From: <pkill9@HIDDEN>
To: "Mark H Weaver" <mhw@HIDDEN>
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
Date: Tue, 17 Jul 2018 00:10:13 +0100 (BST)
X-Mailer: RMM6
In-Reply-To: <87r2k2u9bl.fsf@HIDDEN>
Message-Id: <E1ffCdB-0002Wh-Fd@HIDDEN>
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 32167
Cc: Danny Milosavljevic <dannym@HIDDEN>, 32167 <32167 <at> debbugs.gnu.org>,
 pkill9 <pkill9@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

Yes I agree with you, since it is a lot of space then it's probably best to=
 just delete the symlink.

The reasoning behind my suggestion of keeping it is mostly for convenience =
in compiling/testing an external kernel module, i.e. just downloading the s=
ource and then compiling it with the currently running kernel, and then loa=
ding it to test it.

Come to think of it, could the build directory be put in another output of =
the linux-libre package?

On Mon, 16 Jul 2018 18:03:58 -0400, Mark H Weaver <mhw@HIDDEN> wrote:

> Danny Milosavljevic <dannym@HIDDEN> writes:
>=20
> > On Mon, 16 Jul 2018 18:55:11 +0100 (BST)
> > <pkill9@HIDDEN> wrote:
> >
> >> It would be good to keep the build directory though, since it's
> >> expected to exist, and it's easier to just download a module's
> >> source and compile it and test it.
> >
> > I agree.
> >
> > /run/booted-system/kernel/lib/modules/4.17.3-gnu is in the store
> > anyway so it will be seen by the GC.
> >
> > The fix would be in linux-libre.
>=20
> If we were to preserve the kernel build directory as a store item, and
> keep a link from the modules directory to the build directory, that
> would greatly increase the size of the most minimal system that users
> could build.
>=20
> The unpacked linux-libre-4.17 source directory is 929 megabytes, and
> that's before building it.  So, keeping the build directory would surely
> increase the closure size of the most minimal system by more than a
> gigabyte.  I don't think it's okay to force all Guix users to pay that
> price.  Some users will need to build minimal systems.
>=20
> I'd like to hear more specifics about what the original poster is trying
> to accomplish here.  It's possible that they simply noticed the broken
> links and wanted to let us know.  In that case, it's probably best to
> simply delete those broken symlinks.
>=20
> If the intent here is to allow support for out-of-tree kernel modules,
> then fixing these symlinks would not solve the problem, and it's not
> clear to me that fixing them would be part of a proper solution on
> GuixSD.  GuixSD is not a system where you can simply compile a kernel
> module manually and install it, because our module directory is
> immutable.  If the goal is to support building out-of-tree kernel
> modules, that's a separate discussion that deserves its own "wishlist"
> bug report, I think.
>=20
> Thoughts?
>=20
>        Mark






Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 16 Jul 2018 22:05:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 18:05:13 2018
Received: from localhost ([127.0.0.1]:44108 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ffBcH-0001oK-27
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 18:05:13 -0400
Received: from world.peace.net ([64.112.178.59]:56134)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1ffBcF-0001o5-H8
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 18:05:11 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1ffBc9-0005iZ-Mu; Mon, 16 Jul 2018 18:05:05 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
References: <E1fenJF-0006Hr-S2@HIDDEN>
 <E1ff7iJ-0002Jl-P1@HIDDEN>
 <20180716201500.3d1f13ae@HIDDEN>
Date: Mon, 16 Jul 2018 18:03:58 -0400
In-Reply-To: <20180716201500.3d1f13ae@HIDDEN> (Danny Milosavljevic's
 message of "Mon, 16 Jul 2018 20:15:00 +0200")
Message-ID: <87r2k2u9bl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32167
Cc: 32167 <at> debbugs.gnu.org, pkill9@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Danny Milosavljevic <dannym@HIDDEN> writes:

> On Mon, 16 Jul 2018 18:55:11 +0100 (BST)
> <pkill9@HIDDEN> wrote:
>
>> It would be good to keep the build directory though, since it's
>> expected to exist, and it's easier to just download a module's
>> source and compile it and test it.
>
> I agree.
>
> /run/booted-system/kernel/lib/modules/4.17.3-gnu is in the store
> anyway so it will be seen by the GC.
>
> The fix would be in linux-libre.

If we were to preserve the kernel build directory as a store item, and
keep a link from the modules directory to the build directory, that
would greatly increase the size of the most minimal system that users
could build.

The unpacked linux-libre-4.17 source directory is 929 megabytes, and
that's before building it.  So, keeping the build directory would surely
increase the closure size of the most minimal system by more than a
gigabyte.  I don't think it's okay to force all Guix users to pay that
price.  Some users will need to build minimal systems.

I'd like to hear more specifics about what the original poster is trying
to accomplish here.  It's possible that they simply noticed the broken
links and wanted to let us know.  In that case, it's probably best to
simply delete those broken symlinks.

If the intent here is to allow support for out-of-tree kernel modules,
then fixing these symlinks would not solve the problem, and it's not
clear to me that fixing them would be part of a proper solution on
GuixSD.  GuixSD is not a system where you can simply compile a kernel
module manually and install it, because our module directory is
immutable.  If the goal is to support building out-of-tree kernel
modules, that's a separate discussion that deserves its own "wishlist"
bug report, I think.

Thoughts?

       Mark




Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 16 Jul 2018 18:15:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 14:15:12 2018
Received: from localhost ([127.0.0.1]:44019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ff81g-0004bs-MY
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:15:12 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:44004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1ff81e-0004bj-PP
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:15:11 -0400
Received: from localhost (84-113-15-225.cable.dynamic.surfer.at
 [84.113.15.225])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 73E7933601EA;
 Mon, 16 Jul 2018 20:15:09 +0200 (CEST)
Date: Mon, 16 Jul 2018 20:15:00 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: <pkill9@HIDDEN>
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
Message-ID: <20180716201500.3d1f13ae@HIDDEN>
In-Reply-To: <E1ff7iJ-0002Jl-P1@HIDDEN>
References: <E1fenJF-0006Hr-S2@HIDDEN>
 <E1ff7iJ-0002Jl-P1@HIDDEN>
X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/X5uPs97jH3pgrZodO2uQ3pT"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32167
Cc: Mark H Weaver <mhw@HIDDEN>, 32167 <32167 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--Sig_/X5uPs97jH3pgrZodO2uQ3pT
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 16 Jul 2018 18:55:11 +0100 (BST)
<pkill9@HIDDEN> wrote:

> It would be good to keep the build directory though, since it's expected =
to exist, and it's easier to just download a module's source and compile it=
 and test it.

I agree.

/run/booted-system/kernel/lib/modules/4.17.3-gnu is in the store anyway so =
it will be seen by the GC.

The fix would be in linux-libre.

--Sig_/X5uPs97jH3pgrZodO2uQ3pT
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAltM4KQACgkQ5xo1VCww
uqU3Wwf/eFqQCY3XMuoSKbJOFxAPKnLmrt9ULELN7F9gRoa6ZlFJkWMnNyPeN5Xq
vAfBg65Jlhmuib4UtXn35cuw/wuGyNaG7CApLFnzIWFp3jjm6GH/tMaKD0/nlD10
KgG+FxGvg6TpHQ70RDyDQ9ZaXw5TyafzYpFrK0vk7fACkgHLdixt5CvRJ/9W/Ja3
jvwD5r2whss/pdOQa+rzkCzSfY7sBmyzfgCN0d91N1bOCkrcxSgimtZu3Garf3ro
iu8KBf6Bzml1Z3NUytuZyrabe2iq3FBnrHtpqaff9OVchaT4CWxaRNH/xwZViPN5
wHkt+4FQTEePihjrY3t2N/nYnDUGWw==
=Q8qQ
-----END PGP SIGNATURE-----

--Sig_/X5uPs97jH3pgrZodO2uQ3pT--




Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 16 Jul 2018 17:56:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 13:56:49 2018
Received: from localhost ([127.0.0.1]:44009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ff7jt-00048q-C9
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:56:49 -0400
Received: from aibo.runbox.com ([91.220.196.211]:51458)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pkill9@HIDDEN>) id 1ff7iL-00046a-E7
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:55:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=rbselector1; h=Message-Id:Date:Subject:To:From:MIME-Version:
 Content-Transfer-Encoding:Content-Type;
 bh=oam33iW7/ueBdXeY+wP/Kl2DXHwdWXDt8aUYhkqzB48=; b=HO1RGb4V0KwFc/m+AzIsKsXgM7
 gmx3oM86Y27UyyvJC50kRxu/LFjsFroeOg5L632cb47zwnuljoD81f7XxnsXtzOxvtgrA5BYqfKxu
 pAepnJ59FbtS5r6PEpZcuq0qHR/1MjoVSxdPITZMQ8V6sY5+KOMrOKPT9AzaqDfAwNcqyZxIjr3EF
 4+imARc0c6f8OgrqfsYfWK4pxgRSgV0kkh2KAsTKd2RwZB8n4UIMqtbjrMSXmQ5gRO+l2eoXjSgFc
 kHTSuGutlFlDoeYHJloN2PFppOmjP+Bc8+6Z93cBwih3DUxx6hmpfFGZzw5husbbgk2eMMWb7Rikv
 c1uqd9vQ==;
Received: from [10.9.9.128] (helo=rmmprod06.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>) id 1ff7iJ-00013g-QJ
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 19:55:11 +0200
Received: from mail by rmmprod06.runbox with local (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>) id 1ff7iJ-0002Jl-P1
 for 32167 <at> debbugs.gnu.org; Mon, 16 Jul 2018 19:55:11 +0200
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received: from [Authenticated user (850733)] by runbox.com with http
 (RMM6); for <32167 <at> debbugs.gnu.org>; Mon, 16 Jul 2018 17:55:11 GMT
From: <pkill9@HIDDEN>
To: "32167" <32167 <at> debbugs.gnu.org>
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
Date: Mon, 16 Jul 2018 18:55:11 +0100 (BST)
X-Mailer: RMM6
Message-Id: <E1ff7iJ-0002Jl-P1@HIDDEN>
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 32167
X-Mailman-Approved-At: Mon, 16 Jul 2018 13:56:48 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

It would be good to keep the build directory though, since it's expected to=
 exist, and it's easier to just download a module's source and compile it a=
nd test it.=




Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at 32167 <at> debbugs.gnu.org:


Received: (at 32167) by debbugs.gnu.org; 15 Jul 2018 21:32:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 15 17:32:13 2018
Received: from localhost ([127.0.0.1]:42108 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1feocn-0003g2-2f
	for submit <at> debbugs.gnu.org; Sun, 15 Jul 2018 17:32:13 -0400
Received: from static.195.114.201.195.clients.your-server.de
 ([195.201.114.195]:41960 helo=conspiracy.of.n0.is)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1feocl-0003dv-C5
 for 32167 <at> debbugs.gnu.org; Sun, 15 Jul 2018 17:32:12 -0400
Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id 3644af27
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sun, 15 Jul 2018 21:32:08 +0000 (UTC)
Date: Sun, 15 Jul 2018 21:32:53 +0000
From: Nils Gillmann <ng0@HIDDEN>
To: pkill9@HIDDEN
Subject: Re: bug#32167: Kernel 'build' directory in the store is a broken
 symbolic link
Message-ID: <20180715213253.sxpozqmex6mpwgu4@abyayala>
References: <E1fenJF-0006Hr-S2@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <E1fenJF-0006Hr-S2@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32167
Cc: Mark H Weaver <mhw@HIDDEN>, 32167 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

pkill9@HIDDEN transcribed 94 bytes:
> /run/booted-system/kernel/lib/modules/<kernel version>/build is a broken symbolic link.

Yep. This is not a bug until it comes to what you are possibly trying to attempt,
build a software which relies on your *current* kernel sources.

For a solution I can point to the Nix package for linux, where they deal with this
within the kernel package, for firmware and more. Because I'm short on time these
days I haven't sent a patch yet but I can confirm the issues you probably ran into
as I had them many months back already.

Mark, you are mostly responsible for the linux module in Guix.

Besides my own notes, this was relevant:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/manual-config.nix#L161




Information forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jul 2018 20:08:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 15 16:08:46 2018
Received: from localhost ([127.0.0.1]:42083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fenK2-0008UN-DC
	for submit <at> debbugs.gnu.org; Sun, 15 Jul 2018 16:08:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36852)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pkill9@HIDDEN>) id 1fenJU-0008TL-6v
 for submit <at> debbugs.gnu.org; Sun, 15 Jul 2018 16:08:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pkill9@HIDDEN>) id 1fenJN-0004W2-Sp
 for submit <at> debbugs.gnu.org; Sun, 15 Jul 2018 16:08:06 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID,UNPARSEABLE_RELAY
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44858)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pkill9@HIDDEN>) id 1fenJN-0004Vu-P0
 for submit <at> debbugs.gnu.org; Sun, 15 Jul 2018 16:08:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56055)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <pkill9@HIDDEN>) id 1fenJM-0006tx-Rq
 for bug-guix@HIDDEN; Sun, 15 Jul 2018 16:08:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pkill9@HIDDEN>) id 1fenJI-0004Tg-Sp
 for bug-guix@HIDDEN; Sun, 15 Jul 2018 16:08:04 -0400
Received: from aibo.runbox.com ([91.220.196.211]:53898)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <pkill9@HIDDEN>) id 1fenJI-0004SR-HX
 for bug-guix@HIDDEN; Sun, 15 Jul 2018 16:08:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=rbselector1; h=Message-Id:Date:Subject:To:From:MIME-Version:
 Content-Transfer-Encoding:Content-Type;
 bh=+8EH8BSpRHMGmmbjzil1NQfrbWJ0hAffCls10FboZQQ=; b=aDJE0odwBYT9jb6hNZ/TLVQEgQ
 fvSY6vfAANAHXwvx76cjEHouWp7K3ZC7mGkeYFGXkINc4ma1Dr0uFnrc36p8gJOtecnjyHheVAed4
 GuSvN4sWvVjwqG5MjKAu1Y0oz0KYH39opMiI85rZLATT1y3p1d5V0IsTD3qKJadIsuhqarXP+fTkD
 c82vDN45dZAx4LiZkLFdn2zXxxv9KkFXB3rXWkrNEU4JQRbKx7ToVg2SG+gtveTZOCP+AZw1JICbr
 KVAn7GYIv50BZ9ywRQJv2RATsCcttPhkI9iqvNZnVmI7aE9xStNfwKhubS7AnsrGnt03q5vQEONBm
 pHPHoZ7A==;
Received: from [10.9.9.128] (helo=rmmprod06.runbox)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>) id 1fenJF-0002MO-Ta
 for bug-guix@HIDDEN; Sun, 15 Jul 2018 22:07:57 +0200
Received: from mail by rmmprod06.runbox with local (Exim 4.86_2)
 (envelope-from <pkill9@HIDDEN>) id 1fenJF-0006Hr-S2
 for bug-guix@HIDDEN; Sun, 15 Jul 2018 22:07:57 +0200
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received: from [Authenticated user (850733)] by runbox.com with http
 (RMM6); for <bug-guix@HIDDEN>; Sun, 15 Jul 2018 20:07:57 GMT
From: <pkill9@HIDDEN>
To: "bug-guix" <bug-guix@HIDDEN>
Subject: Kernel 'build' directory in the store is a broken symbolic link
Date: Sun, 15 Jul 2018 21:07:57 +0100 (BST)
X-Mailer: RMM6
Message-Id: <E1fenJF-0006Hr-S2@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 15 Jul 2018 16:08:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.8 (----)

/run/booted-system/kernel/lib/modules/<kernel version>/build is a broken sy=
mbolic link.=




Acknowledgement sent to <pkill9@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#32167; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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