Debian Bug report logs -
#904366
mailutils-config and the mailutils tool are unusable in 1:3.4-1
Reported by: Sergey Poznyakoff <gray@gnu.org>
Date: Mon, 23 Jul 2018 14:51:02 UTC
Severity: serious
Tags: patch
Found in version mailutils/1:3.4-1
Fixed in version mailutils/1:3.4-2
Done: Jordi Mallach <jordi@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Jordi Mallach <jordi@debian.org>:
Bug#904366; Package libmailutils-dev.
(Mon, 23 Jul 2018 14:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Sergey Poznyakoff <gray@gnu.org>:
New Bug report received and forwarded. Copy sent to Jordi Mallach <jordi@debian.org>.
(Mon, 23 Jul 2018 14:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libmailutils-dev
Version: 1:3.4-1
Severity: serious
Hello,
Invoking mailutils-config with any argument results in:
$ mailutils-config --info
/usr/bin/mailutils-config: 115: /usr/bin/mailutils-config: mailutils: not found
This script is in fact a wrapper around the 'mailutils' tool, but the
tool itself is included in another packet, mailutils. Now, installing
mailutils doesn't make the situation any better:
$ mailutils-config --info
mailutils: don't know what info is
This is because the mailutils tool is a dispatcher command that calls
one of the specific standalone binaries from the pkglibexecdir to
perform the requested action (see the commit 444d20f3,
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=444d20f3c).
Now, none of these binaries is included in the package (nor in any other
sub-package of mailutils, for that matter).
The script mailutils-config is used by the AM_MAILUTILS macro, defined in
/usr/share/aclocal/mailutils.m4. This means that this bug makes it
impossible to build any projects that depend on Mailutils and use this
macro in configure.ac to detect its presence. Therefore I qualified it
as serious.
To fix this, I would suggest to move usr/bin/mailutils from package
'mailutils' to 'libmailutils-dev' and to add all mailutils-*
binaries from the pkglibexecdir directory. The proposed patch is
attached.
The patch fixes the reported bug, yet reveals another (minor)
one. Please note the 'usr/lib/mailutils/mailutils/' path in the resulting
libmailutils-dev.install file. This is because
/usr/share/cdbs/1/class/autotools-vars.mk from cdbs sets the
DEB_CONFIGURE_LIBEXECDIR variable to "\$${prefix}/lib/$(DEB_SOURCE_PACKAGE)",
thereby defeating the purpose of libexecdir, for which GNU standards say
that this is
[t]he directory for installing executable programs to be run by other
programs rather than by users.
[...]
The definition of 'libexecdir' is the same for all packages
This looks like yet another instance of the bug fixed long ago in debhelper:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541458. Perhaps it's
worth reporting to cdbs hackers. Anyway, adding
DEB_CONFIGURE_LIBEXECDIR = \$${prefix}/lib
to the debian/rules will fix this as well (obviously the paths in the
attached file should be changed accordingly).
Best regards,
Sergey
[debian.diff (text/x-diff, inline)]
diff -pur debian-orig/libmailutils-dev.install debian/libmailutils-dev.install
--- debian-orig/libmailutils-dev.install 2018-07-23 13:54:47.755922366 +0000
+++ debian/libmailutils-dev.install 2018-07-23 13:58:06.908660263 +0000
@@ -1,4 +1,6 @@
usr/bin/mailutils-config
+usr/bin/mailutils
+usr/lib/mailutils/mailutils/mailutils-*
usr/include/mailutils/*
usr/lib/*/lib*.so
usr/share/aclocal/mailutils.m4
diff -pur debian-orig/mailutils.install debian/mailutils.install
--- debian-orig/mailutils.install 2018-07-23 13:54:47.758922443 +0000
+++ debian/mailutils.install 2018-07-23 13:58:44.483808011 +0000
@@ -1,7 +1,6 @@
usr/bin/dotlock.mailutils
usr/bin/frm.mailutils
usr/bin/from.mailutils
-usr/bin/mailutils
usr/bin/mail.mailutils
usr/bin/messages.mailutils
usr/bin/mimeview
[Message part 3 (text/plain, inline)]
Added tag(s) patch.
Request was from Reiner Herrmann <reiner@reiner-h.de>
to control@bugs.debian.org.
(Sat, 29 Sep 2018 11:21:03 GMT) (full text, mbox, link).
Marked as found in versions 1:4.3-1.
Request was from Jordi Mallach <jordi@debian.org>
to control@bugs.debian.org.
(Tue, 16 Oct 2018 22:51:03 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Jordi Mallach <jordi@debian.org>
to control@bugs.debian.org.
(Tue, 16 Oct 2018 22:51:05 GMT) (full text, mbox, link).
No longer marked as found in versions 1:4.3-1.
Request was from Jordi Mallach <jordi@debian.org>
to control@bugs.debian.org.
(Tue, 16 Oct 2018 23:12:05 GMT) (full text, mbox, link).
Reply sent
to Jordi Mallach <jordi@debian.org>:
You have taken responsibility.
(Tue, 16 Oct 2018 23:57:03 GMT) (full text, mbox, link).
Notification sent
to Sergey Poznyakoff <gray@gnu.org>:
Bug acknowledged by developer.
(Tue, 16 Oct 2018 23:57:03 GMT) (full text, mbox, link).
Message #18 received at 904366-close@bugs.debian.org (full text, mbox, reply):
Source: mailutils
Source-Version: 1:3.4-2
We believe that the bug you reported is fixed in the latest version of
mailutils, 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 904366@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated mailutils 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: Wed, 17 Oct 2018 01:37:28 +0200
Source: mailutils
Binary: libmailutils5 libmailutils-dev mailutils mailutils-common mailutils-imap4d mailutils-pop3d mailutils-comsatd mailutils-guile mailutils-mh python-mailutils mailutils-doc
Architecture: source
Version: 1:3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Jordi Mallach <jordi@debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
libmailutils-dev - Development files for GNU mailutils
libmailutils5 - GNU Mail abstraction library
mailutils - GNU mailutils utilities for handling mail
mailutils-common - Common files for GNU mailutils
mailutils-comsatd - GNU mailutils-based comsatd daemon
mailutils-doc - Documentation files for GNU mailutils
mailutils-guile - GNU mailutils Guile interpreter and modules
mailutils-imap4d - GNU mailutils-based IMAP4 Daemon
mailutils-mh - GNU mailutils-based MH utilities
mailutils-pop3d - GNU mailutils-based POP3 Daemon
python-mailutils - GNU Mail abstraction library (Python interface)
Closes: 904366
Changes:
mailutils (1:3.4-2) unstable; urgency=medium
.
* Update Vcs-* fields for migration to salsa.debian.org.
* Set libexecdir to ${prefix}/lib/$(DEB_HOST_MULTIARCH).
* Move mailutils binary to libmailutils-dev and install auxiliary
mailutils binaries from libexecdir. Thanks to Sergey Poznyakoff for
the detailed bug report and suggested fix (closes: #904366).
* Add Breaks/Replaces to handle libmailutils-dev upgrades.
* Set Rules-Requires-Root to no.
* Update Standards-Version to 4.2.1.
Checksums-Sha1:
4c0a0d657d3030d61c75d39c5b7c71644d8024a7 3087 mailutils_3.4-2.dsc
76ec528a16a188943c755a4660a87d63f00800b0 29008 mailutils_3.4-2.debian.tar.xz
d6aaac1effa7b2eea06e8b244973114f49763517 7788 mailutils_3.4-2_source.buildinfo
Checksums-Sha256:
68ae11a3475bebe1ce6adbe5c8758ec3da3a0c8f61c62027a399d68113961e9c 3087 mailutils_3.4-2.dsc
073e5d9bd4d492aa1f49ba6990b8aef6bbfec08558d52e196748a39bb90c585b 29008 mailutils_3.4-2.debian.tar.xz
c9149219bfb5ffcf29dfdf04e3d159b313a276191dad2775598eea99b00a423f 7788 mailutils_3.4-2_source.buildinfo
Files:
d55dea8134826fc2b3648d065c1a4f72 3087 mail optional mailutils_3.4-2.dsc
160aeb98b32d03ecba9515ccd20e9c20 29008 mail optional mailutils_3.4-2.debian.tar.xz
8fc31970800e402f29dddb8e30c1292d 7788 mail optional mailutils_3.4-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAlvGdm0RHGpvcmRpQGRl
Ymlhbi5vcmcACgkQJVAvb8vjywRjwQ/7BNqd2eKc9g2wPFxJyPlr7prazcDOvxXN
R91hi060F374yfruKq+/EY9m/PevWKpaltSsxTDASwdibeHaPcNVkVLSqKzAJX5V
J/GIMyAufCs7r5YT3MH3LtgToPbVcXB7xYAggdMV6TtsrWo7/catcAL7ldMAl3XJ
+gZxxykjO4pifV/k4v4VO2qsBmv5OJFDOrCYqiJ79T5hdMy9BuzeYVhpVsbbtT3S
xH8NQtXHvCo5DoTfTpvh9nYTzN0xkpLOzhB0M3Q/f94izzyWm8IFGjRQ41Z8b+UI
L9plyQjINhtLgL7Inw7u4bBIjcXAirfO932cYYh96n4nMwLT9vPHkF4z/z2mUDQR
WXAJtGxych4C/+O5M5mLN1dyto4zZ+bz+18y9AKjE6NTH14Nxc5o9Fmd7I98BxhZ
+T34cLPtBog58t2jhHCae8HKFiIb1h+coTJ1v4wERCEzd98/5qrhvUxNKgnBFbyT
6hS+h/dLN2irOUg4GI0jKQURGFuPH1Vt1N/DTotYfP1T49TSdJeosZ6SbYoUq0Bd
QkmJSPtUFQ+Rs4YxfDUUXTgqu7OLuNvuGYidnQsQBbgntG/kcFzVTP9jDv1Uwrdu
zaypCTy8NVkNAVY9hKVg7hm6BXu86Zbdpsuiih+OCbNsE8tfA+l+BX2BQ+HXT9Kx
B2HKVnkC3hA=
=MNhl
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 19 Nov 2018 07:27:59 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Dec 23 09:18:55 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.