summaryrefslogtreecommitdiffstats
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* rename NEWS as Changes (Kwalitee)Thierry Vignaud2020-05-061-4846/+0
|
* Make Makefile.PL not executable (Kwalitee)Thierry Vignaud2020-05-041-0/+1
|
* cpan_testers: fix genhdlist2 defaulting to zstdThierry Vignaud2020-05-021-0/+3
| | | | | fix a local zstd change in genhdlist2 that wrongly made it into testsuite's bundled version
* forgot the version bannerThierry Vignaud2020-05-011-0/+2
|
* fix running genhlist2 with the right perl versionThierry Vignaud2020-05-011-0/+1
| | | | | | | | | | | | | | | | | | | | 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
* BSD: prevent failing due to broken deps generatorThierry Vignaud2020-05-011-0/+1
| | | | | | | | | | | | | 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.
* bump requires on URPM to 5.28Thierry Vignaud2020-05-011-0/+1
| | | | so that we can be tester nearly everywhere
* fix testuite if glibc-static-devel isn't installedThierry Vignaud2020-05-011-0/+1
| | | | On some older distributions (eg: Mageia 2), it would fail.
* fix running testsuite with rpm-4.9Thierry Vignaud2020-05-011-0/+1
| | | | | Basically restoring commit 654ffaa9caf78556b9759c18345b5ec9207f3c43 for older rpm
* do not skip network tests on pre-UsrMove distrosThierry Vignaud2020-05-011-0/+3
| | | | | Eg: on Mageia 2, the network test would be skipped due to faulty test which caused us to think no downloader would be available
* 8.1228.122Thierry Vignaud2020-04-291-0/+2
|
* cpan_testers: fallback to bundled genhdlist2Thierry Vignaud2020-04-291-0/+2
| | | | | we could have done it for all tests directly from within t/helper.pm, but only those tests actually need to find genhdlist2
* retry if curl failed with timeoutThierry Vignaud2020-04-291-0/+1
|
* explain the relationship with URPMThierry Vignaud2020-04-291-0/+1
|
* silent rpm --version during installation/removalThierry Vignaud2020-04-291-0/+3
| | | | | | | | | | | | | | | | Calling "LC_ALL=C rpm --version" from urpm::install::install_logger() sometimes causes the following to be displayed when using --urpmi-root: "shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" Typically, we run into: chdir("/") = 0 chroot("/home/tv/mga/pkgs/RPM/perl-URPM/mga7/") = 0 (...) clone() execve("/bin/sh", ["sh", "-c", "LC_ALL=C rpm --version"], ... getcwd("(unreachable)/", 4095) = 15 So just caches the rpm version prior to the first transaction and voila
* fix failing when serving over HTTP from within /rootThierry Vignaud2020-04-291-0/+1
| | | | | | | | | rationale: If we switch from root to nobody/nogroup while running in /root, everytime simple-httpd accesses to a files while answering to urpmi will fail with "-1 EACCES (Permission denied)" Then t/tmp/error.log contains "Error - 404 - file not found" but that's hidden when running tests as part of CPAN testers.
* %find_lang sometimes fails on FreeBSDThierry Vignaud2020-04-291-0/+1
| | | | | + /usr/local/lib/rpm/find-lang.sh /usr/home/cpansand/.cpan/build/2020042613/urpmi-v8.121.20-6/t/tmp/BUILDROOT/various-1-1.x86_64 test-various error: Bad exit status from /usr/home/cpansand/.cpan/build/2020042613/urpmi-v8.121.20-6/t/tmp/rpm-tmp.kKrrdT (%install)
* display RPM version in logsThierry Vignaud2020-04-291-0/+1
|
* cpan-testers: fix failing to build some rpms on FreeBSDThierry Vignaud2020-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* use a more neutral C compiledThierry Vignaud2020-04-291-0/+2
| | | | | | 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.
* do not fork (daemonize is implied by {setsid})Thierry Vignaud2020-04-291-0/+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 a warning causing Test::More to think it failed when /proc is not mountedThierry Vignaud2020-04-291-0/+1
| | | | | | | | | | | | | | | | | | | 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.
* cpan_testers: show verbosely why genhdlist2 do not workThierry Vignaud2020-04-291-0/+1
|
* add more extensive testsThierry Vignaud2020-04-291-0/+1
|
* cpan-testers: work without glibc-static-develThierry Vignaud2020-04-291-0/+1
| | | | | | just build a dynamic binary but exclude its deps rationale: quite a lot of CPAN testers do not have static libs installed...
* describe the testsuiteThierry Vignaud2020-04-291-0/+1
|
* disable fsync/fdatasync while running testsThierry Vignaud2020-04-291-0/+2
|
* cpan-testers: fix failing test on Debian 9/FreeBSDThierry Vignaud2020-04-281-0/+1
| | | | | | 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
* try harder to find genhdlist2 on CPAN testersThierry Vignaud2020-04-281-0/+1
| | | | | | | | | | | | 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
* fix test with rpm < 4.13 on CentOS7Thierry Vignaud2020-04-281-0/+1
|
* perform some file conflict tests only on MageiaThierry Vignaud2020-04-281-0/+1
| | | | | rationale: Mageia's rpm is patched in order to not conflict for doc files:
* check & report where genhdlist2 isThierry Vignaud2020-04-281-0/+1
|
* describe more tests to help pinpoint regressionsThierry Vignaud2020-04-281-0/+1
|
* check that web server has actually startedThierry Vignaud2020-04-281-0/+3
| | | | reports its error messages if any
* 8.1218.121Thierry Vignaud2020-04-091-0/+2
|
* cpan-testers: fix building rpms on FreeBSDThierry Vignaud2020-04-091-0/+1
| | | | install do not have -d option on FreeBSD
* cpan-testers: fix an error on FreeBSDThierry Vignaud2020-04-091-0/+1
| | | | | | 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: workaround 'nogroup' not existing on CentOSThierry Vignaud2020-04-091-0/+1
|
* cpan_testers: workaround disabled nobody accountThierry Vignaud2020-04-091-0/+1
| | | | | On CentOS7, the error message is: 'This account is currently not available.'
* cpan_testers: fix a test with rpm < 4.13.0Thierry Vignaud2020-04-091-0/+1
| | | | | | | | 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-091-0/+1
| | | | | rationale: CPAN testers installs genhdlist2 using cpan but do not have /usr/local/bin in their PATH
* add dummy package for CPAN & proper indexationThierry Vignaud2020-04-091-0/+2
| | | | Related: RT#127881
* cpan_testers: skip weak deps test on CentOS 7 (unsupported)Thierry Vignaud2020-04-091-0/+1
| | | | | | | | | | | | 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)
* add support for --reinstallThierry Vignaud2020-03-051-0/+2
| | | | Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
* cpan_testers: require a newer rpmtoolsThierry Vignaud2020-03-021-1/+1
| | | | | | 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-021-0/+1
| | | | | | | | | | 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-021-0/+2
|
* cpan_testers: skip mirrorlist tests on !MageiaThierry Vignaud2020-01-171-0/+1
| | | | | Rationale: It needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()"
* fix testsuite errors on CentOs (NVR vs NVRA)Thierry Vignaud2020-01-171-0/+1
| | | | | | where rpmquery default to outputing NVRA (vs NVR on Mageia) reuse check_installed_fullnames() where needed instead of introducing %{NVR}
* testsuite needs rpmtoolsThierry Vignaud2020-01-171-0/+1
| | | | | | | | | | | | | | | | | actually it really needs genhdlist2 from rpmtools The later provides a dummy rpmtools.pm package so that cpan testers can be happy We need at least 7.11 as previous versions forced vendor dir which is usually not defined, thus resulting in: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/' Do not have write permissions on '/' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Which made urpmi's testsuite to fail on most cpan testers due to genhdlist2 not being available