Opened 12 years ago

Closed 12 years ago

Last modified 3 years ago

#37598 closed defect (worksforme)

icns-gimp: build fails

Reported by: giuseppelobrutto@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: icns-gimp

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build /usr/bin/clang -arch x86_64 `gimptool-2.0 --cflags` -I/opt/local/include -O2 -c main.c -o main.o
:info:build /usr/bin/clang -arch x86_64 `gimptool-2.0 --cflags` -I/opt/local/include -O2 -c icnsload.c -o icnsload.o
:info:build dyld: Library not loaded: /opt/local/lib/libatk-1.0.0.dylib
:info:build   Referenced from: /opt/local/bin/gimptool-2.0
:info:build   Reason: Incompatible library version: gimptool-2.0 requires version 20610.0.0 or later, but libatk-1.0.0.dylib provides version 20210.0.0
:info:build dyld: Library not loaded: /opt/local/lib/libatk-1.0.0.dylib
:info:build   Referenced from: /opt/local/bin/gimptool-2.0
:info:build   Reason: Incompatible library version: gimptool-2.0 requires version 20610.0.0 or later, but libatk-1.0.0.dylib provides version 20210.0.0
:info:build icnsload.c:28:10: fatal error: 'gtk/gtk.h' file not found
:info:build #include <gtk/gtk.h>
:info:build          ^
:info:build 1 error generated.
:info:build make: *** [icnsload.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build main.c:27:10: fatal error: 'gtk/gtk.h' file not found
:info:build #include <gtk/gtk.h>
:info:build          ^
:info:build 1 error generated.
:info:build make: *** [main.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_icns-gimp/icns-gimp/work/icns-gimp-0.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_icns-gimp/icns-gimp/work/icns-gimp-0.1" && /usr/bin/make -j2 -w icns CC="/usr/bin/clang -arch x86_64" CFLAGS="-I/opt/local/include -O2"
:info:build Exit code: 2
:error:build org.macports.build for port icns-gimp returned: command execution failed
:debug:build Error code: CHILDSTATUS 26306 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for icns-gimp: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install icns-gimp
debug:build can not find channel named "debuglog"
    while executing
"tcl::puts debuglog {DEBUG: Starting logging for icns-gimp}"
    invoked from within
"catch "tcl::puts $args""
:notice:build Please see the log file for port icns-gimp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_icns-gimp/icns-gimp/main.log

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gimp removed
Port: icns-gimp added
Priority: HighNormal
Summary: Error: Failed to install icns-gimpicns-gimp: build fails
:info:build dyld: Library not loaded: /opt/local/lib/libatk-1.0.0.dylib
:info:build   Referenced from: /opt/local/bin/gimptool-2.0
:info:build   Reason: Incompatible library version: gimptool-2.0 requires version 20610.0.0 or later, but libatk-1.0.0.dylib provides version 20210.0.0

What version of atk is installed? Use "port installed atk" to find out.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Also, what port provides /opt/local/bin/gimptool-2.0? Use "port provides /opt/local/bin/gimptool-2.0" to find out. I assume it's one of the gimp ports, but I can't try it myself because they fail to build for me at the moment.

comment:3 Changed 12 years ago by giuseppelobrutto@…

atk @2.6.0_0 (active)

and

/opt/local/bin/gimptool-2.0 is provided by: gimp2
Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 in reply to:  3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to giuseppelobrutto@…:

atk @2.6.0_0 (active)

Interesting, because atk @2.6.0_0 is supposed to contain libatk library version 20610.0.0, but the above error message seems to say that on your system it contains library version 20210.0.0. See my "otool -L" output:

$ otool -L /opt/local/lib/libatk-1.0.0.dylib
/opt/local/lib/libatk-1.0.0.dylib:
	/opt/local/lib/libatk-1.0.0.dylib (compatibility version 20610.0.0, current version 20610.1.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/opt/local/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)

What do you get on your system?

P.S: Remember to use WikiFormatting.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Could you please try the command otool -L /opt/local/lib/libatk-1.0.0.dylib on your system and let us know what it prints?

comment:6 in reply to:  5 Changed 12 years ago by giuseppelobrutto@…

Replying to ryandesign@…:

Could you please try the command otool -L /opt/local/lib/libatk-1.0.0.dylib on your system and let us know what it prints?

/opt/local/lib/libatk-1.0.0.dylib:
	/opt/local/lib/libatk-1.0.0.dylib (compatibility version 20610.0.0, current version 20610.1.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/opt/local/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 3401.0.0, current version 3401.3.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)

That's all. I solved by cleaning up macport installation and reinstalling all agin. THX

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 12 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.