Your message dated Sat, 17 Aug 2019 11:04:52 +0000 with message-id <[email protected]> and subject line Bug#836699: fixed in debhelper 12.5 has caused the Debian Bug report #836699, regarding should detect when 'nodoc' is active, then --with sphinxdoc should do nil 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.) -- 836699: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836699 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sphinx-common Version: 1.7.8-1 Severity: normal Part of the purpose of building with 'nodoc' is the omission of build-deps. dh_sphinxdoc should detect when 'nodoc' is active, then --with sphinxdoc should not attempt to do anything, other than print that it is doing nothing, because 'nodoc' is active. Steps to reproduce: --- a/debian/control +++ b/debian/control , python3-mock <!nocheck> , python3-nose <!nocheck> , python3-pip <!nocheck> - , python3-sphinx - , texinfo + , python3-sphinx <!nodoc> + , texinfo <!nodoc> Standards-Version: 4.2.1 Vcs-Browser: https://salsa.debian.org/emacsen-team/elpy Vcs-Git: https://salsa.debian.org/emacsen-team/elpy.git --- a/debian/rules +++ b/debian/rules # docs are not generated without this override override_dh_auto_build: dh_auto_build - PYTHONPATH=. sphinx-build -N -bman docs/ build/man # Manpage generator +# support the nodoc build profile +ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) + echo -e "\nnodoc build profile enabled, therefor not building docs.\n" +else + PYTHONPATH=. sphinx-build -N -bman docs/ build/man PYTHONPATH=. sphinx-build -N -btexinfo docs/ build/info makeinfo --no-split build/info/Elpy.texi -o build/info/elpy.info cat NEWS.rst debian/local-var-snippet > build/NEWS +endif At this point dpkg-buildpackage will fail, because python3-sphinx is not installed. Python3-sphinx is only installed when <!nodoc> is true, which is part of the purpose of building with 'nodoc'. Of course I was able to work around this issue by adding the following: --- a/debian/rules +++ b/debian/rules export LC_ALL %: +ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) + echo -e "\nnodoc profile enabled, building without sphinxdoc..\n" + dh $@ --with elpa,python3 --buildsystem=pybuild +else dh $@ --with elpa,python3,sphinxdoc --buildsystem=pybuild +endif It would be best if dh_sphinxdoc had its own 'ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)' logic. I suspect this is a trivially easy fix that could even be tagged 'newcomer'. Cheers, Nicholas
--- End Message ---
--- Begin Message ---Source: debhelper Source-Version: 12.5 We believe that the bug you reported is fixed in the latest version of debhelper, which is due to be installed in the Debian FTP archive. 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. Niels Thykier <[email protected]> (supplier of updated debhelper 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: Sat, 17 Aug 2019 10:54:08 +0000 Source: debhelper Architecture: source Version: 12.5 Distribution: unstable Urgency: medium Maintainer: Debhelper Maintainers <[email protected]> Changed-By: Niels Thykier <[email protected]> Closes: 836699 907061 934889 934891 Changes: debhelper (12.5) unstable; urgency=medium . [ Niels Thykier ] * dh_strip: Skip stripping of guile-2.2 files by skipping all all files matching "/guile/.*\.go$". Thanks to Jeremy Bicha and Rob Browning. (Closes: #907061) * dh_auto_*: Officially adopt --sourcedir and --builddir as official parameters. They have always worked since debhelper defaulted to supporting auto-abbreviated parameters, so this is simply documenting fait accompli for the most common abbreviation. * dh_*: Disable auto-abbreviation of command line parameters in compat 13. * dh: Optimize out redundant helpers even when passed long options in compat 13. * dh_builddeb: Remove --destdir. It has never been useful as everyone excepts the debs to be placed in "..". * Dh_Lib.pm: Add a hint to resolve the error caused by having the compat level specified both as a build-dependency and in debian/compat. Thanks to Alessandro Grassi for reporting the issue on IRC. * dh_makeshlibs: Fix bug where --no-add-udeb could trigger the auto-detection code. (Closes: #934891) * dh_makeshlibs: When using the auto-detection of udeb, automatically exclude "udeb:" lines for libraries omitted from the udeb. At the same time, verbosely fail if the udeb contains a library not present in the deb (overridable with --add-udeb). (Closes: #934889) * dh: Support making "dh-sequence-ADDON" Build-Depends relation conditional on build-profiles (etc.). If the relation is ignored due to the current build-profiles (etc.), then addon is silently skipped. * dh: Support running addons in "arch-only" or "indep-only" mode by adding "dh-sequence-ADDON" in Build-Depends-Arch or Build-Depends-Indep (respectively). Not all addons support this and will trigger an error at load time. Addon providers should ensure that their package provde "dh-sequence-ADDON" and review the doc/PROGRAMMING document (in the debhelper source) if they are considering to make their addon compatible with these requirements. (Closes: #836699) * dh,elf_tools.pm: Extract the ELF related debhelper tools (dh_strip, dh_dwz, dh_makeshlibs, dh_shlibdeps) into their own addon called "elf-tools" enabled by the default. * debian/control: Provide dh-sequence-elf-tools. * dh: In compat 13, the "elf-tools" addon is considered an implicit "arch-only" addon (i.e. they are only available in "-arch" sequences and are always passed a "-a"). If you need the ELF tools for arch:all packages, please add an explicit Builds-Depends on dh-sequence-elf-tools. . [ Frank Schaefer ] * dh_installmodules: Also look for compressed kernel modules in addition to uncompressed kernel modules (gz, bz2 or xz). . [ Adam Borowski ] * d/s/lintian-overrides: Override lintian warning about debhelper not using debhelper. Checksums-Sha1: 1e788d83f228b1e6036fa8bdeb14a67ddb93a900 1706 debhelper_12.5.dsc 9f5bf39bd8168c95f7c1a465eb8b693d4403e2e0 499340 debhelper_12.5.tar.xz adc5df29c6da442085b72a4c9fefaa79a7fac59a 4461 debhelper_12.5_source.buildinfo Checksums-Sha256: ff33e48bbed7871b330285a1f60236be970a91619f6f78d63a1b46154b808f0b 1706 debhelper_12.5.dsc ec7570ce1b1cd7007403505babcf9b66710231bdf35a0348dc69a8aa41f6d765 499340 debhelper_12.5.tar.xz 37fec0d2b47221838beee963210ab80f6cd9520a5d3e0a9a3be82f05dafdf96f 4461 debhelper_12.5_source.buildinfo Files: 8ff4d3018b8b5a6c9f5718e6d10a079d 1706 devel optional debhelper_12.5.dsc fcd0ff36ded195fd362868d4679064af 499340 devel optional debhelper_12.5.tar.xz 0a2289652f3c046b45c7d00d3d5e8a19 4461 devel optional debhelper_12.5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEE8f9dDX4ALfD+VfsMplt42+Z8eqwFAl1X3QUSHG5pZWxzQHRo eWtpZXIubmV0AAoJEKZbeNvmfHqs1U8P/2lxs27cVkdG/RM4xvJU2igi3InkgbLa E6zWikIFBteEnwZzem67/nn0qq+XbRgJrL7wmS7ucGI+kvrBm/naHldqp258BJ8o 0P40LmBZKi1pneoBNbpi6A+ZzYr68L1smgIH1fiTXKF9hkrffXd9DqO/FEYmv1VH hNaQzp6j1SHIqYVmzo/jUoqaJs0MyuhPbvlMAIUyaxemsc+/DkEEPU6AKCpkzZzH YkZn/XSYolDmC/x/MsIRow/9TELfu81OastHZo0fpy1cN1iLIySGXjWUsMhtEBXf 6mvuLPzFWb0qCcP2vuZtqjSdPeSSQs86KuKUeYVJ6GQHT80lF/y9UnF2MgNEaGIF 8N7imUmwSOecmUXTIbVaSennCo0koHLR+JBK5+omhpkV41hb93bkBRga/jQqOdLz mm/Bf7xNZ64KcHtZsD9KJ0L3rOQhgwCuO8wNggUAXOAOZZs7iIDwnJdnI/2jHYz/ QoncG0fRSLK7C17L7W0bSmJiPrNcJbktvo8NUc6IRfjv/bxtUVdH4muCePlkHkwE l5Nqx7RoJXihyrTXacQlR3LAGLLVHWPo7S1SNsyo0oAV2+EBy2ijfOH8UcKdr5kY E6iQCNhJa3YDjwupiaEJUzGMjaDj+I19vHNkNjAaCoqtOQOseSPYLb+UVhwQfnl4 mOvl9dz8Tm2b =QBQM -----END PGP SIGNATURE-----
--- End Message ---

