[MacPorts] #43913: gtkimageview missing library dependence - broken binary
#43913: gtkimageview missing library dependence - broken binary --------------------------+-------------------------------- Reporter: p.bro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: gtkimageview | Port: --------------------------+-------------------------------- Installing the binary package of gtkimageview results in a broken library, which cannot be fixed by reinstalling. gtkimageview provides the library /opt/local/lib/libgtkimageview.0.0.0.dylib, which depends on the libraries /opt/local/lib/libg[dt]k-x11-2.0.0.dylib, but it does not require the library to be present. The missing libraries are found in the rev-update phase: Could not open /opt/local/lib/libgdk-x11-2.0.0.dylib: Error opening or reading file (referenced from /opt/local/lib/libgtkimageview.0.0.0.dylib) DEBUG: Marking /opt/local/lib/libgtkimageview.0.0.0.dylib as broken DEBUG: Marking /opt/local/lib/libgtkimageview.0.0.0.dylib as broken Could not open /opt/local/lib/libgtk-x11-2.0.0.dylib: Error opening or reading file (referenced from /opt/local/lib/libgtkimageview.0.0.0.dylib) A rebuild of gtkimageview fails (probably for the same reasons, but I did not check that). libg[dt]k-x11 are provided by the x11 variant of gtk2, but not of the quartz variant, which is installed on my system. Both gtk2 and gtkimageview are rdeps of the gimp package, which I requested in the quartz variant. gtk2+quartz was installed to fulfill the requirements of inkscape+quartz. If need be, I can provide a debug log file of the failed transaction. -- Ticket URL: <https://trac.macports.org/ticket/43913> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ----------------------+-------------------------------- Reporter: p.bro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: gtkimageview Port: | ----------------------+-------------------------------- Comment (by p.bro@…): A followup: rebuilding gtkimageview does not fail due to the lack of libg[dt]k, but due to a lack of gnome-common, which is a build requirement. I'll submit a separate bug/patch for this. Also, I may have put the port name into the keyword field. If somebody could correct this mistake, I'd be grateful. Sorry for that. -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Changes (by devans@…): * keywords: gtkimageview => * owner: macports-tickets@… => devans@… * version: 2.3.0 => * status: new => assigned * port: => gtkimageview -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Comment (by devans@…): Yes, please attach your build log. -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Comment (by p.bro@…): Side remark: Ticket #43919 contains a bug report for the rebuild issue. -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Comment (by devans@…): I can't reproduce the initially reported problem. The port depends on gtk2 and a clean install of the binary results in all dependencies being loaded and rev-upgrade reports no broken files. What versions of gtk2 do you have installed? I'm guessing gtk2 +quartz. In my case $ port installed gtk2 The following ports are currently installed: gtk2 @2.24.23_0+x11 (active) -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Comment (by p.bro@…): Indeed. {{{ $ port installed gtk2 The following ports are currently installed: gtk2 @2.24.23_0+quartz (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43913: gtkimageview missing library dependence - broken binary ---------------------------+---------------------- Reporter: p.bro@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtkimageview | ---------------------------+---------------------- Comment (by devans@…): Right. Ticket #43919 has been fixed so now you should be able to build from source with gtk2 and its dependents cairo, pango, gdk-pixbuf2 installed with +quartz -x11 (actually only -x11 for gdk-pixbuf2). {{{ sudo port install cairo +quartz -x11 sudo port install pango +quartz -x11 sudo port install gdk-pixbuf2 -x11 sudo port -ns upgrade --force gtkimageview }}} I'll go ahead and fix the port so this happens automatically in the normal course of events. -- Ticket URL: <https://trac.macports.org/ticket/43913#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts