Opened 13 years ago

Closed 5 years ago

#33270 closed defect (worksforme)

php5 build failure with distcc?

Reported by: Behinder (behinder) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jyrkiwahlstedt
Port: php5

Description

Log from installation: http://pastebin.com/J2FtAtJP

Attachments (1)

main.log (115.2 KB) - added by Behinder (behinder) 13 years ago.

Download all attachments as: .zip

Change History (8)

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

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…
Summary: php5 wont installlphp5 build failure

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

The log is incomplete. (It contains lines that say "Skipping completed".) Please "sudo port clean php5" and try again, then if it fails again, attach the new main.log file to this ticket.

Changed 13 years ago by Behinder (behinder)

Attachment: main.log added

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I am not sure if this is the only problem, but I see in the log that you have asked MacPorts to use distcc, and that php5 is having some trouble with it:

:info:configure checking for -single_module linker flag... distcc[19280] (dcc_open_lockfile) ERROR: failed to creat /Users/sebastian/.distcc/lock/cpu_localhost_0: Permission denied
:info:configure distcc[19280] (dcc_lock_one) ERROR: failed to lock
:info:configure distcc[19280] (dcc_open_state) ERROR: failed to open /Users/sebastian/.distcc/state/binstate_19280: Permission denied

Try turning off the use of distcc, cleaning php5, and trying again.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

seba.szwarc, have you made any progress diagnosing this problem further?

comment:5 Changed 13 years ago by Behinder (behinder)

Yes..Don't know if this was distcc fault. I removed distcc from macports config and it seems compilation went ok. Php now works. Is php anti-distcc created? :)

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5 build failurephp5 build failure with distcc?

I do not know. I have never tried to use distcc. If you can definitively determine that using distcc is what causes the problem, I'll be happy to fix the portfile so that it doesn't attempt to use distcc anymore.

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

Resolution: worksforme
Status: newclosed

Feel free to reopen if the problem can be reproduced with the current version.

Note: See TracTickets for help on using tickets.