#60285 closed defect (fixed)
gnutls fails to build because of -no_weak_imports
Reported by: | mouse07410 (Mouse) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Schamschula (Marius Schamschula) | |
Port: | gnutls |
Description
MacOS Catalina 10.15.4, Xcode-11.4.
GNUTLS upgrade fails:
. . . . . :info:build ld: weak import of symbol '___darwin_check_fd_set_overflow' not supported because of option: -no_weak_imports for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[4]: *** [ocsptool] Error 1 . . . . .
Complete build log attached.
Attachments (1)
Change History (11)
Changed 5 years ago by mouse07410 (Mouse)
Attachment: | gnutls-failed.log.txt added |
---|
comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)
comment:2 Changed 5 years ago by Schamschula (Marius Schamschula)
As mentioned in the above discussion, dialing the test for -no_weak_imports allowed gnutls 3.6.13 fully build on Catalina.
I will update the portfile with this temporary workaround.
comment:3 Changed 5 years ago by Schamschula (Marius Schamschula)
Owner: | set to Schamschula |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 5 years ago by mouse07410 (Mouse)
When will the update show up? The build is still broken.
comment:5 Changed 5 years ago by Schamschula (Marius Schamschula)
It typically will take over 90 minutes for it to show.
You may have to run sudo port clean gnutls
first. Otherwise, it will try to continue building the broken install.
comment:6 Changed 5 years ago by mouse07410 (Mouse)
Re. sudo port clean gnutls
- absolutely. I always do that after a failed build. Didn't help (yet).
"Over 90 minutes" - that probably explains it. I'll try again in a couple of hours, and report here if the problem persists.
Thanks!
comment:7 Changed 5 years ago by mouse07410 (Mouse)
Thanks - all works now.
Plus, a weird question: why cannot one install gnutls
without first deactivating autogen
?''
comment:8 Changed 5 years ago by Schamschula (Marius Schamschula)
see: https://trac.macports.org/ticket/57893 and https://github.com/macports/macports-ports/pull/3379 for autogen issue.
comment:9 Changed 4 years ago by mf2k (Frank Schima)
Hmmm. Now I see this:
$ port -v sync ---> Updating the ports tree Synchronizing local ports tree from file:///opt/mports/macports-ports Current branch master is up to date. Creating port index in /opt/mports/macports-ports Failed to parse file devel/gnutls/Portfile: expected boolean value but got "${xcodeversion} == 11.4 || ${xcodeversion} == 11.4"
comment:10 Changed 4 years ago by Schamschula (Marius Schamschula)
My bad. I wish port lint -nitpick
would have pointed out the error.
main.log