Opened 5 years ago

Last modified 9 months ago

#65164 new defect

arm-none-eabi-gcc 11.3.0: fails to build on macOS 10.13 and 10.14 because c++17 filesystem api

Reported by: ra1nb0w Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm-none-eabi-gcc 11.3.0 Cc: cooljeanius (Eric Gallager)
Port: arm-none-eabi-gcc

Description

arm-none-eabi-gcc 11.3.0 try to use c++17 filesystem api but the default c++ library of macOS 10.13 and macOS 10.14 doesn't provide it. This is a recurring problem with many software that try to use c++17 filesystem.

Full log: ​https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/126459/steps/install-port/logs/stdio

Change History (2)

comment:1 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 9 months ago by NameSpaceRanger

I don't think this is true any longer. I was able to build arm-none-eabi-gcc 15.2.0 on macOS 10.13.6 with a regular port install. (Of course, it took quite a while and I think MacPorts should by default warn and ask if such a big port isn't pre-built.)

However, the automatic build on macports.org still failed on 10.13 (but not on 10.12). But this, according to the logs, was due to lack of disk space.

See the end of: ​https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/276495/steps/install-port/logs/stdio

I don't know how these build machines are maintained, but it seems quite wasteful to run a build for over five hours just to have it fail due to disk space. Perhaps successful builds (on any OS version) should record the approximate maximum disk usage. This, with a decent margin, could then be used to avoid starting build jobs likely to fail due to disk space.

Note: See TracTickets for help on using tickets.