package openswan-modules-dkms 1:2.6.28 dfsg-5 failed to build

Bug #733382 reported by LexxTheFox
136
This bug affects 18 people
Affects Status Importance Assigned to Milestone
openswan (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: openswan-modules-dkms

lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04
apt-cache policy openswan-modules-dkms
openswan-modules-dkms:
  Установлен: 1:2.6.28+dfsg-5
  Кандидат: 1:2.6.28+dfsg-5
  Таблица версий:
 *** 1:2.6.28+dfsg-5 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

I expected it to build and install, but build procedure ended with:
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-6-generic'
ln -s -f /var/lib/dkms/openswan/2.6.28+dfsg/build/linux/net/ipsec/ipsec_init.c /var/lib/dkms/openswan/2.6.28+dfsg/build/modobj26/ipsec_init.c
  CC [M] /var/lib/dkms/openswan/2.6.28+dfsg/build/modobj26/ipsec_init.o
/var/lib/dkms/openswan/2.6.28+dfsg/build/modobj26/ipsec_init.c:22:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make[2]: *** [/var/lib/dkms/openswan/2.6.28+dfsg/build/modobj26/ipsec_init.o] Error 1
make[1]: *** [_module_/var/lib/dkms/openswan/2.6.28+dfsg/build/modobj26] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-6-generic'
make: *** [module26] Error 2
make: Leaving directory `/var/lib/dkms/openswan/2.6.28+dfsg/build'

It looks like the headers are not installed, but they are in place:
root@Voyager:/home/lexx# apt-cache policy linux-headers-2.6.38-6-generic
linux-headers-2.6.38-6-generic:
  Installed: 2.6.38-6.34
  Candidate: 2.6.38-6.34
  Version table:
 *** 2.6.38-6.34 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
root@Voyager:/home/lexx# apt-cache policy linux-headers-2.6.38-6-generic
linux-headers-2.6.38-6-generic:
  Installed: 2.6.38-6.34
  Candidate: 2.6.38-6.34
  Version table:
 *** 2.6.38-6.34 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
root@Voyager:/home/lexx# apt-cache policy linux-headers-generic
linux-headers-generic:
  Installed: 2.6.38.6.20
  Candidate: 2.6.38.6.20
  Version table:
 *** 2.6.38.6.20 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
root@Voyager:/home/lexx# ls /lib/
Display all 198 possibilities? (y or n)
root@Voyager:/home/lexx# ls /lib/modules/2.6.3
2.6.35-22-generic/ 2.6.38-6-generic/
root@Voyager:/home/lexx# ls /lib/modules/2.6.38-6-generic/
build/ modules.builtin modules.devname modules.order modules.symbols.bin
initrd/ modules.builtin.bin modules.ieee1394map modules.pcimap modules.usbmap
kernel/ modules.ccwmap modules.inputmap modules.seriomap updates/
modules.alias modules.dep modules.isapnpmap modules.softdep
modules.alias.bin modules.dep.bin modules.ofmap modules.symbols
root@Voyager:/home/lexx# ls /lib/modules/2.6.38-6-generic/kernel/
arch crypto drivers fs lib net security sound ubuntu
root@Voyager:/home/lexx# ls /usr/src/
bcmwl-5.100.82.38+bdcom/ linux-headers-2.6.38-6-generic/
linux-headers-2.6.38-6/ openswan-2.6.28+dfsg/
root@Voyager:/home/lexx# ls /usr/src/linux-headers-2.6.38-6/
Documentation Kconfig arch crypto firmware include ipc lib net scripts sound ubuntu virt
Kbuild Makefile block drivers fs init kernel mm samples security tools usr
root@Voyager:/home/lexx# ls /usr/src/linux-headers-2.6.38-6-generic/
Documentation Makefile block firmware init lib samples sound ubuntu
Kbuild Module.symvers crypto fs ipc mm scripts source usr
Kconfig arch drivers include kernel net security tools virt

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: openswan-modules-dkms 1:2.6.28+dfsg-5
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Fri Mar 11 21:30:23 2011
ErrorMessage: openswan kernel module failed to build
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageVersion: 1:2.6.28+dfsg-5
SourcePackage: openswan
Title: package openswan-modules-dkms 1:2.6.28+dfsg-5 failed to install/upgrade: openswan kernel module failed to build
UpgradeStatus: Upgraded to natty on 2011-03-11 (0 days ago)

Revision history for this message
LexxTheFox (lexxthefox-gmail) wrote :
Revision history for this message
Laurent Bigonville (bigon) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 739001, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openswan (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon Déziel (sdeziel) wrote :

Marking as invalid as 11.04 reached EOL long ago

Changed in openswan (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.