Open mcepl opened 1 month ago
Building of swipl (9.3.7) package on openSUSE fails on ppc64le architecture with this error:
ppc64le
[ 213s] [2274/2598] : && /usr/bin/cc -fPIC -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -O2 -gdwarf-2 -g3 -flto=auto -Wl,--as-needed -shared -o packages/xpce/pl2xpce.so [ ... zillion of .o object files ... ] /usr/lib64/libXinerama.so /usr/lib64/libXpm.so /usr/lib64/libXext.so /usr/lib64/libXt.so /usr/lib64/libX11.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXft.so /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so /usr/lib64/libjpeg.so && : [ 213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/h/kernel.h:1417:20: warning: type of ‘builtin_names’ does not match original declaration [-Wlto-type-mismatch] [ 213s] 1417 | extern struct name builtin_names[]; /* object-array of built-in's */ [ 213s] | ^ [ 213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: type ‘struct bname’ should match type ‘struct name’ [ 213s] 58 | struct bname builtin_names[] = [ 213s] | ^ [ 213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: ‘builtin_names’ was previously declared here [ 213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used [ 213s] ninja: build stopped: subcommand failed.
Complete build log
Thanks. Fixed with SWI-Prolog/packages-xpce@8110891a3992d50f1aa63e843136f9348409c2fb
Building of swipl (9.3.7) package on openSUSE fails on
ppc64le
architecture with this error:Complete build log