← Back to team overview

cross-toolchain-base-devs team mailing list archive

Bug#917745: cross-toolchain-base: FTBFS: applying patches fails

 

user debian-ci@xxxxxxxxxxxxxxxx
usertags needs-update
thanks

Hi all,

On Sat, 29 Dec 2018 23:46:40 +0100 Lucas Nussbaum <lucas@xxxxxxxxxx> wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> >  debian/rules build
> > linux: 4.19.12-1 / 4.18.20-2cross2
> > glibc: 2.28-4 / 2.28-2cross2
> > 
> > old linux version: 4.18.20-2 / 2
> > old glibc version: 2.28-2 / 2
> > 
> > new linux version: 4.19.12-1cross1
> > new glibc version: 2.28-4cross1
> > START stamp-dir/init-glibc
> > rm -rf glibc-2.28
> > tar -x -f  /usr/src/glibc/glibc-2.28.tar.xz
> > cp -a /usr/src/glibc/debian/ glibc-2.28
> > cd glibc-2.28 ; \
> > QUILT_PATCHES=/<<PKGBUILDDIR>>/debian/patches/glibc/debian quilt --quiltrc /dev/null push -a && \
> > rm -rf .pc/
> > Applying patch dpkg-shlibs.patch
> > patching file debian/rules.d/debhelper.mk
> > 
> > Applying patch local-kill-locales.patch
> > patching file debian/rules
> > patching file localedata/SUPPORTED
> > 
> > Applying patch glibc-build-tools.diff
> > patching file debian/rules
> > 
> > Applying patch gcc-8-armel.diff
> > patching file debian/sysdeps/armel.mk
> > Hunk #1 FAILED at 1.
> > 1 out of 1 hunk FAILED -- rejects in file debian/sysdeps/armel.mk
> > Patch gcc-8-armel.diff does not apply (enforce with -f)
> > make: *** [debian/rules:436: stamp-dir/init-glibc] Error 1

I hope you are aware that the same issue is currently blocking the
latest version of glibc from migrating to testing as the autopkgtest of
cross-toolchain-base fails on the same error:

https://ci.debian.net/data/autopkgtest/testing/amd64/c/cross-toolchain-base/1663556/log.gz

autopkgtest [05:36:03]: test build: [-----------------------
Testing cross builds on amd64 ...
+ CROSS_ARCHS=ppc64el DEB_BUILD_OPTIONS=parallel=2 dpkg-buildpackage -d
-b --no-sign
dpkg-buildpackage: info: source package cross-toolchain-base
dpkg-buildpackage: info: source version 30
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Matthias Klose <doko@xxxxxxxxxx>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
linux: 4.19.12-1 / 4.18.20-2cross2
glibc: 2.28-4 / 2.28-2cross2

old linux version: 4.18.20-2 / 2
old glibc version: 2.28-2 / 2

new linux version: 4.19.12-1cross1
new glibc version: 2.28-4cross1
rm -rf linux-source-*
rm -rf glibc-*
rm -rf gcc
rm -rf binutils-*
rm -rf debian/tmp.ppc64el
rm -f debian/files debian/no-packages
rm -f debian/cross-compile
find debian -name '*~' | xargs -r rm -f
rm -f *.*deb *.changes *.buildinfo
rm -rf repackfiles tmp tmp-* debian/tmp.*
rm -rf stamp-dir/
mkdir stamp-dir/
dh_clean
 debian/rules build
linux: 4.19.12-1 / 4.18.20-2cross2
glibc: 2.28-4 / 2.28-2cross2

old linux version: 4.18.20-2 / 2
old glibc version: 2.28-2 / 2

new linux version: 4.19.12-1cross1
new glibc version: 2.28-4cross1
START stamp-dir/init-glibc
rm -rf glibc-2.28
tar -x -f  /usr/src/glibc/glibc-2.28.tar.xz
cp -a /usr/src/glibc/debian/ glibc-2.28
cd glibc-2.28 ; \
QUILT_PATCHES=/tmp/autopkgtest-lxc.3kye5ugg/downtmp/build.o4e/src/debian/patches/glibc/debian
quilt --quiltrc /dev/null push -a && \
rm -rf .pc/
Applying patch dpkg-shlibs.patch
patching file debian/rules.d/debhelper.mk

Applying patch local-kill-locales.patch
patching file debian/rules
patching file localedata/SUPPORTED

Applying patch glibc-build-tools.diff
patching file debian/rules

Applying patch gcc-8-armel.diff
patching file debian/sysdeps/armel.mk
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file debian/sysdeps/armel.mk
Patch gcc-8-armel.diff does not apply (enforce with -f)
make: *** [debian/rules:436: stamp-dir/init-glibc] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
autopkgtest [05:36:10]: test build: -----------------------]

Paul

Attachment: signature.asc
Description: OpenPGP digital signature