@Christian Dersch: A new upstream version of Siril is available at https://free-astro.org/download/siril-0.9.9.tar.bz2 Could you take a look for building package ?
Created attachment 1451885 [details] Build log
Unfortunately the package fails to build on Rawhide :( Complete build log in attachment. Failure: gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR='"/usr/share/siril"' -DPACKAGE_DOC_DIR='"/usr/share/doc/siril"' -DLOCALEDIR='"/usr/share/locale"' -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/libpng16 -D_REENTRANT -I/usr/include/cfitsio -I ../deps/kplot -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o core/utils.o core/utils.c In file included from core/utils.c:63: ./core/proto.h:184:5: error: conflicting types for 'fdiv' int fdiv(fits *a, fits *b, float scalar); ^~~~ In file included from core/utils.c:60: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration of 'fdiv' was here __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); ^~~~~~~~~~~~~~~ In file included from core/utils.c:63: ./core/proto.h:186:5: error: conflicting types for 'fmul' int fmul(fits *a, float coeff); ^~~~ In file included from core/utils.c:60: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration of 'fmul' was here __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:867: core/utils.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/siril-0.9.9/src' make[2]: *** Waiting for unfinished jobs....
First guess: As the build only fails in rawhide, I think it is related to this change in glibc https://sourceware.org/git/?p=glibc.git;a=commit;h=69a01461ee1417578d2ba20aac935828b50f1118
The easiest way is to change the name (and all the calls) of fdiv and fmul. I could do it in the next upstream release but I would like to reproduce ... I can't. But we also should try to add these lines in a patch #ifdef fdiv #undef fdiv #ifdef fmul #undef fmul
is the bug fixed ?
No, I was on vacation and will not have for next few weeks. Can you provide a patch? To reproduce you have to build against a glibc 2.28 pre-release, like in Fedora rawhide. The release of 2.28 is expected in ~4 weeks.
Created attachment 1456436 [details] Patch for fedora builds against glibc2.48
Ok. Patch added. Please let me know.
Created attachment 1456441 [details] Patch for fedora builds against glibc2.48 (2nd try)
Looks like this works fine, thanks! Rawhide build: https://koji.fedoraproject.org/koji/taskinfo?taskID=28014856 Once it has finished I can create the updates for Fedora 27 and 28.
siril-0.9.9-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-faedcbe1fa
siril-0.9.9-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-629277d9bb
siril-0.9.9-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-faedcbe1fa
siril-0.9.9-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-629277d9bb
siril-0.9.9-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
siril-0.9.9-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.