Your message dated Sat, 16 Jan 2021 16:05:12 +0000
with message-id <[email protected]>
and subject line Bug#978098: fixed in webkit2gtk 2.31.1-1
has caused the Debian Bug report #978098,
regarding webkit2gtk: Re-enable build for hurd-i386?
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 [email protected]
immediately.)


-- 
978098: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: webkit2gtk
Version: 2.30.4-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]

Hello,

It seems that the porters have a patch that is allowing webkit to build
on hurd-i386

Shouldn't the patch be applied in "official" package as well (and maybe
upstream)?

Kind regards,
Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru webkit2gtk-2.30.3/debian/changelog webkit2gtk-2.30.3/debian/changelog
--- webkit2gtk-2.30.3/debian/changelog  2020-11-20 15:24:07.000000000 +0100
+++ webkit2gtk-2.30.3/debian/changelog  2020-12-05 18:54:19.000000000 +0100
@@ -1,3 +1,13 @@
+webkit2gtk (2.30.3-1+hurd.1) unreleased; urgency=medium
+
+  * fix-ftbfs-hurd.patch: Fix linuxisms.
+  * control: Disable bubblewrap, xdg-dbus-proxy, libseccomp-dev,
+    libwpebackend-fdo-1.0-dev build-deps on hurd-any. Enable libsystemd-dev on
+    linux-any only. Enable building packages on hurd-any.
+  * rules: Pass -DUSE_SYSTEMD=OFF on !linux.
+
+ -- Samuel Thibault <[email protected]>  Sat, 05 Dec 2020 17:54:19 +0000
+
 webkit2gtk (2.30.3-1) unstable; urgency=high
 
   * New upstream release
diff -Nru webkit2gtk-2.30.3/debian/control webkit2gtk-2.30.3/debian/control
--- webkit2gtk-2.30.3/debian/control    2020-11-20 15:24:07.000000000 +0100
+++ webkit2gtk-2.30.3/debian/control    2020-12-05 13:31:51.000000000 +0100
@@ -7,9 +7,9 @@
            Alberto Garcia <[email protected]>
 X-Ubuntu-Use-Langpack: no
 Build-Depends: gawk,
-               bubblewrap (>= 0.3.1) [!alpha !ia64 !m68k !riscv64 !sh4 
!sparc64],
-               xdg-dbus-proxy [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64],
-               libseccomp-dev [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64],
+               bubblewrap (>= 0.3.1) [!alpha !ia64 !m68k !riscv64 !sh4 
!sparc64 !hurd-any],
+               xdg-dbus-proxy [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 
!hurd-any],
+               libseccomp-dev [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 
!hurd-any],
                cmake (>= 3.3),
                debhelper (>= 11.2~),
                jdupes,
@@ -30,11 +30,11 @@
                libxml2-dev (>= 2.8),
                libsoup2.4-dev (>= 2.42.0),
                libsqlite3-dev (>= 3.0),
-               libsystemd-dev,
+               libsystemd-dev [linux-any],
                libgudev-1.0-dev [linux-any],
                libupower-glib-dev,
                libwoff-dev (>= 1.0.2),
-               libwpebackend-fdo-1.0-dev,
+               libwpebackend-fdo-1.0-dev [!hurd-any],
                gperf,
                bison,
                flex,
@@ -70,7 +70,7 @@
 
 Package: libjavascriptcoregtk-4.0-18
 Section: libs
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
@@ -87,7 +87,7 @@
 
 Package: libjavascriptcoregtk-4.0-dev
 Section: libdevel
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Depends: libjavascriptcoregtk-4.0-18 (= ${binary:Version}),
          gir1.2-javascriptcoregtk-4.0 (= ${binary:Version}),
@@ -104,7 +104,7 @@
 
 Package: libjavascriptcoregtk-4.0-bin
 Section: interpreters
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
@@ -121,7 +121,7 @@
 
 Package: gir1.2-javascriptcoregtk-4.0
 Section: introspection
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Depends: ${gir:Depends},
          ${misc:Depends}
@@ -139,7 +139,7 @@
 
 Package: libwebkit2gtk-4.0-37
 Section: libs
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: libjavascriptcoregtk-4.0-18 (= ${binary:Version}),
@@ -171,7 +171,7 @@
 
 Package: libwebkit2gtk-4.0-dev
 Section: libdevel
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Depends: libwebkit2gtk-4.0-37 (= ${binary:Version}),
          gir1.2-webkit2-4.0 (= ${binary:Version}),
@@ -220,7 +220,7 @@
 
 Package: gir1.2-webkit2-4.0
 Section: introspection
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Multi-Arch: same
 Depends: gir1.2-javascriptcoregtk-4.0 (= ${binary:Version}),
          ${gir:Depends},
@@ -256,7 +256,7 @@
  browser-plugin-freshplayer-pepperflash.
 
 Package: webkit2gtk-driver
-Architecture: linux-any
+Architecture: linux-any hurd-any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: libwebkit2gtk-4.0-37 (= ${binary:Version}),
          ${shlibs:Depends},
diff -Nru webkit2gtk-2.30.3/debian/patches/fix-ftbfs-hurd.patch 
webkit2gtk-2.30.3/debian/patches/fix-ftbfs-hurd.patch
--- webkit2gtk-2.30.3/debian/patches/fix-ftbfs-hurd.patch       1970-01-01 
01:00:00.000000000 +0100
+++ webkit2gtk-2.30.3/debian/patches/fix-ftbfs-hurd.patch       2020-12-05 
18:54:19.000000000 +0100
@@ -0,0 +1,77 @@
+https://bugs.webkit.org/show_bug.cgi?id=219570
+https://bugs.webkit.org/show_bug.cgi?id=219571
+https://bugs.webkit.org/show_bug.cgi?id=219572
+
+Index: webkit2gtk-2.30.3/Source/WTF/wtf/RAMSize.cpp
+===================================================================
+--- webkit2gtk-2.30.3.orig/Source/WTF/wtf/RAMSize.cpp
++++ webkit2gtk-2.30.3/Source/WTF/wtf/RAMSize.cpp
+@@ -33,7 +33,9 @@
+ #elif defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC
+ #if OS(LINUX)
+ #include <sys/sysinfo.h>
+-#endif // OS(LINUX)
++#elif OS(UNIX)
++#include <unistd.h>
++#endif // OS(LINUX) || OS(UNIX)
+ #else
+ #include <bmalloc/bmalloc.h>
+ #endif
+@@ -58,9 +60,13 @@ static size_t computeRAMSize()
+     struct sysinfo si;
+     sysinfo(&si);
+     return si.totalram * si.mem_unit;
++#elif OS(UNIX)
++    long pages = sysconf(_SC_PHYS_PAGES);
++    long pageSize = sysconf(_SC_PAGE_SIZE);
++    return pages * pageSize;
+ #else
+ #error "Missing a platform specific way of determining the available RAM"
+-#endif // OS(LINUX) || OS(FREEBSD)
++#endif // OS(LINUX) || OS(FREEBSD) || OS(UNIX)
+ #else
+     return bmalloc::api::availableMemory();
+ #endif
+Index: webkit2gtk-2.30.3/Source/JavaScriptCore/runtime/ConfigFile.h
+===================================================================
+--- webkit2gtk-2.30.3.orig/Source/JavaScriptCore/runtime/ConfigFile.h
++++ webkit2gtk-2.30.3/Source/JavaScriptCore/runtime/ConfigFile.h
+@@ -42,8 +42,10 @@ private:
+ 
+ #if OS(WINDOWS)
+     static const size_t s_maxPathLength = 260; // Windows value for "MAX_PATH"
+-#else
++#elif defined(PATH_MAX)
+     static const size_t s_maxPathLength = PATH_MAX;
++#else
++    static const size_t s_maxPathLength = 4095;
+ #endif
+ 
+     static char s_processName[];
+Index: 
webkit2gtk-2.30.3/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp
+===================================================================
+--- 
webkit2gtk-2.30.3.orig/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp
++++ 
webkit2gtk-2.30.3/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp
+@@ -67,11 +67,22 @@ static void scanDirectoryForDictionaries
+     for (auto& filePath : FileSystem::listDirectory(directoryPath, 
"hyph_*.dic")) {
+         String locale = 
extractLocaleFromDictionaryFilePath(filePath).convertToASCIILowercase();
+ 
++#if _POSIX_VERSION >= 200112
++        char *normalizedPath;
++        normalizedPath = 
realpath(FileSystem::fileSystemRepresentation(filePath).data(), NULL);
++        if (!normalizedPath)
++            continue;
++
++        filePath = 
FileSystem::stringFromFileSystemRepresentation(normalizedPath);
++        free(normalizedPath);
++#else
+         char normalizedPath[PATH_MAX];
+         if (!realpath(FileSystem::fileSystemRepresentation(filePath).data(), 
normalizedPath))
+             continue;
+ 
+         filePath = 
FileSystem::stringFromFileSystemRepresentation(normalizedPath);
++#endif
++
+         availableLocales.add(locale, 
Vector<String>()).iterator->value.append(filePath);
+ 
+         String localeReplacingUnderscores = String(locale);
diff -Nru webkit2gtk-2.30.3/debian/patches/series 
webkit2gtk-2.30.3/debian/patches/series
--- webkit2gtk-2.30.3/debian/patches/series     2020-11-20 15:24:07.000000000 
+0100
+++ webkit2gtk-2.30.3/debian/patches/series     2020-12-05 18:54:19.000000000 
+0100
@@ -5,3 +5,4 @@
 prefer-pthread.patch
 dont-detect-sse2.patch
 reduce-memory-overheads.patch
+fix-ftbfs-hurd.patch
diff -Nru webkit2gtk-2.30.3/debian/rules webkit2gtk-2.30.3/debian/rules
--- webkit2gtk-2.30.3/debian/rules      2020-11-20 15:24:07.000000000 +0100
+++ webkit2gtk-2.30.3/debian/rules      2020-12-05 13:44:15.000000000 +0100
@@ -24,6 +24,11 @@
        EXTRA_CMAKE_ARGUMENTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON
 endif
 
+# Systemd is Linux-only
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+       EXTRA_CMAKE_ARGUMENTS += -DUSE_SYSTEMD=OFF
+endif
+
 # See https://bugs.webkit.org/show_bug.cgi?id=197192
 ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
        EXTRA_CMAKE_ARGUMENTS += -DWTF_CPU_ARM64_CORTEXA53=OFF

--- End Message ---
--- Begin Message ---
Source: webkit2gtk
Source-Version: 2.31.1-1
Done: Alberto Garcia <[email protected]>

We believe that the bug you reported is fixed in the latest version of
webkit2gtk, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alberto Garcia <[email protected]> (supplier of updated webkit2gtk 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 16 Jan 2021 16:38:36 +0100
Source: webkit2gtk
Architecture: source
Version: 2.31.1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian WebKit Maintainers 
<[email protected]>
Changed-By: Alberto Garcia <[email protected]>
Closes: 978098
Changes:
 webkit2gtk (2.31.1-1) experimental; urgency=medium
 .
   * New upstream development release.
   * Remove some obsolete build dependencies (see #979170):
     + gawk is not needed since WebKitGTK switched from autotools to CMake.
     + libgeoclue-2-dev and geoclue-2.0 are not required since WebKitGTK
       2.25.1 (upstream bug 195994).
     + libupower-glib-dev is not required since WebKitGTK 2.19.92 (upstream
       bug 181825).
     + libfile-copy-recursive-perl is not required since WebKitGTK 2.19.3
       (upstream bug 180479).
     + mesa-common-dev used to provide GL/gl.h but this header is now in
       libgl-dev.
     + libgles2-mesa-dev used to provide GLES3/gl3.h but this header is now
       in libgles-dev.
     + libgl1-mesa-dev and libgles2-mesa-dev are now dummy packages.
     + libpango1.0-dev is not checked for any specific version at build
       time so there's no need to list it.
   * Update the minimum required versions of some packages:
     + cmake from 3.3 to 3.10
     + libglib2.0-dev from 2.36.0 to 2.44.0
     + libgtk-3-dev from 3.10.0 to 3.22.0
     + libcairo2-dev from 1.10.2 to 1.14.0
     + libsoup2.4-dev from 2.42.0 to 2.54.0.
   * debian/copyright:
     + Update copyright information of all files.
   * debian/watch, debian/gbp.conf:
     + Update for 2.31.x packages in experimental.
   * Use -DFORCE_32BIT on 32-bit builds.
     + This replaces debian/patches/fix-ftbfs-x86.patch.
   * Refresh all patches.
   * debian/control:
     + Add build dependency on libmanette-0.2-dev.
     + Stop suggesting browser-plugin-freshplayer-pepperflash for
       libwebkit2gtk-4.0-37-gtk2.
   * debian/NEWS:
     - Add item explaining the removal of support for NPAPI plugins.
   * debian/libwebkit2gtk-4.0-37.symbols:
     + Update symbols.
   * Enable the build on non-Linux architectures (Closes: #978098):
     + debian/rules:
       - Build with -DUSE_SYSTEMD=OFF if the OS is not Linux.
     + debian/patches/fix-ftbfs-hurd.patch:
       - Add alternative implementation of scanDirectoryForDictionaries()
         that does not use PATH_MAX (for the Hurd).
     + debian/control:
       - Set the architecture of all binary packages to 'any' and require
         bubblewrap, systemd and libwpebackend-fdo on Linux only.
Checksums-Sha1:
 43aae99f33d8d71037a2581a38363e7b187f1d31 4299 webkit2gtk_2.31.1-1.dsc
 0c0b9fdb4b5918a3135e0e160c4b1c05692e0522 23180000 webkit2gtk_2.31.1.orig.tar.xz
 63246e7b1f9edbb3e87df54840eac5cb92041123 195 webkit2gtk_2.31.1.orig.tar.xz.asc
 238f4e29a87afb5c5159854067e1eb320d677517 71796 
webkit2gtk_2.31.1-1.debian.tar.xz
 f679dd98c3766583322af474efeafac6e50a1575 15701 
webkit2gtk_2.31.1-1_source.buildinfo
Checksums-Sha256:
 65a061604956d4a5ea987c72a404a6ca3882bf14dc65e14905e83b484ae87edb 4299 
webkit2gtk_2.31.1-1.dsc
 6b1bb3e0efcfcb6e4a8e18b6a5f1cac27cda203d46a7dfbb0f150784a47e908f 23180000 
webkit2gtk_2.31.1.orig.tar.xz
 c2880c8a9aa5367e7088067e4f1ef989355b08023ff932ea8e3aaa058486f93d 195 
webkit2gtk_2.31.1.orig.tar.xz.asc
 7122f00ca7782969b74cd8828d6c4cb67b3444a83ad29ef06e2f4b0e20fcbff6 71796 
webkit2gtk_2.31.1-1.debian.tar.xz
 44519d684ab5190cd1f34a505a2e4ce146af9c1cd7aab774d2ea43e95a554594 15701 
webkit2gtk_2.31.1-1_source.buildinfo
Files:
 c4fc318c7bb9001e6c9b15ef8b91c26d 4299 web optional webkit2gtk_2.31.1-1.dsc
 36dd6f7e3539e523c1407d9460219609 23180000 web optional 
webkit2gtk_2.31.1.orig.tar.xz
 d333b936a76a2a2b9c3682c7f5e4c9fa 195 web optional 
webkit2gtk_2.31.1.orig.tar.xz.asc
 fa00ec448f8146a8d7484a42a0d3daf3 71796 web optional 
webkit2gtk_2.31.1-1.debian.tar.xz
 ede03c50e48a2dcd890e32138dd6923b 15701 web optional 
webkit2gtk_2.31.1-1_source.buildinfo

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

iQIzBAEBCAAdFiEEYrwugQBKzlHMYFizAAyEYu0C2AIFAmADCPQACgkQAAyEYu0C
2ALQQRAAoBqO10i0sGZWa8amKxMy+6pHIqquddzs8PWIjybRc9lxTXrzD2yxC2Iu
juvVTS7sZtSbhSo+Kta27IK9qdl+B7JsMqKQKdoBLnqUk06vFg6jH60XsljuH+8Z
mMmSS0iqvo3UoWX32cbo1hVhU4ljkDnLvQEBBmegqnxeJ4eokrcTR0dkdyRNNwHX
XOmbEYdLYhFbnwujE432y5Fvplnr+kPccRJBE7ObzQ86JdH2H5S0MBdDSEmdGR8A
uY6XHwBAc+49ITAfEPpXIARW5TN9iYDIqF7AuQFnKnHTkyy+xrmN6mrPxWwT5Z81
kCjr25TbjQ1nY0Iswhdn7sZ2dpZKLCHXlxGLsugToTzKwvMJBJWLAQslUYtHZg1r
bHfYRiczlC59QHvaSAH6V170H/CBoQasyK8OHBlH5IKeOfewKlk3JkJPT+nGqDjP
Ozvq8xuSM3R3/bBgEHElugr4Mo9VgcgGPFzSVJm0aBDgVM7BrgdqznsM8cszJ8dc
M/cjRvJMZd5f4/Fj8JGdZiFyzMrZLKAZV3/rxFrrvb7Za9dLvkAKoqfVfM6DffWC
9YUz05Y8r6vZdtn7W5rd8HMLzgkiKESOYLz/PBzQIef14W3PKpRqMXv/bgPGaOBc
u/hbFCvDaa1Us+47LWraxUcAQX8xN/SUXGLNBQwTlEMNo0PWO6E=
=p9JU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to