#67737 closed defect (fixed)

arm-none-eabi-gcc: Build fails on macOS 13+ without texinfo

Reported by: linuxgemini (İlteriş Eroğlu) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura sonoma Cc: and900
Port: arm-none-eabi-gcc

Description

When building packages depending on arm-none-eabi-gcc, because of the unavailability of a prebuilt package, the GCC package gets compiled at host; which means a full bootstrap, which also means a long build time for any packages requiring it, causing a cascading effect of automated build failures.

Attachments (1)

arm-none-eabi-gcc-13-x86_64.log.xz (780.9 KB) - added by jmroot (Joshua Root) 16 months ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 16 months ago by jmroot (Joshua Root)

Owner: set to judaew
Status: newassigned

According to https://ports.macports.org/port/arm-none-eabi-gcc/details/ the missing binaries are a consequence of the port failing to build on those platforms.

comment:2 Changed 16 months ago by linuxgemini (İlteriş Eroğlu)

Can confirm that around the time of the latest buildbot runs of the port (see Timing sections of the runs ie. https://build.macports.org/builders/ports-13_x86_64-builder/builds/30964), which is late April 2023, builds did fail, even on my machine; however it seems like it can build fine now (for some reason) which (I guess) requires a re-trigger/update/revision to get buildbot going.

comment:3 Changed 16 months ago by jmroot (Joshua Root)

I triggered another build and it failed again. https://build.macports.org/builders/ports-13_x86_64-builder/builds/40454

I'll attach the log to the ticket so we'll still have it when it expires from the buildbot.

Changed 16 months ago by jmroot (Joshua Root)

comment:4 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: ventura added
Priority: LowNormal
Summary: Prebuilt packages for GCC 13 ARM Cross-compiler are not available for macOS 12+arm-none-eabi-gcc: Build failure on macOS 13

We already had a succesful build for macOS 12 x86_64 before. I ran a new build on macOS 12 arm64 which was also successful now.

Josh ran a new build for macOS 13 x86_64 and I ran one for macOS 13 arm64 and they both failed:

  MAKEINFO /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_cross_arm-none-eabi-gcc/arm-none-eabi-gcc/work/gcc-13.1.0/libgloss/doc/porting.info
  CPPAS    arm/crt0.o
  AR       libobjs.a
  CC       arm/linux-crt0.o
  CPPAS    arm/redboot-crt0.o
  CC       arm/redboot-syscalls.o
  CPPAS    arm/rdpmon-crt0.o
  CPPAS    arm/rdimon-crt0.o
  CPPAS    arm/rdimon-crt0-v2m.o
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_cross_arm-none-eabi-gcc/arm-none-eabi-gcc/work/gcc-13.1.0/missing: line 81: makeinfo: command not found
  GEN      arm/nano.specs
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
  GEN      arm/linux.specs
  GEN      arm/redboot.ld
  GEN      arm/redboot.specs
  GEN      arm/rdpmon.specs
  GEN      arm/rdimon.specs
make[4]: *** [/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_cross_arm-none-eabi-gcc/arm-none-eabi-gcc/work/gcc-13.1.0/libgloss/doc/porting.info] Error 127
make[4]: *** Waiting for unfinished jobs....
  GEN      arm/rdimon-v2m.specs

Is it just the missing makeinfo? It says it's only a warning but "Error 127" means "command not found" so maybe it really does need it. We know Ventura doesn't include makeinfo anymore and we could add depends_build bin:makeinfo:texinfo to fix that.

I also tried a build on macOS 11 x86_64 which failed due to lack of disk space. I'll see if I can free up some space on that builder and try again. This could have been the reason why the macOS 12 arm64 build failed before; I have recently freed up some disk space there.

comment:5 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

No change on Ventura after the update to 13.2.0.

Last edited 16 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

The build of 13.2.0 on 12 x86_64 failed due to lack of disk space again, which had filled ugain due to #67592, and now that I've freed that disk space, a retry fails due to #67876.

comment:7 Changed 14 months ago by linuxgemini (İlteriş Eroğlu)

Looks like having texinfo port installed indeed passes the regular build (which I see that 63f34e6 has fixed #67876) but the disk space running out on the build runners can be the more persistent issue in the future, as the port itself still does not have pre-built packages.

comment:8 Changed 14 months ago by raybellis (Ray Bellis)

Confirming here that installing texinfo first also allowed installation to complete on my 13.5 system.

comment:9 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: and900 added
Keywords: sonoma added
Summary: arm-none-eabi-gcc: Build failure on macOS 13arm-none-eabi-gcc: Build fails on macOS 13+ without texinfo

Has presumed duplicate #67867.

Same build failure on the Sonoma x86_64 buildbot worker as well.

@judaew would you like to fix the issue?

comment:10 Changed 11 months ago by İlteriş Yağıztegin Eroğlu <ilteris@…>

In b459b9992397361fec6b837b54d3f5f5bd9190d2/macports-ports (master):

arm-none-eabi-gcc: fix builds in macOS 13+

This commit adds makeinfo binary from texinfo port as a
build dependency by implementing the comment made by @ryandesign:
#67737#comment:4

Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris@…>

comment:11 Changed 11 months ago by linuxgemini (İlteriş Eroğlu)

Looks like after the commit, we've been hit with the lack of disk space again on builders. See https://build.macports.org/builders/ports-13_arm64-builder/builds/46404:

install: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_cross_arm-none-eabi-gcc/arm-none-eabi-gcc/work/destroot/opt/local/share/info/arm-none-eabi-cpp.info: No space left on device

comment:12 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

I'll free up disk space and re-run the builds tomorrow.

comment:13 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.