Bug#514482: kernel-package: make-kpkg fails with permission error on control directory

2009-02-07 Thread Manoj Srivastava
tags 514482 +unreproducible
retitle 514482  make-kpkg fails under strange umask values
severity 514482 minor
thanks

Hi,

Can't be reproduced here. I just built the kernel.  The actual
 command to create the control file is
,
| test -f debian/control || sed -e 's/=V/$(KERNELRELEASE)/g'  \
|   -e 's/=D/$(debian)/g' -e 's/=A/$(DEB_HOST_ARCH)/g'  \
|   -e 's/=SA/$(INT_SUBARCH)/g'   -e 's/=L/$(int_loaderdep) /g' \
|   -e 's/=I/$(initrddep)/g'\
|   -e 's/=CV/$(VERSION).$(PATCHLEVEL)/g'   \
|   -e 's/=M/$(maintainer) <$(email)>/g'\
|   -e 's/=ST/$(INT_STEM)/g'  -e 's/=B/$(KERNEL_ARCH)/g'\
|  $(CONTROL) > debian/control
`

Hmm. I'll bet that the problem is that you are running with a
 funny umask. So. A bug that might need fixing, but it s a minor issue
 (like, use a sane umask for a workaround).

manoj
-- 
Cursor, n.: One whose program will not run. Robb Russon
Manoj Srivastava    
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



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



Bug#514482: kernel-package: make-kpkg fails with permission error on control directory

2009-02-07 Thread Bart Massey
Package: kernel-package
Version: 11.016
Severity: important


Running "make-kpkg buildpackage" in the 2.6.28.4 Git
directory as root eventually yields

  dpkg-deb: building package `linux-headers-2.6.28.4' in 
`../linux-headers-2.6.28.4_2.6.28.4-10.00.Custom_i386.deb'.
  dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and 
<=0775)

and then fails out.  Of course, the control directory was
created by make-kpkg, and changing its permissions doesn't
solve the problem.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (950, 'testing'), (650, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.2 (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/bash

Versions of packages kernel-package depends on:
ii  binutils2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  debianutils 2.30 Miscellaneous utilities specific t
ii  dpkg1.14.24  Debian package management system
ii  dpkg-dev1.14.24  Debian package development tools
ii  file4.26-1   Determines file type using "magic"
ii  gcc [c-compiler]4:4.3.2-2The GNU C compiler
ii  gcc-2.95 [c-compile 1:2.95.4-27  The GNU C compiler
ii  gcc-3.3 [c-compiler 1:3.3.6-15   The GNU C compiler
ii  gcc-3.4 [c-compiler 3.4.6-9  The GNU C compiler
ii  gcc-4.0 [c-compiler 4.0.3-7  The GNU C compiler
ii  gcc-4.1 [c-compiler 4.1.2-25 The GNU C compiler
ii  gcc-4.2 [c-compiler 4.2.4-6  The GNU C compiler
ii  gcc-4.3 [c-compiler 4.3.2-1.1The GNU C compiler
ii  gettext 0.17-4   GNU Internationalization utilities
ii  make3.81-5   The GNU version of the "make" util
ii  module-init-tools   3.4-1tools for managing Linux kernel mo
ii  perl5.10.0-19Larry Wall's Practical Extraction 
ii  po-debconf  1.0.15   manage translated Debconf template
ii  util-linux  2.13.1.1-1   Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  bzip2 1.0.5-1high-quality block-sorting file co
ii  libc6-dev [libc-dev]  2.7-18 GNU C Library: Development Librari

Versions of packages kernel-package suggests:
pn  docbook-utils  (no description available)
ii  e2fsprogs 1.41.3-1   ext2/ext3/ext4 file system utiliti
ii  initramfs-tools [linux-in 0.92o  tools for generating an initramfs
pn  libdb3-dev (no description available)
ii  libncurses5-dev [libncurs 5.7+20081213-1 developer's libraries and docs for
ii  linux-source-2.6.17 [linu 2.6.17-9   Linux kernel source for version 2.
ii  xmlto 0.0.20-5   XML-to-any converter

-- 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