Transcript from build session, edited for brevity, and ignore special codes - 
done through screen hardcopy capture, which messes with line editing.
--------------------------------
 


Making lucid with debian-rules.txt

root@lucid-chroot:/home/user/kernel$ debootstrap lucid lucid-chroot/ 
http://ubucache:9999/ubuntu
I: Retrieving Release
I: Retrieving Packages
...
I: Base system installed successfully.
lucid-chroot:/home/user/kernel# chroot lucid-chroot/
root@lucid-chroot:/# cd
root@lucid-chroot:~# vi /etc/apt/sources.list
(add security updates and source repos)
root@lucid-chroot:~# cat !!$
cat /etc/apt/sources.list
deb http://ubucache:9999/ubuntu lucid main
deb-src http://ubucache:9999/ubuntu lucid main
deb http://ubucache:9999/ubuntu lucid-security main
deb-src http://ubucache:9999/ubuntu lucid-security main
...
root@lucid-chroot:~# apt-get dist-upgrade
...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
root@lucid-chroot:~# apt-get install language-pack-en
root@lucid-chroot:/# apt-get instaall fakeroot build-essential crash 
kexec-tools makedumpfile kernel-wedge
...
Setting up build-essential (11.4build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...

root@lucid-chroot:/# apt-get install fakeroot build-essential crash kexec-tools 
makedumpfile kernel-wedge=20
root@lucid-chroot:/# vi /etc/apt/sou=07rces.list
root@lucid-chroot:/# apt-get install git-core libncurses5-dev libelf-dev 
asciidoc binutils-dev

root@lucid-chroot:/# cd
root@lucid-chroot:~# mkdir kernel
root@lucid-chroot:~# cd kernel/
root@lucid-chroot:~/kernel# apt-get source --only-source linux
...
...
Fetched 87.3MB in 2min 25s (598kB/s)
root@lucid-chroot:~/kernel# cd linux-2.6.32/
root@lucid-chroot:~/kernel/linux-2.6.32# chmod -R a+x debian/scripts/*
root@lucid-chroot:~/kernel/linux-2.6.32# debian/rules editconfigs
...
dh_testdir
/bin/bash -e debian/scripts/misc/kernelconfig editconfig
Do you want to edit config: amd64/config.flavour.generic? [Y/n]

(changed BTRFS from <M> to < >)

#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

make[1]: Leaving directory `/root/kernel/linux-2.6.32'
Do you want to edit config: amd64/config.flavour.preempt? [Y/n] n
Do you want to edit config: amd64/config.flavour.server? [Y/n] n
Running splitconfig.pl for amd64

...

Do you want to edit config: i386/config.flavour.386? [Y/n] n
Do you want to edit config: i386/config.flavour.generic? [Y/n] n
Do you want to edit config: i386/config.flavour.generic-pae? [Y/n] n
Running splitconfig.pl for i386

...

Do you want to edit config: lpia/config.flavour.lpia? [Y/n] n
Running splitconfig.pl for lpia

...

Do you want to edit config: armel/config.flavour.versatile? [Y/n] n
Running splitconfig.pl for armel
...
Running config-check for all configurations ...

check-config: /tmp/tmp.2c497FRupo/CONFIGS/amd64-config.flavour.generic: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/amd64-config.flavour.preempt: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/amd64-config.flavour.server: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/i386-config.flavour.386: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/i386-config.flavour.generic: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/i386-config.flavour.generic-pae: 
loading config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/lpia-config.flavour.lpia: loading 
config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
check-config: /tmp/tmp.2c497FRupo/CONFIGS/armel-config.flavour.versatile: 
loading config
check-config: /root/kernel/linux-2.6.32/debian.master/config/enforce: loading 
checks
check-config: 21/21 checks passed -- exit 0
...


(this is the command to build, second time through.  First time had lots of 
output, then died with the same error)

root@lucid-chroot:~/kernel/linux-2.6.32# AUTOBUILD=1 NOEXTAS=1 
DEB_BUILD_OPTIONS=parallel=2 debian/rules binary-debs
# Add the tools.
install -d /root/kernel/linux-2.6.32/debian/linux-tools-2.6.32-35/usr/bin
install -s -m755 /root/kernel/linux-2.6.32/debian/build/tools-/tools/perf/perf \
                
/root/kernel/linux-2.6.32/debian/linux-tools-2.6.32-35/usr/bin/perf_2.6.32-35
dh_installchangelogs -plinux-tools-2.6.32-35
dh_installdocs -plinux-tools-2.6.32-35
dh_compress -plinux-tools-2.6.32-35
dh_fixperms -plinux-tools-2.6.32-35
dh_shlibdeps -plinux-tools-2.6.32-35
dh_installdeb -plinux-tools-2.6.32-35
dh_gencontrol -plinux-tools-2.6.32-35
dh_md5sums -plinux-tools-2.6.32-35
dh_builddeb -plinux-tools-2.6.32-35
dpkg-deb: building package `linux-tools-2.6.32-35' in 
`../linux-tools-2.6.32-35_2.6.32-35.78_amd64.deb'.
install -d /root/kernel/linux-2.6.32/debian.master/abi/2.6.32-35.78/amd64
find /root/kernel/linux-2.6.32/debian/build/build-generic/ -name \*.ko | \
                sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > 
/root/kernel/linux-2.6.32/debian.master/abi/2.6.32-35.78/amd64/generic.modules
II: Checking modules for generic...
   reading new modules...read 2604 modules.
   reading old modules...
      MISS: btrfs
      read 2605 modules : new(0)  missing(1)
EE: Missing modules (start begging for mercy)
make: *** [module-check-generic] Error 1
root@lucid-chroot:~/kernel/linux-2.6.32#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/899957

Title:
  Cannot compile kernel after changing configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899957/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to