Opened 14 years ago

Closed 14 years ago

#26905 closed defect (fixed)

gimp-gap: build fails with ccache

Reported by: raimue (Rainer Müller) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.99
Keywords: Cc:
Port: gimp-gap

Description

gimp-gap fails when ccache is used:

FFMPEG sourcetree found at dir: /opt/local/var/macports/build/_Users_raim_src_macports_trunk_dports_graphics_gimp-gap/work/ffmpeg-0.5.2
=================================
Calling FFMPEG configure script options:      --prefix=/opt/local  --extra-cflags=-I/opt/local/include  --extra-ldflags=-L/opt/local/lib  --cc=ccache /usr/bin/gcc-4.2  --enable-shared --enable-static --disable-amd3dnow --disable-amd3dnowext --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --enable-nonfree --enable-gpl --disable-ffmpeg --disable-ffplay --disable-ffserver --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-bzlib --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libxvid
=================================
Unknown option "/usr/bin/gcc-4.2".
See ./configure --help for available options.

At first I tried patching the invocation of the configure script to escape the --cc argument, but I did not get it working. So here is a patch to disable ccache in general for this port.

Attachments (1)

patch-gimp-gap-ccache.diff (517 bytes) - added by raimue (Rainer Müller) 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by raimue (Rainer Müller)

Attachment: patch-gimp-gap-ccache.diff added

comment:1 Changed 14 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Committed for both gimp-gap and gimp-gap-devel in r72643. Thanks.

Note: See TracTickets for help on using tickets.