Package: dh-autoreconf
Version: 15
Severity: normal

If you have this debian/autogen.sh, like src:flatpak currently does:

    #!/bin/sh
    set -e
    gtkdocize
    autoreconf -fi

and you use "dh_autoreconf debian/autogen.sh" as suggested in the man page,
then gtk-doc.make and m4/gtk-doc.m4 are not always cleaned up by
dh_autoreconf_clean, because they are replaced by symbolic links into
/usr/share instead of regular files. However, that replacement breaks
dpkg-source (it is a difference that dpkg-source is not willing to ignore,
unlike deletions, and it is not undone by debian/rules clean) if you build
twice in a row from the same unclean source directory.

Workaround: use `gtkdocize --copy`, or use git-buildpackage, dgit --clean=git
or similar to do a clean build every time.

See also #881915.

Regards,
    smcv

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-autoreconf depends on:
ii  autoconf   2.69-11
ii  automake   1:1.15.1-3
ii  autopoint  0.19.8.1-4
ii  debhelper  10.10.9
ii  libtool    2.4.6-2
ii  perl       5.26.1-2

dh-autoreconf recommends no packages.

dh-autoreconf suggests no packages.

-- no debconf information

Reply via email to