[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#469301: lintian: multiarch libraries support



Javier Serrano Polo <jasp00@terra.es> writes:

> Multiarch libraries have their own directories, allowing them to be
> shared among all architectures. Please add support for this.
>
> Other directories you may want to add besides i486-linux-gnu are:
>       * arm-linux-gnu
>       * arm-linux-gnueabi
>       * hppa-linux-gnu
>       * m68k-linux-gnu
>       * mips-linux-gnu
>       * mipsel-linux-gnu
>       * powerpc-linux-gnu
>       * s390-linux-gnu
>       * sparc-linux-gnu
>       * x86_64-linux-gnu
>
> --- checks/binaries.orig	2008-02-08 03:56:39.000000000 +0100
> +++ checks/binaries	2008-03-04 15:36:39.000000000 +0100
> @@ -172,7 +172,9 @@
>  
>      if ($arch eq 'all') {
>  	# package is `Architecture: all' but contains libs!?
> -	tag "arch-independent-package-contains-binary-or-object", "$file";
> +	tag "arch-independent-package-contains-binary-or-object", "$file"
> +	    # ignore multiarch directories
> +	    unless ($file =~ m,^\./(usr/)?lib/i486-linux-gnu/,);
>      }
>  
>      # ELF?

I thought I understood what this was for (namely cross-compile support),
but now I realize that I don't.  Cross-compiles usually don't use those
paths.

Could you give me more information on what problem you're solving here and
what sort of package would contain files in those directories but be arch:
all?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: