From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#32593: bad error message when kernel module does not exist Date: Sun, 02 Sep 2018 15:48:12 +0200 Message-ID: <87d0twau3n.fsf@gnu.org> References: <87ftyvandx.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [2001:4830:134:3::10] (port=33084 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwStG-0007Uw-Ky for bug-guix@gnu.org; Sun, 02 Sep 2018 09:58:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwSnS-0000DU-JA for bug-guix@gnu.org; Sun, 02 Sep 2018 09:52:22 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwSma-0008Nz-EH for bug-guix@gnu.org; Sun, 02 Sep 2018 09:52:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwSmM-00059e-6N for bug-guix@gnu.org; Sun, 02 Sep 2018 09:51:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87ftyvandx.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 30 Aug 2018 17:24:10 +0200") 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: Ricardo Wurmus Cc: 32593-done@debbugs.gnu.org Hello, Ricardo Wurmus skribis: > When a system is built that requests a kernel module that does not > exists, this is the error message a user will see: > > Backtrace: > 8 (primitive-load "/gnu/store/vz7ci9rh483f2zps2cl174rd91b?") > In ice-9/eval.scm: > 619:8 7 (_ #f) > 626:19 6 (_ #) > 159:9 5 (_ _) > In gnu/build/linux-modules.scm: > 184:47 4 (recursive-module-dependencies _ #:lookup-module _) > 98:14 3 (module-dependencies _) > 85:18 2 (modinfo-section-contents _) > In ice-9/ports.scm: > 439:11 1 (call-with-input-file #f # ?) > In unknown file: > 0 (open-file #f "r" #:encoding #f #:guess-encoding #f) > > ERROR: In procedure open-file: > Wrong type (expecting string): #f > builder for `/gnu/store/0ahsvp7wx52zzh1rywbdbq78llcwb7id-linux-modules.dr= v' failed with exit code 1 This project is incredible: the bug was fixed even before you had reported it, in commit 4db7a9dc663c5b26e45ec35538bf68ff87acdf7b. :-) You still get a backtrace, but at least the error message is somewhat clearer. (Should we do away with the backtrace?) Ludo=E2=80=99.