Bug 2259155
| Summary: | subversion-1.14.3-2.fc40 FTBFS: subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:791:29: error: passing argument 2 of 'rb_hash_foreach' from incompatible pointer type | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | subversion | Assignee: | Tomas Korbar <tkorbar> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jorton, rlescak, tkorbar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/subversion | ||
| Whiteboard: | |||
| Fixed In Version: | subversion-1.14.3-3.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-01-21 16:27:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2231791 | ||
FEDORA-2024-9d16f10492 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-9d16f10492 FEDORA-2024-9d16f10492 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |
subversion-1.14.3-2.fc40 fails to build in Fedora 40: bin/sh "/builddir/build/BUILD/subversion-1.14.3/libtool" --tag=CC --silent --mode=compile gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-int-to-pointer-cast -DLINUX -D_REENTRANT -D_GNU_SOURCE -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/builddir/build/BUILD/subversion-1.14.3/subversion -I/builddir/build/BUILD/subversion-1.14.3/subversion/include -I/builddir/build/BUILD/subversion-1.14.3/subversion/bindings/swig -I/builddir/build/BUILD/subversion-1.14.3/subversion/bindings/swig/include -I/builddir/build/BUILD/subversion-1.14.3/subversion/bindings/swig/proxy -I/builddir/build/BUILD/subversion-1.14.3/subversion/bindings/swig/proxy -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I/builddir/build/BUILD/subversion-1.14.3/subversion/bindings/swig/ruby/libsvn_swig_ruby -I./subversion/include -I./subversion -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/p11-kit-1 -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/KF5/KWallet -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KI18n -I/usr/include -I/usr/include -I/usr/include/serf-1 -DWITH_GZFILEOP -o subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c [...] subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'svn_swig_rb_set_pool': subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:791:29: error: passing argument 2 of 'rb_hash_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 791 | rb_hash_foreach(target, rb_set_pool_for_hash_callback, (VALUE)&arg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(VALUE, VALUE, struct rb_set_pool_for_hash_arg *) {aka int (*)(long unsigned int, long unsigned int, struct rb_set_pool_for_hash_arg *)} A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/17076049>. This is probably triggered by upgrading gcc from 13.2.1-6.fc40 to 14.0.1-0.1.fc40.