Re: BackupPC and EPEL10

jbk <[email protected]> Thu, 18 Dec 2025 20:33:59 -0500
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
On 12/17/25 10:18 AM, G.W. Haywood wrote:
> Hi there,
>
> On Wed, 17 Dec 2025, jbk wrote:
>
>> ...
>> Question: There is a patch by cbarrett in backuppc-4.4.0-20
>> that references issue #466 and is listed as closed around
>> July 2022. This issue does not appear in the change log for
>> backuppc-4.4.1rc1. Is this just an omission or does it still
>> need to be applied as a patch for this release candidate.
>> ...
>
> The fix is applied in 4.4.1rc1.  It's in three places in 
> the code, one
> in .../configure.pl and two in 
> .../lib/BackupPC/Storage/Text.pm.
>
> For things like this I recommend checking out the source 
> from Github
> and then using 'gitk'.  I find it invaluable.  It's much 
> faster and,
> at least here, much more reliable than trying to use Github.
>
> If you do try gitk you'll see that until around October of 
> this year
> the branch history was kindof a jumble.  Hopefully it's 
> under control
> now.  I *think* I've caught up with all the historic fixes 
> (including
> one which first appeared in September 2012 but was then 
> lost in April
> 2013 - I reapplied it 13 years later).  I'm very glad 
> you're looking
> at these things. :)
>
I'm building the source for BackupPC-XS-0.63 in mock and I 
get this error:
.........................................................................................
gcc -c  -I. -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto 
-ffat-lto-objects -fexceptions -g -grecord-gcc-switches 
-pipe -Wall -Wno-complain-wrong-lang -Werror=format-security 
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-fstack-protector-strong 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 
-march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 
-fwrapv -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g 
  -DVERSION=\"0.63\" -DXS_VERSION=\"0.63\" -fPIC 
"-I/usr/lib64/perl5/CORE"   BackupPC_XS.c
In file included from BackupPC_XS.xs:27:
./backuppc.h:25:10: fatal error: zlib.h: No such file or 
directory
    25 | #include <zlib.h>       /* 2025.11.12: Use the 
system-provided zlib. == GWH == */
       |          ^~~~~~~~
..........................................................................................

Installed on the base system is:
[jbk@rl10vm ~]$ rpm -qa | grep -i zlib
zlib-ng-compat-2.2.3-2.el10.x86_64
zlib-ng-compat-devel-2.2.3-2.el10.x86_64
perl-Compress-Raw-Zlib-2.212-513.el10_1.x86_64
............................................................................................

I just checked the build environment and zlib.h is not 
installed. I don't know if that is a deficiency in the build 
spec or not. This is all trial and error on my part.

-- 
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/