Package: tp-smapi-source
Version: 0.41-1
Severity: normal
Dear maintainer,
shambhala:~> LANG=C m-a clean tp-smapi
shambhala:~> LANG=C m-a prepare
Getting source for kernel version: 3.7-trunk-686-pae
apt-get install linux-headers-3.7-trunk-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.7-trunk-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Done!
with
shambhala:~> apt-show-versions tp-smapi-source
tp-smapi-source/wheezy uptodate 0.41-1
leads to:
shambhala:~> LANG=C m-a -t a-i tp-smapi
.
Updated infos about 1 packages
Getting source for kernel version: 3.7-trunk-686-pae
apt-get install linux-headers-3.7-trunk-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.7-trunk-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Done!
Bad luck, the kernel headers for the target kernel version could not be found
and you did not specify other valid kernel headers to use.
However, you can install the header files for your kernel which are provided by
the linux-headers-3.7-trunk-686-pae package. For most modules packages,
these files are perfectly sufficient without having the original kernel source.
To install the package, run:
module-assistant prepare
or
apt-get install linux-headers-3.7-trunk-686-pae
Expected results:
It builds me a package.
It does so on another laptop with 3.7 and 3.8-rc2 compiled via make-kpkg.
Trying to build with manually setting include directories give:
shambhala:~#7> LANG=C m-a -t -k
/usr/src/linux-headers-3.7-trunk-686-pae,/usr/src/linux-headers-3.7-trunk-common
-l 3.7-trunk-686-pae a-i tp-smapi
Warning, /usr/src/linux-headers-3.7-trunk-common seems to contain unconfigured
kernel source (see manpage for details)!
.
Updated infos about 1 packages
Getting source for kernel version: 3.7-trunk-686-pae
Kernel headers available in /usr/src/linux-headers-3.7-trunk-686-pae
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Done!
Warning, /usr/src/linux-headers-3.7-trunk-common seems to contain unconfigured
kernel source (see manpage for details)!
unpack
Extracting the package tarball, /usr/src/tp-smapi.tar.bz2, please wait...
"/usr/share/modass/overrides/tp-smapi-source" build KVERS=3.7-trunk-686-pae
KSRC=/usr/src/linux-headers-3.7-trunk-686-pae KDREV=3.7.1-1~experimental.1 kd
ist_image
dh_testdir
# Cleaning package
/usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/tp-smapi'
rm -f tp_smapi.mod.* tp_smapi.o tp_smapi.ko .tp_smapi.*.cmd
rm -f thinkpad_ec.mod.* thinkpad_ec.o thinkpad_ec.ko .thinkpad_ec.*.cmd
rm -f hdaps.mod.* hdaps.o hdaps.ko .hdaps.*.cmd
rm -f *~ diff/*~ *.orig diff/*.orig *.rej diff/*.rej
rm -f tp_smapi-*-for-*.patch
rm -fr .tmp_versions Modules.symvers diff/hdaps.diff.tmp
make[1]: Leaving directory `/usr/src/modules/tp-smapi'
dh_clean
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/tp-smapi'
dh_testdir
[… further cleaning …]
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the module
/usr/bin/make modules KSRC=/usr/src/linux-headers-3.7-trunk-686-pae
KVER=3.7-trunk-686-pae HDAPS=1
make[2]: Entering directory `/usr/src/modules/tp-smapi'
/usr/bin/make -C /usr/src/linux-headers-3.7-trunk-686-pae
M=/usr/src/modules/tp-smapi O=/usr/src/linux-headers-3.7-trunk-686-pae modules
make[3]: Entering directory `/usr/src/linux-headers-3.7-trunk-686-pae'
CC [M] /usr/src/modules/tp-smapi/thinkpad_ec.o
In file included from
/usr/src/linux-headers-3.7-trunk-common/include/uapi/linux/types.h:4:0,
from
/usr/src/linux-headers-3.7-trunk-common/include/linux/types.h:5,
from
/usr/src/linux-headers-3.7-trunk-common/include/linux/kernel.h:8,
from /usr/src/modules/tp-smapi/thinkpad_ec.c:32:
/usr/src/linux-headers-3.7-trunk-common/arch/x86/include/asm/types.h:4:31:
fatal error: asm-generic/types.h: No such file or directory
compilation terminated.
make[6]: *** [/usr/src/modules/tp-smapi/thinkpad_ec.o] Error 1
make[5]: *** [_module_/usr/src/modules/tp-smapi] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.7-trunk-686-pae'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/tp-smapi'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/tp-smapi'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/tp-smapi-source.buildlog.3.7-trunk-686-pae.1357298274 for
details.
Build failed. Press Return to continue...
I read manpage about make menuconfig and make prepare regarding
Warning, /usr/src/linux-headers-3.7-trunk-common seems to contain unconfigured
kernel source (see manpage for details)!
but I never did this. Anyway this doesn´t work either:
shambhala:/usr/src/linux-headers-3.7-trunk-common> LANG=C make menu-config
scripts/Makefile.build:44:
/usr/src/linux-headers-3.7-trunk-common/scripts/basic/Makefile: No such file or
directory
make[1]: *** No rule to make target
`/usr/src/linux-headers-3.7-trunk-common/scripts/basic/Makefile'. Stop.
make: *** [scripts_basic] Error 2
shambhala:/usr/src/linux-headers-3.7-trunk-common#2> LANG=C make prepare
scripts/Makefile.build:44:
/usr/src/linux-headers-3.7-trunk-common/scripts/basic/Makefile: No such file or
directory
make[2]: *** No rule to make target
`/usr/src/linux-headers-3.7-trunk-common/scripts/basic/Makefile'. Stop.
make[1]: *** [scripts_basic] Error 2
scripts/Makefile.build:44:
/usr/src/linux-headers-3.7-trunk-common/arch/x86/syscalls/Makefile: No such
file or directory
make[1]: *** No rule to make target
`/usr/src/linux-headers-3.7-trunk-common/arch/x86/syscalls/Makefile'. Stop.
make: *** [archheaders] Error 2
Thanks,
Martin
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (450, 'testing'), (400, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.7-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tp-smapi-source depends on:
ii debhelper 9.20120909
ii module-assistant 0.11.4
tp-smapi-source recommends no packages.
Versions of packages tp-smapi-source suggests:
ii sysfsutils 2.1.0+repack-2
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]