Bug#964541: marked as done (flatpak: Wrong argument order for clone syscall seccomp filter on s390x)

2020-08-11 Thread Debian Bug Tracking System
Your message dated Tue, 11 Aug 2020 19:18:26 +
with message-id 
and subject line Bug#964541: fixed in gnome-desktop3 3.37.90.1-2
has caused the Debian Bug report #964541,
regarding flatpak: Wrong argument order for clone syscall seccomp filter on 
s390x
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
964541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964541
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 
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
--- End Message ---
--- Begin Message ---
Source: gnome-desktop3
Source-Version: 3.37.90.1-2
Done: Simon McVittie 

We believe that the bug you reported is fixed in the latest version of
gnome-desktop3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 964...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie  (supplier of updated gnome-desktop3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 11 Aug 2020 18:08:26 +0100
Source: gnome-desktop3
Architecture: source
Version: 3.37.90.1-2
Distribution: experimental
Urgency: medium
Maintainer: Debian GNOME Maintainers 

Changed-By: Simon McVittie 
Closes: 943434 964541
Changes:
 gnome-desktop3 (3.37.90.1-2) experimental; urgency=medium
 .
   * Team upload
   * d/p/thumbnail-Mount-etc-alternatives-if-it-exists.patch:
 Add patch to give thumbnailers access to /etc/alternatives.
 In particular this fixes thumbnailers that use libblas.so.3, such as
 some Totem plugins. (Closes: #943434)
   * d/p/Fix-argument-order-of-clone-for-s390x-in-seccomp-filter.patch
 Add patch to fix seccomp filter on s390x.
 Now you too can run sandboxed thumbnailers on your IBM mainframe, if
 that's what you're 

Bug#964541: marked as done (flatpak: Wrong argument order for clone syscall seccomp filter on s390x)

2020-08-06 Thread Debian Bug Tracking System
Your message dated Thu, 06 Aug 2020 22:33:39 +
with message-id 
and subject line Bug#964541: fixed in flatpak 1.8.1-2
has caused the Debian Bug report #964541,
regarding flatpak: Wrong argument order for clone syscall seccomp filter on 
s390x
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
964541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964541
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 
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
--- End Message ---
--- Begin Message ---
Source: flatpak
Source-Version: 1.8.1-2
Done: Simon McVittie 

We believe that the bug you reported is fixed in the latest version of
flatpak, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 964...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie  (supplier of updated flatpak package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 06 Aug 2020 22:45:21 +0100
Source: flatpak
Architecture: source
Version: 1.8.1-2
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 

Changed-By: Simon McVittie 
Closes: 964541
Changes:
 flatpak (1.8.1-2) unstable; urgency=medium
 .
   * Include flatpak-bisect and flatpak-coredumpctl in libflatpak-dev
 - Depends: python3, to be able to run the scripts themselves
 - Recommends: flatpak, for both scripts
 - Suggests: gdb and systemd-coredump, for flatpak-coredumpctl
 - Suggests: python3-gi and ostree, for flatpak-bisect
   * d/p/Fix-argument-order-of-clone-for-s390x-in-seccomp-filter.patch:
 Add proposed patch to fix seccomp filtering on s390x.
 Thanks to Julian Andres Klode. (Closes: #964541, LP: #1886814)
Checksums-Sha1: