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

Bug#997267: slurm-wlm: FTBFS: H5version.h:39:4: error: #error "Can't choose old API versions when deprecated APIs are disabled"



Source: slurm-wlm
Version: 20.11.8-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/acct_gather_profile/hdf5 -I../../../.. -I../../../../slurm  -DSLURM_PLUGIN_DEBUG -I../../../../.. -I/usr/include/hdf5/serial -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -pthread -c -o hdf5_api.lo ../../../../../src/plugins/acct_gather_profile/hdf5/hdf5_api.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/acct_gather_profile/hdf5 -I../../../.. -I../../../../slurm -DSLURM_PLUGIN_DEBUG -I../../../../.. -I/usr/include/hdf5/serial -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -pthread -c ../../../../../src/plugins/acct_gather_profile/hdf5/hdf5_api.c  -fPIC -DPIC -o .libs/hdf5_api.o
> In file included from /usr/include/hdf5/serial/H5public.h:32,
>                  from /usr/include/hdf5/serial/hdf5.h:22,
>                  from ../../../../../../src/plugins/acct_gather_profile/hdf5/sh5util/../hdf5_api.h:49,
>                  from ../../../../../../src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:65:
> /usr/include/hdf5/serial/H5version.h:39:4: error: #error "Can't choose old API versions when deprecated APIs are disabled"
>    39 |   #error "Can't choose old API versions when deprecated APIs are disabled"
>       |    ^~~~~
> make[8]: *** [Makefile:602: sh5util.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/slurm-wlm_20.11.8-1_unstable.log

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 marking 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 to: