Opened 15 years ago

Closed 14 years ago

#19626 closed defect (fixed)

ccache port doesn't set itself up as gcc-4.2

Reported by: bzbarsky (Boris Zbarsky) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: ccache

Description (last modified by mf2k (Frank Schima))

The portfile for ccache has the following:

    foreach {bin} {
	    cc
	    gcc gcc2    gcc3    gcc-3.3 gcc-4.0
	    c++ c++3    c++-3.3 c++-4.0
	    g++ g++2    g++3    g++-3.3 g++-4.0
    } {
        ln -sf ${prefix}/bin/ccache ${destroot}${symlinks_dir}/${bin}
    }

At least on Leopard, it should also set up gcc-4.2 and g++-4.2.

Attachments (1)

ccache_for_snow_leopard.patch (575 bytes) - added by manphiz@… 14 years ago.
Proposed patch

Download all attachments as: .zip

Change History (8)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to nox@…

Changed 14 years ago by manphiz@…

Proposed patch

comment:2 Changed 14 years ago by nox@…

Resolution: wontfix
Status: newclosed

r64755, those symlinks are too much of a bother to maintain.

comment:3 Changed 14 years ago by bzbarsky (Boris Zbarsky)

So wait. Doesn't this make ccache not work correctly out of the box? Shouldn't there be at least some indication when one tries to run "ccache" or something that it needs more setup?

comment:4 Changed 14 years ago by landonf (Landon Fuller)

Resolution: wontfix
Status: closedreopened

This forces all ccache users to individually set up symlinks rather than work out of the box. New compiler versions are not released very often. I'd really like to re-integrate the symlink code, which was in place for 8 years (2002 through 2010) and relied on by users (including myself).

comment:5 in reply to:  2 Changed 14 years ago by dstwo@…

Replying to nox@…:

r64755, those symlinks are too much of a bother to maintain.

I agree with the other posters. Removing the symlinks from the setup code makes no sense.

I just "upgrade" ccache, and suddenly it stops working with no explanation? WTF. There should be at the minimum documentation to explain how to set up ccache correctly.

comment:6 Changed 14 years ago by nox@…

Owner: changed from nox@… to macports-tickets@…
Status: reopenednew

Maintainership relinquished in r69969.

comment:7 Changed 14 years ago by landonf (Landon Fuller)

Resolution: fixed
Status: newclosed

Symlinks restored and a gcc-4.2 symlink was added in r71514

Note: See TracTickets for help on using tickets.