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

Re: Bug#792281: texlive-latex-base: not Multi-Arch: foreign



Hi all,

On Sun, 20 Sep 2015, Norbert Preining wrote:
>  /* The size of `long', as computed by sizeof. */
> -#define SIZEOF_LONG 8
> +#define SIZEOF_LONG 4

Concerning this:
Is there a place to install *arch* dependent header files?

To explain the situation: The normal texlive installation puts
the one changing file
	c-auto.h
into
	usr/lib/kpathsea/c-auto.h
(not the "lib" part!)

It seems to be the only file that differs.

But in my rules file I have:
        # we don't support this kind of arch-separation by now
        mv debian/tmp/usr/lib/kpathsea/c-auto.h debian/tmp/usr/include/kpathsea/

The reason is that many packages build-dep on libkpathsea-dev and
do *not* find the /usr/lib/kpathsea/c-auto.h and FTBFS.

I *could* do the following to achieve more M-A compatibility:
* ship the c-auto file in the libkpathsea6 together with the shlibs
* put it, as installed by texlive, into
	/usr/lib/<triplet>/kpathsea/c-auto.h
* adjust the kpathsea.pc config file so that pkg-config --cflags
  adds this path and 
	#include <kpathsea/c-auto.h>
  again works.

But AFAIR putting .h below /usr/lib/ is forbidden in Debian.

What do you advise here?


Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


Reply to: