Bug#794155: bsdiff FTCBFS: uses build arch compiler

2016-10-20 Thread Jari Aalto
Fixed
https://anonscm.debian.org/cgit/collab-maint/bsdiff.git/commit/?id=f1268626610e2bbec29f3de2e2050f3397cd8261



Bug#794155: bsdiff FTCBFS: uses build arch compiler

2015-07-30 Thread Helmut Grohne
Source: bsdiff
Version: 4.3-15
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

bsdiff FTCBFS, because it uses the build arch compiler when it should be
using the host arch compiler. Since the bzip2 development files are only
requested for the host arch, linking fails. I am attaching a failing
build log as well as a patch that fixes the issue.

Helmut
sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on misc-debomatic3

╔══╗
║ bsdiff 4.3-15 (CROSS host=arm64/build=amd64)   28 Jul 2015 17:36 ║
╚══╝

Package: bsdiff
Version: 4.3-15
Source Version: 4.3-15
Distribution: unstable
Machine Architecture: amd64
Host Architecture: arm64
Build Architecture: amd64

I: NOTICE: Log filtering will replace 'build/bsdiff-aIuy_u/bsdiff-4.3' with 
'«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/bsdiff-aIuy_u' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 
'var/lib/schroot/mount/unstable-amd64-debomatic-c575c358-b394-405d-9cbf-a4d4d3d58579'
 with '«CHROOT»'

┌──┐
│ Chroot Setup Commands│
└──┘


/home/debomatic/debomatic/sbuildcommands/chroot-setup-commands/dpkg-speedup
───


I: Finished running 
'/home/debomatic/debomatic/sbuildcommands/chroot-setup-commands/dpkg-speedup'.

Finished processing commands.


┌──┐
│ Update chroot│
└──┘

Get:1 http://httpredir.debian.org unstable InRelease [200 kB]
Get:2 http://httpredir.debian.org unstable/main Sources/DiffIndex [7876 B]
Get:3 http://httpredir.debian.org unstable/contrib Sources/DiffIndex [7819 B]
Get:4 http://httpredir.debian.org unstable/non-free Sources/DiffIndex [7819 B]
Get:5 http://httpredir.debian.org unstable/main amd64 Packages/DiffIndex [7876 
B]
Get:6 http://httpredir.debian.org unstable/contrib amd64 Packages/DiffIndex 
[7819 B]
Get:7 http://httpredir.debian.org unstable/non-free amd64 Packages/DiffIndex 
[7819 B]
Get:8 http://httpredir.debian.org unstable/main arm64 Packages/DiffIndex [7876 
B]
Get:9 http://httpredir.debian.org unstable/contrib arm64 Packages/DiffIndex 
[7819 B]
Get:10 http://httpredir.debian.org unstable/contrib Translation-en/DiffIndex 
[7819 B]
Get:11 http://httpredir.debian.org unstable/non-free arm64 Packages/DiffIndex 
[7819 B]
Get:12 http://httpredir.debian.org unstable/main Translation-en/DiffIndex [7876 
B]
Get:13 http://httpredir.debian.org unstable/non-free Translation-en/DiffIndex 
[7819 B]
Get:14 http://httpredir.debian.org unstable/main 2015-07-20-2047.52.pdiff [12.4 
kB]
Get:15 http://httpredir.debian.org unstable/main 2015-07-21-0250.43.pdiff [8812 
B]
Get:16 http://httpredir.debian.org unstable/main 2015-07-21-0850.03.pdiff [3397 
B]
Get:17 http://httpredir.debian.org unstable/main 2015-07-21-1449.47.pdiff [18.8 
kB]
Get:18 http://httpredir.debian.org unstable/main 2015-07-21-2049.10.pdiff [8292 
B]
Get:19 http://httpredir.debian.org unstable/main 2015-07-22-0250.18.pdiff [12.2 
kB]
Get:20 http://httpredir.debian.org unstable/main 2015-07-22-0848.26.pdiff [ 
B]
Get:21 http://httpredir.debian.org unstable/main 2015-07-22-1449.38.pdiff [13.7 
kB]
Get:22 http://httpredir.debian.org unstable/main 2015-07-22-2049.44.pdiff [19.5 
kB]
Get:23 http://httpredir.debian.org unstable/main 2015-07-23-0247.58.pdiff [19.4 
kB]
Get:24 http://httpredir.debian.org unstable/main 2015-07-23-0910.58.pdiff [13.2 
kB]
Get:25 http://httpredir.debian.org unstable/main 2015-07-23-1448.36.pdiff [16.0 
kB]
Get:26 http://httpredir.debian.org unstable/main 2015-07-23-2049.31.pdiff [17.1 
kB]
Get:27 http://httpredir.debian.org unstable/main 2015-07-24-0250.04.pdiff [12.6 
kB]
Get:28 http://httpredir.debian.org unstable/main 2015-07-24-0851.36.pdiff [2008 
B]
Get:29 http://httpredir.debian.org unstable/main 2015-07-24-1452.49.pdiff [21.2 
kB]
Get:30 http://httpredir.debian.org unstable/main 2015-07-24-2051.02.pdiff [23.9 
kB]
Get:31 http://httpredir.debian.org unstable/main 2015-07-25-0251.08.pdiff [4449 
B]
Get:32 http://httpredir.debian.org unstable/main 2015-07-25-0850.02.pdiff [2819 
B]
Get:33 http://httpredir.debian.org unstable/main 2015-07-25-2052.33.pdiff [30.1 
kB]
Get:34 http://httpredir.debian.org unstable/main 2015-07-26-0254.09.pdiff [10.2 
kB]
Get:35 http://httpredir.debian.org unstable/main 2015-07-26-0850.47.pdiff [4581 
B]
Get:36 http://httpredir.debian.org unstable/main 2015-07-26-1450.39.pd