Run sogrep to give the list of packages to rebuild on soname changes.
Hi,
pkgctl build
warns about soname changes but it would be nice if the warning message was more explicit about what needs to be done.
It could for instance indicate to identify what packages need a rebuild by using sogrep
or, ideally even run it itself to print the actual list.
Could be something like that:
Warning soname changes
"old soname" | "new soname"
The following packages needs to be rebuilt against this new soname in staging
for repo in core extra; do for lib in $(find-libprovides "${pkgname}-${pkgver}-${pkgrel}-${arch}".pkg.tar.zst | sed 's/=.*//g'); do sogrep -r $repo $lib; done; done | sort | uniq
See https://wiki.archlinux.org/title/DeveloperWiki:How_to_be_a_packager#Run_sogrep_on_identified_soname_change for more details # Eventually?