So, I've ran into the issue addressed in the pinned comment for the update to 5.32. I followed the instructions and ugpraded, that's fine.
I just want to make sure I understand the issue. Is that part of the PKGBUILD needed to prevent soname bump issues?
_perl_depends() {
# template start; name=perl-binary-module-dependency; version=1;
if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi
# template end;
}
If I understand this correctly, we have to decide to either deal with unresolved dependencies when perl is upgraded, or to deal with soname issues at runtime?
If that's the case, I think the present solution is the right one, even if it's a bit annoying. I prefer that to having to chase down some runtime issue later on.
Thanks for the package!
Pinned Comments
PhotonX commented on 2018-08-06 13:17
In case that perl-gtk2-unique prevents the perl update to 5.28, please remove perl-gtk2-unique
pacman -Rdd perl-gtk2-unique
then do the update and then install it again
$YOUR_FAVORITE_AUR_HELPER -S perl-gtk2-unique
In case there is a better solution, please let me know! :)