Failed to compile...
libavformat/libopenmpt.c: In function ‘read_probe_openmpt’:
libavformat/libopenmpt.c:240:24: error: implicit declaration of function ‘openmpt_probe_file_header_without_filesize’ [-Werror=implicit-function-declaration]
probe_result = openmpt_probe_file_header_without_filesize(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC libavformat/libsmbclient.o
CC libavformat/libsrt.o
libavformat/libopenmpt.c:241:28: error: ‘OPENMPT_PROBE_FILE_HEADER_FLAGS_DEFAULT’ undeclared (first use in this function); did you mean ‘OPENMPT_ERROR_FUNC_RESULT_DEFAULT’?
OPENMPT_PROBE_FILE_HEADER_FLAGS_DEFAULT,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPENMPT_ERROR_FUNC_RESULT_DEFAULT
libavformat/libopenmpt.c:241:28: note: each undeclared identifier is reported only once for each function it appears in
libavformat/libopenmpt.c:244:29: error: ‘OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS’ undeclared (first use in this function); did you mean ‘OPENMPT_PROBE_FILE_HEADER_FLAGS_DEFAULT’?
if (probe_result == OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPENMPT_PROBE_FILE_HEADER_FLAGS_DEFAULT
libavformat/libopenmpt.c:250:36: error: ‘OPENMPT_PROBE_FILE_HEADER_RESULT_WANTMOREDATA’ undeclared (first use in this function); did you mean ‘OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS’?
} else if (probe_result == OPENMPT_PROBE_FILE_HEADER_RESULT_WANTMOREDATA) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS
libavformat/libopenmpt.c:254:36: error: implicit declaration of function ‘openmpt_probe_file_header_get_recommended_size’; did you mean ‘openmpt_module_error_get_last_message’? [-Werror=implicit-function-declaration]
if (p->buf_size >= openmpt_probe_file_header_get_recommended_size()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
openmpt_module_error_get_last_message
libavformat/libopenmpt.c:268:36: error: ‘OPENMPT_PROBE_FILE_HEADER_RESULT_FAILURE’ undeclared (first use in this function); did you mean ‘OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS’?
} else if (probe_result == OPENMPT_PROBE_FILE_HEADER_RESULT_FAILURE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPENMPT_PROBE_FILE_HEADER_RESULT_SUCCESS
cc1: some warnings being treated as errors
make: *** [ffbuild/common.mak:60: libavformat/libopenmpt.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from libavformat/libsmbclient.c:21:0:
/usr/include/samba-4.0/libsmbclient.h:1036:38: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration
struct timeval *tbuf);
^~~~~~~
CC libavformat/libssh.o
/usr/include/samba-4.0/libsmbclient.h:1841:41: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration
int smbc_utimes(const char *url, struct timeval *tbuf);
^~~~~~~
Pinned Comments
dbermond commented on 2024-06-24 15:59 (UTC)
@LordSIGSEGV avoid creating files not tracked by pacman in the system reserved directories, specially symlinks to shared libraries, as this have the potential to completely break your system. I have already notified the quirc maintainer in the aur web page of the package in April-2024. While this issue is not solved in quirc, I recommend to use quirc-git, which currently has a better packaging and does not suffer from this problem.