[MacPorts] #39077: libvirt 1.0.3: missing libgcrypt dependency
#39077: libvirt 1.0.3: missing libgcrypt dependency ----------------------+-------------------------------- Reporter: shanto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ----------------------+-------------------------------- Build fails at line libvirt.c:58 (include <gcrypt.h>): http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/libvirt.c#l57 Manually installing libgcrypt before installing libvirt fixes the build error. port:libgcrypt should therefore be added as a dependency. -- Ticket URL: <https://trac.macports.org/ticket/39077> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+---------------------- Reporter: shanto@… | Owner: jclift@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: libvirt | -----------------------+---------------------- Changes (by larryv@…): * owner: macports-tickets@… => jclift@… * port: => libvirt Comment: Thanks. In the future, please Cc relevant port maintainers. -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+---------------------- Reporter: shanto@… | Owner: jclift@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: libvirt | -----------------------+---------------------- Comment (by egall@…): jclift is no longer the maintainer as of r106018 -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+-------------------------------- Reporter: shanto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: libvirt | -----------------------+-------------------------------- Changes (by larryv@…): * owner: jclift@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: libvirt | -----------------------+------------------------------- Changes (by macsforever2000@…): * status: new => assigned * owner: macports-tickets@… => macsforever2000@… -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Changes (by macsforever2000@…): * status: assigned => closed * resolution: => fixed Comment: r106088 -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…): Apparently it will opportunistically link against a bunch of other libraries, too... attaching port-depcheck.sh output next. -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…): wait actually some of those are because I installed it with variants selected... hold on, let me try again... -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…): OK I think I did it right this time... only knocked of the avahi linkage though; I thought it would also remove the cyrus-sasl2 linkage, too, since I did'''n't''' select the +sasl variant this time, but apparently it didn't... -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by macsforever2000@…): Attaching a portfile patch would be helpful. I don't feel like trying to figure out what the output of your script means. -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…): Replying to [comment:10 macsforever2000@…]:
Attaching a portfile patch would be helpful. I don't feel like trying to figure out what the output of your script means.
Right, I suppose that's the next step for me to take with improving my script: making it diff against the port's portfile instead of just against a list of its library dependencies. That might be somewhat difficult though, seeing as ports don't always specify their dependencies in the same place in their portfiles, and seeing as also it might be difficult to decide whether a regular, path-style, or lib-style dependency is needed to be added for each additional port... Anyway, opened an issue in my GitHub repo for this script to remind me to do this: https://github.com/cooljeanius/macportsscripts/issues/1 -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by larryv@…): Replying to [comment:11 egall@…]:
Right, I suppose that's the next step for me to take with improving my script: making it diff against the port's portfile instead of just against a list of its library dependencies. That might be somewhat difficult though, seeing as ports don't always specify their dependencies in the same place in their portfiles, and seeing as also it might be difficult to decide whether a regular, path-style, or lib-style dependency is needed to be added for each additional port...
What would be way more relevant and useful would be simple `otool` + `port provides` output. None of us particularly wants to figure out how your script works or what its output means. Just show us the linkage, and we can figure out where to go from there. -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…):
What would be way more relevant and useful would be simple `otool` + `port provides` output.
That's basically what it does though. I suppose though that maybe I could have it save the intermediate information where it calculates that, too... -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#39077: libvirt 1.0.3: missing libgcrypt dependency -----------------------+------------------------------- Reporter: shanto@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: libvirt | -----------------------+------------------------------- Comment (by egall@…): Replying to [comment:13 egall@…]:
What would be way more relevant and useful would be simple `otool` + `port provides` output.
That's basically what it does though. I suppose though that maybe I could have it save the intermediate information where it calculates that, too...
OK, now that it saves intermediate information as of r106132, here it is: {{{ Finding MacPorts libraries that libvirt links against... /opt/local/lib/libcares.2.dylib is provided by: c-ares /opt/local/lib/libcrypto.1.0.0.dylib is provided by: openssl /opt/local/lib/libcurl.4.dylib is provided by: curl /opt/local/lib/libdbus-1.3.dylib is provided by: dbus /opt/local/lib/libgcrypt.11.dylib is provided by: libgcrypt /opt/local/lib/libgmp.10.dylib is provided by: gmp /opt/local/lib/libgnutls.28.dylib is provided by: gnutls /opt/local/lib/libgpg-error.0.dylib is provided by: libgpg-error /opt/local/lib/libhogweed.2.dylib is provided by: nettle /opt/local/lib/libiconv.2.dylib is provided by: libiconv /opt/local/lib/libidn.11.dylib is provided by: libidn /opt/local/lib/libintl.8.dylib is provided by: gettext /opt/local/lib/liblber-2.4.2.dylib is provided by: openldap /opt/local/lib/libldap-2.4.2.dylib is provided by: openldap /opt/local/lib/liblzma.5.dylib is provided by: xz /opt/local/lib/libnettle.4.dylib is provided by: nettle /opt/local/lib/libreadline.6.2.dylib is provided by: readline /opt/local/lib/libsasl2.2.dylib is provided by: cyrus-sasl2 /opt/local/lib/libssh2.1.dylib is provided by: libssh2 /opt/local/lib/libssl.1.0.0.dylib is provided by: openssl /opt/local/lib/libvirt-lxc.0.dylib is provided by: libvirt /opt/local/lib/libvirt-qemu.0.dylib is provided by: libvirt /opt/local/lib/libvirt.0.dylib is provided by: libvirt /opt/local/lib/libxml2.2.dylib is provided by: libxml2 /opt/local/lib/libyajl.2.dylib is provided by: yajl /opt/local/lib/libz.1.dylib is provided by: zlib }}} (this is with no variants) -- Ticket URL: <https://trac.macports.org/ticket/39077#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts