Opened 10 years ago

Closed 10 years ago

#46063 closed defect (invalid)

libgcc upgrade to 4.9.2_1 fails

Reported by: dershow Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: mww@…
Port: libgcc

Description (last modified by mf2k (Frank Schima))

I have 4.9.2_0 on 10.9.5.
The attempt to update 10 4.9.2_1 fails. Log attached.
There are some tickets that are likely related, but it was suggested that a separate ticket be created.
See:

Attachments (1)

main.log (180.6 KB) - added by dershow 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 in reply to:  description Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to larryv@…
Status: newassigned

Replying to dersh@…:

There are some tickets that are likely related

There is no evidence that those tickets are related to this ticket or to each other. They involve different operating systems on different architectures, and every log I’ve seen exhibits a different failure mode. The only thing they have in common is that they involve GCC.

This log is still not clean.

:debug:main Skipping completed org.macports.archivefetch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (libgcc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Nov 29 13:18:23 EST 2014

Please clean libgcc, try upgrading again, and attach the new main.log.

comment:2 Changed 10 years ago by dershow

I suggested that they could be related because the fact that there are now four tickets in the last few days, all related to libgcc, that cause it to fail to upgrade or install. Clean log attached.

Changed 10 years ago by dershow

Attachment: main.log added

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)

The log contains many variations on this, as seen previously in #41095, #41643, #42076, #43282, and #43444:

:info:build clang: error: couldn't create cache file '/var/folders/4p/9fzq5t3s11sbl2g7mgjvzh280000gr/T/xcrun_db-3DK8BVlg' (errno=Permission denied)

Try deleting that directory and upgrading again.

% sudo rm -fR /var/folders/4p
% sudo port clean libgcc
% sudo port upgrade libgcc

comment:5 Changed 10 years ago by dershow

Yes, that allowed it to build. Thanks.

comment:6 in reply to:  5 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: assignedclosed

Great. We’ve seen that a few times but don’t really know why it happens or what’s to blame. Maybe it’s worth writing a FAQ about.

Do file more tickets in the future if you encounter issues using GCC. I plan to start revamping the GCC ports soon, and I’d like to know about problems early.

Note: See TracTickets for help on using tickets.