summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* skip rpm-query-in-scriptlet.spec on FreeBSDThierry Vignaud2020-04-292-1/+13
| | | | | | | | | | | | | | | | | | | 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)
* split some variables for readabilityThierry Vignaud2020-04-291-1/+3
|
* cpan-testers: fix failing to build some rpms on FreeBSDThierry Vignaud2020-04-292-1/+4
| | | | | | | | | | | | | | | | | | | | | 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
* ignore .gitThierry Vignaud2020-04-291-2/+2
|
* use a more neutral C compiledThierry Vignaud2020-04-292-2/+4
| | | | | | Aka adapt to a world where gcc is no more the apex predator... Several Linux distros as well as FreeBSD >= 10 default to clang instead of gcc.
* simplify: BSD support -L but not --dereferenceThierry Vignaud2020-04-292-12/+2
| | | | | | | This might help the following failure: http://www.cpantesters.org/cpan/report/c8c690aa-8587-11ea-81c4-93681f24ea8f cpio: Can't lstat /bin/sh: cpio: Can't lstat /usr/local/bin/rpm:
* do not fork (daemonize is implied by {setsid})Thierry Vignaud2020-04-292-1/+1
| | | | | | | Thus fixing killing simple-httpd when test completes, which was broken since basically forever. This prevents dummy testsuite faillures when performing parallel runs on different perl/rpm versions (eg: using chroots).
* fix "The plan was already output"Thierry Vignaud2020-04-291-4/+6
| | | | | | | | | | | The error message being in some conditions: "The plan was already output at /usr/lib/perl5/5.22.3/Test/Builder.pm line 2510." We need both else we got: "Tests were run but no plan was declared and done_testing() was not seen." also fix inverted condition :-(
* fix a warning causing Test::More to think it failed when /proc is not mountedThierry Vignaud2020-04-292-2/+9
| | | | | | | | | | | | | | | | | | | You tried to plan twice at t/superuser--should-restart.t line 14. t/superuser--should-restart.t ................................... skipped: (no reason given) (...) Test Summary Report ------------------- t/superuser--should-restart.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Files=40, Tests=3901, 801 wallclock secs ( 0.96 usr 0.09 sys + 174.18 cusr 30.16 csys = 205.39 CPU) Result: FAIL Failed 1/40 test programs. 0/3901 subtests failed.A On the other side we want to make it work in both cases so we end doing that.
* check for genhdlist2 --help tooThierry Vignaud2020-04-291-0/+4
|
* cpan_testers: show verbosely why genhdlist2 do not workThierry Vignaud2020-04-292-0/+8
|
* add more extensive testsThierry Vignaud2020-04-292-0/+6
|
* cpan-testers: work without glibc-static-develThierry Vignaud2020-04-292-3/+18
| | | | | | just build a dynamic binary but exclude its deps rationale: quite a lot of CPAN testers do not have static libs installed...
* explain why we need our own "static shell"Thierry Vignaud2020-04-291-0/+2
| | | | historically we were used static dash but that was too Mageia centered
* describe the testsuiteThierry Vignaud2020-04-292-0/+30
|
* disable fsync/fdatasync while running testsThierry Vignaud2020-04-292-0/+3
|
* cpan-testers: fix failing test on Debian 9/FreeBSDThierry Vignaud2020-04-282-2/+3
| | | | | | commit 1089a6c113c53cd77147808ebeb4f6d0ef03fa89 really was about silencing a warning, so let's not break other OSes who do not have that lib or not in this location
* Also look at $Config{bin} for genhdlist2Thierry Vignaud2020-04-281-1/+2
| | | | | | | | | | It should help http://www.cpantesters.org/cpan/report/9e067a66-83f1-11ea-85a9-af7f1f24ea8f which fails. That smoker had rpmtools/URPM already installed normally into this perl's sitedir & bindir. Adding the blib/script directories didn't help that case. So try $Config{bin} too
* try harder to find genhdlist2 on CPAN testersThierry Vignaud2020-04-282-0/+7
| | | | | | | | | | | | rationale: in some cases, all dependency modules and scripts still reside in the uninstalled blib directories. CPAN.pm knows how to deal with uninstalled modules (all the blib/lib directories go into the PERL5LIB environment variable). But it does not do something similar for the blib/script directories. So we have to try harder to find genhdlist2 by adding those blib/script directories to PATH if they exist
* split set_path()Thierry Vignaud2020-04-282-3/+7
|
* fix test with rpm < 4.13 on CentOS7Thierry Vignaud2020-04-282-1/+2
|
* perform some file conflict tests only on MageiaThierry Vignaud2020-04-282-12/+31
| | | | | rationale: Mageia's rpm is patched in order to not conflict for doc files:
* introduce is_mageia()Thierry Vignaud2020-04-282-2/+6
|
* check & report where genhdlist2 isThierry Vignaud2020-04-282-0/+5
|
* describe more tests to help pinpoint regressionsThierry Vignaud2020-04-2810-25/+26
|
* make test output clearerThierry Vignaud2020-04-281-1/+3
|
* check that web server has actually startedThierry Vignaud2020-04-283-0/+13
| | | | reports its error messages if any
* perl_checker cleanupsThierry Vignaud2020-04-281-1/+1
|
* 8.1218.121Thierry Vignaud2020-04-093-2/+4
|
* cpan_testers: strip as used by rpm fails on FreeBSDThierry Vignaud2020-04-094-0/+12
|
* FreeBSD's cpio doesn't support --dereferenceThierry Vignaud2020-04-091-1/+7
|
* cpan-testers: fix building rpms on FreeBSDThierry Vignaud2020-04-0933-34/+36
| | | | install do not have -d option on FreeBSD
* cpan-testers: fix an error on FreeBSDThierry Vignaud2020-04-092-0/+3
| | | | | | commit 1089a6c113c53cd77147808ebeb4f6d0ef03fa89 really was about silencing a warning, so let's not break other OSes who do not have that lib or not in this location
* cpan_testers: fix a warning when skipping testsThierry Vignaud2020-04-091-2/+10
| | | | should have been in commit ad953e4c4bca7e5bd9f5b5664298e04272537479
* cpan_testers: workaround 'nogroup' not existing on CentOSThierry Vignaud2020-04-092-1/+2
|
* cpan_testers: workaround disabled nobody accountThierry Vignaud2020-04-092-1/+2
| | | | | On CentOS7, the error message is: 'This account is currently not available.'
* cpan_testers: fix a test with rpm < 4.13.0Thierry Vignaud2020-04-093-3/+8
| | | | | | | | It was failing for older versions of rpm since commit 32c4bc874e3f7fc99188bf045902b1018f38855a This fix the counting & adjust to missing pkg name when erasing with older rpms
* cpan_testers: set PATHThierry Vignaud2020-04-092-0/+4
| | | | | rationale: CPAN testers installs genhdlist2 using cpan but do not have /usr/local/bin in their PATH
* add manual provides for urpmi (RT#127881)Thierry Vignaud2020-04-091-0/+10
| | | | | ensure urpm.pm has a lesser version than URPM.pm due to CPAN ignoring case because of Windows users, thus making sure URPM is indexed
* add dummy package for CPAN & proper indexationThierry Vignaud2020-04-093-0/+10
| | | | Related: RT#127881
* cpan_testers: skip weak deps test on CentOS 7 (unsupported)Thierry Vignaud2020-04-096-3/+28
| | | | | | | | | | | | 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)
* Update Asturian translation from TxYuri Chornoivan2020-04-091-31/+31
|
* Update Asturian translation from TxYuri Chornoivan2020-04-021-663/+439
|
* add support for --reinstallThierry Vignaud2020-03-055-3/+7
| | | | Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
* Update Czech translation from TxYuri Chornoivan2020-03-041-4/+6
|
* cpan_testers: require a newer rpmtoolsThierry Vignaud2020-03-022-2/+2
| | | | | | we need a rpmtools that rely on Digest::MD5 instead of md5sum so that urpmi's coverage can increase (aka stop t/02create_pkgs.t to fail everywhere)
* cpan_testers: require a newer enough Test::MoreThierry Vignaud2020-03-022-1/+2
| | | | | | | | | | should workaround some failures such as: http://www.cpantesters.org/cpan/report/6d3e1bc0-3755-11ea-83ea-5104bae6192e The plan was already output at /usr/lib/perl5/5.22.3/Test/Builder.pm line 2510. t/superuser--suggests.t ......................................... All 126 subtests passed
* urpmq -i: display epoch when using -i (mga#25735)Thierry Vignaud2020-03-022-0/+3
|
* Update Norwegian (Bokmal) translation from TxYuri Chornoivan2020-02-021-4/+6
|
* Update Serbian translation from TxYuri Chornoivan2020-01-311-4/+6
|