kernel FTBFS if there is a space in the path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
When building the kernel if there is a space " " in the path the build fails. Below is example output. (don't ask about the "Cobol" its scary enough as it is :-/). The build that FTBFS was performed before any kernel modifications were made. The issue is likely an unquoted path string somewhere. The real path name is: "~/projects/Cobol Files/locks/
--- snip ---
~/projects/Cobol
Files/locks/
-uc -rfakeroot
dpkg-buildpackage: source package is linux-source-2.6.15
dpkg-buildpackage: source version is 2.6.15-21.32
dpkg-buildpackage: source changed by Ben Collins <email address hidden>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
# if you need to change something, do it in the right place ;)
rm -rf TODO firmware modules kernel-versions package-list
cp -rp debian/d-i/i386/* .
mkdir -p modules/
cp -rp debian/
mkdir -p firmware/
cp -rp debian/
# ugly workaround from some fsck Makefile that removes all
# files called kernel-image, that is required by kernel-wedge to
# generate the kernel_*.udeb!
touch modules/
if [ -d modules/sparc64 ]; then \
cp -rp modules/
fi
kernel-wedge gen-control > debian/control
Use of uninitialized value in split
at /usr/share/
cat: /home/eric/
cat:
Files/locks/
dh_testdir
dh_testroot
make-kpkg --stem linux clean
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[1]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[1]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[1]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[1]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[1]: *** No rule to make target
`Files/
Stop.
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
make[1]: Entering directory `/home/
Files/locks/
/usr/bin/make -f /usr/share/
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[2]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[2]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[2]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[2]: *** No rule to make target
`Files/
Stop.
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[2]: *** No rule to make target
`Files/
Stop.
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
make[2]: Entering directory `/home/
Files/locks/
test ! -f .config || cp -pf .config config.precious
test -f Makefile && \
make[3]: Entering directory `/home/
Files/locks/
Makefile:317: /home/eric/
Makefile:317:
Files/locks/
Makefile:536: /home/eric/
Makefile:536:
Files/locks/
such file or directory
make[3]: *** No rule to make target
`Files/
Stop.
make[3]: Leaving directory `/home/
Files/locks/
make[2]: [real_stamp_clean] Error 2 (ignored)
test ! -f config.precious || mv -f config.precious .config
test ! -f stamp-patch || /usr/bin/make
-f /usr/share/
test -f stamp-building || test -f debian/official || rm -rf debian
# work around idiocy in recent kernel versions
test ! -e scripts/
mv -f scripts/
test ! -e scripts/
mv -f scripts/
rm -f modules/
scripts/
debian/buildinfo stamp-build stamp-configure stamp-source stamp-image
stamp-headers stamp-src stamp-diff stamp-doc stamp-buildpackage
stamp-libc-kheaders stamp-debian stamp-patch stamp-kernel-
rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image
debian/tmp-doc
make[2]: Leaving directory `/home/
Files/locks/
make[1]: Leaving directory `/home/
Files/locks/
rm -f stamp-* .config* release.Debian version.Debian
rm -rf /home/eric/
Files/locks/
rm -rf debian/build
dh_clean
# udebs/kernel-wedge
rm -rf TODO firmware modules kernel-versions package-list
debian/d-i-i386
cp -f debian/control.stub debian/control
# Check for the previous kernel's abi file; now a requirement for
# builds!
if [ ! -f "/home/
Files/locks/
Files/locks/
fi
if [ "21.31" != "0" ] && [ "21" = "" ]; then \
if [ ! -e "/home/
Files/locks/
Files/locks/
"Missing /home/eric/
Files/locks/
been detected!"; \
still proceeding as requested"; \
fi; \
fi
dpkg-source -b linux-source-
dpkg-source: building linux-source-2.6.15 in
linux-source-
dpkg-source: building linux-source-2.6.15 in
linux-source-
debian/rules build
echo 2.6.15-21.32 > release.Debian
echo 2.6.15 > version.Debian
dh_testdir
find . \( -path ./debian -o -path ./.git -o -name .gitignore \) -prune
-o -print | \
0 blocks
cd debian/
release.Debianmkdir -p debian/
cp debian/changelog debian/
cp debian/control debian/
cp debian/copyright debian/
> debian/
install -D -m755 debian/abi-install
debian/
install -D -m755 debian/post-install
debian/
chmod u+x debian/
for i in 386 686 k7 server server-bigiron; do \
cp -al debian/
debian/
debian/
debian/
debian/
cat debian/
debian/
ln -s /home/eric/
Files/locks/
debian/
if [ -e debian/
debian/
debian/
fi; \
done
ln: target `debian/
directory
make: *** [stamp-unpack] Error 1
--- snip ---
Changed in linux-source-2.6.15: | |
assignee: | nobody → ubuntu-kernel-team |
Looks like bug in kernel package.