[MacPorts] #59344: Error when compiling gcc9 with xcode11.1
MacPorts
noreply at macports.org
Wed Oct 16 09:25:10 UTC 2019
#59344: Error when compiling gcc9 with xcode11.1
-----------------------+-----------------------------
Reporter: houzeaux | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: gcc9, xcode11.1
Port: |
-----------------------+-----------------------------
Description changed by cjones051073:
Old description:
> 1. Everything goes well with xcode11.0, but when installing gcc9 with
> xcode11.1 it fails (I followed exactly the migration procedure). I have
> the following:
>
> sudo xcode-select --version => xcode-select version 2370.
> xcrun --show-sdk-path =>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
>
> 2. Then I tried to install gcc9
>
> .....
>
> Error: libgcc9 cannot be built while libunwind-headers is active.
> Error: Please forcibly deactivate libunwind-headers, e.g. by running:
> Error:
> Error: sudo port -f deactivate libunwind-headers
> Error:
> Error: Then try again. You can reactivate libunwind-headers again later.
> Error: Failed to build libgcc9: libunwind-headers is active
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port gcc9 failed
>
> 3. I desactivated libunwind-headers
>
> houzeaux:/Users/houzeaux/Desktop % sudo port -f deactivate libunwind-
> headers
> Password:
> ---> Deactivating libunwind-headers @5.0.1_0
> ---> Cleaning libunwind-headers
>
> 4. I reinstall gcc9 and get the following message:
>
> sudo port install gcc9
> ---> Computing dependencies for gcc9
> The following dependencies will be installed:
> libgcc
> libgcc9
> Continue? [Y/n]: Y
> ---> Fetching archive for libgcc9
> ---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/libgcc9
> ---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
> http://nue.de.packages.macports.org/libgcc9
> ---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
> https://packages.macports.org/libgcc9
> ---> Building libgcc9
> Error: Failed to build libgcc9: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port gcc9 failed
>
> 5. I attach the log file
New description:
1. Everything goes well with xcode11.0, but when installing gcc9 with
xcode11.1 it fails (I followed exactly the migration procedure). I have
the following:
{{{
sudo xcode-select --version => xcode-select version 2370.
xcrun --show-sdk-path =>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
}}}
2. Then I tried to install gcc9
{{{
.....
Error: libgcc9 cannot be built while libunwind-headers is active.
Error: Please forcibly deactivate libunwind-headers, e.g. by running:
Error:
Error: sudo port -f deactivate libunwind-headers
Error:
Error: Then try again. You can reactivate libunwind-headers again later.
Error: Failed to build libgcc9: libunwind-headers is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gcc9 failed
}}}
3. I desactivated libunwind-headers
{{{
houzeaux:/Users/houzeaux/Desktop % sudo port -f deactivate libunwind-
headers
Password:
---> Deactivating libunwind-headers @5.0.1_0
---> Cleaning libunwind-headers
}}}
4. I reinstall gcc9 and get the following message:
{{{
sudo port install gcc9
---> Computing dependencies for gcc9
The following dependencies will be installed:
libgcc
libgcc9
Continue? [Y/n]: Y
---> Fetching archive for libgcc9
---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
http://lil.fr.packages.macports.org/libgcc9
---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
http://nue.de.packages.macports.org/libgcc9
---> Attempting to fetch libgcc9-9.2.0_1.darwin_19.x86_64.tbz2 from
https://packages.macports.org/libgcc9
---> Building libgcc9
Error: Failed to build libgcc9: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gcc9 failed
}}}
5. I attach the log file
--
--
Ticket URL: <https://trac.macports.org/ticket/59344#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list