Opened 12 years ago

Closed 12 years ago

#36630 closed defect (duplicate)

gconf configure failure with ccache enabled

Reported by: mcoletti@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: gconf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While trying to do upgrade I get the following error:

--->  Attempting to fetch GConf-2.28.1.tar.bz2 from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/GConf/2.28/
--->  Verifying checksum(s) for gconf
--->  Extracting gconf
--->  Applying patches to gconf
--->  Configuring gconf
Error: org.macports.configure for port gconf returned: configure failure: command execution failed
Please see the log file for port gconf for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/gconf/main.log

Looking in main.log I see the following error:

:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/gconf/work/GConf-2.28.1':
:info:configure configure: error: cannot compute suffix of object files: cannot compile
:info:configure See `config.log' for more details.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/gconf/work/GConf-2.28.1" && ./configure --prefix=/opt/local --without-openldap 
:info:configure Exit code: 1
:error:configure org.macports.configure for port gconf returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for gconf: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port gconf for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/gconf/main.log

It further complains about config.log, but I do not see any obvious errors there.

Attachments (2)

main.log (9.7 KB) - added by mcoletti@… 12 years ago.
main.log of build containing error messages
config.log (12.4 KB) - added by mcoletti@… 12 years ago.
config.log containing error messages

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please attach the main.log and config.log so that we can have a look.

Changed 12 years ago by mcoletti@…

Attachment: main.log added

main.log of build containing error messages

Changed 12 years ago by mcoletti@…

Attachment: config.log added

config.log containing error messages

comment:2 in reply to:  1 Changed 12 years ago by mcoletti@…

Replying to ryandesign@…:

Please attach the main.log and config.log so that we can have a look.

Done and done. I hope it helps!

comment:3 Changed 12 years ago by mcoletti@…

On a hunch I disabled use of the ccache; I had a hunch that old binaries were being cached that referred to obsolete libraries. The port update is now burbling away sans ccache. I'll let you know if I get through the entire update with no problems.

comment:4 Changed 12 years ago by mcoletti@…

Looks like disabling ccache in macports.conf did the trick. My local copy of macports appears to be ok now.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: gconf configure failuregconf configure failure with ccache enabled

The config.log says:

ccache: FATAL: Failed to create /opt/local/var/macports/build/.ccache/a/9: Permission denied

So this is a duplicate of #36211.

Note: See TracTickets for help on using tickets.