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

Bug#1019225: s390-dasd: fix cross-plattform build



Package: s390-dasd
Severity: wishlist
Tags: patch


Hi,

during the last months/years, I experienced several build failures, when
trying to build s390-dasd in an amd64 chroot with sbuild (cross-plattform build
for s390x on a amd64 chroot).
While this is apparently no issue, when building on s390x hardware (buildd is
fine), it seems to be an issue, when building in an amd64 chroot (needed for
uploading, here at least).


I'm not sure, if this proposal really makes sense (it's based on some
internet research results), but with attached patched applied, I can build
s390-dasd successfully ATM with
"sbuild --host=s390x -s -d unstable --source-only-changes" on an amd64 chroot,
while otherwise it fails with

dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j1 PKG_CONFIG=s390x-linux-gnu-pkg-config CXX=s390x-linux-gnu-g\+\+ CC=s390x-linux-gnu-gcc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
s390x-linux-gnu-gcc -Wall -W -pipe -Os -I/usr/include/sysfs -fomit-frame-pointer -o dasd-config dasd-config.c -ldebconfclient -ldebian-installer -lsysfs
strip --remove-section=.note --remove-section=.comment dasd-config
strip: Unable to recognise the format of the input file `dasd-config'
make[1]: *** [Makefile:26: dasd-config] Error 1


And it failed very often during the last months/years with the same error!



See https://lists.debian.org/debian-boot/2022/08/msg00142.html
for a full build log.



Holger




-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076


Reply to: