Your message dated Tue, 16 Oct 2018 23:52:36 +0000
with message-id <e1gcz8e-000ajv...@fasolo.debian.org>
and subject line Bug#904366: fixed in mailutils 1:3.4-2
has caused the Debian Bug report #904366,
regarding mailutils-config and the mailutils tool are unusable in 1:3.4-1
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 ow...@bugs.debian.org
immediately.)


-- 
904366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

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
            

--- End Message ---
--- Begin Message ---
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 904...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jo...@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 ftpmas...@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 <jo...@debian.org>
Changed-By: Jordi Mallach <jo...@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-----

--- End Message ---

Reply via email to