Opened 3 years ago

Closed 3 years ago

#64124 closed defect (fixed)

libgcc-devel @12-20211127 fails to build

Reported by: phosphide (Jakub Tomczyński) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: libgcc-devel

Description (last modified by phosphide (Jakub Tomczyński))

--->  Fetching archive for libgcc-devel
--->  Attempting to fetch libgcc-devel-12-20211127_0.darwin_20.arm64.tbz2 from https://packages.macports.org/libgcc-devel
--->  Attempting to fetch libgcc-devel-12-20211127_0.darwin_20.arm64.tbz2 from https://nue.de.packages.macports.org/libgcc-devel
--->  Attempting to fetch libgcc-devel-12-20211127_0.darwin_20.arm64.tbz2 from https://cph.dk.packages.macports.org/libgcc-devel
--->  Fetching distfiles for libgcc-devel
--->  Verifying checksums for libgcc-devel
--->  Extracting libgcc-devel
--->  Configuring libgcc-devel
--->  Building libgcc-devel                              
Error: Failed to build libgcc-devel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port libgcc-devel failed

Error from log:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/gcc-darwin-arm64-a3a48770291014cf1a73a4d2e032fbe13c2deec6/libgcc/config/darwin10-unwind-find-enc-func.c:4:10: fatal error: libgcc_tm.h: No such file or directory

macOS Big Sur 11.6.1, Apple M1. Full compressed log attached

Attachments (1)

libgcc-devel.log.zip (1.7 MB) - added by phosphide (Jakub Tomczyński) 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 years ago by phosphide (Jakub Tomczyński)

Description: modified (diff)

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

Looks like the same issue reported for gcc-devel in #63879.

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

libgcc-devel main.log (10 MB tail)

It is more helpful if you provide the entire main.log, compressed with xz or zip or whatever.

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 3 years ago by phosphide (Jakub Tomczyński)

Attachment: libgcc-devel.log.zip added

comment:4 Changed 3 years ago by phosphide (Jakub Tomczyński)

Description: modified (diff)

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

Thanks, I'll delete the earlier partial log attachment.

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

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

Does it work if you disable parallel builds?

sudo port install libgcc-devel build.jobs=1

comment:8 in reply to:  7 Changed 3 years ago by phosphide (Jakub Tomczyński)

Replying to ryandesign:

Does it work if you disable parallel builds?

sudo port install libgcc-devel build.jobs=1

It does build successfully, thanks a lot! The same workaround did the job for gcc-devel too.

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 1fe344511b9747c7b9473ac12ce67ae2e0560efa/macports-ports (master):

gcc-devel: Disable parallel build on arm

Closes: #63879
Closes: #64124

Note: See TracTickets for help on using tickets.