Opened 9 years ago

Closed 3 years ago

#49000 closed defect (fixed)

gimp2 @2.8.14: failed to load "./cursor-color-picker.png": Couldn't recognize the image file format for file './cursor-color-picker.png'

Reported by: briank@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: lynsey93
Port: gimp2

Description

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

Attachments (1)

main.log (57.5 KB) - added by briank@… 9 years ago.
install log

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by briank@…

Attachment: main.log added

install log

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

Cc: ryandesign@… added
Keywords: cursor removed
Owner: changed from macports-tickets@… to devans@…
Summary: gimp2 will not build - fails while trying to create cursors: can't recognize source pnggimp2 @2.8.14: failed to load "./cursor-color-picker.png": Couldn't recognize the image file format for file './cursor-color-picker.png'

We have seen this type of thing before (#29393) but I don't know why it is happening to you now.

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

Cc: lynsey93 added; ryandesign removed

Has duplicate #53371.

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

See also #45354, #57867.

comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: newclosed

This ticket is six years old, and relates to a much older version of GIMP. If this is still happening, please reopen.

Closing.

Note: See TracTickets for help on using tickets.