Re: rsync-bpc compile error w/ CentOS 6
Richard Shaw <[email protected]> Mon, 12 Oct 2020 15:02:28 -0500
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CAN3TeO0nUqf8JyRBORMjc-kVca67-oUtbhm3SoAdAu6a-gAP6Q@mail.gmail.com> |
--===============0551562265604914994== Content-Type: multipart/alternative; boundary="000000000000c2201b05b17ec7ab" --000000000000c2201b05b17ec7ab Content-Type: text/plain; charset="UTF-8" On Mon, Oct 12, 2020 at 2:16 PM Craig Barratt via BackupPC-devel < [email protected]> wrote: > What output do you get from: > > egrep FALLOC_FL_ config.h config.log > > # egrep FALLOC_FL_ config.h config.log config.h:/* Define if FALLOC_FL_PUNCH_HOLE is available. */ config.h:#define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.h:/* Define if FALLOC_FL_ZERO_RANGE is available. */ config.h:/* #undef HAVE_FALLOC_FL_ZERO_RANGE */ config.log:configure.sh:7756: checking for FALLOC_FL_PUNCH_HOLE config.log:configure.sh:7785: checking for FALLOC_FL_ZERO_RANGE config.log:conftest.c:161:10: error: #error FALLOC_FL_ZERO_RANGE is missing config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #ifndef FALLOC_FL_ZERO_RANGE config.log:| #error FALLOC_FL_ZERO_RANGE is missing config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:#define HAVE_FALLOC_FL_PUNCH_HOLE 1 > Can you try building vanilla rsync-3.1.3 on that platform? The > configure.ac check for FALLOC_FL_PUNCH_HOLE should be the same as > rsync-bpc-3.1.3. > I downloaded a 3.1.3 SRPM from a previous release (Fedora is on 3.2.3) and it built fine. # egrep FALLOC_FL_ config.h config.log config.h:/* Define if FALLOC_FL_PUNCH_HOLE is available. */ config.h:#define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.h:/* Define if FALLOC_FL_ZERO_RANGE is available. */ config.h:/* #undef HAVE_FALLOC_FL_ZERO_RANGE */ config.log:configure.sh:7771: checking for FALLOC_FL_PUNCH_HOLE config.log:configure.sh:7800: checking for FALLOC_FL_ZERO_RANGE config.log:conftest.c:159:10: error: #error FALLOC_FL_ZERO_RANGE is missing config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #ifndef FALLOC_FL_ZERO_RANGE config.log:| #error FALLOC_FL_ZERO_RANGE is missing config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1 config.log:#define HAVE_FALLOC_FL_PUNCH_HOLE 1 Thanks, Richard --000000000000c2201b05b17ec7ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Mon, Oct 12, 2020 at 2:16 PM Craig Bar= ratt via BackupPC-devel <<a href=3D"mailto:[email protected]= rge.net">[email protected]</a>> wrote:<br></div><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div>What output do you get from:</div><div><br></div><div><b= lockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div>eg= rep FALLOC_FL_ config.h config.log=C2=A0</div></blockquote></div></div></bl= ockquote><div><br></div># egrep FALLOC_FL_ config.h config.log<br>config.h:= /* Define if FALLOC_FL_PUNCH_HOLE is available. */<br>config.h:#define HAVE= _FALLOC_FL_PUNCH_HOLE 1<br>config.h:/* Define if FALLOC_FL_ZERO_RANGE is av= ailable. */<br>config.h:/* #undef HAVE_FALLOC_FL_ZERO_RANGE */<br>config.lo= g:configure.sh:7756: checking for FALLOC_FL_PUNCH_HOLE<br>config.log:config= ure.sh:7785: checking for FALLOC_FL_ZERO_RANGE<br>config.log:conftest.c:161= :10: error: #error FALLOC_FL_ZERO_RANGE is missing<br>config.log:| #define = HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| =C2=A0 =C2=A0 =C2=A0 =C2=A0 #if= ndef FALLOC_FL_ZERO_RANGE<br>config.log:| =C2=A0 =C2=A0 =C2=A0 =C2=A0 #erro= r FALLOC_FL_ZERO_RANGE is missing<br>config.log:| #define HAVE_FALLOC_FL_PU= NCH_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.lo= g:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_FALLOC= _FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>con= fig.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_= FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<= br>config.log:#define HAVE_FALLOC_FL_PUNCH_HOLE 1<br><div><br></div><div>= =C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0= .8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l= tr"><div>Can you try building vanilla rsync-3.1.3 on that platform?=C2=A0 T= he <a href=3D"http://configure.ac" target=3D"_blank">configure.ac</a> check= for=C2=A0FALLOC_FL_PUNCH_HOLE should be the same as rsync-bpc-3.1.3.</div>= </div></blockquote><div><br></div><div>I downloaded a 3.1.3 SRPM from a pre= vious release (Fedora is on 3.2.3) and it built fine.=C2=A0</div><div><br><= /div><div># egrep FALLOC_FL_ config.h config.log<br>config.h:/* Define if F= ALLOC_FL_PUNCH_HOLE is available. */<br>config.h:#define HAVE_FALLOC_FL_PUN= CH_HOLE 1<br>config.h:/* Define if FALLOC_FL_ZERO_RANGE is available. */<br= >config.h:/* #undef HAVE_FALLOC_FL_ZERO_RANGE */<br>config.log:configure.sh= :7771: checking for FALLOC_FL_PUNCH_HOLE<br>config.log:configure.sh:7800: c= hecking for FALLOC_FL_ZERO_RANGE<br>config.log:conftest.c:159:10: error: #e= rror FALLOC_FL_ZERO_RANGE is missing<br>config.log:| #define HAVE_FALLOC_FL= _PUNCH_HOLE 1<br>config.log:| =C2=A0 =C2=A0 =C2=A0 =C2=A0 #ifndef FALLOC_FL= _ZERO_RANGE<br>config.log:| =C2=A0 =C2=A0 =C2=A0 =C2=A0 #error FALLOC_FL_ZE= RO_RANGE is missing<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>= config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HA= VE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE= 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #def= ine HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNC= H_HOLE 1<br>config.log:| #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br>config.log:= #define HAVE_FALLOC_FL_PUNCH_HOLE 1<br></div><div><br></div><div>Thanks,</d= iv><div>Richard</div></div></div> --000000000000c2201b05b17ec7ab-- --===============0551562265604914994== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0551562265604914994== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/ --===============0551562265604914994==--