Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4570 assigned defect

devel/qemu is not buildable on Mac OS X.

Reported by: kgardas Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: tool/rsb Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: #4571

Description

Hi,

using recent (as of 2021-12-11) rsb source code from git, I'm not able to build devel/qemu on Mac OS X. It fails on glib compilation which fails on configure step in two ways: missing __int64 type and missing gettext library -- looks like DYLD_LIBRARY_PATH=$SYSROOT/lib is not working as expected.

Steps to reproduce:

cd bare
../source-builder/sb-set-builder --prefix=/tmp devel/qemu

anyway, I'm attaching both report and glib's config.log here which contain all the clues.

Attachments (2)

rsb-report-glib-2.48.2-x86_64-apple-darwin19.6.0-1.txt.xz (5.2 KB) - added by kgardas on 12/12/21 at 16:08:01.
rsb report
config.log (116.2 KB) - added by kgardas on 12/12/21 at 16:08:24.
config log

Download all attachments as: .zip

Change History (8)

Changed on 12/12/21 at 16:08:24 by kgardas

Attachment: config.log added

config log

comment:1 Changed on 12/12/21 at 16:12:53 by kgardas

Blocking: 4571 added

comment:2 Changed on 11/29/22 at 23:50:19 by Chris Johns

Status update?

comment:3 Changed on 06/22/23 at 20:49:31 by Joel Sherrill

Any updates? We'd like to know it works or not and close this ticket.

comment:4 Changed on 06/22/23 at 21:47:51 by Joel Sherrill

Milestone: 6.1Indefinite
Version: 6

comment:5 Changed on 06/22/23 at 21:48:14 by Joel Sherrill

Owner: set to Needs Funding
Status: newassigned

Just kicking it down the road.

comment:6 Changed on 07/10/23 at 09:11:56 by kgardas

Tested today, it fails even more sooner on configuration of autoconf:

karel@mini rtems % ../source-builder/sb-set-builder --prefix=/tmp/test devel/qemu 
RTEMS Source Builder - Set Builder, 6 (8e568b2ca348)
warning: exe: absolute exe found in path: (__install_info) /usr/bin/install-info
warning: exe: absolute exe found in path: (__makeinfo) /usr/bin/makeinfo
Build Set: devel/qemu
Build Set: devel/autotools-internal.bset
config: devel/autoconf-2.69-1.cfg
package: autoconf-2.69-arm64-apple-darwin22.5.0-1
building: autoconf-2.69-arm64-apple-darwin22.5.0-1
error: building autoconf-2.69-arm64-apple-darwin22.5.0-1
Build FAILED
  See error report: rsb-report-autoconf-2.69-arm64-apple-darwin22.5.0-1.txt
  Note: In some cases the error appears only in
  the complete build log (see --log option)
error: building autoconf-2.69-arm64-apple-darwin22.5.0-1
Build Set: Time 0:00:01.562289
error: building autoconf-2.69-arm64-apple-darwin22.5.0-1
Build Set: Time 0:00:01.566968
Build FAILED

and autoconf fails on classical issue with unrecognized arm64-apple name:

+ cd autoconf-2.69
+ test yes = yes
+ ac_prefix=/Users/karel/git/rtems-source-builder-ref/rtems/build/tmp/sb-502/tmp/test
+ test arm64-apple-darwin22.5.0 '!=' arm64-apple-darwin22.5.0
+ export CFLAGS CFLAGS_FOR_BUILD CC
+ CFLAGS='-O2 -pipe -fbracket-depth=1024 -I/Users/karel/git/rtems-source-builder-ref/rtems/build/tmp/sb-502/devel/autotools-internal/tmp/test/include '
+ ./configure --build=arm64-apple-darwin22.5.0 --host=arm64-apple-darwin22.5.0 --verbose --disable-nls --without-included-gettext --prefix=/Users/karel/git/rtems-source-builder-ref/rtems/build/tmp/sb-502/tmp/test
configure: WARNING: unrecognized options: --disable-nls, --without-included-gettext
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
Invalid configuration `arm64-apple-darwin22.5.0': machine `arm64-apple' not recognized
configure: error: /bin/sh build-aux/config.sub arm64-apple-darwin22.5.0 failed
checking build system type... 
checking build system type... 
shell cmd failed: /bin/sh -ex  /Users/karel/git/rtems-source-builder-ref/rtems/build/autoconf-2.69-arm64-apple-darwin22.5.0-1/do-build
error: building autoconf-2.69-arm64-apple-darwin22.5.0-1
Note: See TracTickets for help on using tickets.