Ian Jackson
2007-Nov-08 18:29 UTC
[Pkg-xen-devel] Bug#450638: Rebuild fails even if only debian/changelog updated
Package: xen-3 Version: 3.1.1-1 See the transcript below, where I * dpkg-source -x debian/xen-3_3.1.1-1.dsc * add an entry to debian/changelog at the top * run dpkg-buildpackage, which fails I installed the build-dependencies on sid and lenny and the path it's looking for doesn't exist there either. Thanks, Ian. mariner:d> dpkg-source -x ../debian/xen-3_3.1.1-1.dsc gpg: Signature made Sat Oct 20 09:23:18 2007 BST using DSA key ID 7F4E0E11 gpg: Can't check signature: public key not found dpkg-source: extracting xen-3 in xen-3-3.1.1 dpkg-source: unpacking xen-3_3.1.1-1.tar.gz mariner:d> cd xen-3-3.1.1/ mariner:xen-3-3.1.1> cp --backup ../../xen-sid.hg/debian/changelog debian/ mariner:xen-3-3.1.1> diff -u debian/changelog{~,} --- debian/changelog~ 2007-10-19 17:03:06.000000000 +0100 +++ debian/changelog 2007-11-08 15:55:48.000000000 +0000 @@ -1,3 +1,10 @@ +xen-3 (3.2~0changeset16319) unstable; urgency=low + + * Updated to xen-unstable changeset: 16319:dfe9c0c10a2c + * Made patches apply. + + -- Ian Jackson <iwj at mariner.uk.xensource.com> Thu, 8 Nov 2007 15:43:40 +0000 + xen-3 (3.1.1-1) unstable; urgency=low * New upstream release: mariner:xen-3-3.1.1> dpkg-checkbuilddeps mariner:xen-3-3.1.1> debian/rules build if [ -f debian/control ] && [ -f debian/control.md5sum ] && [ -f debian/rules.gen ]; then \ if md5sum debian/changelog debian/templates/control.hypervisor.in debian/templates/control.main.in debian/templates/control.source.in debian/templates/control.utils.in debian/arch/defines debian/arch/amd64/defines debian/arch/i386/defines | diff - debian/control.md5sum > /dev/null; then true; else \ /usr/bin/make -f debian/rules debian/control-real; \ fi \ else \ /usr/bin/make -f debian/rules debian/control-real; \ fi make[1]: Entering directory `/home/iwj/work/d/xen-3-3.1.1' debian/bin/gencontrol.py Traceback (most recent call last): File "debian/bin/gencontrol.py", line 4, in ? from debian_xen.debian import VersionXen File "/home/iwj/work/d/xen-3-3.1.1/debian/bin/../lib/python/debian_xen/__init__.py", line 19, in ? _setup() File "/home/iwj/work/d/xen-3-3.1.1/debian/bin/../lib/python/debian_xen/__init__.py", line 16, in _setup raise RuntimeError("Can't find %s" % support) RuntimeError: Can't find /usr/src/linux-support-2.6.22-2 make[1]: *** [debian/control-real] Error 1 make[1]: Leaving directory `/home/iwj/work/d/xen-3-3.1.1' make: *** [debian/control] Error 2 mariner:xen-3-3.1.1> debian/rules clean if [ -f debian/control ] && [ -f debian/control.md5sum ] && [ -f debian/rules.gen ]; then \ if md5sum debian/changelog debian/templates/control.hypervisor.in debian/templates/control.main.in debian/templates/control.source.in debian/templates/control.utils.in debian/arch/defines debian/arch/amd64/defines debian/arch/i386/defines | diff - debian/control.md5sum > /dev/null; then true; else \ /usr/bin/make -f debian/rules debian/control-real; \ fi \ else \ /usr/bin/make -f debian/rules debian/control-real; \ fi make[1]: Entering directory `/home/iwj/work/d/xen-3-3.1.1' debian/bin/gencontrol.py Traceback (most recent call last): File "debian/bin/gencontrol.py", line 4, in ? from debian_xen.debian import VersionXen File "/home/iwj/work/d/xen-3-3.1.1/debian/bin/../lib/python/debian_xen/__init__.py", line 19, in ? _setup() File "/home/iwj/work/d/xen-3-3.1.1/debian/bin/../lib/python/debian_xen/__init__.py", line 16, in _setup raise RuntimeError("Can't find %s" % support) RuntimeError: Can't find /usr/src/linux-support-2.6.22-2 make[1]: *** [debian/control-real] Error 1 make[1]: Leaving directory `/home/iwj/work/d/xen-3-3.1.1' make: *** [debian/control] Error 2 mariner:xen-3-3.1.1>
Bastian Blank
2007-Nov-08 20:14 UTC
[Pkg-xen-devel] Bug#450638: Bug#450638: Rebuild fails even if only debian/changelog updated
retitle 450638 xen-3 - document how to change package thanks On Thu, Nov 08, 2007 at 06:29:48PM +0000, Ian Jackson wrote:> I installed the build-dependencies on sid and lenny and the path it's > looking for doesn't exist there either.Build-dependencies are for building the package, not changing it. It is not really documented what is needed to change it. debian/changelog is critical here as the version is used for the abiname. Anyway, if you want to do snapshots from unstable use svn://svn.debian.org/pkg-xen/trunk/xen-unstable, it is configured differently. Bastian -- We fight only when there is no other choice. We prefer the ways of peaceful contact. -- Kirk, "Spectre of the Gun", stardate 4385.3
Ian Jackson
2007-Dec-10 11:51 UTC
[Pkg-xen-devel] Bug#450638: Bug#450638: Rebuild fails even if only debian/changelog updated
Bastian Blank writes ("Re: [Pkg-xen-devel] Bug#450638: Bug#450638: Rebuild fails even if only debian/changelog updated"):> On Fri, Nov 09, 2007 at 10:56:15AM +0000, Ian Jackson wrote: > > I've made the debian/patches from your svn apply to xen-unstable > > 16319. What would you like me to do with the result ? > > mailto:pkg-xen-devel at ...So, I wrote:> I've resolved the conflicts between the xen-unstable svn tree's > patchset and xen-unstable 16319 (which was the tip a few days ago). > The result is below, as the output of `svn diff' - so a series of > interdiffs, unfortunately.I didn't receive any reply. Should I file a bug ? Obviously the world has moved on. I now have a set of patches which are based on svn r455 and apply to hg 16573:38a45b7c6cb5. Ian.
Seemingly Similar Threads
- Bug#589661: xen: FTBFS: RuntimeError: Can't find /usr/src/linux-support-2.6.32-5, please install the linux-support-2.6.32-5 package
- Plans for buster
- xen-utils rebuild for stable (CVE-2007-4993)
- Bug#493393: xen-3: FTBFS: Permission problem
- [PATCH] Build against linux-support-2.6.32-2