| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We know that 4.15.1.1 & 4.16.1.3 had a bad regression regarding handling
old rpm v3 packages.
See https://github.com/rpm-software-management/rpm/issues/1635
So just skip those tests on affected CPAN smokers.
Eg: http://www.cpantesters.org/cpan/report/db1b368e-c68b-11eb-8660-be641f24ea8f
error: [fd 10]: invalid signature tag Archivesize (1046)
bad rpm media/rpm-v3_no_subdir/libtermcap-2.0.8-2.i386.rpm
Failed test 'genhdlist2 --xml-info media/rpm-v3_no_subdir'
at t/helper.pm line 151.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Else genhdlist2 may fail to load URPM if it doesn't use the perl version for
which URPM was installed.
This affects CPAN smokers where several perl versions are installed.
Eg in http://www.cpantesters.org/cpan/report/6808b728-8a34-11ea-bab2-e37d1f24ea8f
CPAN says INC=
/usr/perl5.30.0p/lib/site_perl/5.30.0/amd64-freebsd
/usr/perl5.30.0p/lib/site_perl/5.30.0
/usr/perl5.30.0p/lib/5.30.0/amd64-freebsd
/usr/perl5.30.0p/lib/5.30.0
Which is consistent with $^X = /usr/perl5.30.0p/bin/perl5.30.0
But genhdlist2 fails with:
Can't locate URPM.pm in @INC (you may need to install the URPM module) (@INC contains: /usr/home/cpansand/.cpan/build/2020042914/urpmi-v8.122-1/blib/lib /usr/home/cpansand/.cpan/build/2020042914/urpmi-v8.122-1/blib/arch /usr/perl5.28.2-RC1p/lib/site_perl/5.28.2/amd64-freebsd /usr/perl5.28.2-RC1p/lib/site_perl/5.28.2 /usr/perl5.28.2-RC1p/lib/5.28.2/amd64-freebsd /usr/perl5.28.2-RC1p/lib/5.28.2 .) at /usr/home/cpansand/.cpan/build/2020042914/urpmi-v8.122-1/t/genhdlist2 line 6.
BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020042914/urpmi-v8.122-1/t/genhdlist2 line 6.
Ie it used the wrong perl-5.28.2 instead of perl-5.30.0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some FreeBSD CPAN smokers sometimes fails with:
error: Couldn't exec /usr/local/lib/rpm/elfdeps: No such file or directory
The testsuite passes smoothly before & after that change.
The only impact is that with that,
t/media/rpm-query-in-scriptlet/rpm-query-in-scriptlet-1-1.x86_64.rpm
lose one requires on one of its own provides:
removed REQUIRES librpm.so.9()(64bit)
Which is fine.
|
|
|
|
| |
It's more readable and will help next commit
|
|
|
|
| |
Thus we got a shorter command which will help for next commits
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
because of:
+ cd /
+ cpio -pumdL /usr/home/cpansand/.cpan/build/2020042509/urpmi-v8.121.15-2/t/tmp/BUILDROOT/rpm-query-in-scriptlet-1-1.x86_64
cpio: Can't stat /bin/sh:
cpio: Can't stat /usr/local/bin/rpm:
24035 blocks
error: Bad exit status from /usr/home/cpansand/.cpan/build/2020042509/urpmi-v8.121.15-2/t/tmp/rpm-tmp.Q4A94o (%install)
See related debuging in:
http://www.cpantesters.org/cpan/report/e7284484-878b-11ea-a99d-f0811f24ea8f
+ grep / list
+ ls -l /usr/local/lib/libnss3.so /bin/sh /bin/sh: /lib/libedit.so.7 /lib/libc.so.7 /lib/libncursesw.so.9 /usr/local/bin/rpm /usr/local/bin/rpm: /usr/local/lib/librpm.so.9 /usr/local/lib/librpmio.so.9 /usr/local/lib/libdb-5.3.so.0 /usr/local/lib/libnss3.so /usr/lib/libbz2.so.4 /lib/libz.so.6 /usr/local/lib/libpopt.so.0 /usr/lib/liblzma.so.5 /usr/local/lib/libzstd.so.1 /usr/local/lib/liblua-5.2.so /lib/libm.so.5 /lib/libthr.so.3 /usr/local/lib/libintl.so.8 /lib/libc.so.7 /usr/local/lib/libnssutil3.so /usr/local/lib/libplc4.so /usr/local/lib/libplds4.so /usr/local/lib/libnspr4.so /usr/lib/libdl.so.1
ls: /bin/sh:: No such file or directory
ls: /usr/local/bin/rpm:: No such file or directory
error: Bad exit status from /usr/home/cpansand/.cpan/build/2020042520/urpmi-v8.121.17-2/t/tmp/rpm-tmp.GcQOIE (%install)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rationale: CPAN testers installs genhdlist2 using cpan but do not have
/usr/local/bin in their PATH
|
|
|
|
|
|
|
|
|
|
|
|
| |
rationale: CentOS 7's rpm doesn't support eg Recommendstag, it only
knows their definitions but is unable to parse a spec file using
Recommends
Ideally we should be able to detect a too old/unpatched rpm...
Technically, we could check whether it's Mageia < 6 which did have an
non upstream implementation (but was using Suggests tag instead of
Recommends and so would need testsuite adaption -- not worth it)
|
| |
|
|
|
|
|
|
|
|
| |
o old suggests format is no more handled
o buildroot handling changed
o build directories for root changed
- fix buildroot_default.spec: was broken since %{rpm_version} is not defined
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
ie RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK,
instead of RPMTAG_SUGGESTSNAME (as done in SuSE and in Mandriva > 2008.0)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
so that bug #27263 won't happen again :)
|
| |
|
|
one drawback of the superuser--*.t is the need to be root
(the rpmlib needs it to install in a root partition), so for now "make test"
tests *.t but superuser--*.t are skipped. Then as root, run
"sudo make test TEST_FILES='t/superuser--*.t'"
|