[Pkg-mol-devel] Bug#412763: mol-source: creates an empty package in case of failure

Jörg Sommer joerg at alea.gnuu.de
Tue Feb 27 19:29:58 CET 2007


Package: mol-source
Version: 0.9.71.dfsg-5
Severity: normal

Hi,

I'm refering to building a package with make-kpkg[1]. If any failure
occurs while building the modules and no module is created, an empty
package is created. The error while building is not reflected to the exit
code of the creation process. IMO the make call for the subdirectories in
mol/Makefile should not ignore the return value.

% sed -n 31,37p ../modules/mol/Makefile
# descend into subdirectories and build modules
.PHONY: $(SUBDIRS)
build:  $(SUBDIRS)
$(SUBDIRS):
        -$(MAKE) -C $(KSRC) M=`pwd`/$@

# descend into subdirectories and install the modules

Bye, Jörg.

[1] make-kpkg --added-modules=$PWD/../modules/mol --rootcmd=fakeroot \
          modules_image

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages mol-source depends on:
ii  gcc                           4:4.1.1-15 The GNU C compiler
ii  libc6-dev                     2.5-0exp3  GNU C Library: Development Librari
ii  m4                            1.4.8-2    a macro processing language
ii  make                          3.81-3     The GNU version of the "make" util

Versions of packages mol-source recommends:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  kernel-package                10.067     A utility for building Linux kerne

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mol-devel/attachments/20070227/74e37eb9/attachment-0001.pgp


More information about the Pkg-mol-devel mailing list