Hello,
This is less urgent that the removal of the static classes definitions (https://pagure.io/oddjob/issue/5), but other deprecation warnings are presents when compiling oddjob:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libxml2 -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c util.c -fPIC -DPIC -o .libs/util.o selinux.c: In function ‘oddjob_check_selinux_enabled’: selinux.c:62:4: warning: ‘matchpathcon_init’ is deprecated: Use selabel_open with backend SELABEL_CTX_FILE [-Wdeprecated-declarations] 62 | matchpathcon_init(NULL); | ^~~~~~~~~~~~~~~~~ In file included from selinux.c:47: /usr/include/selinux/selinux.h:472:12: note: declared here 472 | extern int matchpathcon_init(const char *path) | ^~~~~~~~~~~~~~~~~ selinux.c: In function ‘oddjob_set_selinux_file_creation_context’: selinux.c:71:2: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations] 71 | security_context_t context; | ^~~~~~~~~~~~~~~~~~ selinux.c:78:2: warning: ‘matchpathcon’ is deprecated: Use selabel_lookup instead [-Wdeprecated-declarations] 78 | if (matchpathcon(path, mode, &context) == 0) { | ^~ In file included from selinux.c:47: /usr/include/selinux/selinux.h:500:12: note: declared here 500 | extern int matchpathcon(const char *path, | ^~~~~~~~~~~~ oddjobd.c: In function ‘oddjobd_exec_method’: oddjobd.c:1950:4: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations] 1950 | security_context_t helper_context, exec_context; | ^~~~~~~~~~~~~~~~~~ oddjobd.c:1950:4: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
Commit 930b926 fixes this issue
Login to comment on this ticket.