#1047228 wimlib: Fails to build source after successful build

Package:
src:wimlib
Source:
src:wimlib
Submitter:
Lucas Nussbaum
Date:
2026-02-09 10:38:03 UTC
Severity:
normal
Tags:
#1047228#5
Date:
2023-08-13 19:21:33 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/wimlib_1.14.2-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1047228#12
Date:
2026-02-08 16:53:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
wimlib, 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 1047228@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilko Bengen <bengen@debian.org> (supplier of updated wimlib 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)
Format: 1.8
Date: Sun, 08 Feb 2026 17:27:10 +0100
Source: wimlib
Architecture: source
Version: 1.14.5-1
Distribution: unstable
Urgency: medium
Maintainer: Hilko Bengen <bengen@debian.org>
Changed-By: Hilko Bengen <bengen@debian.org>
Closes: 1047228
Changes:
 wimlib (1.14.5-1) unstable; urgency=medium
 .
   * New upstream version 1.14.5
   * Fix FTBFS after successful build (Closes: #1047228)
   * Bump Standards-Version
   * Replace pkg-config build-dependency
   * Bump watch file standard
Checksums-Sha1:
 2e990f1f21fe47cc208d044ba00033d7f5bae1b3 2099 wimlib_1.14.5-1.dsc
 a444e3c46a799a9385ec0e4b41155aec18d66fc7 1073578 wimlib_1.14.5.orig.tar.gz
 74d23f4b5bfc73616c32840e157ff0b685ace231 6560 wimlib_1.14.5-1.debian.tar.xz
 d71cfb3be4a077de30a7c30058f242466cb66f57 6032 wimlib_1.14.5-1_source.buildinfo
Checksums-Sha256:
 73b09da7a122e0078e5591eab78e52231005007b16d59e10d23b81e6896da1f8 2099 wimlib_1.14.5-1.dsc
 84221a3abd5b91228f15f8e6065c335a336237b5738197b75bf419eea561a194 1073578 wimlib_1.14.5.orig.tar.gz
 0a455098e3ecd4c48957bd16e53b9b53c0bf0fe213ae5e7d47d9597820a81395 6560 wimlib_1.14.5-1.debian.tar.xz
 542c12c85aeebac615da45f80c380d95d35afec34b65df73454e9d77a403d4b9 6032 wimlib_1.14.5-1_source.buildinfo
Files:
 7f9da6c04282effebe158f9b336f5d39 2099 libs optional wimlib_1.14.5-1.dsc
 047a769d07d5415d90b45ecf51c1e4d5 1073578 libs optional wimlib_1.14.5.orig.tar.gz
 6403f57749e250098f1aa2b6f44b7d0e 6560 libs optional wimlib_1.14.5-1.debian.tar.xz
 412f2537379c08ab5e4460068f556159 6032 libs optional wimlib_1.14.5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAmmIub0ACgkQdbcQY1wh
On7T4RAAvfrPkX0V+wvhDzSlrGtz0zswI587GnAu6FR4uS+hgol4q23+o+80L4Du
ETwtj8hTnb096zTFT16bAa+0iojxWuBWyd/6AYLt3/dWBoxrgE1/AlCVdEmCwSkY
7zL+G9DerzvhmeUfJnaJqRcrTZriK0MOpHBOE/1zaN5iKHYlSvp6mTOABKf3pw0h
fB9ERLX3dOPbiQ7xr3Y/yL46PHsb21ql7c++qGfzehIYvIRqyFzIbST1HuJ8Ob5y
+Z/U2D43Baa64SLr3F7hItmXqNXE5L0Gdjw9KvTZGrLCT9q9su1GYtTEbKUXSt6A
cjZwReH2QSDmEYb8PLnj3V/7j7Rm+fKyn3HXCEcsT72XdyUDwDzxMmhntnGR/m3S
U9XyLW0zSeh2APU1PsVLhEHk6JSlmNM9bDFr/pVzpL9ETn29KCF0nRDhVC1E/peL
HAk/8nhHDWmh8itsB0rI5HVAoqubPTvKtkTv1Gy+Q1QWgDaXxgeBKS8mBad7Hpz8
AjaEwT+S7jDkI1TcJzLcNU+qwtrrtPmo8l1BDLbD6hdPWVCjeEzQooftpDZOHklB
uW+JdVJd9y3gKXK5XUICWjUmaNGtTorAj88jfBw/ITDWHoLVEWqGKFqGN+BQOR4n
BfAMAoU5BhbEqHrs3A7Dq76JXkisGs46u3puOrYgLbLAM9nOPT8=
=uNOb
-----END PGP SIGNATURE-----

#1047228#17
Date:
2026-02-09 10:37:09 UTC
From:
To:
reopen 1047228
tags 1047228 patch
thanks

Hi. Thanks a lot for looking at this.

Unfortunately, dpkg-source only reports some of the extra files that
have to be removed, but not all of them. I've reported this
recently here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126665

In this case, this is what it currently happens when trying to build source
after binary:

dpkg-source: info: local changes detected, the modified files are:
 wimlib-1.14.5/doc/html/annotated.html
 wimlib-1.14.5/doc/html/annotated_dup.js
 wimlib-1.14.5/doc/html/classes.html
 wimlib-1.14.5/doc/html/clipboard.js
 wimlib-1.14.5/doc/html/cookie.js
 wimlib-1.14.5/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html
 wimlib-1.14.5/doc/html/dir_d44c64559bbebec7f509842c48db8b23.js
 wimlib-1.14.5/doc/html/doxygen.css
 wimlib-1.14.5/doc/html/doxygen.svg
[...]

The attached patch (which I've tested) should fix the problem,
by removing the entire doc/html directory, not just the *.png files.

Thanks.