[MacPorts] #48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install -----------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -----------------------+-------------------------------- Since installing ngrep, I get this every time I run `port install ...`: {{{ ---> Scanning binaries for linking errors Could not open /opt/local/lib/libpcap.A.dylib: Error opening or reading file (referenced from /opt/local/bin/ngrep) ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order ngrep @1.45 }}} Looking at the file, it exists and is readable. {{{ lrwxr-xr-x 1 root admin 19 Apr 23 14:28 /opt/local/lib/libpcap.A.dylib -> libpcap.1.7.3.dylib }}} Also, `file` shows appropriate output: {{{ /opt/local/lib/libpcap.1.7.3.dylib: Mach-O 64-bit dynamically linked shared library x86_64 }}} -- Ticket URL: <https://trac.macports.org/ticket/48123> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Changes (by larryv@…): * cc: cal@… (added) -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: What happens if you run `ngrep`? For example, try running this: {{{ ngrep -V }}} It works for me, and `sudo port rev-upgrade` doesn't show ngrep as broken on my system. -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by audvare@…): {{{ $ ngrep -V ngrep: V1.45, $Revision: 1.93 $ $ port rev-upgrade ---> Scanning binaries for linking errors ---> No broken files found. }}} So I am unsure how to reproduce this but I have had this happen a few times when I run `port upgrade outdated` or just install a new package. -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by ryandesign@…): And you're sure it mentioned ngrep and libpcap each time? Or was it each time something different that rev-upgrade reported as broken? -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by audvare@…): Very sure it has been ngrep every time. I have yet to reproduce this issue again (of course once I file a bug). -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by ryandesign@…): It's been a couple weeks... Have you seen this problem again? Have you checked your disk lately with Disk Utility? -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by audvare@…): Not sure if I have seen this bug in the last 3 weeks. I have usually updated unattended once per week. Close, watch and re-open if I see this issue again? -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install -------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: ngrep | -------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme * port: => ngrep -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+-------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ngrep | ------------------------+-------------------------------- Changes (by hasso.tepper@…): * status: closed => reopened * resolution: worksforme => Comment: This is a real problem. The point is that ngrep registers libpcap as build dependency, but it's really a runtime one. So, if ngrep is the only port depending from libpcap from ports, 'port uninstall leaves" removes libpcap and leaves ngrep in a broken state. I assume this change is needed: {{{ - depends_build port:libpcap + depends_lib port:libpcap }}} -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install ------------------------+--------------------- Reporter: audvare@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ngrep | ------------------------+--------------------- Changes (by mf2k@…): * status: reopened => new * owner: macports-tickets@… => grace@… -- Ticket URL: <https://trac.macports.org/ticket/48123#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts