Bug#1068159: openjfx: FTBFS on arm{el, hf}: /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"

Sebastian Ramacher sramacher at debian.org
Sun Mar 31 23:06:50 BST 2024


Source: openjfx
Version: 11.0.11+1-3.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=openjfx&arch=armel&ver=11.0.11%2B1-3.1%2Bb2&stamp=1711746481&raw=0

gcc -fPIC -Wformat -Wextra -Wformat-security -fstack-protector -Werror=implicit-function-declaration -Werror=trampolines -D_GNU_SOURCE -DGST_REMOVE_DEPRECATED -DGSTREAMER_LITE -DHAVE_CONFIG_H -DOUTSIDE_SPEEX -DLINUX -DGST_DISABLE_GST_DEBUG -DGST_DISABLE_LOADSAVE -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I../../../plugins -I../../../gstreamer-lite/projects/build/linux/common -I../../../gstreamer-lite/gstreamer -I../../../gstreamer-lite/gstreamer/libs -I../../../gstreamer-lite/gstreamer/gst/parse -I../../../gstreamer-lite/gst-plugins-base -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/projects/plugins -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst/isomp4 -I../../../gstreamer-lite/gst-plugins-bad/gst-libs -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include  -c ../../../gstreamer-lite/gstreamer/gst/gst.c -o /<<PKGBUILDDIR>>/modules/javafx.media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gst.o
In file included from /usr/include/features.h:393,
                 from /usr/include/arm-linux-gnueabi/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/arm-linux-gnueabi/13/include/limits.h:205,
                 from /usr/lib/gcc/arm-linux-gnueabi/13/include/syslimits.h:7,
                 from /usr/lib/gcc/arm-linux-gnueabi/13/include/limits.h:34,
                 from /usr/lib/arm-linux-gnueabi/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from ../../../gstreamer-lite/gstreamer/gst/gst_private.h:36,
                 from ../../../gstreamer-lite/gstreamer/gst/gst.c:94:
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
   26 | #   error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
      |     ^~~~~
gcc -fPIC -Wformat -Wextra -Wformat-security -fstack-protector -Werror=implicit-function-declaration -Werror=trampolines -D_GNU_SOURCE -DGST_REMOVE_DEPRECATED -DGSTREAMER_LITE -DHAVE_CONFIG_H -DOUTSIDE_SPEEX -DLINUX -DGST_DISABLE_GST_DEBUG -DGST_DISABLE_LOADSAVE -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I../../../plugins -I../../../gstreamer-lite/projects/build/linux/common -I../../../gstreamer-lite/gstreamer -I../../../gstreamer-lite/gstreamer/libs -I../../../gstreamer-lite/gstreamer/gst/parse -I../../../gstreamer-lite/gst-plugins-base -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/projects/plugins -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst/isomp4 -I../../../gstreamer-lite/gst-plugins-bad/gst-libs -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include  -c ../../../gstreamer-lite/gstreamer/gst/gstallocator.c -o /<<PKGBUILDDIR>>/modules/javafx.media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gstallocator.o
../../../gstreamer-lite/gstreamer/gst/gst.c: In function ‘gst_init_check’:
../../../gstreamer-lite/gstreamer/gst/gst.c:411:22: warning: unused parameter ‘argc’ [-Wunused-parameter]
  411 | gst_init_check (int *argc, char **argv[], GError ** err)
      |                 ~~~~~^~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:411:35: warning: unused parameter ‘argv’ [-Wunused-parameter]
  411 | gst_init_check (int *argc, char **argv[], GError ** err)
      |                            ~~~~~~~^~~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:411:53: warning: unused parameter ‘err’ [-Wunused-parameter]
  411 | gst_init_check (int *argc, char **argv[], GError ** err)
make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite'
      |                                           ~~~~~~~~~~^~~
../../../gstreamer-lite/gstreamer/gst/gst.c: In function ‘init_pre’:
../../../gstreamer-lite/gstreamer/gst/gst.c:563:10: warning: unused variable ‘libdir’ [-Wunused-variable]
  563 |   gchar *libdir;
      |          ^~~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:560:28: warning: unused parameter ‘context’ [-Wunused-parameter]
  560 | init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
      |           ~~~~~~~~~~~~~~~~~^~~~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:560:52: warning: unused parameter ‘group’ [-Wunused-parameter]
  560 | init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
      |                                     ~~~~~~~~~~~~~~~^~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:560:68: warning: unused parameter ‘data’ [-Wunused-parameter]
  560 | init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
      |                                                           ~~~~~~~~~^~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:561:15: warning: unused parameter ‘error’ [-Wunused-parameter]
  561 |     GError ** error)
      |     ~~~~~~~~~~^~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c: In function ‘init_post’:
../../../gstreamer-lite/gstreamer/gst/gst.c:668:29: warning: unused parameter ‘context’ [-Wunused-parameter]
  668 | init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
      |            ~~~~~~~~~~~~~~~~~^~~~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:668:53: warning: unused parameter ‘group’ [-Wunused-parameter]
  668 | init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
      |                                      ~~~~~~~~~~~~~~~^~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:668:69: warning: unused parameter ‘data’ [-Wunused-parameter]
  668 | init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
      |                                                            ~~~~~~~~~^~~~
../../../gstreamer-lite/gstreamer/gst/gst.c:669:15: warning: unused parameter ‘error’ [-Wunused-parameter]
  669 |     GError ** error)
      |     ~~~~~~~~~~^~~~~
../../../gstreamer-lite/gstreamer/gst/gst.c: In function ‘gst_deinit’:
../../../gstreamer-lite/gstreamer/gst/gst.c:1128:47: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
 1128 |   g_slist_foreach (_priv_gst_preload_plugins, (GFunc) g_free, NULL);
      |                                               ^
../../../gstreamer-lite/gstreamer/gst/gst.c:1133:43: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
 1133 |   g_list_foreach (_priv_gst_plugin_paths, (GFunc) g_free, NULL);
      |                                           ^
make[2]: *** [Makefile:262: /<<PKGBUILDDIR>>/modules/javafx.media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gst.o] Error 1
:media:buildLinuxGStreamer FAILED
:media:buildLinuxGStreamer (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.929 secs.

FAILURE: Build failed with an exception.


Cheers
-- 
Sebastian Ramacher



More information about the pkg-java-maintainers mailing list