[MacPorts] #49000: gimp2 will not build - fails while trying to create cursors: can't recognize source png

MacPorts noreply at macports.org
Tue Sep 29 09:03:23 PDT 2015


#49000: gimp2 will not build - fails while trying to create cursors: can't
recognize source png
----------------------+--------------------------------
 Reporter:  briank@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.3
 Keywords:  cursor    |       Port:  gimp2
----------------------+--------------------------------
 After having just done a `selfupdate` and `upgrade outdated`, I'm trying
 to install ufraw which requires gimp2.  I didn't previously have gimp
 installed.  After the compilation fail, I tried to `sudo port clean --all
 gimp2` and then reinstall, but the error remains the same.  From the
 install log:


 {{{
 tool-text-bw.png tool-zoom.png tool-zoom-bw.png; do \
 :info:build         echo $image | \
 :info:build           sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$||' >>
 tool-cursors.list; \
 :info:build         echo "  ./$image" >> tool-cursors.list; \
 :info:build       done )
 :info:build ( rm -f color-picker-cursors.list; \
 :info:build       for image in cursor-color-picker.png cursor-color-
 picker-bw.png; do \
 :info:build         echo $image | \
 :info:build           sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$||' >>
 color-picker-cursors.list; \
 :info:build         echo "  ./$image" >> color-picker-cursors.list; \
 :info:build       done )
 :info:build /opt/local/bin/gdk-pixbuf-csource --raw --build-list `cat
 color-picker-cursors.list` > gimp-color-picker-cursors.h
 :info:build failed to load "./cursor-color-picker.png": Couldn't recognize
 the image file format for file './cursor-color-picker.png'
 :info:build make[2]: *** [gimp-color-picker-cursors.h] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :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.8.14/cursors'
 :info:build make[1]: *** [all-recursive] Error 1
 }}}

 I attempt to run the gdk-pixbuf-csource command myself, but still get the
 same problem.

 In the error message (both when run by hand or when done via ports), it
 complains about the file `cursor-color-picker.png`.  I can view that file
 with Preview - it looks like a color picker.  I can identify the file with
 ports' ImageMagick.

 Because I just updated, I have the most recent port of libpng if that
 matters:

 {{{
 $ port installed libpng
 The following ports are currently installed:
   libpng @1.6.18_0 (active)
 }}}

 Install log attached

-- 
Ticket URL: <https://trac.macports.org/ticket/49000>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list