[MacPorts] #31194: gtk2 2.24.6 fails to update because it requires outdated version glew
#31194: gtk2 2.24.6 fails to update because it requires outdated version glew ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: glew | Port: gtk2 ------------------------------------------+--------------------------------- Trying update the latest gtk2 build on Lion fails. The relevant portion of the log file indicates that it's looking for glew 1.6.0, but the latest glew in MacPorts is 1.7.0 {{{ :info:build ../../gtk/gtk-query-immodules-2.0 im-am-et.la im-cedilla.la im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-multipress.la im- thai.la im-ti-er.la im-ti-et.la im-viqr.la im-xim.la > gtk.immodules :info:build dyld: Library not loaded: /Volumes/Files/macports/lib/libGLEW.1.6.0.dylib :info:build Referenced from: /Volumes/Files/macports/lib/libcairo.2.dylib :info:build Reason: no suitable image found. Did find: :info:build /Users/mlgill/lib/libGLEW.1.6.0.dylib: stat() failed with errno=13 :info:build /bin/sh: line 1: 36011 Trace/BPT trap: 5 ../../gtk/gtk- query-immodules-2.0 im-am-et.la im-cedilla.la im-cyrillic-translit.la im- inuktitut.la im-ipa.la im-multipress.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la im-xim.la > gtk.immodules :info:build make[3]: *** [gtk.immodules] Error 133 :info:build make[3]: Leaving directory `/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6/modules/input' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6/modules' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6' :info:build shell command " cd "/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for gtk2): org.macports.install org.macports.build org.macports.destroot :notice:build Log for gtk2 is at: /Volumes/Files/macports/var/macports/logs/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log }}} Activating glew v1.6.0 and subsequently forcing gtk2 to upgrade without updating glew works. I assume either gtk2 needs to be patched so it will accept the new version of glew or perhaps a library symlink isn't being properly created in the new glew install. I suspect the former and have thus filed it as a gtk2 bug. I started the test gtk2 install with glew v.1.6.0 before remembering to grab the logfile, so I no longer have it to attach. Hopefully the information I've provided above is enough. -- Ticket URL: <https://trac.macports.org/ticket/31194> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31194: cairo is linked with old version of glew ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: glew | Port: cairo ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * port: gtk2 => cairo Comment: Actually it looks like a cairo issue: /Volumes/Files/macports/lib/libcairo.2.dylib references /Volumes/Files/macports/lib/libGLEW.1.6.0.dylib which no longer exists because glew was updated to 1.7.0. I am curious what /Users/mlgill/lib/libGLEW.1.6.0.dylib is and why MacPorts was looking at it at all, since the MacPorts prefix appears to be /Volumes/Files/macports and that file seems to be oustide it. I am curious why your cairo is linking with glew at all; mine isn't, and the cairo portfile has no mention of glew. When I build cairo, the log includes the line "GLEW functions: no (not required by any backend)". Which variant(s) of cairo are installed? -- Ticket URL: <https://trac.macports.org/ticket/31194#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31194: cairo is linked with old version of glew ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: glew | Port: cairo ------------------------------------------+--------------------------------- Comment(by michelle.lynn.gill@…): Replying to [comment:1 ryandesign@…]:
Actually it looks like a cairo issue: /Volumes/Files/macports/lib/libcairo.2.dylib references /Volumes/Files/macports/lib/libGLEW.1.6.0.dylib which no longer exists because glew was updated to 1.7.0.
Good catch. I missed that line when I was reading the log.
I am curious what /Users/mlgill/lib/libGLEW.1.6.0.dylib is and why MacPorts was looking at it at all, since the MacPorts prefix appears to be /Volumes/Files/macports and that file seems to be oustide it.
I noticed this and meant to reference this as well. The directory /Users/mlgill/lib doesn't exist, let alone /Users/mlgill/lib/libGLEW.1.6.0.dylib. Beyond the fact that /Users/mlgill is my home directory, I have no idea why it as referenced.
I am curious why your cairo is linking with glew at all; mine isn't, and the cairo portfile has no mention of glew. When I build cairo, the log includes the line "GLEW functions: no (not required by any backend)". Which variant(s) of cairo are installed?
I had trouble getting one of the quartz variants of the various related gtk/cairo/pango libraries to install after upgrading to Lion, so I'm using the x11 version. My cairo is: cairo @1.10.2_4+opengl+x11 If I can provide further information, let me know. -- Ticket URL: <https://trac.macports.org/ticket/31194#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31194: cairo is linked with old version of glew -----------------------------------+-------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: cairo | -----------------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: glew => Comment: Is this still a problem? -- Ticket URL: <https://trac.macports.org/ticket/31194#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31194: cairo is linked with old version of glew -----------------------------------+-------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: cairo | -----------------------------------+-------------------------------- Comment (by michelle.lynn.gill@…): It doesn't seem to be an issue anymore. I am running glew 1.9.0 with cairo 1.12.8_2. However, I no longer am using gtk, which is where I originally encountered this issue. -- Ticket URL: <https://trac.macports.org/ticket/31194#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31194: cairo is linked with old version of glew -----------------------------------+-------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: worksforme | Keywords: Port: cairo | -----------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/31194#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts