From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: bug#32167: Kernel 'build' directory in the store is a broken symbolic link Date: Sun, 15 Jul 2018 21:32:53 +0000 Message-ID: <20180715213253.sxpozqmex6mpwgu4@abyayala> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feodd-0002El-62 for bug-guix@gnu.org; Sun, 15 Jul 2018 17:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feoda-0008AM-2I for bug-guix@gnu.org; Sun, 15 Jul 2018 17:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feodZ-0008AC-U4 for bug-guix@gnu.org; Sun, 15 Jul 2018 17:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1feodZ-00040t-Ns for bug-guix@gnu.org; Sun, 15 Jul 2018 17:33:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: pkill9@runbox.com Cc: 32167@debbugs.gnu.org pkill9@runbox.com transcribed 94 bytes: > /run/booted-system/kernel/lib/modules//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