Opened 10 years ago

Closed 23 months ago

Last modified 23 months ago

#38063 closed defect (fixed)

gimp2 2.8.4 build failure on OSX 10.6

Reported by: bitpup Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), kencu (Ken)
Port: gimp2

Description (last modified by mf2k (Frank Schima))

the build is failing with the following error

:info:build Making all in libgimpbase
: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.4/libgimpbase'
:info:build   CC     gimpbasetypes.lo
:info:build   CC     gimpbase-private.lo
:info:build clang: warning: argument unused during compilation: '-c'
:info:build warning: unknown warning option '-Wformat-non-literal' [-Wunknown-warning-option]
:info:build 1 warning generated.
:info:build clang: error: language not recognized: 'objc-cpp-output'
:info:build clang: warning: /opt/local/var/macports/build/.ccache/tmp/gimpbasety.tmp.beta.barn.corearts.co.uk.29307.mi: 'linker' input unused when '-c' is present
:info:build clang: warning: argument unused during compilation: '-c'
:info:build warning: unknown warning option '-Wformat-non-literal' [-Wunknown-warning-option]
:info:build 1 warning generated.
:info:build clang: error: language not recognized: 'objc-cpp-output'
:info:build clang: warning: /opt/local/var/macports/build/.ccache/tmp/gimpbase-p.tmp.beta.barn.corearts.co.uk.29309.mi: 'linker' input unused when '-c' is present
:info:build make[2]: *** [gimpbasetypes.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [gimpbase-private.lo] 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.8.4/libgimpbase'
: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.4'
: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.4'
: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.4" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2

Attachments (1)

main.log (28.4 KB) - added by bitpup 10 years ago.

Download all attachments as: .zip

Change History (14)

Changed 10 years ago by bitpup

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: devans@… removed
Description: modified (diff)
Keywords: 10.6 objc-cpp-output removed
Owner: changed from macports-tickets@… to devans@…

In the future, please use WikiFormatting.

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Does it work without ccache?

comment:3 in reply to:  2 Changed 10 years ago by bitpup

Replying to jmr@…:

Does it work without ccache?

i can't test this yet.

why should ccache be at fault, when it creates unique hashes of the source files?

comment:4 Changed 10 years ago by bitpup

without ccache the build completes

issue was between keyboard and chair

please close bug

thanks

comment:5 Changed 10 years ago by jmroot (Joshua Root)

So at minimum, if it can't be fixed to work with ccache, gimp2 should turn it off in the portfile (maybe only when using clang?).

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 23 months ago by mascguy (Christopher Nielsen)

Relative to a 10.6 build for GIMP, that simply may not be technically feasible. Dave can provide a more definitive answer, though.

And since this ticket is eight years old, referring to a much older version... we can probably close this ticket.

comment:8 Changed 23 months ago by kencu (Ken)

Oh, not so hard. We have it working well down to at least 10.5.

http://hiddenurl.com/gimp2/gimp2-2.10.22_0+python27.darwin_9.i386.tbz2

comment:9 Changed 23 months ago by kencu (Ken)

Riccardo even has the +quartz version working there -- I use x11 for all my gtk stuff, though.

comment:10 Changed 23 months ago by kencu (Ken)

Resolution: fixed
Status: newclosed

comment:11 in reply to:  8 Changed 23 months ago by jmroot (Joshua Root)

Replying to kencu:

Oh, not so hard. We have it working well down to at least 10.5.

Building with ccache? That's what the problem was here.

comment:12 Changed 23 months ago by jmroot (Joshua Root)

Cc: kencu added

Ken wasn't Cc'd before; please see above comment.

comment:13 Changed 23 months ago by kencu (Ken)

I didn't notice the ccache wrinkle...I don't think I ever tried it with ccache, to be honest.

Note: See TracTickets for help on using tickets.