Opened 11 months ago

Last modified 11 months ago

#53371 accepted defect

gdk-pixbuf2: gdk-pixbuf-csource fails while building gimp2 on Sierra

Reported by: lynsey93 Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: gdk-pixbuf2 gimp2

Description

Attempting to build gimp2 with MacPorts, however it fails with

 Error: org.macports.build for port gimp2 returned: command execution failed

Here is output from the log file where it looks like it goes wrong:

:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.8.18/cursors'
:info:build ( rm -f tool-cursors.list; \
:info:build 	  for image in cursor-bad.png cursor-bad-bw.png cursor-color-picker.png cursor-color-picker-bw.png cursor-corner-bottom-left.png cursor-corner-bottom-left-bw.png cursor-corner-bottom-right.png cursor-corner-bottom-right-bw.png cursor-corner-top-left.png cursor-corner-top-left-bw.png cursor-corner-top-right.png cursor-corner-top-right-bw.png cursor-crosshair.png cursor-crosshair-bw.png cursor-crosshair-small.png cursor-crosshair-small-bw.png cursor-mouse.png cursor-mouse-bw.png cursor-move.png cursor-move-bw.png cursor-none.png cursor-none-bw.png cursor-side-bottom.png cursor-side-bottom-bw.png cursor-side-left.png cursor-side-left-bw.png cursor-side-right.png cursor-side-right-bw.png cursor-side-top.png cursor-side-top-bw.png cursor-zoom.png cursor-zoom-bw.png modifier-anchor.png modifier-bad.png modifier-background.png modifier-control.png modifier-foreground.png modifier-intersect.png modifier-join.png modifier-minus.png modifier-move.png modifier-pattern.png modifier-plus.png modifier-resize.png modifier-select.png tool-airbrush.png tool-airbrush-bw.png tool-blend.png tool-blend-bw.png tool-blur.png tool-blur-bw.png tool-bucket-fill.png tool-bucket-fill-bw.png tool-burn.png tool-burn-bw.png tool-clone.png tool-clone-bw.png tool-color-picker.png tool-color-picker-bw.png tool-crop.png tool-crop-bw.png tool-dodge.png tool-dodge-bw.png tool-ellipse-select.png tool-ellipse-select-bw.png tool-eraser.png tool-eraser-bw.png tool-flip-horizontal.png tool-flip-horizontal-bw.png tool-flip-vertical.png tool-flip-vertical-bw.png tool-free-select.png tool-free-select-bw.png tool-fuzzy-select.png tool-fuzzy-select-bw.png tool-hand.png tool-hand-bw.png tool-heal.png tool-heal-bw.png tool-ink.png tool-ink-bw.png tool-iscissors.png tool-iscissors-bw.png tool-measure.png tool-measure-bw.png tool-move.png tool-move-bw.png tool-paintbrush.png tool-paintbrush-bw.png tool-paths.png tool-paths-bw.png tool-paths-anchor.png tool-paths-anchor-bw.png tool-paths-control.png tool-paths-control-bw.png tool-paths-segment.png tool-paths-segment-bw.png tool-pencil.png tool-pencil-bw.png tool-perspective.png tool-perspective-bw.png tool-polygon-select.png tool-polygon-select-bw.png tool-rect-select.png tool-rect-select-bw.png tool-resize.png tool-resize-bw.png tool-rotate.png tool-rotate-bw.png tool-shear.png tool-shear-bw.png tool-smudge.png tool-smudge-bw.png tool-text.png 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.18/cursors'
: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.8.18'
: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.8.18'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.8.18" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gimp2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 46067 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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for gimp2: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log (330.1 KB) - added by lynsey93 11 months ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 11 months ago by lynsey93

main.log

comment:1 Changed 11 months ago by Schamschula (Marius Schamschula)

  • Owner set to dbevans
  • Status changed from new to assigned

In the future please add the maintainer to the CC field

Use

port info --maintainer port_name

to find the corresponding address.

comment:2 Changed 11 months ago by dbevans (David B. Evans)

  • Status changed from assigned to accepted

comment:3 Changed 11 months ago by dbevans (David B. Evans)

  • Port gdk-pixbuf2 added
  • Summary changed from gimp2 fails to build on OS X Sierra to gdk-pixbuf2: gdk-pixbuf-csource fails while building gimp2 on Sierra

I'm unable to reproduce this problem building the default gimp2 version (X11) on macOS 10.12.3 (Sierra public beta release 4)

The error you are seeing is coming from

/opt/local/bin/gdk-pixbuf-csource

which is provided by port gdk-pixbuf2. This port has been recently updated as has gimp2 (to rebuild with the newer gdk-pixbuf2)

Questions:

  • Are you building the default (X11) variant of gimp2 or the gimp2 +quartz variant?
  • Which version/variants of gdk-pixbuf2 is currently installed?
    $ port installed gdk-pixbuf2
    The following ports are currently installed:
      gdk-pixbuf2 @2.36.4_0+x11 (active)
    

Without further information, I suggest that you make sure your ports tree is up to date and try again with a clean build

sudo port selfupdate
sudo port clean gdk-pixbuf2 gimp2
sudo port install gimp2
Note: See TracTickets for help on using tickets.