diff options
Diffstat (limited to 'rebuild_perl_iurt')
-rwxr-xr-x | rebuild_perl_iurt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rebuild_perl_iurt b/rebuild_perl_iurt index 880fe14..358d56b 100755 --- a/rebuild_perl_iurt +++ b/rebuild_perl_iurt @@ -53,3 +53,11 @@ pkgs=$(LC_ALL=C rpm -q --qf '%{SOURCERPM}\n' --whatrequires $(cat $perlapis_path EOF echo $perlchroot + +cat <<EOF +# Use the following to rebuild binary packages _not_ depending on libperl.so: +# Those will install w/o dep issue but will fail at runtime with eg: +# lib/RPM2.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xed00080) +(for i in perl*;do rpm -qpl $i|fgrep -q .so&&echo $i;done>>/tmp/PERLBIN) +(for i in $(</tmp/PERLBIN);do rpm -qpR $i|fgrep -q libperl||rpm -qp --qf '%{sourcerpm}\n' $i;done>>/tmp/PERLBIN2) +EOF |