Skip to content

build artifacts "PacketFence Mariadb plugin" on maintenance/13.0 for debian bullseye is failing #8579

Open
@JeGoi

Description

@JeGoi

Describe the bug
Here it is, it appears 3 days ago and it was fine before.
https://gitlab.com/inverse-inc/packetfence/-/jobs/9306366704

#PacketFence Mariadb plugin
make src/mariadb_udf/pf_udf.so
make[1]: Entering directory '/builds/inverse-inc/packetfence'
cc   -fPIC -c src/mariadb_udf/config.c -o src/mariadb_udf/config.o
cc   -fPIC -c src/mariadb_udf/syslog.c -o src/mariadb_udf/syslog.o
cc -O2 -Wall -g $(pkg-config libmariadb --cflags) -fPIC -shared -o src/mariadb_udf/pf_udf.so src/mariadb_udf/pf_udf.c  src/mariadb_udf/config.o  src/mariadb_udf/syslog.o
src/mariadb_udf/pf_udf.c:37:24: error: unknown type name 'UDF_INIT'
   37 | my_bool pf_logger_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
      |                        ^~~~~~~~
src/mariadb_udf/pf_udf.c:37:42: error: unknown type name 'UDF_ARGS'
   37 | my_bool pf_logger_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
      |                                          ^~~~~~~~
src/mariadb_udf/pf_udf.c:59:21: error: unknown type name 'UDF_INIT'
   59 | long long pf_logger(UDF_INIT* initid, UDF_ARGS* args, char* is_null, char* error)
      |                     ^~~~~~~~
src/mariadb_udf/pf_udf.c:59:39: error: unknown type name 'UDF_ARGS'
   59 | long long pf_logger(UDF_INIT* initid, UDF_ARGS* args, char* is_null, char* error)
      |                                       ^~~~~~~~
src/mariadb_udf/pf_udf.c:80:23: error: unknown type name 'UDF_INIT'
   80 | void pf_logger_deinit(UDF_INIT* initid)
      |                       ^~~~~~~~
src/mariadb_udf/pf_udf.c:27:23: warning: 'CONFIGURATION_ONCE' defined but not used [-Wunused-variable]
   27 | static pthread_once_t CONFIGURATION_ONCE = PTHREAD_ONCE_INIT;
      |                       ^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:116: src/mariadb_udf/pf_udf.so] Error 1
make[1]: Leaving directory '/builds/inverse-inc/packetfence'
make: *** [debian/rules:127: install] Error 2

To Reproduce
Rerun the CI/CD for maintenance/13.0 then see the packaging

Expected behavior
Have the packaging done

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions