Opened 12 years ago

Closed 5 years ago

#34877 closed defect (fixed)

avahi: opportunistic linking?

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc: pixilla (Bradley Giesbrecht), ryandesign (Ryan Carsten Schmidt), jk@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), chrstphrchvz (Christopher Chavez)
Port: avahi

Description

Seems either avahi has missing dependencies or it is opportunistically linking.

$ sudo port -d rev-upgrade
DEBUG: skipping ppc in /opt/local/share/cmake-2.8/Modules/CPack.OSXScriptLauncher.in since this system can't run it anyway
--->  Scanning binaries for linking errors
Could not open /opt/local/lib/libXdmcp.6.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXau.6.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libxcb.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libX11.6.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXrender.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libxcb-render.0.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libX11-xcb.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libxcb-shm.0.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXfixes.3.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXdamage.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXcomposite.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXcursor.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXext.6.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXrandr.2.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXi.6.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libXinerama.1.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libgdk-x11-2.0.0.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken

Could not open /opt/local/lib/libgtk-x11-2.0.0.dylib: Error opening or reading file (referenced from /opt/local/bin/avahi-discover-standalone)
DEBUG: Marking /opt/local/bin/avahi-discover-standalone as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/bin/bssh as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken
DEBUG: Marking /opt/local/lib/libavahi-ui.0.dylib as broken

--->  Found 54 broken file(s), matching files to ports
--->  Found 1 broken port(s):
     avahi @0.6.31 +gtk+python27
         /opt/local/bin/avahi-discover-standalone
         /opt/local/bin/bssh
         /opt/local/lib/libavahi-ui.0.dylib

Change History (8)

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Was xorg-libXdmcp forcefully deactivated?

$ port provides /opt/local/lib/libXdmcp.6.dylib
/opt/local/lib/libXdmcp.6.dylib is provided by: xorg-libXdmcp
$ port rdeps avahi +gtk2 | grep xorg-libXdmcp
              xorg-libXdmcp

comment:2 Changed 12 years ago by nerdling (Jeremy Lavergne)

No, nothing was forcefully removed. I even re-ran sudo port install avahi afterwards and it exited without any install attempts, indicating there were no missing dependencies.

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… added

I suspect it's due to the quartz/x11 debacle downstream: the buildbot is producing an archive build against one spec and since there aren't variants to indicate these are different, MacPorts blindly accepts these. If I'm using +quartz -x11, this would cause the archive of avahi to be broken upon installation since many libraries are not found that it built against on the buildbot.

Similarly, if I change which gtk2/cairo/pango are installed, then avahi would break.

Adding variants will help for now, but we really need to split apart this whole quartz/x11 thing into separate (sub)ports.

comment:4 Changed 12 years ago by jk@…

Cc: jk@… added

Cc Me!

comment:5 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:6 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

The portfile for avahi has since had a few changes and has been updated to 0.7, is this issue still present?

comment:7 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:8 Changed 5 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Let's assume the update fixed this.

Note: See TracTickets for help on using tickets.