Using linux-source-2.6.30 version
2.6.30~rc5-1~experimental.1~snapshot.13629 from
kernel-archive.buildserver.net, even if I specify: MAKEFLAGS="cc=gcc-bogus"
ie a non-existent compiler,
make-kpkg configure
runs successfully.
Perhaps it would be best to remove the reference to using gcc in the
MAKEFLAGS in the man page for make-kpkg?
Regards,
Arthur.
Manoj Srivastava wrote, on 22/05/09 16:00:
tags 529811 unreproducible, moreinfo
thanks
Hi,
Works here.
--8<---------------cut here---------------start------------->8---
__> KBUILD_VERBOSE=1 MAKEFLAGS="CC=gcc-4.4" make-kpkg configure
unlink debian/docs/README.modules
...
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=.
mkdir -p kernel/
gcc-4.4 -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem -Iinclude
-I/usr/local/src/kernel/linux-2.6/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Os -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe
-Wno-sign-compare -fno-asynchronous-unwind-tables -Iarch/x86/include/asm/mach-default -fno-omit-frame-pointer
-fno-optimize-sibling-calls -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)"
-D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
/bin/sh: gcc-4.4: command not found
make[3]: *** [kernel/bounds.s] Error 127
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory `/usr/local/src/kernel/linux-2.6'
--8<---------------cut here---------------end--------------->8---
am64:/usr/src/linux-source-2.6.30-rc5# CONCURRENCY_LEVEL=4
MAKEFLAGS="cc=gcc-bogus" make-kpkg --append-to-version gcc-bogus configure
exec make kpkg_version=12.014 -f
/usr/share/kernel-package/ruleset/minimal.mk debian
APPEND_TO_VERSION=gcc-bogus
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-parsechangelog: error: tail of debian/changelog gave error exit
status 1
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-parsechangelog: error: tail of debian/changelog gave error exit
status 1
egrep: debian/control: No such file or directory
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-parsechangelog: error: tail of debian/changelog gave error exit
status 1
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-parsechangelog: error: tail of debian/changelog gave error exit
status 1
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-parsechangelog: error: tail of debian/changelog gave error exit
status 1
Can't open debian/control: No such file or directory at -e line 1.
Can't open debian/control: No such file or directory at -e line 1.
Can't open debian/control: No such file or directory at -e line 1.
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 12.014.
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
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 -f debian/control || sed -e 's/=V/2.6.30-rc5gcc-bogus/g' \
-e 's/=D/2.6.30-rc5gcc-bogus-10.00.Custom/g' -e
's/=A/amd64/g' \
-e 's/=SA//g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<[email protected]>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=V/2.6.30-rc5gcc-bogus/g' \
-e 's/=D/2.6.30-rc5gcc-bogus-10.00.Custom/g' -e
's/=A/amd64/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<[email protected]>/g'
\
/usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
test -d ./debian/stamp || mkdir debian/stamp
make -f debian/rules debian/stamp/conf/kernel-conf
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make EXTRAVERSION=-rc5gcc-bogus ARCH=x86_64 \
oldconfig;
make[2]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
scripts/kconfig/conf -o arch/x86/Kconfig
#
# using defaults found in /boot/config-2.6.30-rc5
#
#
# configuration written to .config
#
make[2]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
make EXTRAVERSION=-rc5gcc-bogus ARCH=x86_64 prepare
make[2]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
make[2]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
make[2]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
echo done > debian/stamp/conf/kernel-conf
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
make -f debian/rules debian/stamp/conf/full-changelog
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
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
install -p -m 755 /usr/share/kernel-package/rules debian/rules
sed -e 's/=V/2.6.30-rc5gcc-bogus/g' \
-e 's/=D/2.6.30-rc5gcc-bogus-10.00.Custom/g' -e
's/=A/amd64/g' \
-e 's/=SA//g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<[email protected]>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/Control > debian/control
sed -e 's/=V/2.6.30-rc5gcc-bogus/g' -e
's/=D/2.6.30-rc5gcc-bogus-10.00.Custom/g' \
-e 's/=A/amd64/g' -e 's/=M/Unknown Kernel Package
Maintainer <[email protected]>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
make -f debian/rules debian/stamp/conf/kernel-conf
make[2]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
make[2]: `debian/stamp/conf/kernel-conf' is up to date.
make[2]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
echo done > debian/stamp/conf/minimal_debian
exec debian/rules APPEND_TO_VERSION=gcc-bogus configure
====== making target debian/stamp/dummy-config-common [new prereqs: ]======
====== making target debian/stamp/do-pre-config-common [new prereqs:
dummy-config-common]======
/usr/bin/make -f debian/rules debian/stamp/pre-config-common
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/pre-config-common [new prereqs:
dummy-config-common]======
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/do-pre-config-arch [new prereqs:
do-pre-config-common]======
/usr/bin/make -f debian/rules debian/stamp/pre-config-arch
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/pre-config-arch [new prereqs:
do-pre-config-common]======
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/do-configure-arch [new prereqs:
do-pre-config-arch]======
/usr/bin/make -f debian/rules debian/stamp/dep-configure-arch
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target
debian/stamp/CONFIG/linux-headers-2.6.30-rc5gcc-bogus [new prereqs:
do-pre-config-arch]======
====== making target debian/stamp/CONFIG/linux-image-2.6.30-rc5gcc-bogus
[new prereqs: do-pre-config-arch]======
====== making target
debian/stamp/CONFIG/linux-image-2.6.30-rc5gcc-bogus-dbg [new prereqs:
do-pre-config-arch]======
====== making target debian/stamp/CONFIG/linux-uml-2.6.30-rc5gcc-bogus
[new prereqs: do-pre-config-arch]======
====== making target debian/stamp/CONFIG/linux-xen0-2.6.30-rc5gcc-bogus
[new prereqs: do-pre-config-arch]======
====== making target debian/stamp/CONFIG/linux-xenu-2.6.30-rc5gcc-bogus
[new prereqs: do-pre-config-arch]======
====== making target debian/stamp/dep-configure-arch [new prereqs:
do-pre-config-arch linux-headers-2.6.30-rc5gcc-bogus
linux-image-2.6.30-rc5gcc-bogus linux-image-2.6.30-rc5gcc-bogus-dbg
linux-uml-2.6.30-rc5gcc-bogus linux-xen0-2.6.30-rc5gcc-bogus
linux-xenu-2.6.30-rc5gcc-bogus]======
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/do-pre-config-indep [new prereqs:
do-pre-config-common]======
/usr/bin/make -f debian/rules debian/stamp/pre-config-indep
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/pre-config-indep [new prereqs:
do-pre-config-common kernel-conf]======
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/do-configure-indep [new prereqs:
do-pre-config-indep]======
/usr/bin/make -f debian/rules debian/stamp/dep-configure-indep
make[1]: Entering directory `/usr/src/linux-source-2.6.30-rc5'
====== making target
debian/stamp/CONFIG/linux-source-2.6.30-rc5gcc-bogus [new prereqs:
do-pre-config-indep]======
====== making target debian/stamp/CONFIG/linux-doc-2.6.30-rc5gcc-bogus
[new prereqs: do-pre-config-indep]======
====== making target
debian/stamp/CONFIG/linux-manual-2.6.30-rc5gcc-bogus [new prereqs:
do-pre-config-indep]======
====== making target debian/stamp/dep-configure-indep [new prereqs:
do-pre-config-indep linux-source-2.6.30-rc5gcc-bogus
linux-doc-2.6.30-rc5gcc-bogus linux-manual-2.6.30-rc5gcc-bogus]======
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc5'
====== making target debian/stamp/conf/common [new prereqs:
full-changelog]======
echo done > debian/stamp/conf/common
====== making target configure [new prereqs: do-configure-arch
do-configure-indep common]======
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]