kernel-package does not compile linux-kernel-2.6.27
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kernel-package (Debian) |
Fix Released
|
Unknown
|
|||
kernel-package (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kernel-package
Trying to compile linux-kernel-2.6.27 ubuntu way using kernel-
root@mdr:
exec debian/rules DEBIAN_
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 3: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
====== making target CLN-common [new prereqs: testdir]======
====== making target CLN-common [new prereqs: ]======
/usr/bin/make -f ./debian/rules real_stamp_clean
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 3: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
make[1]: se ingresa al directorio `/usr/src/
====== making target real_stamp_clean [new prereqs: ]======
running clean
test ! -f scripts/
mv -f scripts/
test ! -f scripts/
mv -f scripts/
test ! -f .config || cp -pf .config config.precious
test ! -f Makefile || \
make[2]: se ingresa al directorio `/usr/src/
Makefile:518: /usr/src/
make[2]: *** No hay ninguna regla para construir el objetivo `/usr/src/
make[2]: se sale del directorio `/usr/src/
make[1]: *** [real_stamp_clean] Error 2
make[1]: se sale del directorio `/usr/src/
make: *** [CLN-common] Error 2
root@mdr:
-------
root@mdr:
exec debian/rules DEBIAN_
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 3: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
====== making target CONFIG-common [new prereqs: testdir]======
====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/
mv -f scripts/
test ! -e scripts/
(mv -f scripts/
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/../g' -e 's/=D/2.
-e 's/=A/amd64/g' -e 's/=SA//g' \
-e 's/=L/grub,xen-vm, /g' -e 's/=I/initramfs
-e 's/=CV/./g' \
-e 's/=M/Unknown Kernel Package Maintainer <email address hidden>/g' \
-e 's/=ST/linux/g' -e 's/=B/xen/g' \
test -f stamp-debian || test -f debian/official || \
sed -e 's/=V/../g' -e 's/=D/2.
-e 's/=A/amd64/g' -e 's/=M/Unknown Kernel Package Maintainer <email address hidden>/g' \
-e 's/=ST/linux/g' -e 's/=B/xen/g' \
/usr/
test -f debian/rules || install -p -m 755 /usr/share/
test -f stamp-debian || test -f debian/official || \
for file in ChangeLog Control Control.bin86 config templates.in rules; do \
cp -f /usr/share/
done
test -f stamp-debian || test -f debian/official || \
for dir in Config docs examples ruleset scripts pkg po; do \
cp -af /usr/share/
done
echo done > stamp-debian
echo done > debian/stamp-conf
====== making target CONFIG-common [new prereqs: stamp-conf]======
This is kernel package version 11.001-0.1.
====== making target stamp-arch-conf [new prereqs: CONFIG-
====== making target CONFIG-arch [new prereqs: stamp-arch-
====== making target conf.vars [new prereqs: Makefile .config]======
Makefile:518: /usr/src/
make[1]: *** No hay ninguna regla para construir el objetivo `/usr/src/
make: *** [conf.vars] Error 2
root@mdr:
Thx,
Alberto.
description: | updated |
Changed in kernel-package: | |
status: | Unknown → Fix Released |
I was having a similar issue, notice in your log when you run make-kpkg it is trying to build with ARCH=xen.
Try adding --arch=amd64 or --arch=i386 when calling make-kpkg. That got me past this issue.