Opened 12 months ago
Closed 12 months ago
#68813 closed defect (invalid)
gnutls @3.7.10: Libhogweed (nettle's companion library) 3.6 was not found
Reported by: | enfascination (Seth Frey) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gnutls |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Having stripped down to bare new port install on a new Sonoma machine, I'm encountering repeated problems with gnutls becoming broken and failing to repair under port rev-upgrade
.
I've attached the two logs referred to in the high level errors messages supplied below:
Error: Failed to configure gnutls: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.7.10/config.log Error: Failed to configure gnutls: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gnutls/gnutls/main.log for details. Error: rev-upgrade failed: Error rebuilding gnutls
Attachments (2)
Change History (11)
Changed 12 months ago by enfascination (Seth Frey)
Changed 12 months ago by enfascination (Seth Frey)
Attachment: | config.log added |
---|
comment:1 Changed 12 months ago by jmroot (Joshua Root)
Cc: | mps@… removed |
---|---|
Owner: | changed from mps@… to Schamschula |
comment:2 Changed 12 months ago by Schamschula (Marius Schamschula)
comment:3 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Summary: | gnutls-3.7.10 failing to build on MacOS Sonoma → gnutls @3.7.10: Libhogweed (nettle's companion library) 3.6 was not found |
comment:4 Changed 12 months ago by Schamschula (Marius Schamschula)
I get the following on both my Ventura and Sonoma machines:
marius@Mira ~ % port contents nettle|grep lib/lib /opt/local/lib/libhogweed.6.8.dylib /opt/local/lib/libhogweed.6.dylib /opt/local/lib/libhogweed.a /opt/local/lib/libhogweed.dylib /opt/local/lib/libnettle.8.8.dylib /opt/local/lib/libnettle.8.dylib /opt/local/lib/libnettle.a /opt/local/lib/libnettle.dylib
comment:5 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
config.log says:
configure:12016: checking for NETTLE configure:12023: $PKG_CONFIG --exists --print-errors "nettle >= $NETTLE_MINIMUM" configure:12026: $? = 0 configure:12040: $PKG_CONFIG --exists --print-errors "nettle >= $NETTLE_MINIMUM" configure:12043: $? = 0 configure:12091: result: yes configure:12097: checking for HOGWEED configure:12104: $PKG_CONFIG --exists --print-errors "hogweed >= $NETTLE_MINIMUM " Package hogweed was not found in the pkg-config search path. Perhaps you should add the directory containing `hogweed.pc' to the PKG_CONFIG_PATH environment variable No package 'hogweed' found configure:12107: $? = 1 configure:12121: $PKG_CONFIG --exists --print-errors "hogweed >= $NETTLE_MINIMUM " Package hogweed was not found in the pkg-config search path. Perhaps you should add the directory containing `hogweed.pc' to the PKG_CONFIG_PATH environment variable No package 'hogweed' found configure:12124: $? = 1 configure:12138: result: no No package 'hogweed' found configure:12155: error: *** *** Libhogweed (nettle's companion library) 3.6 was not found. Note that you must compile nettle with gmp support.
so let's check some basics. What's the output of these commands:
pkg-config --modversion nettle pkg-config --modversion hogweed port -qv installed nettle
I see 3.9.1 on my system, where I cannot reproduce the problem.
comment:6 Changed 12 months ago by enfascination (Seth Frey)
Thank you @ryandesign. Here is the output of those commands
>pkg-config --modversion nettle 3.9.1 >pkg-config --modversion hogweed Package hogweed was not found in the pkg-config search path. Perhaps you should add the directory containing `hogweed.pc' to the PKG_CONFIG_PATH environment variable No package 'hogweed' found >port -qv installed nettle nettle @3.9.1_0 (active) requested_variants='' platform='darwin 23' archs='x86_64' date='2023-11-28T14:05:48-0800'
And here is the output of a few others:
>find /opt | grep libnettle /opt/local/lib/libnettle.dylib /opt/local/lib/libnettle.a /opt/local/lib/libnettle.8.dylib /opt/local/lib/libnettle.8.8.dylib >find /opt | grep libhogweed >find /opt | grep hogweed >port contents nettle|grep lib/lib /opt/local/lib/libnettle.8.8.dylib /opt/local/lib/libnettle.8.dylib /opt/local/lib/libnettle.a /opt/local/lib/libnettle.dylib
At a glance the big difference is that hogweed is nowhere to be found. Could that explain the problem? Are you seeing any suggestions of a cause of or solution to this problem?
comment:7 Changed 12 months ago by Schamschula (Marius Schamschula)
I suspect your libhogweed
files somehow have been deleted.
Try
sudo port deactivate nettle
followed by
sudo port activate nettle
You may need to choose the most current version.This should restore the full nettle
package.
comment:8 Changed 12 months ago by enfascination (Seth Frey)
Excellent. That did not do the trick, but
sudo port upgrade -n --force nettle
did. hogweed
is back and gnutls
is repaired.
Unfortunately I have no idea how that library could have been deleted. Thank you for the guidance on repairs.
comment:9 Changed 12 months ago by Schamschula (Marius Schamschula)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
I'm a bit puzzled: I have
gnutls @3.7.10_0
installed on my Sonoma machine.I just re-ran the configure script to see if anything had changed: I see no errors.