Bug#900020: intltool: create m4 folder when it doesn't exist
Yves-Alexis Perez
corsac at debian.org
Thu May 24 19:33:25 BST 2018
Package: intltool
Version: 0.51.0-5
Severity: important
Hi,
some package/tarballs don't have the m4 dir created. With dh10 running
autoreconf, intltoolize is running as well, and if there is no m4 folder
already, the build fails.
It's possible to add mkdir -p m4 as part of autoreconf, but it would
make sense to create it in intltoolize if it actually needs it.
Example run:
dh build
dh_update_autotools_config
dh_autoreconf
Preparing package directory /build/xfce4-cpufreq-plugin-1.2.0...
Creating /build/xfce4-cpufreq-plugin-1.2.0/aclocal.m4...
Running glib-gettextize --force --copy...
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running intltoolize --automake --copy --force
cp: cannot create regular file 'm4/intltool.m4': No such file or directory
intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to 'm4/intltool.m4'
dh_autoreconf: xdt-autogen returned exit code 1
Regards,
--
Yves-Alexis
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages intltool depends on:
ii automake [automaken] 1:1.15.1-3.1
ii file 1:5.33-2
ii gettext 0.19.8.1-6+b1
ii libxml-parser-perl 2.44-2+b3
ii patch 2.7.6-2
ii perl 5.26.2-5
intltool recommends no packages.
intltool suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list