From 22a65b8bfd3d8d5ad2c30229c51e003f3a9256bd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 25 Apr 2020 11:46:36 +0200 Subject: cpan-testers: fix failing to build some rpms on FreeBSD unset %__os_install_post fixes to fix FreeBSD failures (RT#131162) %__os_install_post cause build failures on FreeBSD due to rpm not being adapted: such as http://www.cpantesters.org/cpan/report/0a319070-86d8-11ea-a1f7-ec411f24ea8f: + /usr/local/lib/rpm/brp-compress /usr/local + /usr/local/lib/rpm/brp-strip /usr/bin/strip + /usr/local/lib/rpm/brp-strip-static-archive /usr/bin/strip xargs: illegal option -- d usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S replsize]] [-J replstr] [-L number] [-n number [-x]] [-P maxprocs] [-s size] [utility [argument ...]] error: Bad exit status from /usr/home/cpansand/.cpan/build/2020042509/urpmi-v8.121.15-0/t/tmp/rpm-tmp.P9J8JW (%install) Stripping also often fails on FreeBSD: /usr/bin/strip: unable to copy file '...BUILDROOT/arch_to_noarch-1-1.x86_64/usr/lib/test-arch_to_noarch/ldconfig' reason: Permission denied As a side effect, it also fixes: Error: Could not execute /usr/local/lib/rpm/elfdeps: file or directory not found --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3b82045c..ecbd0e5e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ o check that web server has actually started o describe more tests to help pinpoint regressions o do not fail test when libnss.so is not found in Debian 9 or FreeBSD + o fix failing to build some rpms on FreeBSD o fix test with rpm < 4.13 on CentOS7 o make sure genhdlist2 works o perform some file conflict tests only on Mageia -- cgit v1.2.1