Opened 13 years ago
Closed 4 years ago
#31703 closed defect (fixed)
gimp2 +quartz build fails at plugin file-uri looking for gtk2 x11
Reported by: | fleason (Fred Leason) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | hosseini@… | |
Port: | gimp2 |
Description
Currently gimp2 @2.6.11_7+help_browser+python27 (active). Wanted to change to gimp2 @2.6.11, Revision 8 +python27 +help_browser +quartz. Installed
$ port installed gtk2 cairo pango The following ports are currently installed: cairo @1.10.2_4+no_x11+quartz (active) cairo @1.10.2_4+quartz+x11 cairo @1.10.2_4+x11 gtk2 @2.24.6_0+no_x11+quartz (active) gtk2 @2.24.6_0+x11 pango @1.28.4_1+no_x11+quartz (active) pango @1.28.4_1+x11
Attempt port install gimp2 +help_browser +python27 +quartz and get
08:10 AM ~ $ sudo port -f install gimp2 +help_browser +python27 +quartz ---> Computing dependencies for gimp2 ---> Fetching archive for gimp2 ---> Attempting to fetch gimp2-2.6.11_8+help_browser+python27+quartz.darwin_11.x86_64.tbz2 from http://packages.macports.org/gimp2 ---> Fetching gimp2 ---> Verifying checksum(s) for gimp2 ---> Extracting gimp2 ---> Applying patches to gimp2 ---> Configuring gimp2 ---> Building gimp2 Error: Target org.macports.build returned: shell command failed (see log for details) Log for gimp2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
main.log attached. Offending messages:
:info:build /bin/sh ../../libtool --tag=CC --mode=link /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -L/opt/local/lib -framework Carbon -arch x86_64 -o file-uri uri.o uri-backend-gnomevfs.o ../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la ../../libgimpconfig/libgimpconfig-2.0.la ../../libgimpmath/libgimpmath-2.0.la ../../libgimp/libgimp-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -framework Cocoa -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 -lpangocairo-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lcairo -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lgnome-keyring -lglib-2.0 -lintl -framework Cocoa -L/opt/local/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 -lpangocairo-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lcairo -lpng14 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lintl :info:build libtool: link: cannot find the library `/opt/local/lib/libgtk-x11-2.0.la' or unhandled argument `/opt/local/lib/libgtk-x11-2.0.la' :info:build make[3]: *** [file-uri] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.6.11/plug-ins/file-uri' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.6.11/plug-ins' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.6.11' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.6.11' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.6.11" && /usr/bin/make -j8 -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 gimp2): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for gimp2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/main.log
It appears to be a problem similar to #31303, #31558
My System:
Mac OS X 10.7.2 (lion)
Processor 2.8 GHz Intel Core i7 (fall 2010)
Memory 16GB 1067MHz DDR3
Xcode 4.2
Attachments (1)
Change History (10)
Changed 13 years ago by fleason (Fred Leason)
comment:1 Changed 13 years ago by fleason (Fred Leason)
I did an port activate gtk2 @2.24.6_0+x11 so my gimp would run again.
I ran port upgrade outdated and it tried to upgrade gimp2 with out +quartz
11:53 AM ~ $ sudo port clean gimp2 Password: ---> Cleaning gimp2 11:54 AM ~ $ sudo port upgrade outdated ---> Computing dependencies for gimp2 ---> Fetching archive for gimp2 ---> Attempting to fetch gimp2-2.6.11_8+help_browser+python27.darwin_11.x86_64.tbz2 from http://packages.macports.org/gimp2 ---> Fetching gimp2 ---> Verifying checksum(s) for gimp2 ---> Extracting gimp2 ---> Applying patches to gimp2 ---> Configuring gimp2 ---> Building gimp2 Error: Target org.macports.build returned: shell command failed (see log for details) Log for gimp2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Similar problem except now plug-ins help-browser is looking for /opt/local/lib/libgtk-quartz-2.0.la which of course isn't there because I re-activated the gtk with x11
11:58 AM ~ $ ls -la /opt/local/lib/libgtk* -rwxr-xr-x 1 root admin 4837904 Sep 30 19:22 /opt/local/lib/libgtk-x11-2.0.0.dylib -rw-r--r-- 1 root admin 7628424 Sep 30 19:22 /opt/local/lib/libgtk-x11-2.0.a lrwxr-xr-x 1 root admin 22 Sep 30 19:22 /opt/local/lib/libgtk-x11-2.0.dylib -> libgtk-x11-2.0.0.dylib -rwxr-xr-x 1 root admin 2075 Sep 30 19:22 /opt/local/lib/libgtk-x11-2.0.la -rwxr-xr-x 1 root admin 80504 Oct 16 10:22 /opt/local/lib/libgtkimageview.0.0.0.dylib lrwxr-xr-x 1 root admin 27 Oct 16 10:22 /opt/local/lib/libgtkimageview.0.dylib -> libgtkimageview.0.0.0.dylib -rw-r--r-- 1 root admin 107472 Oct 16 10:22 /opt/local/lib/libgtkimageview.a lrwxr-xr-x 1 root admin 27 Oct 16 10:22 /opt/local/lib/libgtkimageview.dylib -> libgtkimageview.0.0.0.dylib -rwxr-xr-x 1 root admin 1994 Oct 16 10:22 /opt/local/lib/libgtkimageview.la -rwxr-xr-x 1 root admin 4039032 Oct 1 04:36 /opt/local/lib/libgtkmm-2.4.1.dylib lrwxr-xr-x 1 root admin 20 Oct 1 04:36 /opt/local/lib/libgtkmm-2.4.dylib -> libgtkmm-2.4.1.dylib -rwxr-xr-x 1 root admin 2297 Oct 1 04:36 /opt/local/lib/libgtkmm-2.4.la -rwxr-xr-x 1 root admin 30212 Oct 1 04:37 /opt/local/lib/libgtkspell.0.dylib -rw-r--r-- 1 root admin 22144 Oct 1 04:37 /opt/local/lib/libgtkspell.a lrwxr-xr-x 1 root admin 19 Oct 1 04:37 /opt/local/lib/libgtkspell.dylib -> libgtkspell.0.dylib -rwxr-xr-x 1 root admin 2140 Oct 1 04:37 /opt/local/lib/libgtkspell.la
Seems like same problem or this ticket is not specifically a +quartx issue.
comment:2 Changed 13 years ago by fleason (Fred Leason)
Seems like same problem or this ticket is not specifically a +quartz issue.
comment:3 Changed 13 years ago by mf2k (Frank Schima)
Keywords: | gtk2 +quartz removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | +quartz removed |
comment:4 Changed 13 years ago by fleason (Fred Leason)
I opened the deactivated gtk2 software file (gtk2-2.24.6_0+no_x11+quartz.darwin_11.x86_64.tbz2) and
moved opt/local/lib/libg[td]k-quartz* to /opt/local/lib
This enabled the port upgrade outdated to work on gimp2 (because the libgtk-quartz-2.0.la was there.)
I imagine something could blow up eventually since both libraries are called, but gimp started fine.
comment:5 Changed 12 years ago by machari000@…
Is there a solution to building gimp +quartz?
It looks like gimp +quartz requires both gtk2 +x11 and gtk2 +quartz, but gtk2 cannot have both +x11+quartz since they conflict each other.
Just copying the lib files won't compile due to missing definitions in header files, and I can't copy over the header files because they (+quartz and +x11 versions) have the same names.
Any idea when gimp 2.8 is coming out for macports?
comment:7 follow-up: 8 Changed 7 years ago by jmroot (Joshua Root)
comment:8 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to jmroot:
Is this still a problem with the current version?
The failure in comment:1 was almost certainly due to widespread overlinking in .la files, which is fixed since r102945. And I'm pretty sure I've seen users say they successfully installed gimp2 +quartz fairly recently.
I've been using gimp2 +quartz for months now, across multiple macOS releases (10.12 through 10.15), with no such problems. So unless this is occurring on older macOS releases, I'd say this is fixed.
comment:9 Changed 4 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | new → closed |
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/main.log