Opened 8 years ago

Closed 8 years ago

#53331 closed defect (fixed)

opencv @3.2.0: build failure when using ccache

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: opencv

Description

Building opencv @3.2.0 fails when configureccache yes is in macports.conf (and the ccache port is installed):

ccache: error: Failed to create temporary file for /opt/local/var/macports/build/.ccache/tmp/tmp.cpp_stderr: Operation not permitted

Attachments (1)

main.log (45.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

The configure code seems to have a check for this very purpose.
Using configure.ccache instead of configureccache should fix the problem.

comment:2 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

In 9a52023b/macports-ports:

opencv: properly test for ccache availability

Fixes #53331

Note: See TracTickets for help on using tickets.