lftp failed to build from source in Fedora rawhide/f36 https://koji.fedoraproject.org/koji/taskinfo?taskID=81786802 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Please fix lftp at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, lftp will be orphaned. Before branching of Fedora 37, lftp will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1855169 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1855170 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1855171 [details] state.log
Related to https://fedoraproject.org/wiki/Changes/PPC64LE_Float128_Transition - marking this as a blocker to PPCTracker, I am expecting this to be solved with new release of glibc.
Florian, isn't this another gnulib related issue? ... In file included from /usr/include/stdlib.h:1032, from ./stdlib.h:36, from mktime.c:49: /usr/include/bits/stdlib-ldbl.h: In function '__LDBL_REDIR1_DECL': /usr/include/bits/stdlib-ldbl.h:35:1: error: expected declaration specifiers before '__LDBL_REDIR1_DECL' 35 | __LDBL_REDIR1_DECL (strtold_l, __strtoieee128_l) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libintl.h:103, from ./gettext.h:26, from ./config.h:2429, from ./libc-config.h:33, from mktime.c:34: ./stdlib.h:832:1: error: storage class specified for parameter '_gl_cxxalias_dummy' 832 | _GL_CXXALIASWARN (malloc); | ^~~~~~~~~~~~~~~~ ./stdlib.h:857:1: error: storage class specified for parameter '_gl_cxxalias_dummy' 857 | _GL_CXXALIAS_SYS (mbtowc, int, | ^~~~~~~~~~~~~~~~ ./stdlib.h:857:1: error: redefinition of parameter '_gl_cxxalias_dummy' ./stdlib.h:832:1: note: previous definition of '_gl_cxxalias_dummy' with type 'int' 832 | _GL_CXXALIASWARN (malloc); | ^~~~~~~~~~~~~~~~ ./stdlib.h:861:1: error: storage class specified for parameter '_gl_cxxalias_dummy' 861 | _GL_CXXALIASWARN (mbtowc); | ^~~~~~~~~~~~~~~~ ./stdlib.h:861:1: error: redefinition of parameter '_gl_cxxalias_dummy' ./stdlib.h:857:1: note: previous definition of '_gl_cxxalias_dummy' with type 'int' ...
(In reply to Dan Horák from comment #5) > Florian, isn't this another gnulib related issue? > > ... > In file included from /usr/include/stdlib.h:1032, > from ./stdlib.h:36, > from mktime.c:49: > /usr/include/bits/stdlib-ldbl.h: In function '__LDBL_REDIR1_DECL': > /usr/include/bits/stdlib-ldbl.h:35:1: error: expected declaration specifiers > before '__LDBL_REDIR1_DECL' > 35 | __LDBL_REDIR1_DECL (strtold_l, __strtoieee128_l) > | ^~~~~~~~~~~~~~~~~~ > In file included from /usr/include/libintl.h:103, > from ./gettext.h:26, > from ./config.h:2429, > from ./libc-config.h:33, > from mktime.c:34: > ./stdlib.h:832:1: error: storage class specified for parameter > '_gl_cxxalias_dummy' > 832 | _GL_CXXALIASWARN (malloc); > | ^~~~~~~~~~~~~~~~ Looks similar, yes, but there isn't enough context really to be certain.
Hi Florian, just a bit of additional info - no changes to the code of lftp since F34, but it is now failing in F36 on new gcc on ppc64le only. Complete build log is here: https://kojipkgs.fedoraproject.org//work/tasks/3270/81983270/build.log
Replacing the bundled lib/cdefs.h file with https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/cdefs.h;h=44d3826bca9f6f84f862acf1035408a587fac71d;hb=HEAD will fix the problem. The bundled gnulib isn't compatible with the installed glibc :-(
FEDORA-2022-1556ce2980 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1556ce2980
FEDORA-2022-1556ce2980 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.