Re: Build failure for rcs-5.9.4 on CentOS 8 with gcc 8
Thien-Thi Nguyen <[email protected]> Mon, 05 Oct 2020 14:43:49 -0400
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Organization | sometimes |
| Message-ID | <[email protected]> |
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Thom O'Connor <[email protected]> () Mon, 20 Apr 2020 18:12:45 -0600 (MDT) The rcs package is not available in the CentOS 8 distribution/repository= (it was previously available with CentOS7). When compiling rcs-5.9.4 from = source on CentOS8 using gcc 8 [gcc-8.3.1-4.5.el8.x86_64], getting a set of = build errors, mostly related to what appears to be the replacement of "_Nor= eturn" with "__attribute__((__noreturn__))" in gcc-8. // build error on CentOS 8 with gcc-8 # ./configure # make ... gcc -DHAVE_CONFIG_H -I. -I../lib -I'../lib' -g -O2 -MT b-anchor.o -MD= -MP -MF .deps/b-anchor.Tpo -c -o b-anchor.o b-anchor.c In file included from b-anchor.c:21: base.h: In function =E2=80=98unexpected_EOF=E2=80=99: base.h:758:3: error: =E2=80=98_Noreturn=E2=80=99 in empty declaration exiting; ^~~~~~~ [etc] I put together a quick patch that fixes the compilation on CentOS8, included below. Many thanks for all your work and maintenance on rcs - continues to be an important tool for versioning control. Warm regards, // rcs-patch [details] Thanks for the patch. This is resolved in the upcoming 5.10.0 release. Could you check it out from savannah and try building it? If there are problems, we want to fix them before release. =2D- Thien-Thi Nguyen --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iG4EARECAC4WIQR0jqDoHLinSJv6bORnAyIkTIB1AgUCX3tpZxAcdHRuQGdudXZv bGEub3JnAAoJEGcDIiRMgHUCBH4AoM7QIGu+8axUOHywyoeywebAlvv/AJ9+fITp hoMIQOSUlTBtxF6V2S/m9g== =MkCL -----END PGP SIGNATURE----- --=-=-=--