"debian/rules updateconfigs" fails around postinst

Bug #662440 reported by Paul Hoffman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Did the following:
sudo apt-get install -y fakeroot kernel-wedge build-essential makedumpfile kernel-package
sudo apt-get build-dep -y linux
sudo apt-get build-dep -y --no-install-recommends linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
chmod -R u+x debian/scripts/*
debian/rules updateconfigs
fakeroot debian/rules clean
AUTOBUILD=1 fakeroot debian/rules binary-debs

After compiling everything, that ends with:
#
# Remove files which are generated at installation by postinst,
# except for modules.order and modules.builtin
#
# NOTE: need to keep this list in sync with postrm
#
mkdir /home/test/linux-2.6.35/debian/linux-image-2.6.35-22-generic/lib/modules/2.6.35-22-generic/_
mv /home/test/linux-2.6.35/debian/linux-image-2.6.35-22-generic/lib/modules/2.6.35-22-generic/modules.order \
                /home/test/linux-2.6.35/debian/linux-image-2.6.35-22-generic/lib/modules/2.6.35-22-generic/_
mv: cannot stat `/home/test/linux-2.6.35/debian/linux-image-2.6.35-22-generic/lib/modules/2.6.35-22-generic/modules.order': No such file or directory
make: *** [install-generic] Error 1

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.34
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
Date: Sun Oct 17 16:45:47 2010
HibernationDevice: RESUME=UUID=6c4a2443-377f-45fa-a714-7038f63131eb
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386 (20101007)
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
 Bus 002 Device 002: ID 80ee:0021
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: innotek GmbH VirtualBox
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/hostname-root ro quiet
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
RelatedPackageVersions: linux-firmware 1.38
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
Paul Hoffman (paul-hoffman) wrote :
Revision history for this message
Paul Mandal (paul-mandal) wrote :

Is "generic" your local version or arbitrary version signature?

I had the same issue so I wanted to see what a standard kernel's modules.order looked like

du@crustacean:/mnt/tmp/linux$ find -name modules.order
./debian/linux-image-2.6.35-22-lowpower/lib/modules/2.6.35-22-lowpowercrevice/modules.order

'lowpower' was the arbitrary version sig and 'crevice' was the local version, however, none of the scripts seemed to be including 'crevice' so it failed.

I hope that this helps you!

Revision history for this message
Paul Hoffman (paul-hoffman) wrote : Re: [Bug 662440] Re: "debian/rules updateconfigs" fails around postinst

"generic" is my local version.

FWIW, I have given up on the description of how to build the kernel
that is on the web site and am using one sent to me by someone else.
It is kind of amazing that the documented version doesn't even work. I
miss FreeBSD...

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: regression-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.