| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
+ /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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
just build a dynamic binary but exclude its deps
rationale: quite a lot of CPAN testers do not have static libs
installed...
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
rationale:
Mageia's rpm is patched in order to not conflict for doc files:
|
| |
|
| |
|
|
|
|
| |
reports its error messages if any
|
| |
|
|
|
|
| |
install do not have -d option on FreeBSD
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
On CentOS7, the error message is:
'This account is currently not available.'
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
rationale: CPAN testers installs genhdlist2 using cpan but do not have
/usr/local/bin in their PATH
|
|
|
|
| |
Related: RT#127881
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Rationale: It needs a Mageia specific patch that introduces
Time::ZoneInfo->current_zone()"
|
|
|
|
|
|
| |
where rpmquery default to outputing NVRA (vs NVR on Mageia)
reuse check_installed_fullnames() where needed instead of introducing %{NVR}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
thus fixing:
Tried to use 'urpm::args'.
Error: syntax error at /data/home/cpansand/.cpan/build/2020010714/urpmi-v8.120.3-4/blib/lib/urpm/util.pm line 71, near "/."
(Might be a runaway multi-line // string starting on line 69)
|
|
|
|
|
| |
it got broken when wee added support for rpm 4.13.0 in
commit cdcb6c6359e8ee2a590c3c40aa3b4d57ec3b1e80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as seen in CPAN reports:
<<<
...retrieving failed: no webfetch found, supported webfetch are: curl,
wget, prozilla, aria2
no metadata found for medium "various"
>>>
Whic results in:
<<<
Test Summary Report
-------------------
t/superuser--http.t (Wstat:
2560 Tests: 11 Failed: 10)
Failed tests: 2-11
Non-zero exit status: 10
Files=40, Tests=3775, 953 wallclock secs ( 1.19 usr 0.08 sys + 309.33
cusr 52.13 csys = 362.73 CPU)
Result: FAIL
Failed 1/40 test programs. 10/3775 subtests failed.
make: *** [Makefile:1155: test_dynamic] Error 255
(/usr/bin/make test exited with 512)
CPAN::Reporter: Test result is 'fail', One or more tests failed.
>>>
And indeed:
$ rpm -q curl wget prozilla aria2
package curl is not installed
package wget is not installed
package prozilla is not installed
package aria2 is not installed
Should have been done in commit 360f05b8db2029cb62c11f7eddb7fb57f3b774f1
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
mgaapplet and urpm* commands run as a normal user need to be able
to read the downloaded synthesis and info files.
|
| |
|
|
|
|
|
|
|
|
|
| |
This is needed to allow mgaapplet and urpm* commands run as a
normal user to work when run from a gdm-x-session, which sets
the umask to 027.
See also mga#9386 and mga#22262. We should perhaps take notice
of the msec security level.
|
| |
|
| |
|
| |
|