Source: erlang-bitcask
Version: 2.1.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20241223 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on armhf.

This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.

The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).

Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=rebar --with rebar
>    dh_update_autotools_config -O--buildsystem=rebar
>    dh_autoreconf -O--buildsystem=rebar
>    dh_auto_configure -O--buildsystem=rebar
>       make --no-print-directory -f /usr/share/dh-rebar/make/dh-rebar.Makefile 
> configure
> make[1]: Nothing to be done for 'configure'.
>    dh_auto_build -O--buildsystem=rebar
>       make --no-print-directory -f /usr/share/dh-rebar/make/dh-rebar.Makefile 
> build
> echo rebar_compile
> rebar_compile
> rebar compile skip_deps=true -vv
> DEBUG: Evaluating config script "/<<PKGBUILDDIR>>/rebar.config.script"
> DEBUG: Consult config file "/<<PKGBUILDDIR>>/rebar.config"
> DEBUG: Rebar location: "/usr/bin/rebar"
> DEBUG: Consult config file "/<<PKGBUILDDIR>>/src/bitcask.app.src"
> DEBUG: Available deps: []
> DEBUG: Missing deps  : []
> DEBUG: Plugins requested while processing /<<PKGBUILDDIR>>: []
> DEBUG: Predirs: []
> ==> erlang-bitcask-2.1.0 (compile)
> DEBUG: Matched required ERTS version: 15.1.2 -> .*
> DEBUG: Matched required OTP release: 27 -> .*
> DEBUG: Min OTP version unconfigured
> DEBUG: erl_opts [debug_info,debug_info,warn_untyped_record,
>                  {d,namespaced_types},
>                  {d,dirty_file_nif}]
> DEBUG: Files to compile first: []
> DEBUG: Starting 3 compile worker(s)
> Compiled src/bitcask_file.erl
> Compiled src/bitcask_lockops.erl
> Compiled src/bitcask_nifs.erl
> Compiled src/bitcask_sup.erl
> Compiled src/bitcask_merge_delete.erl
> Compiled src/bitcask_merge_worker.erl
> Compiled src/bitcask_bump.erl
> Compiled src/bitcask_io.erl
> Compiled src/bitcask_app.erl
> Compiled src/bitcask_time.erl
> DEBUG: Worker exited cleanly
> Compiled src/bitcask_fileops.erl
> DEBUG: Worker exited cleanly
> Compiled src/bitcask.erl
> DEBUG: Worker exited cleanly
> DEBUG: Skipping deps parse of c_src/bitcask_nifs.d: enoent
> DEBUG: Last mod is 0 on c_src/bitcask_nifs.o
> INFO:  sh info:
>       cwd: "/<<PKGBUILDDIR>>"
>       cmd: cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC  -I"/usr/lib/erlang/lib/erl_interface-5.5.2/include" 
> -I"/usr/lib/erlang/erts-15.1.2/include"   c_src/bitcask_nifs.c -o 
> c_src/bitcask_nifs.o
> DEBUG:        opts: [{env,[{"REBAR_DEPS_DIR",
>                       "/<<PKGBUILDDIR>>/deps"},
>                      {"ERL_LIBS",
>                       "/<<PKGBUILDDIR>>/deps"},
>                      {"APT_CONFIG","/var/lib/sbuild/apt.conf"},
>                      {"AR","ar"},
>                      {"AS","as"},
>                      {"ASFLAGS",[]},
>                      {"ASFLAGS_FOR_BUILD",[]},
>                      {"BINDIR","/usr/lib/erlang/erts-15.1.2/bin"},
>                      {"CC","cc"},
>                      {"CFLAGS",
>                       "-g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                      {"CFLAGS_FOR_BUILD",
>                       "-g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security"},
>                      {"CPP","cpp"},
>                      {"CPPFLAGS",
>                       "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                      {"CPPFLAGS_FOR_BUILD",
>                       "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                      {"CXX","c++"},
>                      {"CXXFLAGS",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"CXXFLAGS_FOR_BUILD",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"DEB_BUILD_ARCH","armhf"},
>                      {"DEB_BUILD_ARCH_ABI","eabihf"},
>                      {"DEB_BUILD_ARCH_BITS","32"},
>                      {"DEB_BUILD_ARCH_CPU","arm"},
>                      {"DEB_BUILD_ARCH_ENDIAN","little"},
>                      {"DEB_BUILD_ARCH_LIBC","gnu"},
>                      {"DEB_BUILD_ARCH_OS","linux"},
>                      {"DEB_BUILD_GNU_CPU","arm"},
>                      {"DEB_BUILD_GNU_SYSTEM","linux-gnueabihf"},
>                      {"DEB_BUILD_GNU_TYPE","arm-linux-gnueabihf"},
>                      {"DEB_BUILD_MAINT_OPTIONS","hardening=+all"},
>                      {"DEB_BUILD_MULTIARCH","arm-linux-gnueabihf"},
>                      {"DEB_BUILD_OPTIONS","parallel=4"},
>                      {"DEB_HOST_ARCH","armhf"},
>                      {"DEB_HOST_ARCH_ABI","eabihf"},
>                      {"DEB_HOST_ARCH_BITS","32"},
>                      {"DEB_HOST_ARCH_CPU","arm"},
>                      {"DEB_HOST_ARCH_ENDIAN","little"},
>                      {"DEB_HOST_ARCH_LIBC","gnu"},
>                      {"DEB_HOST_ARCH_OS","linux"},
>                      {"DEB_HOST_GNU_CPU","arm"},
>                      {"DEB_HOST_GNU_SYSTEM","linux-gnueabihf"},
>                      {"DEB_HOST_GNU_TYPE","arm-linux-gnueabihf"},
>                      {"DEB_HOST_MULTIARCH","arm-linux-gnueabihf"},
>                      {"DEB_RULES_REQUIRES_ROOT","no"},
>                      {"DEB_TARGET_ARCH","armhf"},
>                      {"DEB_TARGET_ARCH_ABI","eabihf"},
>                      {"DEB_TARGET_ARCH_BITS","32"},
>                      {"DEB_TARGET_ARCH_CPU","arm"},
>                      {"DEB_TARGET_ARCH_ENDIAN","little"},
>                      {"DEB_TARGET_ARCH_LIBC","gnu"},
>                      {"DEB_TARGET_ARCH_OS","linux"},
>                      {"DEB_TARGET_GNU_CPU","arm"},
>                      {"DEB_TARGET_GNU_SYSTEM","linux-gnueabihf"},
>                      {"DEB_TARGET_GNU_TYPE","arm-linux-gnueabihf"},
>                      {"DEB_TARGET_MULTIARCH","arm-linux-gnueabihf"},
>                      {"DFLAGS","-frelease"},
>                      {"DFLAGS_FOR_BUILD","-frelease"},
>                      {"DH_INTERNAL_BUILDFLAGS","1"},
>                      {"DH_VERBOSE","1"},
>                      {"DRV_CC_TEMPLATE",
>                       "cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC  -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                      {"DRV_CFLAGS",
>                       "-g -Wall -fPIC  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                      {"DRV_CXX_TEMPLATE",
>                       "c++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -g -Wall -fPIC  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                      {"DRV_LDFLAGS",
>                       "-shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei"},
>                      {"DRV_LINK_CXX_TEMPLATE",
>                       "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now  -shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                      {"DRV_LINK_TEMPLATE",
>                       "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now  -shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                      {"EMU","beam"},
>                      {"ERLANG_ARCH","32"},
>                      
> {"ERLANG_TARGET","27.1.2-arm-unknown-linux-gnueabihf-32"},
>                      {"ERL_CFLAGS",
>                       " -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                      {"ERL_COMPILER_OPTIONS","deterministic"},
>                      {"ERL_EI_LIBDIR",
>                       "\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\""},
>                      {"ERL_LDFLAGS",
>                       " -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" 
> -lei"},
>                      {"ESCRIPT_NAME","/usr/bin/rebar"},
>                      {"EXE_CC_TEMPLATE",
>                       "cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC -MMD  -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                      {"EXE_CFLAGS",
>                       "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                      {"EXE_CXX_TEMPLATE",
>                       "c++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                      {"EXE_LDFLAGS",
>                       " -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" 
> -lei"},
>                      {"EXE_LINK_CXX_TEMPLATE",
>                       "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                      {"EXE_LINK_TEMPLATE",
>                       "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                      {"FCFLAGS",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                      {"FCFLAGS_FOR_BUILD",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                      {"FFLAGS",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                      {"FFLAGS_FOR_BUILD",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                      {"HOME",
>                       
> "/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home"},
>                      {"LANG","C.UTF-8"},
>                      {"LC_COLLATE","C.UTF-8"},
>                      {"LC_CTYPE","C.UTF-8"},
>                      {"LD","ld"},
>                      {"LDFLAGS","-Wl,-z,relro -Wl,-z,now "},
>                      {"LDFLAGS_FOR_BUILD","-Wl,-z,relro -Wl,-z,now"},
>                      {"LOGNAME","user42"},
>                      {"MAKEFLAGS"," --no-print-directory"},
>                      {"MAKELEVEL","2"},
>                      {"MFLAGS","--no-print-directory"},
>                      {"NM","nm"},
>                      {"OBJCFLAGS",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"OBJCFLAGS_FOR_BUILD",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"OBJCOPY","objcopy"},
>                      {"OBJCXXFLAGS",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"OBJCXXFLAGS_FOR_BUILD",
>                       "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                      {"OBJDUMP","objdump"},
>                      {"PATH",
>                       
> "/usr/lib/erlang/erts-15.1.2/bin:/usr/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"},
>                      {"PROGNAME","erl"},
>                      {"PWD",
>                       "/<<PKGBUILDDIR>>"},
>                      {"RANLIB","ranlib"},
>                      {"REBAR_DEPS_PREFER_LIBS","TRUE"},
>                      {"ROOTDIR","/usr/lib/erlang"},
>                      {"SCHROOT_ALIAS_NAME","unstable-armhf"},
>                      {"SCHROOT_CHROOT_NAME","sid-armhf-sbuild"},
>                      {"SCHROOT_COMMAND",
>                       "dpkg-buildpackage --sanitize-env -us -uc -b 
> -rfakeroot"},
>                      {"SCHROOT_GID","1001"},
>                      {"SCHROOT_GROUP","user42"},
>                      {"SCHROOT_SESSION_ID",
>                       
> "sid-armhf-sbuild-463190d2-f9c4-4091-b83d-0cce03b72184"},
>                      {"SCHROOT_UID","1001"},
>                      {"SCHROOT_USER","user42"},
>                      {"SHELL","/bin/sh"},
>                      {"SOURCE_DATE_EPOCH","1703597349"},
>                      {"STRIP","strip"},
>                      {"USER","user42"}]},
>                return_on_error,
>                {use_stdout,false}]
> DEBUG: Port Cmd: "cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC  -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   c_src/bitcask_nifs.c -o 
> c_src/bitcask_nifs.o"
> Port Opts: [{env,[{"REBAR_DEPS_DIR",
>                    "/<<PKGBUILDDIR>>/deps"},
>                   {"ERL_LIBS",
>                    "/<<PKGBUILDDIR>>/deps"},
>                   {"APT_CONFIG","/var/lib/sbuild/apt.conf"},
>                   {"AR","ar"},
>                   {"AS","as"},
>                   {"ASFLAGS",[]},
>                   {"ASFLAGS_FOR_BUILD",[]},
>                   {"BINDIR","/usr/lib/erlang/erts-15.1.2/bin"},
>                   {"CC","cc"},
>                   {"CFLAGS",
>                    "-g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                   {"CFLAGS_FOR_BUILD",
>                    "-g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security"},
>                   {"CPP","cpp"},
>                   {"CPPFLAGS",
>                    "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                   {"CPPFLAGS_FOR_BUILD",
>                    "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2"},
>                   {"CXX","c++"},
>                   {"CXXFLAGS",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"CXXFLAGS_FOR_BUILD",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"DEB_BUILD_ARCH","armhf"},
>                   {"DEB_BUILD_ARCH_ABI","eabihf"},
>                   {"DEB_BUILD_ARCH_BITS","32"},
>                   {"DEB_BUILD_ARCH_CPU","arm"},
>                   {"DEB_BUILD_ARCH_ENDIAN","little"},
>                   {"DEB_BUILD_ARCH_LIBC","gnu"},
>                   {"DEB_BUILD_ARCH_OS","linux"},
>                   {"DEB_BUILD_GNU_CPU","arm"},
>                   {"DEB_BUILD_GNU_SYSTEM","linux-gnueabihf"},
>                   {"DEB_BUILD_GNU_TYPE","arm-linux-gnueabihf"},
>                   {"DEB_BUILD_MAINT_OPTIONS","hardening=+all"},
>                   {"DEB_BUILD_MULTIARCH","arm-linux-gnueabihf"},
>                   {"DEB_BUILD_OPTIONS","parallel=4"},
>                   {"DEB_HOST_ARCH","armhf"},
>                   {"DEB_HOST_ARCH_ABI","eabihf"},
>                   {"DEB_HOST_ARCH_BITS","32"},
>                   {"DEB_HOST_ARCH_CPU","arm"},
>                   {"DEB_HOST_ARCH_ENDIAN","little"},
>                   {"DEB_HOST_ARCH_LIBC","gnu"},
>                   {"DEB_HOST_ARCH_OS","linux"},
>                   {"DEB_HOST_GNU_CPU","arm"},
>                   {"DEB_HOST_GNU_SYSTEM","linux-gnueabihf"},
>                   {"DEB_HOST_GNU_TYPE","arm-linux-gnueabihf"},
>                   {"DEB_HOST_MULTIARCH","arm-linux-gnueabihf"},
>                   {"DEB_RULES_REQUIRES_ROOT","no"},
>                   {"DEB_TARGET_ARCH","armhf"},
>                   {"DEB_TARGET_ARCH_ABI","eabihf"},
>                   {"DEB_TARGET_ARCH_BITS","32"},
>                   {"DEB_TARGET_ARCH_CPU","arm"},
>                   {"DEB_TARGET_ARCH_ENDIAN","little"},
>                   {"DEB_TARGET_ARCH_LIBC","gnu"},
>                   {"DEB_TARGET_ARCH_OS","linux"},
>                   {"DEB_TARGET_GNU_CPU","arm"},
>                   {"DEB_TARGET_GNU_SYSTEM","linux-gnueabihf"},
>                   {"DEB_TARGET_GNU_TYPE","arm-linux-gnueabihf"},
>                   {"DEB_TARGET_MULTIARCH","arm-linux-gnueabihf"},
>                   {"DFLAGS","-frelease"},
>                   {"DFLAGS_FOR_BUILD","-frelease"},
>                   {"DH_INTERNAL_BUILDFLAGS","1"},
>                   {"DH_VERBOSE","1"},
>                   {"DRV_CC_TEMPLATE",
>                    "cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC  -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                   {"DRV_CFLAGS",
>                    "-g -Wall -fPIC  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                   {"DRV_CXX_TEMPLATE",
>                    "c++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -g -Wall -fPIC  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                   {"DRV_LDFLAGS",
>                    "-shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei"},
>                   {"DRV_LINK_CXX_TEMPLATE",
>                    "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now  -shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                   {"DRV_LINK_TEMPLATE",
>                    "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now  -shared  
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                   {"EMU","beam"},
>                   {"ERLANG_ARCH","32"},
>                   {"ERLANG_TARGET","27.1.2-arm-unknown-linux-gnueabihf-32"},
>                   {"ERL_CFLAGS",
>                    " -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                   {"ERL_COMPILER_OPTIONS","deterministic"},
>                   {"ERL_EI_LIBDIR",
>                    "\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\""},
>                   {"ERL_LDFLAGS",
>                    " -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei"},
>                   {"ESCRIPT_NAME","/usr/bin/rebar"},
>                   {"EXE_CC_TEMPLATE",
>                    "cc -c -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -fPIC -MMD  -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                   {"EXE_CFLAGS",
>                    "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"  "},
>                   {"EXE_CXX_TEMPLATE",
>                    "c++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-5.5.2/include\" 
> -I\"/usr/lib/erlang/erts-15.1.2/include\"   $PORT_IN_FILES -o 
> $PORT_OUT_FILE"},
>                   {"EXE_LDFLAGS",
>                    " -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei"},
>                   {"EXE_LINK_CXX_TEMPLATE",
>                    "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                   {"EXE_LINK_TEMPLATE",
>                    "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-5.5.2/lib\" -lei -o $PORT_OUT_FILE"},
>                   {"FCFLAGS",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                   {"FCFLAGS_FOR_BUILD",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                   {"FFLAGS",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                   {"FFLAGS_FOR_BUILD",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection"},
>                   {"HOME",
>                    
> "/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home"},
>                   {"LANG","C.UTF-8"},
>                   {"LC_COLLATE","C.UTF-8"},
>                   {"LC_CTYPE","C.UTF-8"},
>                   {"LD","ld"},
>                   {"LDFLAGS","-Wl,-z,relro -Wl,-z,now "},
>                   {"LDFLAGS_FOR_BUILD","-Wl,-z,relro -Wl,-z,now"},
>                   {"LOGNAME","user42"},
>                   {"MAKEFLAGS"," --no-print-directory"},
>                   {"MAKELEVEL","2"},
>                   {"MFLAGS","--no-print-directory"},
>                   {"NM","nm"},
>                   {"OBJCFLAGS",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"OBJCFLAGS_FOR_BUILD",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"OBJCOPY","objcopy"},
>                   {"OBJCXXFLAGS",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"OBJCXXFLAGS_FOR_BUILD",
>                    "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security"},
>                   {"OBJDUMP","objdump"},
>                   {"PATH",
>                    
> "/usr/lib/erlang/erts-15.1.2/bin:/usr/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"},
>                   {"PROGNAME","erl"},
>                   {"PWD","/<<PKGBUILDDIR>>"},
>                   {"RANLIB","ranlib"},
>                   {"REBAR_DEPS_PREFER_LIBS","TRUE"},
>                   {"ROOTDIR","/usr/lib/erlang"},
>                   {"SCHROOT_ALIAS_NAME","unstable-armhf"},
>                   {"SCHROOT_CHROOT_NAME","sid-armhf-sbuild"},
>                   {"SCHROOT_COMMAND",
>                    "dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot"},
>                   {"SCHROOT_GID","1001"},
>                   {"SCHROOT_GROUP","user42"},
>                   {"SCHROOT_SESSION_ID",
>                    "sid-armhf-sbuild-463190d2-f9c4-4091-b83d-0cce03b72184"},
>                   {"SCHROOT_UID","1001"},
>                   {"SCHROOT_USER","user42"},
>                   {"SHELL","/bin/sh"},
>                   {"SOURCE_DATE_EPOCH","1703597349"},
>                   {"STRIP","strip"},
>                   {"USER","user42"}]},
>             exit_status,
>             {line,16384},
>             use_stdio,stderr_to_stdout,hide]
> Compiling c_src/bitcask_nifs.c
> c_src/bitcask_nifs.c: In function ‘keydir_entry_hash’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:675:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>   675 |     if (IS_ENTRY_LIST(entry))
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:677:42: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   677 |         bitcask_keydir_entry_head* par = 
> GET_ENTRY_LIST_POINTER(entry);
>       |                                          ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:677:42: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   677 |         bitcask_keydir_entry_head* par = 
> GET_ENTRY_LIST_POINTER(entry);
>       |                                          ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘keydir_entry_equal’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:695:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>   695 |     if (IS_ENTRY_LIST(lhs)) {
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:696:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   696 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(lhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:696:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   696 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(lhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:705:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>   705 |     if (IS_ENTRY_LIST(rhs)) {
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:706:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   706 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(rhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:706:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   706 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(rhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘nif_binary_entry_equal’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:742:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>   742 |     if (IS_ENTRY_LIST(lhs)) {
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:743:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   743 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(lhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:743:40: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   743 |         bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(lhs);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘proxy_kd_entry_at_epoch’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:806:10: note: in expansion of macro ‘IS_ENTRY_LIST’
>   806 |     if (!IS_ENTRY_LIST(old))
>       |          ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:823:39: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   823 |     bitcask_keydir_entry_head* head = GET_ENTRY_LIST_POINTER(old);
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:823:39: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   823 |     bitcask_keydir_entry_head* head = GET_ENTRY_LIST_POINTER(old);
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘update_kd_entry_list’:
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:923:36: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   923 |     bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(old);
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:923:36: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>   923 |     bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(old);
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘new_kd_entry_list’:
> c_src/bitcask_nifs.c:192:61: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   192 | #define MAKE_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry*)((uint64_t)p|(uint64_t)1))
>       |                                                             ^
> c_src/bitcask_nifs.c:981:12: note: in expansion of macro 
> ‘MAKE_ENTRY_LIST_POINTER’
>   981 |     return MAKE_ENTRY_LIST_POINTER(ret);
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:192:37: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   192 | #define MAKE_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry*)((uint64_t)p|(uint64_t)1))
>       |                                     ^
> c_src/bitcask_nifs.c:981:12: note: in expansion of macro 
> ‘MAKE_ENTRY_LIST_POINTER’
>   981 |     return MAKE_ENTRY_LIST_POINTER(ret);
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘free_entry_list’:
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:1069:36: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1069 |     bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(e);
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:1069:36: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1069 |     bitcask_keydir_entry_head* h = GET_ENTRY_LIST_POINTER(e);
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘free_entry’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:1086:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>  1086 |     if (IS_ENTRY_LIST(e))
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘update_entry’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:1135:25: note: in expansion of macro ‘IS_ENTRY_LIST’
>  1135 |     int is_entry_list = IS_ENTRY_LIST(cur_entry);
>       |                         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:1160:44: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1160 |             bitcask_keydir_entry_head* h = 
> GET_ENTRY_LIST_POINTER(cur_entry);
>       |                                            ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:1160:44: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1160 |             bitcask_keydir_entry_head* h = 
> GET_ENTRY_LIST_POINTER(cur_entry);
>       |                                            ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘perhaps_sweep_siblings’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:1236:17: note: in expansion of macro ‘IS_ENTRY_LIST’
>  1236 |             if (IS_ENTRY_LIST(current_entry))
>       |                 ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘set_entry_tombstone’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:1271:10: note: in expansion of macro ‘IS_ENTRY_LIST’
>  1271 |     if (!IS_ENTRY_LIST(entry))
>       |          ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘clone_entry’:
> c_src/bitcask_nifs.c:190:27: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   190 | #define IS_ENTRY_LIST(p) ((uint64_t)p&1)
>       |                           ^
> c_src/bitcask_nifs.c:1686:9: note: in expansion of macro ‘IS_ENTRY_LIST’
>  1686 |     if (IS_ENTRY_LIST(curr))
>       |         ^~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:65: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                                                 ^
> c_src/bitcask_nifs.c:1688:49: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1688 |         bitcask_keydir_entry_head * curr_head = 
> GET_ENTRY_LIST_POINTER(curr);
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:191:36: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   191 | #define GET_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry_head*)((uint64_t)p&(uint64_t)~1))
>       |                                    ^
> c_src/bitcask_nifs.c:1688:49: note: in expansion of macro 
> ‘GET_ENTRY_LIST_POINTER’
>  1688 |         bitcask_keydir_entry_head * curr_head = 
> GET_ENTRY_LIST_POINTER(curr);
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:192:61: warning: cast from pointer to integer of 
> different size [-Wpointer-to-int-cast]
>   192 | #define MAKE_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry*)((uint64_t)p|(uint64_t)1))
>       |                                                             ^
> c_src/bitcask_nifs.c:1704:16: note: in expansion of macro 
> ‘MAKE_ENTRY_LIST_POINTER’
>  1704 |         return MAKE_ENTRY_LIST_POINTER(new_head);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c:192:37: warning: cast to pointer from integer of 
> different size [-Wint-to-pointer-cast]
>   192 | #define MAKE_ENTRY_LIST_POINTER(p) 
> ((bitcask_keydir_entry*)((uint64_t)p|(uint64_t)1))
>       |                                     ^
> c_src/bitcask_nifs.c:1704:16: note: in expansion of macro 
> ‘MAKE_ENTRY_LIST_POINTER’
>  1704 |         return MAKE_ENTRY_LIST_POINTER(new_head);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~
> c_src/bitcask_nifs.c: In function ‘bitcask_nifs_file_read’:
> c_src/bitcask_nifs.c:2500:38: error: passing argument 3 of 
> ‘enif_get_ulong’ from incompatible pointer type 
> [-Wincompatible-pointer-types]
>  2500 |         enif_get_ulong(env, argv[1], &count))    /* Count */
>       |                                      ^~~~~~
>       |                                      |
>       |                                      size_t * {aka unsigned int *}
> In file included from c_src/bitcask_nifs.c:31:
> /usr/lib/erlang/erts-15.1.2/include/erl_nif_api_funcs.h:44:89: note: expected 
> ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka 
> ‘unsigned int *’}
>    44 | ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM 
> term, unsigned long* ip));
>       |                                                                       
>    ~~~~~~~~~~~~~~~^~
> /usr/lib/erlang/erts-15.1.2/include/erl_nif.h:371:76: note: in definition of 
> macro ‘ERL_NIF_API_FUNC_DECL’
>   371 | #  define ERL_NIF_API_FUNC_DECL(RET_TYPE, NAME, ARGS) extern RET_TYPE 
> NAME ARGS
>       |                                                                       
>      ^~~~
> ERROR: compile failed while processing /<<PKGBUILDDIR>>: rebar_abort
> make[1]: *** [/usr/share/dh-rebar/make/dh-rebar.Makefile:135: rebar_compile] 
> Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/12/23/erlang-bitcask_2.1.0-2_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to