Hello :)
I've run my make-kpkg command under script and logged the entire output.
Obviously it is quite large so I have trimmed it somewhat before sending it.
Hopefully it's useful! If you want the entire log I can send that, but it
might be better to do that off list.
I hope this helps, thanks for your time!
-- Andrew
----- Original Message -----
From: "Manoj Srivastava" <[EMAIL PROTECTED]>
To: "Andrew Meaden" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 30, 2006 1:13 AM
Subject: Re: Bug#359832: kernel-package: More information on build error
message
Hi,
Could you run this under script and provide a log of the
actual command and the first 50 or so lines of that log?
Thanks,
manoj
--
"A mind is a terrible thing to have leaking out your ears." The League
of Sadistic Telepaths
Manoj Srivastava <[EMAIL PROTECTED]>
<http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Script started on Thu 30 Mar 2006 09:02:09 EST
[EMAIL PROTECTED]:~$ su
Password:
leviathon:/home/nem# cd /usr/src/i linux
leviathon:/usr/src/linux# cd ..
leviathon:/usr/src# rm -rf linux-source-2.6.16
linux-source-2.6.16/ linux-source-2.6.16.tar.bz2
leviathon:/usr/src# rm -rf linux-source-2.6.16 ; tar xvj jf linux-source-2.6.16.tar.bz2
dpkg -l linux-source-2.6.16
leviathon:/usr/src# dpkg -l linux-source-2.6.16
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================-====================-========================================================
ii linux-source-2.6.16 2.6.16-4 Linux kernel source for version
2.6.16 with Debian patch
leviathon:/usr/src# ls -lha linux-source-2.6.16.tar.bz2
-rw-r--r-- 1 root root 39M 2006-03-29 02:30 linux-source-2.6.16.tar.bz2
leviathon:/usr/src# cd [Kls -lha linux-source-2.6.16.tar.bz2
[Klinux
lrwxrwxrwx 1 root src 19 2006-03-22 20:49 linux -> linux-source-2.6.16
leviathon:/usr/src# cd linux
leviathon:/usr/src/linux# cp ../.config.2.6.16 .config
leviathon:/usr/src/linux# make oldconfig
HOSTCC scripts/basic/fixdep
*snip*
leviathon:/usr/src/linux# make-kpkg --revision 2.6.16-4 kernel_image
I note you are using a hyphen in the revision number.
Please ensure that the upstream and debian revision
numbers are policy compliant enough that dpkg and
shall not choke on them at the end of the compile
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=2.6.16-4
====== making target minimal_debian [new prereqs: ]======
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed -e 's/=V/2.6.16/g' \
-e 's/=D/2.6.16-4/g' -e 's/=A/i386/g' \
-e 's/=SA//g' -e 's/=L/ /g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Andrew Meaden <[EMAIL PROTECTED]>/g'
\
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
/usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=V/2.6.16/g' \
-e 's/=D/2.6.16-4/g' -e 's/=A/i386/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
-e 's/=M/Andrew Meaden <[EMAIL PROTECTED]>/g'
\
/usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog Control Control.bin86 config templates.in rules; do
\
cp -f /usr/share/kernel-package/$file ./debian/;
\
done
for dir in Config docs examples ruleset scripts pkg po; do
\
cp -af /usr/share/kernel-package/$dir ./debian/;
\
done
test -d ./debian/stamps || mkdir debian/stamps
exec debian/rules DEBIAN_REVISION=2.6.16-4 kernel_image
====== making target CONFIG-common [new prereqs: testdir]======
====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile scripts/package/Makefile.dist && \
(echo "# Dummy file "; echo "help:") > scripts/package/Makefile)
test -d debian || mkdir ./debian
test ! -e stamp-building || rm -f stamp-building
test ! -f ./debian || test -f stamp-debian || test -f debian/official || \
(rm -rf ./debian && mkdir ./debian)
test -f stamp-debian || \
( test -f debian/official && test -f debian/control) || \
sed -e 's/=V/2.6.16/g' -e 's/=D/2.6.16-4/g' \
-e 's/=A/i386/g' -e 's/=SA//g' \
-e 's/=L/lilo (>= 19.1) | grub, /g' -e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Andrew Meaden <[EMAIL PROTECTED]>/g'
\
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
/usr/share/kernel-package/Control> debian/control
test -f stamp-debian || test -f debian/official || \
sed -e 's/=V/2.6.16/g' -e 's/=D/2.6.16-4/g' \
-e 's/=A/i386/g' -e 's/=M/Andrew Meaden <[EMAIL PROTECTED]>/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
/usr/share/kernel-package/changelog > debian/changelog
test -f debian/rules || install -p -m 755 /usr/share/kernel-package/rules
debian/rules
test -f stamp-debian || test -f debian/official || \
for file in ChangeLog Control Control.bin86 config templates.in
rules; do \
cp -f /usr/share/kernel-package/$file ./debian/;
\
done
test -f stamp-debian || test -f debian/official || \
for dir in Config docs examples ruleset scripts pkg po; do
\
cp -af /usr/share/kernel-package/$dir ./debian/;
\
done
echo done > stamp-debian
echo done > debian/stamp-conf
====== making target CONFIG-common [new prereqs: stamp-conf]======
====== making target stamp-arch-conf [new prereqs: CONFIG-common]======
====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making target conf.vars [new prereqs: Makefile .config]======
====== making target CONFIG-arch [new prereqs: .config conf.vars]======
====== making target CONFIG/linux-headers-2.6.16 [new prereqs:
CONFIG-arch]======
====== making target CONFIG/linux-image-2.6.16 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-uml-2.6.16 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-xen0-2.6.16 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-xenu-2.6.16 [new prereqs: CONFIG-arch]======
====== making target stamp-configure-arch [new prereqs: linux-headers-2.6.16
linux-image-2.6.16 linux-uml-2.6.16 linux-xen0-2.6.16 linux-xenu-2.6.16]======
====== making target configure-arch [new prereqs: stamp-configure-arch]======
====== making target stamp-indep-conf [new prereqs: CONFIG-common]======
====== making target CONFIG-indep [new prereqs: stamp-indep-conf]======
====== making target debian/stamp-kernel-conf [new prereqs: .config
Makefile]======
/usr/bin/make ARCH=i386 \
oldconfig
make[1]: Entering directory `/usr/src/linux-source-2.6.16'
scripts/kconfig/conf -o arch/i386/Kconfig
#
# using defaults found in .config
#
*
* Linux Kernel Configuration
*
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
*
* General setup
*
Local version - append to kernel release (LOCALVERSION) [-captainnem]
-captainnem
Automatically append version information to the version string
(LOCALVERSION_AUTO) [Y/n/?] y
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y
BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y
BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n
Sysctl support (SYSCTL) [Y/n/?] y
Auditing support (AUDIT) [Y/n/?] y
*snip*
make[1]: Leaving directory `/usr/src/linux-source-2.6.16'
/usr/bin/make ARCH=i386 prepare
make[1]: Entering directory `/usr/src/linux-source-2.6.16'
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
GEN include/asm-i386/asm-offsets.h
make[1]: Leaving directory `/usr/src/linux-source-2.6.16'
echo done > debian/stamp-kernel-conf
====== making target CONFIG-indep [new prereqs: conf.vars
stamp-kernel-conf]======
====== making target CONFIG/linux-source-2.6.16 [new prereqs:
CONFIG-indep]======
====== making target CONFIG/linux-doc-2.6.16 [new prereqs: CONFIG-indep]======
====== making target CONFIG/linux-manual-2.6.16 [new prereqs:
CONFIG-indep]======
====== making target stamp-configure-indep [new prereqs: linux-source-2.6.16
linux-doc-2.6.16 linux-manual-2.6.16]======
====== making target configure-indep [new prereqs: stamp-configure-indep]======
====== making target stamp-configure [new prereqs: configure-arch
configure-indep]======
====== making target debian/stamp-build-kernel [new prereqs: sanity_check
stamp-kernel-conf]======
if [ -f include/linux/version.h ]; then uts_ver=$(grep 'define UTS_RELEASE' include/linux/version.h | perl -nle 'm/^\s*\#define\s+UTS_RELEASE\s+("?)(\S+)\1/g && print
$2;'); if [ "X$uts_ver" != "X2.6.16-captainnem" ]; then echo "The UTS Release version in include/linux/version.h"; echo "
\"$uts_ver\" "; echo "does not match current version " ; echo " \"2.6.16\" " ; echo "Reconfiguring." ; touch Makefile; fi;
fi
/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux-source-2.6.16'
CHK include/linux/version.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
*snip* ... lots of compiling here
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
AS arch/i386/boot/bootsect.o
LD arch/i386/boot/bootsect
AS arch/i386/boot/setup.o
LD arch/i386/boot/setup
AS arch/i386/boot/compressed/head.o
CC arch/i386/boot/compressed/misc.o
OBJCOPY arch/i386/boot/compressed/vmlinux.bin
GZIP arch/i386/boot/compressed/vmlinux.bin.gz
LD arch/i386/boot/compressed/piggy.o
LD arch/i386/boot/compressed/vmlinux
OBJCOPY arch/i386/boot/vmlinux.bin
HOSTCC arch/i386/boot/tools/build
BUILD arch/i386/boot/bzImage
Root device is (3, 2)
Boot sector 512 bytes.
Setup is 4602 bytes.
System is 1384 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
make[1]: Leaving directory `/usr/src/linux-source-2.6.16'
/usr/bin/make ARCH=i386 \
modules
make[1]: Entering directory `/usr/src/linux-source-2.6.16'
CHK include/linux/version.h
CC [M] arch/i386/kernel/msr.o
CC [M] arch/i386/kernel/cpuid.o
*snip* ... *BIG* pile of compiling here
CC sound/soundcore.mod.o
LD [M] sound/soundcore.ko
make[1]: Leaving directory `/usr/src/linux-source-2.6.16'
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils ldso make dpkg-dev |\
awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }' > debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
echo kernel source package used: >> debian/buildinfo
COLUMNS=150 dpkg -l linux-source-2.6.16 | \
awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }' >> debian/buildinfo
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp-build-kernel
====== making target install/linux-image-2.6.16 [new prereqs: ]======
echo "The UTS Release version in include/linux/version.h"; echo " \"2.6.16-captainnem\" "; echo "does not
match current version:"; echo " \"2.6.16\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
"2.6.16-captainnem"
does not match current version:
"2.6.16"
Please correct this.
make: *** [install/linux-image-2.6.16] Error 2
leviathon:/usr/src/linux# exit
[EMAIL PROTECTED]:~$ exit
Script done on Thu 30 Mar 2006 10:14:45 EST