Your message dated Thu, 22 Feb 2018 09:05:21 +0000
with message-id <e1eomob-0001md...@fasolo.debian.org>
and subject line Bug#890722: fixed in flatpak-builder 0.10.9-1
has caused the Debian Bug report #890722,
regarding flatpack-builder: FTBFS with glibc 2.27: error: static declaration of 
'memfd_create' follows non-static declaration
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.)


-- 
890722: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890722
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: flatpack-builder
Version: 0.10.8-1
Severity: important
Tags: patch upstream
User: debian-gl...@lists.debian.org
Usertags: 2.27

flatpack-builder 0.10.8-1 fails to build with glibc 2.27
(2.27-0experimental0 from experimental):

| gcc -DHAVE_CONFIG_H -I.  -DFLATPAK_BINDIR=\"/usr/bin\" 
-DFLATPAK_BASEDIR=\"/usr/share/flatpak-builder\" 
-DG_LOG_DOMAIN=\"flatpak-builder\" -I./libglnx -include "config.h"  -Wdate-time 
-D_FORTIFY_SOURCE=2  -pipe -Wall -Werror=empty-body -Werror=strict-prototypes 
-Werror=missing-prototypes -Werror=implicit-function-declaration 
-Werror=format=2 -Werror=format-security -Werror=format-nonliteral 
-Werror=pointer-arith -Werror=init-self -Werror=missing-declarations 
-Werror=return-type -Werror=overflow -Werror=int-conversion 
-Werror=incompatible-pointer-types -Werror=misleading-indentation 
-Werror=missing-include-dirs -pthread -I/usr/include/libsoup-2.4 
-I/usr/include/ostree-1 -I/usr/include/gio-unix-2.0/ 
-I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -g -O2 
-fdebug-prefix-map=/home/aurel32/work/glibc/rebuild/packages/flatpak-builder-0.10.8=.
 -fstack-protector-strong -Wformat -Werror=format-security -c -o 
src/flatpak_builder-builder-utils.o `test -f 'src/builder-utils.c' || echo 
'./'`src/builder-utils.c
| In file included from ./libglnx/glnx-missing.h:95:0,
|                  from ./libglnx/libglnx.h:28,
|                  from src/builder-flatpak-utils.h:26,
|                  from src/builder-utils.c:39:
| ./libglnx/glnx-missing-syscall.h:105:19: error: static declaration of 
'memfd_create' follows non-static declaration
|  static inline int memfd_create(const char *name, unsigned int flags) {
|                    ^~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
|                  from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
|                  from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
|                  from src/builder-utils.c:28:
| /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous 
declaration of 'memfd_create' was here
|  int memfd_create (const char *__name, unsigned int __flags) __THROW;
|      ^~~~~~~~~~~~
| make[3]: *** [Makefile:1839: src/flatpak_builder-builder-utils.o] Error 1
| make[3]: Leaving directory 
'/home/aurel32/work/glibc/rebuild/packages/flatpak-builder-0.10.8'
| make[2]: *** [Makefile:2071: all-recursive] Error 1
| make[2]: Leaving directory 
'/home/aurel32/work/glibc/rebuild/packages/flatpak-builder-0.10.8'
| make[1]: *** [Makefile:1000: all] Error 2
| make[1]: Leaving directory 
'/home/aurel32/work/glibc/rebuild/packages/flatpak-builder-0.10.8'
| dh_auto_build: make -j1 returned exit code 2
| make: *** [debian/rules:7: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
| debuild: fatal error at line 1152:
| dpkg-buildpackage -rfakeroot -us -uc -ui -B failed

glibc 2.27 added support for memfd_create. Unfortunately
flatpak-builder, or rather the included libglnx library, also has such a
function to wrap the corresponding syscall. It correctly tries to detect
it in the configure script to disabled the wrapper in case glibc
provides it. However it doesn't work due to a missing include. The
attached patch fixes that.
--- flatpak-builder-0.10.8.orig/libglnx/libglnx.m4
+++ flatpak-builder-0.10.8/libglnx/libglnx.m4
@@ -12,6 +12,7 @@ AC_CHECK_DECLS([
 #include <sched.h>
 #include <linux/loop.h>
 #include <linux/random.h>
+#include <sys/mman.h>
 ]])
 
 AC_ARG_ENABLE(otmpfile,

--- End Message ---
--- Begin Message ---
Source: flatpak-builder
Source-Version: 0.10.9-1

We believe that the bug you reported is fixed in the latest version of
flatpak-builder, 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 890...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated flatpak-builder 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: Mon, 19 Feb 2018 09:56:47 +0000
Source: flatpak-builder
Binary: flatpak-builder flatpak-builder-tests
Architecture: source
Version: 0.10.9-1
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<pkg-utopia-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Description:
 flatpak-builder - Flatpak application building helper
 flatpak-builder-tests - Application deployment framework for desktop apps 
(tests)
Closes: 890722
Changes:
 flatpak-builder (0.10.9-1) unstable; urgency=medium
 .
   * New upstream release
   - Includes patch from Aurelien Jarno to fix FTBFS with glibc 2.27
     (Closes: #890722)
Checksums-Sha1:
 f065bebe98140c2062f5423138cb32b5871a392c 2762 flatpak-builder_0.10.9-1.dsc
 7b75f8259db5ba8e545f0f50b426ee5419abda69 441620 
flatpak-builder_0.10.9.orig.tar.xz
 dc0c9da0b65efb962375638575c59cf6eb1eb7b2 5224 
flatpak-builder_0.10.9-1.debian.tar.xz
 bf6531184b13e698d702e921e34789f048764dca 9979 
flatpak-builder_0.10.9-1_source.buildinfo
Checksums-Sha256:
 9aab94a85c2eb5846aff35a731610b41253652846e894f28913630590d910cf6 2762 
flatpak-builder_0.10.9-1.dsc
 b8253b327d9901cf20a5a0167674377be192012b90bfdc62d54d1c8621cfdd2a 441620 
flatpak-builder_0.10.9.orig.tar.xz
 bb8b78efcddbf9d8ed198b1714555ef8371be82d0b321f3ad6effe419fa2d849 5224 
flatpak-builder_0.10.9-1.debian.tar.xz
 9e665d93a8355f604ae01949af85d991b5d6b39986be480f6d33e0bbbe218b7e 9979 
flatpak-builder_0.10.9-1_source.buildinfo
Files:
 a3c684fba8da569fe4f9ac68b934c8a7 2762 devel optional 
flatpak-builder_0.10.9-1.dsc
 5a783fd3431a683bb9913aa6e2375686 441620 devel optional 
flatpak-builder_0.10.9.orig.tar.xz
 cdc31745e3b5e525d48bf3ca69fe98cd 5224 devel optional 
flatpak-builder_0.10.9-1.debian.tar.xz
 161c32d77a877de18047bb149709c177 9979 devel optional 
flatpak-builder_0.10.9-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlqKo4sACgkQ4FrhR4+B
TE9KVw//fAR0wUYGq9Tbts2UC6/Gvv1BXW84C5LCb2TPTH0vEnFn4FcXBxWDglWs
nTeqvnKcekLiuL/2JFwKtbVTBBF29YfQd7IumF01JFnERgjs9yh2UDikBC5Vq24l
KyOpI4sLBvzYkBneNZEdfZ7PJBfW3EjD3+Up8KSKPNyAakV9RnXLzhZaGeDHcCTm
NLxQ3uIN9pwgErw3YjjMfB3vBct0V+775cxo3qga2xtgSaaHNSUGtTTmIo9Tf+DE
N40NKF4KqlmwAEs4kGMVFqRyTKVEsVhDJD2eDfv0WdUZ28vnbRviZ0ac4X8Lps7z
vYiMfX6FCpi/D0aGwBcEACl/3yGBa6N5QtU09LFnUKkUBIdcR9QfphdaKVOZPwx/
g4TYLMymDJ84sRF2WFkKDzVyQw7yXPxeOD4nGi+wB9TIqx5tksy2rmQi3xW+v/XG
vosSOKuVfR91VSZ6WHMzLqkZarRCRjQ83W0ooRYK9ZHIvN4O0LcvqfcIXUdOhzNX
HjoKGym4OtfUfB19OrOgjzTqTX66CXyWUw2T0TSLwGCrENxp4tK3ON/B10+8U/Jq
mqpydTvqbxUJX91tbpujAb6ONilfQlRc5eb/ke4mIjcWrHNfc35DWvb4XDh1wQDH
vdqRLz7/c1rtvyauR6JCUKn6iPhNYzxamrKBLHJ8tQKWZzjvs+g=
=7gtR
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
Pkg-utopia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to