Your message dated Mon, 12 Sep 2011 11:02:08 +0000
with message-id <[email protected]>
and subject line Bug#504346: fixed in cdbs 0.4.97
has caused the Debian Bug report #504346,
regarding cdbs: make it possible to have setup.py in a far down subdir and 
still do "autotools" in other dirs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
504346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cdbs
Version: 0.4.52
Severity: normal
Tags: patch


I have a source package which is a c++ package using autotools and some
python stuff in some foo/bar/baz subdir.

I couldn't trick cdbs into supporting that, as it is DEB_SRCDIR is used
in both.

I tried whip up the following, and it solved it for me. I *think* it is
compatible, but a bit unsure:

It is basically as mentioned in the first hunk, my comment, what is
done.

--- /usr/share/cdbs/1/class/python-distutils.mk 2008-04-01 11:51:40.000000000 
+0200
+++ debian/cdbs/python-distutils.mk     2008-11-02 23:55:44.000000000 +0100
@@ -33,6 +33,10 @@

 # Once all old-style packages are removed before etch, some of the old
 # can be refactored or removed.
+#
+# DIFF to real cdbs version
+# s/DEB_SRCDIR/DEB_PYTHON_SRCDIR/
+# and added DEB_PYTHON_SRCDIR ?= $(DEB_SRCDIR)


 _cdbs_scripts_path ?= /usr/lib/cdbs
@@ -45,6 +49,7 @@ _cdbs_class_python_distutils = 1
 include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
 include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)

+DEB_PYTHON_SRCDIR ?= $(DEB_SRCDIR)

 # check python system
 cdbs_use_xs_field := $(shell grep -q "^XS-Python-Version:" debian/control && 
echo yes)
@@ -119,7 +124,7 @@ cdbs_python_ver = $(filter-out -%,$(subs

 common-build-arch common-build-indep:: common-build-impl
 common-build-impl::
-       cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+       cd $(DEB_PYTHON_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)


 # See if this package doesn't appear to need to be compiled by multiple
@@ -127,14 +132,14 @@ common-build-impl::
 ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
 common-install-arch common-install-indep:: common-install-impl
 common-install-impl::
-       cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+       cd $(DEB_PYTHON_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
 else
 $(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
-       cd $(DEB_SRCDIR) && python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) 
install --root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) 
$(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+       cd $(DEB_PYTHON_SRCDIR) && python$(cdbs_python_ver) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(CURDIR)/debian/$(cdbs_curpkg) 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
 endif

 $(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
-       cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install 
--root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) 
$(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+       cd $(DEB_PYTHON_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install 
--root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) 
$(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))

 # This class can optionally utilize debhelper's "dh_python" command.  Just
 # be sure you include debhelper.mk before including this file.
@@ -212,9 +217,9 @@ cdbs_python_binary = $(if $(call cdbs_st
 common-build-arch common-build-indep:: $(addprefix python-build-stamp-, 
$(cdbs_python_build_versions))
 python-build-stamp-%:
 ifeq (all, $(cdbs_python_module_arch))
-       cd $(DEB_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+       cd $(DEB_PYTHON_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
 else
-       cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+       cd $(DEB_PYTHON_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
 endif # archall detection
        touch $@

@@ -223,11 +228,11 @@ endif # archall detection
 ifeq (all, $(cdbs_python_module_arch))
 common-install-arch common-install-indep:: python-install-py
 python-install-py:
-       cd $(DEB_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL)
+       cd $(DEB_PYTHON_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL)
 else
 common-install-arch common-install-indep:: $(addprefix python-install-, 
$(cdbs_python_build_versions))
 python-install-%:
-       cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL)
+       cd $(DEB_PYTHON_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL)
 endif # archall detection


@@ -251,9 +256,9 @@ endif
 clean:: $(addprefix python-clean-, $(cdbs_python_build_versions))
 python-clean-%:
 ifeq (all, $(cdbs_python_module_arch))
-       -cd $(DEB_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+       -cd $(DEB_PYTHON_SRCDIR) && $(call 
cdbs_python_binary,python$(cdbs_python_compile_version)) 
$(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
 else
-       -cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+       -cd $(DEB_PYTHON_SRCDIR) && $(call cdbs_python_binary,python$*) 
$(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
 endif # archall detection

 clean::


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.0.17     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20080123.2 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.39    scripts to make the life of a Debi
ii  doc-base                      0.8.16     utilities to manage online documen

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: cdbs
Source-Version: 0.4.97

We believe that the bug you reported is fixed in the latest version of
cdbs, which is due to be installed in the Debian FTP archive:

cdbs_0.4.97.dsc
  to main/c/cdbs/cdbs_0.4.97.dsc
cdbs_0.4.97.tar.gz
  to main/c/cdbs/cdbs_0.4.97.tar.gz
cdbs_0.4.97_all.deb
  to main/c/cdbs/cdbs_0.4.97_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated cdbs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 12 Sep 2011 12:21:53 +0200
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.97
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Description: 
 cdbs       - common build system for Debian packages
Closes: 504346 616501 637282 641253
Changes: 
 cdbs (0.4.97) unstable; urgency=low
 .
   * Fix treat DEB_BUILD_OPTIONS as whole word (use filter not
     findstring) in perl-build.mk.
   * Fix support for *-any and any-* archs in list-packages script.
     Closes: Bug#616501, 637282. Thanks to Emilio Pozuelo Monfort,
     Nobuhiro Iwamatsu and José Manuel Santamaría Lema for helping out,
     and to Aurelien Jarno for an elegant fix.
   * Improve dependency autoresolving for debhelper.mk:
     + Build-depend unversioned when satisfied even in unstable.
     + Tie build-dependency directly to debian/compat and DH_COMPAT, to
       support debhelper 8 and newer.
     Closes: bug#641253. Thanks to Geoffrey Thomas.
   * Introduce DEB_PYTHON_DISTUTILS_SRCDIR to allow mixing
     python-distutils.mk with e.g. autotools.mk using different source
     roots.
     Closes: bug#504346. Thanks to Sune Vuorela.
   * Fix invoke python packaging helper twice(!) as documented, when
     using new dh_python2/dh_python2 and private modules.
   * Deprecate DEB_PYTHON_PRIVATE_MODULES_DIRS. Use *_DEFAULT, *_ALL or
     *_<package> variants instead.
   * Tighten autoresolved build-dependency on cdbs when using either
     DEB_PYTHON_PRIVATE_MODULES_DIRS* or DEB_DH_PYTHONHELPER_ARGS*.
Checksums-Sha1: 
 e0c42629a6f267281656ea70c7354ec0b426b1d3 1834 cdbs_0.4.97.dsc
 0e13ff4072902c09226d6fff2a2d8d2713cb2e86 263667 cdbs_0.4.97.tar.gz
 8669d1f6b721773ba5fd3f1eb6b4a545de1411c3 76742 cdbs_0.4.97_all.deb
Checksums-Sha256: 
 c921c6350e15a13e0d252c7f26a30e036b72d036db72428b7dd3378fce823047 1834 
cdbs_0.4.97.dsc
 5fa2788def6ff028940f523518543120bb01fbe49c640c16efc6c6c66ee40c45 263667 
cdbs_0.4.97.tar.gz
 18373381a8f14599393200a874b0ad7310b26c7700cb0289ae553bef214c21bb 76742 
cdbs_0.4.97_all.deb
Files: 
 13831c93269755f372964ff106d09d74 1834 devel optional cdbs_0.4.97.dsc
 763b772aec32caf0a8781af305059162 263667 devel optional cdbs_0.4.97.tar.gz
 a32e19c7900ea598aae4ebadf5dc3efe 76742 devel optional cdbs_0.4.97_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJObeNLAAoJECx8MUbBoAEh4ooP/i0aXznj8KDl+RJoDPVlWVQK
kwZiZub70O1LwPCEwuTTEYG8xVnrLAigp0vTJM1Xizt2q0Bf1W0mhwSbFXCTrkcT
RoSsphWmV2LinJLb8dHLTutFhUldzICl9H7ZnlyI4o6DyipC7vFjLFZx766zZKOt
+FrOp89GJxElCHI7vDD9jUVOjQNhWU5/QtL6qZiMLy9yE/cjwP2ZpPY5IpDYJNqk
IOxtdh+rcDB3Z26JoqDapf+cOMD6u7rotxUDSsBDjUqL+Dt/uuJqqQczdeXBkWeH
uQ4q0Q/jVpR9qz896XwllWuXgnHtRiP9t/JWu9DlCqmUbUFa3TCdnMs6FSkFUqwe
jxIHWsqToqE+kEFKKi8DgEGjTrVHiPmB6K1c679EFE+R4D774OkAfuVbE38Tzh7W
qtGmmnepwT9OnGoszOc9SvqzDPygEOWSSio31HdQSeffHh30GG3fjOWdbG1iLIo6
igQHX5YAaGPzkL0b+RRs5/HGaM0+nCX6drpyuzBJnP85Hnu+RDg4Nk+Vrttc8Jvo
SHOhAqrZ6l9PsPOeHhAwgui00eq0/Sw2GndJ4wG13nxbGfKEGF7zV1rGO44VIziZ
9Vvf0AwrqY2t4dFD83L2leBinP+AZPIxRaKpFKr0xTwz4ux/E6Qu7r8lvCvffVW3
yotp38e/NEoTxlsVKvft
=eoKD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to