Bug#465677: linux-source-2.6.24
Package: linux-source-2.6.24
Version: 2.6.24-4
Severity: important
Building kernel 2.6.24 fails as shown below. A solution is to symbolicly link /usr/bin/moc-qt3 to /usr/bin/moc:
lrwxrwxrwx 1 root root 7 2008-02-13 16:57 moc -> moc-qt3*
-rwxr-xr-x 1 root root 505K 2008-02-09 13:38 moc-qt3*
and all is copacetic.
See also bug #409953 ``/usr/bin/moc must not be handled by alternatives''
------------------------- build output -------------------------
mhyre@elmore:/usr/src/linux$ time make-kpkg --append-to-version=-mh-svn.285 kernel-image
exec debian/rules DEBIAN_REVISION=1 APPEND_TO_VERSION=-mh-svn.285 kernel-image
[...snip...]
This is kernel package version 11.001-0.1.
[...snip...]
====== making target debian/stamp-kernel-conf [new prereqs: .config Makefile]======
/usr/bin/make EXTRAVERSION=-mh-svn.285 ARCH=i386 \
xconfig
make[1]: Entering directory `/usr/src/linux-source-2.6.24'
CHECK qt
/usr/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
make[2]: /usr/bin/moc: Command not found
make[2]: *** [scripts/kconfig/qconf.moc] Error 127
make[1]: *** [xconfig] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.24'
make: *** [debian/stamp-kernel-conf] Error 2
real 0m21.809s
user 0m10.281s
sys 0m3.748s
mhyre@elmore:/usr/src/linux$
------------------------- end build output -------------------------
--------------------- versions --------------------------
mhyre@elmore:~$ uname -a
Linux elmore 2.6.23-1-686 #1 SMP Fri Dec 21 13:57:07 UTC 2007 i686 GNU/Linux
mhyre@elmore:~$ dpkg -s qt3-dev-tools
Package: qt3-dev-tools
Status: install ok installed
[...snip...]
Source: qt-x11-free
Version: 3:3.3.8b-1
[...snip...]
mhyre@elmore:~$
--------------------- end versions --------------------------
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-source-2.6.24 depends on:
ii binutils 2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii bzip2 1.0.4-3 high-quality block-sorting file co
Versions of packages linux-source-2.6.24 recommends:
ii gcc 4:4.2.2-2 The GNU C compiler
ii libc6-dev [libc-dev] 2.7-6 GNU C Library: Development Librari
ii make 3.81-3 The GNU version of the "make" util
-- no debconf information
Reply to: