Package: make-dfsg Version: 4.3-4 Severity: serious Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu groovy ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: The autopkgtests for flatpak-builder/s390x where failing with echo Building make: echo: Operation not permitted make: *** [Makefile:2: all] Error 127 git bisect lead to commit 749a54d7a458dc6779936138caf40ce600a80052 (refs/bisect/bad) Author: Aron Barath <baratha...@caesar.elte.hu> Date: Mon Jul 9 09:05:31 2018 +0200 * job.c (child_execute_job): Prefer posix_spawn() over fork()/exec() and I can confirm that disabling posix_spawn makes the autopkgtest work again. Earlier research also indicated that this is a heisenbug, if I try to print to stderr before printing to stdout, no issue occurs. * Pass --disable-posix-spawn to configure, as use of posix_spawn() causes a regression on s390x, with commands getting EPERM when writing to stdout. Thanks for considering the patch. *** /tmp/tmp79xr4v61/make-dfsg_4.3-4ubuntu1.debdiff diff -u make-dfsg-4.3/debian/rules make-dfsg-4.3/debian/rules --- make-dfsg-4.3/debian/rules +++ make-dfsg-4.3/debian/rules @@ -28,13 +28,13 @@ mkdir -p $(BUILDDIR_GUILE) ac_cv_lib_util_getloadavg=no dh_auto_configure --parallel \ -B$(BUILDDIR_GUILE) -- --prefix=$(PREFIX) $(confflags) \ - --with-guile + --with-guile --disable-posix-spawn endif ifneq (,$(filter make, $(shell dh_listpackages))) mkdir -p $(BUILDDIR_NORMAL) ac_cv_lib_util_getloadavg=no dh_auto_configure --parallel \ -B$(BUILDDIR_NORMAL) -- --prefix=$(PREFIX) $(confflags) \ - --with-guile=no + --with-guile=no --disable-posix-spawn endif override_dh_auto_build: -- System Information: Debian Release: bullseye/sid APT prefers groovy APT policy: (991, 'groovy'), (500, 'groovy'), (500, 'focal-security') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.6.0-1018-oem (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en