aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-07-18 16:13:52 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-12-18 10:34:24 +0100
commitab4ad3363efedf629f47100634a5b8d0a66b7fbf (patch)
tree766c6630f6b0e8774c1b0294c8e2f280a4305547
parent36166fbb95a786be5d2141164b9f151eabd5ea0e (diff)
downloadiurt-ab4ad3363efedf629f47100634a5b8d0a66b7fbf.tar
iurt-ab4ad3363efedf629f47100634a5b8d0a66b7fbf.tar.gz
iurt-ab4ad3363efedf629f47100634a5b8d0a66b7fbf.tar.bz2
iurt-ab4ad3363efedf629f47100634a5b8d0a66b7fbf.tar.xz
iurt-ab4ad3363efedf629f47100634a5b8d0a66b7fbf.zip
explain to rebuilds binary pkgs not depending on libperl
-rwxr-xr-xrebuild_perl_iurt8
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