Package: hostap-source
Version: 1:0.4.1-1
Severity: important
Building under module-assistant fails with the following log (build.log.1).
Apart from the fact that it performs many steps more than once, the problem
seems to be with the "MODVERDIR" parameter to the sub-make invocation - it
passes the source directory, and the first thing the submake does is
clean the MODVERDIR, deleting the module source.
I believe MODVERDIR is supposed to be calculated directly, so I removed
it from the submake command line, but now the build fails with the
second log (build.log.2).
=== build.log.1 ===
/usr/bin/gcc-4.1
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.17/g ;s/#KVERS#/2.6.17/g ; s/_KVERS_/2.6.17/g ;
s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ >
${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean KERNEL_PATH=/usr/src/linux
make[1]: Entering directory `/usr/src/modules/hostap-source'
rm -f driver/modules/{hostap_cs.o,hostap_plx.o,hostap_pci.o}
rm -f
driver/modules/{hostap.o,hostap_crypt_wep.o,hostap_crypt_tkip.o,hostap_crypt_ccmp.o}
rm -f driver/modules/*.ko
rm -f driver/modules/*.ver
rm -f driver/modules/*.mod.[co]
rm -f driver/modules/*.mod
rm -f driver/modules/.hostap*.cmd
make[1]: Leaving directory `/usr/src/modules/hostap-source'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/hostap-source'
/usr/bin/gcc-4.1
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.17/g ;s/#KVERS#/2.6.17/g ; s/_KVERS_/2.6.17/g ;
s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ >
${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean KERNEL_PATH=/usr/src/linux
make[2]: Entering directory `/usr/src/modules/hostap-source'
rm -f driver/modules/{hostap_cs.o,hostap_plx.o,hostap_pci.o}
rm -f
driver/modules/{hostap.o,hostap_crypt_wep.o,hostap_crypt_tkip.o,hostap_crypt_ccmp.o}
rm -f driver/modules/*.ko
rm -f driver/modules/*.ver
rm -f driver/modules/*.mod.[co]
rm -f driver/modules/*.mod
rm -f driver/modules/.hostap*.cmd
make[2]: Leaving directory `/usr/src/modules/hostap-source'
make[1]: Nothing to be done for `kdist_config'.
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.17
# build and install the module
/usr/bin/make KERNEL_PATH=/usr/src/linux
DESTDIR=/usr/src/modules/hostap-source/debian/hostap-modules-2.6.17 OLDMAKE=
make[2]: Entering directory `/usr/src/modules/hostap-source'
/usr/bin/make -C /usr/src/linux
SUBDIRS=/usr/src/modules/hostap-source/driver/modules \
MODVERDIR=/usr/src/modules/hostap-source/driver/modules modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.17-1-686'
scripts/Makefile.build:17:
/usr/src/modules/hostap-source/driver/modules/Makefile: No such file or
directory
make[4]: *** No rule to make target
`/usr/src/modules/hostap-source/driver/modules/Makefile'. Stop.
make[3]: *** [_module_/usr/src/modules/hostap-source/driver/modules] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.17-1-686'
make[2]: *** [2.6] Error 2
make[2]: Leaving directory `/usr/src/modules/hostap-source'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/hostap-source'
make: *** [kdist_build] Error 2
=== build.log.2 ===
/usr/bin/gcc-4.1
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.17/g ;s/#KVERS#/2.6.17/g ; s/_KVERS_/2.6.17/g ;
s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ >
${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean KERNEL_PATH=/usr/src/linux
make[1]: Entering directory `/usr/src/modules/hostap-source'
rm -f driver/modules/{hostap_cs.o,hostap_plx.o,hostap_pci.o}
rm -f
driver/modules/{hostap.o,hostap_crypt_wep.o,hostap_crypt_tkip.o,hostap_crypt_ccmp.o}
rm -f driver/modules/*.ko
rm -f driver/modules/*.ver
rm -f driver/modules/*.mod.[co]
rm -f driver/modules/*.mod
rm -f driver/modules/.hostap*.cmd
make[1]: Leaving directory `/usr/src/modules/hostap-source'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/hostap-source'
/usr/bin/gcc-4.1
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.17/g ;s/#KVERS#/2.6.17/g ; s/_KVERS_/2.6.17/g ;
s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ >
${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean KERNEL_PATH=/usr/src/linux
make[2]: Entering directory `/usr/src/modules/hostap-source'
rm -f driver/modules/{hostap_cs.o,hostap_plx.o,hostap_pci.o}
rm -f
driver/modules/{hostap.o,hostap_crypt_wep.o,hostap_crypt_tkip.o,hostap_crypt_ccmp.o}
rm -f driver/modules/*.ko
rm -f driver/modules/*.ver
rm -f driver/modules/*.mod.[co]
rm -f driver/modules/*.mod
rm -f driver/modules/.hostap*.cmd
make[2]: Leaving directory `/usr/src/modules/hostap-source'
make[1]: Nothing to be done for `kdist_config'.
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.17
# build and install the module
/usr/bin/make KERNEL_PATH=/usr/src/linux
DESTDIR=/usr/src/modules/hostap-source/debian/hostap-modules-2.6.17 OLDMAKE=
make[2]: Entering directory `/usr/src/modules/hostap-source'
/usr/bin/make -C /usr/src/linux
SUBDIRS=/usr/src/modules/hostap-source/driver/modules modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.17-1-686'
CC [M] /usr/src/modules/hostap-source/driver/modules/hostap.o
In file included from
/usr/src/modules/hostap-source/driver/modules/hostap.c:110:
/usr/src/modules/hostap-source/driver/modules/hostap_ap.c:21: error: expected
‘)’ before string constant
/usr/src/modules/hostap-source/driver/modules/hostap_ap.c:26: error: expected
‘)’ before string constant
/usr/src/modules/hostap-source/driver/modules/hostap_ap.c:31: error: expected
‘)’ before string constant
/usr/src/modules/hostap-source/driver/modules/hostap_ap.c:36: error: expected
‘)’ before string constant
make[4]: *** [/usr/src/modules/hostap-source/driver/modules/hostap.o] Error 1
make[3]: *** [_module_/usr/src/modules/hostap-source/driver/modules] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.17-1-686'
make[2]: *** [2.6] Error 2
make[2]: Leaving directory `/usr/src/modules/hostap-source'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/hostap-source'
make: *** [kdist_build] Error 2
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Versions of packages hostap-source depends on:
ii bzip2 1.0.3-3 high-quality block-sorting file co
ii debhelper 5.0.37.3 helper programs for debian/rules
ii gcc 4:4.1.1-5 The GNU C compiler
ii module-assistant 0.10.5 tool to make module package creati
hostap-source recommends no packages.
-- no debconf information