I’m attempting to build 4.3 from Jessie (Debian) and I’m bumping into an interesting dependency:
[POC][root@debian xen-4.3.0]# debuild -us -uc -b -d
dpkg-buildpackage -rfakeroot -d -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package xen
dpkg-buildpackage: source version 4.3.0-3.1
dpkg-buildpackage: source changed by Brian Menges <bmenges>
dpkg-source --before-build xen-4.3.0
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
md5sum --check debian/control.md5sum --status || \
/usr/bin/make -f debian/rules debian/control-real
make[1]: Entering directory `/root/wheezy-xen-4.3/xen-4.3.0'
debian/bin/gencontrol.py
Traceback (most recent call last):
File "debian/bin/gencontrol.py", line 6, in <module>
from debian_xen.debian import VersionXen
File "/root/wheezy-xen-4.3/xen-4.3.0/debian/bin/../lib/python/debian_xen/__init__.py", line 19, in <module>
_setup()
File "/root/wheezy-xen-4.3/xen-4.3.0/debian/bin/../lib/python/debian_xen/__init__.py", line 16, in _setup
raise RuntimeError("Can't find %s, please install the linux-support-%s package" % (support, version))
RuntimeError: Can't find /usr/src/linux-support-3.10-3, please install the linux-support-3.10-3 package
make[1]: *** [debian/control-real] Error 1
make[1]: Leaving directory `/root/wheezy-xen-4.3/xen-4.3.0'
make: *** [debian/control] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -d -us -uc -b failed
It looks like the build scripts aren’t detecting my installation of linux-support-3.12-0.bpo.1 and has a version lock on 3.10-3 (which isn’t backported, and available only in Jessie even though BPO has the newest 3.12).
I tried looking into the Debian_xen/__init__py however I see that the line there ‘linux-support-%’ which I then checked ‘version’ and it says None. So I’m wondering where else this might be getting a frozen version from and not attempting
to check for other versions, or newer versions.
- Brian Menges
Principal Engineer, DevOps
GoGrid | ServePath | ColoServe | UpStream Networks