Opened 16 months ago
Closed 11 months ago
#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)
Change History (14)
comment:1 Changed 16 months ago by jmroot (Joshua Root)
Owner: | set to judaew |
---|---|
Status: | new → assigned |
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)
Attachment: | arm-none-eabi-gcc-13-x86_64.log.xz added |
---|
comment:4 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ventura added |
---|---|
Priority: | Low → Normal |
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 after the update to 13.2.0.
comment:6 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
comment:7 Changed 14 months ago by linuxgemini (İlteriş Eroğlu)
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 13 → arm-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@…>
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: | assigned → closed |
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.