Package: dkms
Version: 2.2.0.3-1.3
Severity: normal

The file /etc/dkms/template-dkms-mkdeb/Makefile, which I believe is
used by dkms mkdeb, makes rather dubious assumptions about permissions
in the module source.  In particular, it contains the following rule:

ifeq ("$(wildcard $(NAME)-$(VERSION))", "$(NAME)-$(VERSION)")
        install -d "$(SRC)"
        cp -a $(NAME)-$(VERSION) $(SRC)
        chmod 644 -R "$(SRC)/$(NAME)-$(VERSION)"
endif

That chmod will remove executability from any probe shell scripts,
configure scripts, or any other supporting infrastructure in the
package, which results in build failures.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages dkms depends on:
ii  build-essential  11.7
ii  coreutils        8.23-2
ii  dpkg-dev         1.17.13
ii  gcc              4:4.9.1-4
ii  kmod             18-3
ii  make             4.0-8
ii  patch            2.7.1-6

Versions of packages dkms recommends:
ii  fakeroot                                                         1.20.1-1.1
pn  linux-headers-686-pae | linux-headers-amd64 | linux-headers-gen  <none>
pn  linux-image                                                      <none>
ii  sudo                                                             1.8.10p3-1

dkms suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to