[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46m
From: |
Tim Ruehsen |
Subject: |
Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man) |
Date: |
Tue, 14 Mar 2017 11:30:48 +0100 |
User-agent: |
KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; ) |
On Monday, March 13, 2017 9:30:29 PM CET Helmut Grohne wrote:
> Source: libidn2-0
> Version: 0.16-1
> Tags: patch
> User: address@hidden
> Usertags: rebootstrap
>
> cross building libidn2-0 is required for bootstrapping new architectures
> as curl added it to its Build-Depends a while ago. Unfortunately, cross
> building libidn2-0 currently fails. The immediate reason is failure to
> execute gentr46map during build. It is not installed into any package
> and should thus be compiled with the build architecture compiler, but
> the build system opts for the host architecture compiler. After fixing
> that, help2man fails running idn2. Fixing help2man calls doesn't have a
> straight forward solution. One can choose among:
> 1. Stop using help2man and write proper documentation.
> 2. Skip rebuilding manual pages during cross builds.
> 3. Add a idn2:native <cross> to Build-Depends and run that.
> 4. Build libidn2-0 twice. Once native, then cross.
> In the attached patch, I opted for option 2. Please consider applying
> it.
Thanks for your patch(es), Helmut.
Just removing 'include <config.h>' from gentr46map.c doesn't work out here.
_GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE are then not defined (used in
gentr46map.c and tr46map.h) and the compiler errors.
Also, using -lunistring directly doesn't work out on systems without
libunistring. I guess it needs libtool and $(LTLIBUNISTRING) + ../gl/libgnu.la
to do it portable. I can't test that for the Debian environment and know too
less about cross-compiling to test that myself.
Added the changes for configure.ac and help2man into upstream.
Regards, Tim
signature.asc
Description: This is a digitally signed message part.
- Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Helmut Grohne, 2017/03/13
- Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man),
Tim Ruehsen <=
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Helmut Grohne, 2017/03/14
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Tim Ruehsen, 2017/03/14
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Helmut Grohne, 2017/03/14
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Nikos Mavrogiannopoulos, 2017/03/15
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Nikos Mavrogiannopoulos, 2017/03/15
- Re: Bug#857675: libidn2-0 FTCBFS: runs host arch code during build (gentr46map, help2man), Helmut Grohne, 2017/03/15