Bug 13497 - 4.8.3 no longer builds on CentOS 7 due to gnutls >= 3.4.7 requirement
Summary: 4.8.3 no longer builds on CentOS 7 due to gnutls >= 3.4.7 requirement
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.3
Hardware: x64 Linux
: P5 regression (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 14:11 UTC by Arcadiy Ivanov
Modified: 2018-06-30 04:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcadiy Ivanov 2018-06-29 14:11:06 UTC
4.8.3:

Checking for gnutls >= 3.4.7
/usr/bin/pkg-config "gnutls >= 3.4.7" --cflags --libs gnutls
Requested 'gnutls >= 3.4.7' but version of GnuTLS is 3.3.26
You may find new versions of GnuTLS at http://www.gnutls.org/
not found

>> Build fails

4.8.1:

Checking for gnutls >= 3.4.7
/usr/bin/pkg-config "gnutls >= 3.4.7" --cflags --libs gnutls
Requested 'gnutls >= 3.4.7' but version of GnuTLS is 3.3.26
You may find new versions of GnuTLS at http://www.gnutls.org/
not found

Checking for gnutls >= 3.0.0s
/usr/bin/pkg-config "gnutls >= 3.0.0" --cflags --libs gnutls
-I/usr/include/p11-kit-1  -lgnutls  
yes

>> Build proceeds
Comment 1 Andrew Bartlett 2018-06-29 20:52:53 UTC
I can't see any relevant change. 

Can you confirm the versions and please re-test?
Comment 2 Andrew Bartlett 2018-06-29 20:58:01 UTC
(In reply to Andrew Bartlett from comment #1)
Specifically I think the change was to specify --with-system-mitkrb5, not the upgrade.
Comment 3 Arcadiy Ivanov 2018-06-29 21:01:28 UTC
You're quite right. Any way to build with `--with-system-mitkrb5` on RHEL7-based systems then?
Comment 4 Andrew Bartlett 2018-06-30 04:11:43 UTC
No, and I wouldn't suggest it.  My advise it to just use the default internal Heimdal unless you have very specific reason to use the system one (which isn't an option in your case).