Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.cvs.bug > #229

Re: Compilation failures on RHEL 8

From Michael Watters <wattersm@watters.ws>
Newsgroups gnu.cvs.bug
Subject Re: Compilation failures on RHEL 8
Date 2019-06-21 13:25 -0400
Message-ID <mailman.601.1561137943.10840.bug-cvs@nongnu.org> (permalink)
References <e1efd75e-7b18-39ab-8f8c-de246edc7e83@watters.ws> <20190621061033.GA2425@dhcp-0-146.brq.redhat.com> <14efad61-3bd4-8bbc-66d3-6417d8f8acfc@watters.ws>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

After enabling the Codeready repo and installing the texinfo package I
was able to build the cvs SRPM from Fedora 30.

On 6/21/19 2:10 AM, Petr Pisar wrote:
> On Thu, Jun 20, 2019 at 03:28:45PM -0400, Michael Watters wrote:
>> I am attempting to build cvs on a server running RHEL 8 however there
>> are errors causing the build to fail as follows.
>>
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -g -O2 -MT getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c
>> In file included from getline.c:25:
>> getline.h:15:3: error: conflicting types for ‘getline’
>>    getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
>>    ^~~~~~~
> You need this
> <https://src.fedoraproject.org/rpms/cvs/raw/master/f/cvs-1.11.23-getline64.patch>
> patch.
>
> Maybe you could try building Fedora RPM package
> <https://src.fedoraproject.org/rpms/cvs/> on the RHEL 8. Your chances would be
> higher since the two distributions are very similar.
>
> -- Petr

Back to gnu.cvs.bug | Previous | Next | Find similar


Thread

Re: Compilation failures on RHEL 8 Michael Watters <wattersm@watters.ws> - 2019-06-21 13:25 -0400

csiph-web