[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#894627: marked as done (htmldoc FTCBFS: runs just built htmldoc)



Your message dated Tue, 03 Apr 2018 18:04:34 +0000
with message-id <E1f3QIM-0006rE-TR@fasolo.debian.org>
and subject line Bug#894627: fixed in htmldoc 1.9.2-2
has caused the Debian Bug report #894627,
regarding htmldoc FTCBFS: runs just built htmldoc
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 owner@bugs.debian.org
immediately.)


-- 
894627: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894627
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: htmldoc
Version: 1.9.2-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

htmldoc fails to cross build from source, because it runs the built
htmldoc and fails with an Exec format error. Now the interesting
observation is that this is only needed for building the documentation.
As it happens, the htmldoc source package nicely splits documentation
into htmldoc-common, which happens to be an Architecture: all package.
If we could somehow avoid building the doc/ subdirectory, that'd fix it.
Indeed, this is doable as the attached patch demonstrates. I hope the
patch is acceptable, but it does add some fragility. Please consider
applying it. Oh and it actually makes htmldoc cross build successfully.

Helmut
diff --minimal -Nru htmldoc-1.9.2/debian/changelog htmldoc-1.9.2/debian/changelog
--- htmldoc-1.9.2/debian/changelog	2018-03-27 18:22:33.000000000 +0200
+++ htmldoc-1.9.2/debian/changelog	2018-04-02 17:06:01.000000000 +0200
@@ -1,3 +1,10 @@
+htmldoc (1.9.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not build documentation during arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 02 Apr 2018 17:06:01 +0200
+
 htmldoc (1.9.2-1) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru htmldoc-1.9.2/debian/rules htmldoc-1.9.2/debian/rules
--- htmldoc-1.9.2/debian/rules	2018-03-26 04:27:55.000000000 +0200
+++ htmldoc-1.9.2/debian/rules	2018-04-02 17:06:01.000000000 +0200
@@ -6,3 +6,14 @@
 
 %:
 	dh $@
+
+# skip documentation in arch-only build
+DO_PACKAGES = $(shell dh_listpackages)
+DIRS=htmldoc $(if $(filter htmldoc-common,$(DO_PACKAGES)),doc)
+INSTALLDIRS=fonts data desktop $(if $(filter htmldoc-common,$(DO_PACKAGES)),doc) htmldoc
+
+override_dh_auto_build:
+	dh_auto_build -- DIRS="$(DIRS)"
+
+override_dh_auto_install:
+	dh_auto_install -- DIRS="$(DIRS)" INSTALLDIRS="$(INSTALLDIRS)"

--- End Message ---
--- Begin Message ---
Source: htmldoc
Source-Version: 1.9.2-2

We believe that the bug you reported is fixed in the latest version of
htmldoc, 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 894627@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reiner Herrmann <reiner@reiner-h.de> (supplier of updated htmldoc 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 03 Apr 2018 18:28:27 +0200
Source: htmldoc
Binary: htmldoc htmldoc-common
Architecture: source
Version: 1.9.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Reiner Herrmann <reiner@reiner-h.de>
Description:
 htmldoc    - HTML processor that generates indexed HTML, PS, and PDF
 htmldoc-common - Common arch-independent files for htmldoc
Closes: 894627
Changes:
 htmldoc (1.9.2-2) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Reiner Herrmann ]
   * Remove operating system check during .desktop installation, to install
     .desktop and related files also on non-Linux systems.
 .
   [ Helmut Grohne ]
   * Do not build documentation during arch-only build. (Closes: #894627)
Checksums-Sha1:
 d35954024e70581130155dd89ec2a21acaa8a226 2107 htmldoc_1.9.2-2.dsc
 361a0590cb4e0d85bb724d5278d317d4f8fbb1e6 16176 htmldoc_1.9.2-2.debian.tar.xz
 e59fde516a060e7c0f541cc9206dee543b55f539 8039 htmldoc_1.9.2-2_amd64.buildinfo
Checksums-Sha256:
 3ef57b78b9e69054c5286616da90b025baeafdff970997726cbed6170a664cd1 2107 htmldoc_1.9.2-2.dsc
 da4f91bb617147d0263a5c0acee3a18dba96c7a7a6766e0e6be5642347e74934 16176 htmldoc_1.9.2-2.debian.tar.xz
 221e2737e7eef45f399fc0958f0c495df7128b400c0d486650b253357ba7a6eb 8039 htmldoc_1.9.2-2_amd64.buildinfo
Files:
 87c097e575fb877579803b617312ace0 2107 web optional htmldoc_1.9.2-2.dsc
 7c48a21e1a33078642dd5bfd3242b099 16176 web optional htmldoc_1.9.2-2.debian.tar.xz
 bc712eed456bac475e9da693f402bbc7 8039 web optional htmldoc_1.9.2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlrDvv0ACgkQCBa54Yx2
K60uThAAnGxbTZIDlObXWzhrkjkN5ERYng7xyT2CF7aFEu6jhNFb8SfTVqGlOPIC
yjiic7uzwzGqx46+3RxSBZhGoxypJgp/j/jvJlZkRJKJJ/cQG5jmHdvIHB/ihm3E
VSjkGHF7Wb+LPa0hEXPNjLDO89Wdoebiv00+eCNPlh8UMcwbdKsiiVhyiOFIwxbs
5Q8/lFqzG8fvuDqsQrqcYa4kqq4wFWy0CONhEmlsq39XbKzB3jjPGtIh9SBVZGza
8QOu+jxobvgIVeg6PHdfzuF3AwleFQxggxlgbB7GKVod1eQDmXSdLumohPGLNbVG
o49JboRsTLvV0Tvc4vv0vvUhmU0AszQGnh+xR/v2deuNU+TRuHLzy5mwLbmfLSQl
x9gJeKX9OEXp2qP9+1bQi5DSeJwb1hGdI3fgqxkNHfEeflhzo481MaRfk8Gv/r1M
6797fOj49pvFVN/fY+JyIN4FRs4/zvdlCHAIW9ELn1CoZ9zPOeE+KzyxnCC3BZk3
wUMu9RnCD6E8jZvxJLGflFe1TUYZPMqxcrFVUhgdSGspV69zmHd7S5zixGmjX8a4
al1O35UfRcAlLbS5u2QUJ0IyCg54fh4QOIAgh4ApeWXJ1lexGgFVS0A1h9/0Fipa
0neZ+oOQhFh8GEtUylWwcZSTcJkJJ81u/Q3S9MZYIrzFYfP43HY=
=1S4C
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: