Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: depends qt failure with macos 13 & Xcode (tools) 15 #28566

Closed
fanquake opened this issue Oct 3, 2023 · 3 comments · Fixed by #28571
Closed

build: depends qt failure with macos 13 & Xcode (tools) 15 #28566

fanquake opened this issue Oct 3, 2023 · 3 comments · Fixed by #28571

Comments

@fanquake
Copy link
Member

fanquake commented Oct 3, 2023

When building qt in depends, on a macOS 13 system, with version 15 of the command line tools, it currently fails to build:

compiling .moc/moc_qfbscreen_p.cpp
compiling .moc/moc_qfbvthandler_p.cpp
gmake[4]: Entering directory '/bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/src/widgets'
uic dialogs/qfiledialog.ui
dyld[55501]: Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
  Referenced from: <577DB68A-5C1A-38A3-8285-AC3E88B934FE> /bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/bin/uic
  Expected in:     <3EE92404-8FC3-374B-A598-D5C9A8CD64B5> /usr/lib/libc++.1.dylib
/bin/sh: line 1: 55501 Abort trap: 6           /bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/bin/uic dialogs/qfiledialog.ui -o .uic/ui_qfiledialog.h
compiling kernel/qt_widgets_pch.h
gmake[4]: *** [Makefile:72588: .uic/ui_qfiledialog.h] Error 134

See discussion in #28543 (comment). May require another patch to Qt.

@hebasto
Copy link
Member

hebasto commented Oct 3, 2023

The similar upstream bug report: https://bugreports.qt.io/browse/QTBUG-117484

@fanquake
Copy link
Member Author

fanquake commented Oct 3, 2023

Ok. I already have a backport that should fix this. Can open a PR.

@hebasto
Copy link
Member

hebasto commented Oct 3, 2023

Ok. I already have a backport that should fix this. Can open a PR.

I assume, it is from https://bugreports.qt.io/browse/QTBUG-114316, right?

Will happy to review it.

(I've set up a virtual macOS to reproduce this bug and test a fix).

PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this issue Oct 6, 2023
…t build

848eec0 depends: fix unusable memory_resource in macos qt build (fanquake)

Pull request description:

  See https://codereview.qt-project.org/c/qt/qtbase/+/482392.

  Fixes bitcoin#28566.

ACKs for top commit:
  hebasto:
    ACK 848eec0.

Tree-SHA512: dd902f7abb09bda3800d78fe58937b4426d974c24ba321b979eba0d6da30fa0c661b4ed629afab827df8f9ab599efc7a288e9f381ec2b3c69d1063d4d4f73f9e
UdjinM6 pushed a commit to UdjinM6/dash that referenced this issue Oct 12, 2023
…t build

848eec0 depends: fix unusable memory_resource in macos qt build (fanquake)

Pull request description:

  See https://codereview.qt-project.org/c/qt/qtbase/+/482392.

  Fixes bitcoin#28566.

ACKs for top commit:
  hebasto:
    ACK 848eec0.

Tree-SHA512: dd902f7abb09bda3800d78fe58937b4426d974c24ba321b979eba0d6da30fa0c661b4ed629afab827df8f9ab599efc7a288e9f381ec2b3c69d1063d4d4f73f9e
Frank-GER pushed a commit to syscoin/syscoin that referenced this issue Oct 13, 2023
…t build

848eec0 depends: fix unusable memory_resource in macos qt build (fanquake)

Pull request description:

  See https://codereview.qt-project.org/c/qt/qtbase/+/482392.

  Fixes bitcoin#28566.

ACKs for top commit:
  hebasto:
    ACK 848eec0.

Tree-SHA512: dd902f7abb09bda3800d78fe58937b4426d974c24ba321b979eba0d6da30fa0c661b4ed629afab827df8f9ab599efc7a288e9f381ec2b3c69d1063d4d4f73f9e
gades pushed a commit to cosanta/cosanta-core that referenced this issue Dec 2, 2023
…t build

848eec0 depends: fix unusable memory_resource in macos qt build (fanquake)

Pull request description:

  See https://codereview.qt-project.org/c/qt/qtbase/+/482392.

  Fixes bitcoin#28566.

ACKs for top commit:
  hebasto:
    ACK 848eec0.

Tree-SHA512: dd902f7abb09bda3800d78fe58937b4426d974c24ba321b979eba0d6da30fa0c661b4ed629afab827df8f9ab599efc7a288e9f381ec2b3c69d1063d4d4f73f9e
gades pushed a commit to piratecash/pirate that referenced this issue Dec 9, 2023
…t build

848eec0 depends: fix unusable memory_resource in macos qt build (fanquake)

Pull request description:

  See https://codereview.qt-project.org/c/qt/qtbase/+/482392.

  Fixes bitcoin#28566.

ACKs for top commit:
  hebasto:
    ACK 848eec0.

Tree-SHA512: dd902f7abb09bda3800d78fe58937b4426d974c24ba321b979eba0d6da30fa0c661b4ed629afab827df8f9ab599efc7a288e9f381ec2b3c69d1063d4d4f73f9e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants