[MacPorts] #42469: mozjs17 @17.0.0_2: fails with ccache
#42469: mozjs17 @17.0.0_2: fails with ccache ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: mozjs17 ---------------------+-------------------------------- I have ccache turned on in my macports.conf file. Relevant part of config.log: {{{ configure:2679: checking whether the C compiler (/opt/local/bin/ccache -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64) works configure:2695: /opt/local/bin/ccache -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c 1>&5 ccache: invalid option -- o }}} -- Ticket URL: <https://trac.macports.org/ticket/42469> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+-------------------------------- Comment (by egall@…): Just to confirm that this is indeed an issue with using ccache, I turned off ccache and then tried to build it again, and this time the build completed successfully. -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+-------------------------------- Comment (by egall@…): Seeing as r117087 fixed the email address for the maintainer of mozjs17, could someone fix the email address that I cc-ed here, too? -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+------------------------ Changes (by larryv@…): * owner: macports-tickets@… => juanrgar@… * cc: juanrgar@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+------------------------ Comment (by juanrgar@…): I'm working on this. This should be easy to fix because mozjs17 has an option to build with ccache. However, what I don't get is why ccache doesn't provide a -o option. I need to read more about ccache in masquerade mode, and how the output file name can be specified. -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+------------------------ Comment (by egall@…): The easy thing to do would be to just set `configure.ccache no` in the Portfile... -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mozjs17 | ----------------------+------------------------ Comment (by juanrgar@…): The problem is macports uses ccache as standalone, and not as masquerade. However, mozjs17 has specific options for building using ccache, so I'll try to investigate a little more if we can get this working, e.g. if we could know that mozjs17 is being build with ccache we could adjust configure options... -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: mozjs17 | ----------------------+------------------------ Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: ccache patch committed in r117250. -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42469: mozjs17 @17.0.0_2: fails with ccache ----------------------+------------------------ Reporter: egall@… | Owner: juanrgar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: mozjs17 | ----------------------+------------------------ Comment (by egall@…): Replying to [comment:7 devans@…]:
ccache patch committed in r117250.
Thanks! -- Ticket URL: <https://trac.macports.org/ticket/42469#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts