Bug#1060076: alberta: FTBFS on ppc64el: error: incompatible function pointer types passing 'int (char *, char *, int)' to parameter of type 'int (*)(void *, void *, int)'
Sebastian Ramacher
sramacher at debian.org
Fri Jan 5 17:00:29 GMT 2024
Source: alberta
Version: 3.0.3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=alberta&arch=ppc64el&ver=3.0.3-1%2Bb1&stamp=1703410988&raw=0
libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I./../0d -I./../1d -I./../2d -I./../3d -I./../Common -I../../../alberta_util/src -I../../../alberta_util/src -I../../../gnu-compat -I../Common -D_FORTIFY_SOURCE=2 -Wdate-time -DDIM_OF_WORLD=1 -DALBERTA_DEBUG=0 -DALBERTA_PROFILE=0 -D_FORTIFY_SOURCE=2 -Wdate-time -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -I/usr/include/tirpc -c ../Common/gauss-quad.c -fPIC -DPIC -o .libs/libalberta_1d_la-gauss-quad.o
In file included from ../Common/dof_admin.c:46:
In file included from ../Common/eval.c:40:
In file included from ./../Common/alberta_intern.h:51:
In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:25:
/usr/include/features.h:195:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
In file included from ./../Common/alberta_intern.h:51:
In file included from ../Common/gauss-quad.cIn file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:25:
/usr/include/features.h:195:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
:86:
In file included from ./../Common/alberta_intern.h:51:
In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:25:
/usr/include/features.h:195:3# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I./../0d -I./../1d -I./../2d -I./../3d -I./../Common -I../../../alberta_util/src -I../../../alberta_util/src -I../../../gnu-compat -I../Common -D_FORTIFY_SOURCE=2 -Wdate-time -DDIM_OF_WORLD=1 -DALBERTA_DEBUG=0 -DALBERTA_PROFILE=0 -D_FORTIFY_SOURCE=2 -Wdate-time -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -I/usr/include/tirpc -c ../Common/element.c -fPIC -DPIC -o .libs/libalberta_1d_la-element.o
In file included from ../Common/bas_fct.c:31:
In file included from ./../Common/alberta_intern.h:51:
In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:25:
/usr/include/features.h:195:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
In file included from ../Common/macro.c:50:
In file included from ./../Common/alberta_intern.h:51:
In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:25:
/usr/include/features.h:195:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
../Common/macro.c:1077:19: error: incompatible function pointer types passing 'int (char *, char *, int)' to parameter of type 'int (*)(void *, void *, int)' [-Wincompatible-function-pointer-types]
read_xdr_file, write_xdr_file);
^~~~~~~~~~~~~
/usr/include/tirpc/rpc/xdr.h:362:14: note: passing argument to parameter here
int (*)(void *, void *, int),
^
../Common/macro.c:1077:34: error: incompatible function pointer types passing 'int (char *, char *, int)' to parameter of type 'int (*)(void *, void *, int)' [-Wincompatible-function-pointer-types]
read_xdr_file, write_xdr_file);
^~~~~~~~~~~~~~
/usr/include/tirpc/rpc/xdr.h:363:14: note: passing argument to parameter here
int (*)(void *, void *, int));
^
1 warning and 2 errors generated.
make[6]: *** [Makefile:1897: libalberta_1d_la-macro.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
Cheers
--
Sebastian Ramacher
More information about the debian-science-maintainers
mailing list