Control: tag -1 + patch On Wed, 10 Oct 2012 05:10:39 +0900, Hideki Yamane wrote:
> > $ lat
> > Cannot open assembly '/usr/lib/lat/lat.exe': No such file or directory.
>
> Because /usr/bin/lat specifies /usr/lib/lat/lat.exe in that file but
> lat package has /usr/lib/x86_64-linux-gnu/lat/lat.exe.
>
>
> $ cat lat/lat.in
> #!/bin/sh
> @MONO@ @MONO_FLAGS@ @prefix@/lib/lat/lat.exe "$@"
>
> /usr/bin/lat
> /usr/lib/x86_64-linux-gnu/lat/gnome-keyring-glue.dll
> /usr/lib/x86_64-linux-gnu/lat/gnome-keyring-glue.dll.config
> /usr/lib/x86_64-linux-gnu/lat/lat.exe
> /usr/lib/x86_64-linux-gnu/lat/plugins/ActiveDirectoryCoreViews.dll
> /usr/lib/x86_64-linux-gnu/lat/plugins/JpegAttributeViewer.dll
> /usr/lib/x86_64-linux-gnu/lat/plugins/PasswordAttributeViewer.dll
> /usr/lib/x86_64-linux-gnu/lat/plugins/PosixCoreViews.dll
> /usr/lib/x86_64-linux-gnu/pkgconfig/lat-plugins.pc
And:
Architecture: all
And:
E: lat: triplet-dir-and-architecture-mismatch usr/lib/x86_64-linux-gnu/ is for
amd64
N:
N: This package contains a directory under /lib or /usr/lib which doesn't
N: match the proper triplet for the binary package's architecture. This is
N: very likely to be a mistake when indicating the underlying build system
N: where the files should be installed.
N:
N: Refer to Debian Policy Manual section 9.1.1 (File System Structure) for
N: details.
N:
N: Severity: serious, Certainty: possible
N:
N: Check: files, Type: binary, udeb
This can be fixed by passing "--libdir=/usr/lib" to dh_auto_configure
in debian/rules
But we also have:
debian/rules:
include /usr/share/cli-common/cli.make
-->
/usr/share/cli-common/cli.make:4: WARNING: the use of
/usr/share/cli-common/cli.make is deprecated! Use dh $@ --with=cli instead.
and tons of:
dh_FOO:
Unknown option: with
But "dh $@ --with=cli" alone doesn't fix the path issues.
I'm attaching my preliminary patch, but since I have no idea about
mono and not alot about multiarch, I leave this at this point.
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Leonard Cohen: Love Itself
diff -Nru lat-1.2.3/debian/changelog lat-1.2.3/debian/changelog --- lat-1.2.3/debian/changelog 2012-05-27 07:57:16.000000000 +0200 +++ lat-1.2.3/debian/changelog 2012-10-23 19:49:41.000000000 +0200 @@ -1,3 +1,14 @@ +lat (1.2.3-9.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "Cannot open assembly '/usr/lib/lat/lat.exe': No such file or + directory.": + - pass "--libdir=/usr/lib" to dh_auto_configure in debian/rules + - use "dh $@ --with=cli" in debian/rules. + (Closes: #689946) + + -- gregor herrmann <[email protected]> Tue, 23 Oct 2012 19:21:49 +0200 + lat (1.2.3-9) unstable; urgency=low * debian/control: Update homepage. (Closes: #656843) diff -Nru lat-1.2.3/debian/rules lat-1.2.3/debian/rules --- lat-1.2.3/debian/rules 2012-05-27 07:57:16.000000000 +0200 +++ lat-1.2.3/debian/rules 2012-10-23 19:48:49.000000000 +0200 @@ -1,12 +1,10 @@ #!/usr/bin/make -f -include /usr/share/cli-common/cli.make - %: - dh $@ + dh $@ --with=cli override_dh_auto_configure: - dh_auto_configure -- MCS=/usr/bin/mono-csc + dh_auto_configure -- MCS=/usr/bin/mono-csc --libdir=/usr/lib override_dh_auto_install: dh_auto_install
signature.asc
Description: Digital signature

