Re: BackupPC-XS 0.63 RC1 test failure

jbk <[email protected]> Fri, 19 Dec 2025 09:08:19 -0500
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
On 12/18/25 9:36 PM, Richard Shaw wrote:
> I've been doing some testing for Fedora/EPEL and ran into 
> this issue when running "make test":
>
> + make test
> cd md5 && make test_dynamic
> make[1]: Entering directory 
> '/builddir/build/BUILD/BackupPC-XS-0.63rc1-build/backuppc-xs-0.63rc1/md5'
> No tests defined for BackupPC::XS::md5 extension.
> make[1]: Leaving directory 
> '/builddir/build/BUILD/BackupPC-XS-0.63rc1-build/backuppc-xs-0.63rc1/md5'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" 
> "-MTest::Harness" "-e" "undef *Test::Harness::Switches; 
> test_harness(0, '', '')" t/*.t
>
> #   Failed test 'use BackupPC::XS;'
> #   at t/BackupPC_XS.t line 12.
> #     Tried to use 'BackupPC::XS'.
> #     Error:  Can't locate BackupPC/XS.pm in @INC (you may 
> need to install the BackupPC::XS module) (@INC entries 
> checked: 
> /builddir/build/BUILD/BackupPC-XS-0.63rc1-build/backuppc-xs-0.63rc1 
> /usr/local/lib64/perl5/5.42 /usr/local/share/perl5/5.42 
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl 
> /usr/lib64/perl5 /usr/share/perl5 .) at t/BackupPC_XS.t 
> line 12.
> # BEGIN failed--compilation aborted at t/BackupPC_XS.t 
> line 12.
> # Looks like you failed 1 test of 1.
> t/BackupPC_XS.t ..
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
>
> Test Summary Report
> -------------------
> t/BackupPC_XS.t (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.00 sys + 
>  0.02 cusr  0.00 csys =  0.03 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/1 subtests failed.
> make: *** [Makefile:845: test_dynamic] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.kGL3QM (%check)
>
> Thanks,
> Richard
/

"To get it to build you need to add:/
/BuildRequires:  zlib-ng-compat-devel
/
/to the spec file but now the tests are failing."/

Did that and now the build goes further but still fails for 
your stated reason and maybe others.
I removed the call to run ...config-c99.patch

My build proceedure begins on the host machine running F43 
which has rpm-build installed and I work w/o being hardwired 
to the net which I need to be when I am in the rl10 vm.
I download the ...tar.gz from the github and then unpack 
that to a source directory where I then, following the 
Readme, do the first three steps to populate the config.h.in 
and Makefile.PL / Makefile.real.
I then edit the spec file from BackupPC-XS-0.62 for the 
-0.63 version, patch or no and buildRequires fields and 
place a copy of this file in the BackuPC-XS-0.63rc1 source.
Following this I re-tar.gz the source and then with another 
copy of the spec in the top level source dir I run rpmbuild 
-ts BackuPC-XS-0.63rc1.tar.gz.
After that I move the resultant src.rpm to the rl10vm and 
run mock on that target.

Convoluted process, but I'm learning a bit.

-- 
Jim KR

_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/