Summary: | security/gnutls 3.6.7 fails to compile. autoopts/options.h mismatch after autogen update | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | rkoberman | ||||
Component: | Individual Port(s) | Assignee: | Tijl Coosemans <tijl> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | w.schwarzenfeld | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(tijl) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
rkoberman
2019-04-20 16:51:45 UTC
Try: remove localbase from USES add to the Makefile LDFLAGS= -L/usr/local/lib -lgmp Created attachment 203836 [details]
patch
Please try the attached patch.
Clearly autogen issue. I backed of to the prior version and gnutls updated just fine. I can't day whether the issue is in autogen or gnutls, but it is clearly in the interaction between the two. libgmp seems uninvolved. (In reply to Tijl Coosemans from comment #2) I did make this change and it eliminated the warnings about '--with-zlib", it did not affect the build failure in any way. I am now running gnutls-3.6.7 built with the old autogen in place and things seem to be working correctly. (In reply to rkoberman from comment #3) It was just a try. I removed localbase to prevent that it picks up the wrong options.h.Libgmp is surely not involved. But if I do so, it does not find libgmp. So I need the LDFLAGS. But Tijl is the maintainer and his solution is surely better. (In reply to rkoberman from comment #4) Did you apply the patch or make changes manually and miss the AUTOGEN=false bit perhaps? (In reply to Tijl Coosemans from comment #6) Face palm! I looked down the left side and saw the clib changes and missed the green change on the right, Sorry! That obviously does the trick.Both you and Warren provided what should have been good fixes. Not sure what I did that kept Watten's from working. A commit references this bug: Author: tijl Date: Mon Apr 22 08:30:47 UTC 2019 New revision: 499615 URL: https://svnweb.freebsd.org/changeset/ports/499615 Log: - Prevent detection of autogen. It causes some files to be regenerated and then they require a newer header than is provided with gnutls. - Remove ZLIB option. It's no longer available. PR: 237419 Reported by: Kevin Oberman <rkoberman@gmail.com> Changes: head/security/gnutls/Makefile A commit references this bug: Author: tijl Date: Mon Apr 22 08:48:38 UTC 2019 New revision: 499617 URL: https://svnweb.freebsd.org/changeset/ports/499617 Log: MFH: r499615 - Prevent detection of autogen. It causes some files to be regenerated and then they require a newer header than is provided with gnutls. - Remove ZLIB option. It's no longer available. PR: 237419 Reported by: Kevin Oberman <rkoberman@gmail.com> Approved by: ports-secteam (blanket) Changes: _U branches/2019Q2/ branches/2019Q2/security/gnutls/Makefile |