User:Jayofdoom/swig-4.3.0

From Gentoo Wiki
Jump to:navigation Jump to:search

Swig 4.3.0 Upgrade project

My "I wanna be a gentoo developer" final exam project is getting swig updated to 4.3.0. These are my notes.

Testing progress

Any package not listed here has been tested with new swig, and either fails in a way unrelated to swig version or works with both old/new swig.


FIX PENDING

https://github.com/gentoo/gentoo/pull/40723/files

dev-embedded/u-boot-tools-2024.01-r1 - did not build - seemingly a real break: scripts/dtc/pylibfdt/libfdt_wrap.c:6767:19: error: too few arguments to function ‘SWIG_Python_AppendOutput’ -> https://github.com/u-boot/u-boot/commit/a63456b9191fae2fe49f4b121e025792022e3950 -> in 2025.1

sys-libs/libsemanage - did not build - seemingly real break: semanageswig_wrap.c:16748:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ - 3.8 works; 3.7 needs patch - PR @ https://github.com/gentoo/gentoo/pull/40721

Real failures to fix

sci-chemistry/modeller-10.5 - did not build - unsure if a real break; modeller_wrap.c:23545:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - Per juippis, bug against package and push with lower bound


media-tv/kodi-21.1-r1 - did not build - seemingly real break: FAILED: build/swig/AddonModuleXbmcvfs.i.cpp /var/tmp/portage/media-tv/kodi-21.1-r1/work/xbmc-21.1-Omega_build/build/swig/AddonModuleXbmcvfs.i.cpp