Package: libtool-bin
Version: 2.4.2-1.11
User: helm...@debian.org
Usertags: rebootstrap

libtool-bin requires a compiler for proper operation. In earlier times,
there was only the libtool binary package, which still depends on gcc |
c-compiler. Then we split out /usr/bin/libtool to libtool-bin and had it
depend on libtool thus inheriting all dependencies, at least we thought.
What we forgot is that libtool became Multi-Arch: foreign.  Thus
installing libtool-bin:arch1 with gcc:arch2 is considered ok.
Unfortunately that doesn't work well as /usr/bin/libtool expects
gcc/g++/ld to match its own architecture.

The trivial solution to this problem is adding an explicit dependency on
gcc | c-compiler to libtool-bin.

I note though that after adding that dependency, libtool-bin will
effectively become unusable to cross building, because its gcc:hostarch
dependency will not be satisfiable.  In a distant future, we want it to
depend on gcc-for-host instead and thus allow cross compilers to be
used. Until that becomes reality, the dependency on gcc will remind us
that cross building anything that Build-Depends on libtool-bin will be a
fruitless exercise.

Helmut

Reply via email to