[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation failures on RHEL 8

From: Michael Watters
Subject: Re: Compilation failures on RHEL 8
Date: Fri, 21 Jun 2019 09:54:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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

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

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]