Debian Bug report logs - #577972
dkms: unclear diagnostics on build failure

version graph

Package: dkms; Maintainer for dkms is Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Affects: openafs-modules-dkms

Reported by: Jö Fahlke <jorrit@jorrit.de>

Date: Thu, 15 Apr 2010 17:06:02 UTC

Severity: normal

Tags: patch

Fixed in version dkms/2.1.1.2-6

Done: Giuseppe Iuculano <iuculano@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Russ Allbery <rra@debian.org>:
Bug#577972; Package openafs-modules-dkms. (Thu, 15 Apr 2010 17:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jö Fahlke <jorrit@jorrit.de>:
New Bug report received and forwarded. Copy sent to Russ Allbery <rra@debian.org>. (Thu, 15 Apr 2010 17:06:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jö Fahlke <jorrit@jorrit.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openafs-modules-dkms: Diagnostics on dkms build failure not helpful
Date: Thu, 15 Apr 2010 18:54:30 +0200
[Message part 1 (text/plain, inline)]
Package: openafs-modules-dkms
Version: 1.4.11+dfsg-6
Severity: normal

Hi!

Note that this report is about the unhelpful diagnostics, not about the build
failure itself.  I suspekt the latter has been reportet already, but I'll
check after this report.

When installing openafs-modules-dkms dkms fails to build the module:
======================================================================
Setting up openafs-modules-dkms (1.4.11+dfsg-6) ...

------------------------------
Deleting module version: 1.4.11
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/openafs/1.4.11/source ->
                 /usr/src/openafs-1.4.11

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
./configure --with-linux-kernel-headers=/lib/modules/2.6.32-3-amd64/build && make && mv src/libafs/MODLOAD-*/openafs.ko ..........................(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.32-3-amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/openafs/1.4.11/build/ for more information.
0
0
dpkg: error processing openafs-modules-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 openafs-modules-dkms
======================================================================

I would expect more information in
/var/lib/dkms/openafs/1.4.11/build/make.log, however, that file consists of
only two lines:
======================================================================
DKMS make.log for openafs-1.4.11 for kernel 2.6.32-3-amd64 (x86_64)
Thu Apr 15 18:47:08 CEST 2010
======================================================================
I would expect the output of configure in that file.

Thanks,
Jö.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openafs-modules-dkms depends on:
ii  bison                     1:2.4.1.dfsg-3 A parser generator that is compati
ii  dkms                      2.1.1.2-2      Dynamic Kernel Module Support Fram
ii  flex                      2.5.35-9       A fast lexical analyzer generator.

openafs-modules-dkms recommends no packages.

openafs-modules-dkms suggests no packages.

-- no debconf information

-- 
<ex-bart> seen die_MACHT
<Volk> I don't know who die_MACHT is.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#577972; Package openafs-modules-dkms. (Thu, 15 Apr 2010 19:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Russ Allbery <rra@debian.org>:
Extra info received and forwarded to list. (Thu, 15 Apr 2010 19:09:04 GMT) (full text, mbox, link).


Message #10 received at 577972@bugs.debian.org (full text, mbox, reply):

From: Russ Allbery <rra@debian.org>
To: Jö Fahlke <jorrit@jorrit.de>
Cc: 577972@bugs.debian.org, dkms@packages.debian.org
Subject: Re: Bug#577972: openafs-modules-dkms: Diagnostics on dkms build failure not helpful
Date: Thu, 15 Apr 2010 12:05:24 -0700
reassign 577972 dkms
affects 577972 openafs-modules-dkms
retitle 577972 dkms: unclear diagnostics on build failure
thanks

Jö Fahlke <jorrit@jorrit.de> writes:

> Note that this report is about the unhelpful diagnostics, not about the
> build failure itself.  I suspekt the latter has been reportet already,
> but I'll check after this report.

For the build failure, please try openafs-modules-dkms from unstable.
There are tons of bug fixes over the version in squeeze at the moment.
(It's waiting for the Kerberos libraries to migrate.)

For the unclear diagnostics, I'm reassigning your bug to dkms, since
openafs-modules-dkms just delegates all of this to the dkms package using
dh_dkms.  Indeed, even in recent versions, make.log appears to be
essentially empty after a build.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>




Bug reassigned from package 'openafs-modules-dkms' to 'dkms'. Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Thu, 15 Apr 2010 19:09:05 GMT) (full text, mbox, link).


Bug No longer marked as found in versions openafs/1.4.11+dfsg-6. Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Thu, 15 Apr 2010 19:09:06 GMT) (full text, mbox, link).


Added indication that 577972 affects openafs-modules-dkms Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Thu, 15 Apr 2010 19:09:07 GMT) (full text, mbox, link).


Changed Bug title to 'dkms: unclear diagnostics on build failure' from 'openafs-modules-dkms: Diagnostics on dkms build failure not helpful' Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Thu, 15 Apr 2010 19:09:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#577972; Package dkms. (Thu, 05 Aug 2010 22:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Anders Kaseorg <andersk@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Thu, 05 Aug 2010 22:57:05 GMT) (full text, mbox, link).


Message #23 received at 577972@bugs.debian.org (full text, mbox, reply):

From: Anders Kaseorg <andersk@MIT.EDU>
To: 577972@bugs.debian.org
Subject: [PATCH] dkms: Fix make.log redirection for compound make commands
Date: Thu, 5 Aug 2010 18:53:47 -0400 (EDT)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
 dkms |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dkms b/dkms
index be18c48..b29c40a 100644
--- a/dkms
+++ b/dkms
@@ -25,14 +25,14 @@ function invoke_command ()
     local exitval_file=`mktemp $tmp_location/dkms.XXXXXX`
     [ -z "$verbose" ] && echo -en "$2..." || echo -e "$1"
     if [ "$3" == background ] && [ -z "$verbose" ]; then
-        (eval $1 >/dev/null 2>&1; echo "exitval=$?" >> "$exitval_file") &
+        (eval "$1" >/dev/null 2>&1; echo "exitval=$?" >> "$exitval_file") &
         while [ -e "$exitval_file" ] && ! [ -s "$exitval_file" ]; do
             sleep 3
             echo -en "."
         done
         . "$exitval_file"
     else
-        eval $1; exitval=$?
+        eval "$1"; exitval=$?
     fi
     [ $exitval -gt 0 ] && echo -en "(bad exit status: $exitval)"
     rm -f "$exitval_file"
@@ -1524,7 +1524,7 @@ function do_build()
     echo $"`date`" >> "$dkms_tree/$module/$module_version/build/make.log"
     local the_make_command=`echo $make_command | sed "s/^make/make KERNELRELEASE=${kernelver_array[0]}/"`
 
-    invoke_command "$the_make_command >> $dkms_tree/$module/$module_version/build/make.log 2>&1" "$the_make_command" background
+    invoke_command "{ $the_make_command; } >> $dkms_tree/$module/$module_version/build/make.log 2>&1" "$the_make_command" background
 
     # Make sure good return status
     if [ "$?" -ne 0 ]; then
-- 
1.7.2





Added tag(s) patch. Request was from Anders Kaseorg <andersk@MIT.EDU> to control@bugs.debian.org. (Thu, 05 Aug 2010 22:57:08 GMT) (full text, mbox, link).


Reply sent to Giuseppe Iuculano <iuculano@debian.org>:
You have taken responsibility. (Sat, 12 Mar 2011 11:51:06 GMT) (full text, mbox, link).


Notification sent to Jö Fahlke <jorrit@jorrit.de>:
Bug acknowledged by developer. (Sat, 12 Mar 2011 11:51:06 GMT) (full text, mbox, link).


Message #30 received at 577972-close@bugs.debian.org (full text, mbox, reply):

From: Giuseppe Iuculano <iuculano@debian.org>
To: 577972-close@bugs.debian.org
Subject: Bug#577972: fixed in dkms 2.1.1.2-6
Date: Sat, 12 Mar 2011 11:47:46 +0000
Source: dkms
Source-Version: 2.1.1.2-6

We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive:

dkms_2.1.1.2-6.debian.tar.gz
  to main/d/dkms/dkms_2.1.1.2-6.debian.tar.gz
dkms_2.1.1.2-6.dsc
  to main/d/dkms/dkms_2.1.1.2-6.dsc
dkms_2.1.1.2-6_all.deb
  to main/d/dkms/dkms_2.1.1.2-6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 577972@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <iuculano@debian.org> (supplier of updated dkms package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 12 Mar 2011 11:07:47 +0100
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.2-6
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Giuseppe Iuculano <iuculano@debian.org>
Description: 
 dkms       - Dynamic Kernel Module Support Framework
Closes: 577972 592863
Changes: 
 dkms (2.1.1.2-6) unstable; urgency=low
 .
   [ Michael Gilbert ]
   * [430b97f] Fix logging for compound make statements (closes: #577972)
     - Thanks to Anders Kaseorg!
   * [935ae61] Check for debhelper when using 'dkms mkdeb' (closes: #592863)
   * [e739e8c] fixup logging patch
 .
   [ Giuseppe Iuculano ]
   * [46cc01a] Merge from Ubuntu: Before using the current kernel we need to make
     sure that this kernel doesn't belong to the host of a chroot and we should
     also be more careful when adding kernels to the candidates list
     (LP: #602408). - Thanks to Alberto Milone
   * [313d661] Merge from Ubuntu: depend on patch instead of recommending it, if
     its missing the "patches" feature of dkms will no longer work and that will
     cause build failures (LP: #653899)  Thanks to Michael Vogt
Checksums-Sha1: 
 73962b6551b8fddf635217022a90fb93f07736e4 1290 dkms_2.1.1.2-6.dsc
 32773086b531b80293676324d6681d03261c669b 18893 dkms_2.1.1.2-6.debian.tar.gz
 57195a4b0f34334e33542f118b9707bd19b35eaf 71754 dkms_2.1.1.2-6_all.deb
Checksums-Sha256: 
 6c72ccb6f0e88b4ac65a5798fda20551074bb0d60b83ad2d163776a6f0d1b152 1290 dkms_2.1.1.2-6.dsc
 c3cbc7bd39990d9524fa3412a01e8ffd1ba61802d4e4a7302c2f9877f2b8ffa6 18893 dkms_2.1.1.2-6.debian.tar.gz
 417739028944e674008a7695e633575ae9c5f0ba41a744a56f752f415e4cbb72 71754 dkms_2.1.1.2-6_all.deb
Files: 
 7be9ab4fdb876b2792c15f2a6a78a4a9 1290 kernel optional dkms_2.1.1.2-6.dsc
 6eb12f177b7127aff1f17824fab68223 18893 kernel optional dkms_2.1.1.2-6.debian.tar.gz
 f18b9641ed065b6751ed9c958739b2a3 71754 kernel optional dkms_2.1.1.2-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk17WasACgkQNxpp46476aqZdQCglNPIHikPznkbBJJkx3eyPaBr
AooAni94XveWEX3QYWGs/FQsNtyrljcx
=6exY
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 30 Apr 2011 08:40:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 9 17:01:36 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.