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


Groups > gnu.cvs.bug > #225

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 09:54 -0400
Message-ID <mailman.586.1561125293.10840.bug-cvs@nongnu.org> (permalink)
References <e1efd75e-7b18-39ab-8f8c-de246edc7e83@watters.ws> <20190621061033.GA2425@dhcp-0-146.brq.redhat.com> <c9c6b8b8-214e-87ed-788a-2eca46c1001a@watters.ws>

Show all headers | View raw


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

Thanks.  I've tried building the srpm but it appears to require texinfo
which isn't available on Redhat 8.

[root@dev27-rhel8 rpmbuild]# dnf install perl-generators texinfo
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You
can use subscription-manager to register.
Last metadata expiration check: 0:03:40 ago on Fri 21 Jun 2019 09:43:25
AM EDT.
No match for argument: texinfo
Error: Unable to find a match

I tried commenting out the BuildRequires: texinfo line however the build
still fails due to a missing "makeinfo" command.

The texinfo srpm also requires several dependencies which aren't
available in the RHEL 8 repos provided on the DVD.  Is there a way that
you could make koji build the cvs package along with the dependencies
needed?


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 09:54 -0400

csiph-web