[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1036946: webkit2gtk: Tries to build Bubblewrap support even if its disabled



Source: webkit2gtk
Version: 2.40.2-1
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org

Hello!

webkit2gtk currently FTBFS on multiple architectures since it tries to build Bubblewrap
support code despite being configured with -DENABLE_BUBBLEWRAP_SANDBOX=OFF.

On sparc64, for example, at the configure stage, the feature is clearly off:

-- Enabled features:
--  ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF


However, the build system still tries to build the corresponding code in Sandbox.cpp:

[151/6185] /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 \
-DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKitGTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 \
-I/<<PKGBUILDDIR>>/build-soup2 -I/<<PKGBUILDDIR>>/build-soup2/WTF/DerivedSources -I/<<PKGBUILDDIR>>/Source/WTF \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf -I/<<PKGBUILDDIR>>/Source/WTF/wtf/dtoa -I/<<PKGBUILDDIR>>/Source/WTF/wtf/fast_float \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/persistence -I/<<PKGBUILDDIR>>/Source/WTF/wtf/text \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/text/icu -I/<<PKGBUILDDIR>>/Source/WTF/wtf/threads \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/unicode -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/glib-2.0 -isystem \
/usr/lib/sparc64-linux-gnu/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid \
-fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread \
-Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type \
-Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith \
-Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -g1 -O2 \
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security \
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DG_DISABLE_CAST_CHECKS -fno-strict-aliasing -fno-exceptions \
-fno-rtti -fPIC -fvisibility=hidden -std=c++20 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o \
-MF Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o \
-c /<<PKGBUILDDIR>>/Source/WTF/wtf/glib/Sandbox.cpp
FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF \
-DGETTEXT_PACKAGE=\"WebKitGTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 \
-I/<<PKGBUILDDIR>>/build-soup2 -I/<<PKGBUILDDIR>>/build-soup2/WTF/DerivedSources -I/<<PKGBUILDDIR>>/Source/WTF \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf -I/<<PKGBUILDDIR>>/Source/WTF/wtf/dtoa -I/<<PKGBUILDDIR>>/Source/WTF/wtf/fast_float \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/persistence -I/<<PKGBUILDDIR>>/Source/WTF/wtf/text \
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/text/icu -I/<<PKGBUILDDIR>>/Source/WTF/wtf/threads -I/<<PKGBUILDDIR>>/Source/WTF/wtf/unicode \
-isystem /usr/include/gio-unix-2.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/sparc64-linux-gnu/glib-2.0/include -isystem \
/usr/include/libmount -isystem /usr/include/blkid -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr \
-Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type \
-Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute \
-Wformat-security -Wcast-align -Wno-tautological-compare -g1 -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong \
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DG_DISABLE_CAST_CHECKS -fno-strict-aliasing \
-fno-exceptions -fno-rtti -fPIC -fvisibility=hidden -std=c++20 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o \
-MF Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/glib/Sandbox.cpp.o -c \
/<<PKGBUILDDIR>>/Source/WTF/wtf/glib/Sandbox.cpp
/<<PKGBUILDDIR>>/Source/WTF/wtf/glib/Sandbox.cpp: In function ‘bool WTF::isInsideUnsupportedContainer()’:
/<<PKGBUILDDIR>>/Source/WTF/wtf/glib/Sandbox.cpp:49:13: error: ‘BWRAP_EXECUTABLE’ was not declared in this scope
   49 |             BWRAP_EXECUTABLE,
      |             ^~~~~~~~~~~~~~~~

See: https://buildd.debian.org/status/fetch.php?pkg=webkit2gtk&arch=sparc64&ver=2.40.2-1&stamp=1685439602&raw=0

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply to: