Bug#889148: am-utils: incorrect installation installs scripts instead of executables

2020-02-10 Thread Martin Simmons
The problem is that the file m4/macros/libtool.m4 in the am-utils source is
out of date relative to the libtool used in the build.  The debian/rules
script tries to fix this but the fix is overridden by a later stage of the
build.  The attached patch fixes it for me on Raspbian 10.

__Martin

On Fri, 02 Feb 2018 16:26:53 +0100 Giacomo Mulas  
wrote:
> Package: am-utils
> Version: 6.2+rc20110530-3.2+b1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> I just updated the am-utils package and it became unusable with the 
> update. Any command in the am-utils package would fail with a message
> like:
> 
> herschel:~# amq
> /usr/sbin/amq: error: '/usr/sbin/.libs/amq' does not exist
> This script is just a wrapper for amq.
> See the libtool documentation for more information.

--- am-utils-6.2+rc20110530/debian/rules
+++ am-utils-6.2+rc20110530/debian/rules
@@ -62,7 +62,7 @@
# autotools-dev recommends updating config.sub
 # and config.guess.  The following has that
 # effect as well as updating libtool
-   cp -f /usr/share/aclocal/libtool.m4 ./acinclude.m4
+   cp -f /usr/share/aclocal/libtool.m4 ./m4/macros/libtool.m4
aclocal
libtoolize -f -c


Bug#889148: am-utils: incorrect installation installs scripts instead of executables

2018-02-02 Thread Giacomo Mulas
Package: am-utils
Version: 6.2+rc20110530-3.2+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I just updated the am-utils package and it became unusable with the 
update. Any command in the am-utils package would fail with a message
like:

herschel:~# amq
/usr/sbin/amq: error: '/usr/sbin/.libs/amq' does not exist
This script is just a wrapper for amq.
See the libtool documentation for more information.

I was able to recover a working am-utils by recompiling from sources 
and manually installing the actual binaries from the files created by 
the build, e.g. in my case A.x86_64-unknown-linux-deb9.3/amq/.libs/pawd
and similarly for the others. For some reason the make does not install
the real binaries but libtool wrapper scripts, an the latter are then 
included in the deb package, resulting in an unusable package altogether.

Best regards
Giacomo Mulas


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.13-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.UTF-8), LANGUAGE=it_IT,en_EN (charmap=UTF-8) (ignored: LC_ALL set 
to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages am-utils depends on:
ii  debconf1.5.65
ii  debianutils4.8.4
ii  libamu46.2+rc20110530-3.2+b1
ii  libc6  2.26-6
ii  libwrap0   7.6.q-27
ii  rpcbind [portmap]  0.2.3-0.6
ii  ucf3.0036

am-utils recommends no packages.

Versions of packages am-utils suggests:
pn  am-utils-doc  
pn  nis