On Fri, Jan 02, 2015 at 09:24:14PM +0100, Sven Joachim wrote: > Am 02.01.2015 um 08:51 schrieb Helmut Grohne: > > [1] Technically, this means that the g++-multilib Build-Dependency is > > not satisfied. However, this dependency needs translation[2] in > > order to be useful for cross compilation. So not having gcc-multilib > > installed is morally valid. Just fixing Build-Depends is not yet > > feasible as gcc-for-host and friends are still in experimental. > > You still need libc(32|64)c-dev though, and the pesky /usr/include/asm > symlink shipped currently in gcc-multilib is also required. Without it, > I get this error in a native amd64 build:
I confirm this observation and error in a cross build setting. Unfortunately, there currently is no part of the cross toolchain takes care of that /usr/include/asm link. I therefore treated cross-satisfiability of Build-Depends as a separate issue here. Using the correct compiler can (in principle) be applied right now, but suitable cross Build-Depends are currently unavailable in the archive. I intend to submit a patch for the Build-Depends when suitable packages become available. My reasoning here was that the patch is an incremental step to making ncurses fully cross-buildable. Even if it does not go the full road, it improves things without regressing other aspects (such as compatibility with older releases). So with this patch, those people who can reasonably interpret Build-Depends can actually cross build ncurses for multilib enabled architectures. This should soon appear on jenkins.d.n for sparc. > Maybe we should also set CC and CXX in the build-{32,64,wide-32} > targets, otherwise those targets will misbuild if somebody uses a custom > compiler (e.g. "debian/rules CC=clang build"). I have no good answer to this question. As pointed out at https://wiki.debian.org/ReleaseGoals/honorCCandCXX, the goals of making packages cross-buildable and buildable with clang currently are in conflict somewhat. I currently err on the side that someone who passes CC to debian/rules should know what she is doing and that we should not prevent people from shooting themselves in the foot. Helmut -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org