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

qtbase make error #2539

Open
zhangran-cn opened this issue Oct 10, 2023 · 3 comments
Open

qtbase make error #2539

zhangran-cn opened this issue Oct 10, 2023 · 3 comments

Comments

@zhangran-cn
Copy link

zhangran-cn commented Oct 10, 2023

09:31:02 ┌ qtbase git  ............................... [Recently updated]
0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch
        Patch could not be applied with `git am`. Continuing without patching.
09:31:37 ├ Running configure...
09:37:02 ├ Running make...
Likely error (tail of the failed operation logfile):
C:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/media-autobuild_suite/build/qtbase-git/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0x8c): undefined reference to `__imp_pcre2_code_free_16'
C:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/media-autobuild_suite/build/qtbase-git/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0x165): more undefined references to `__imp_pcre2_code_free_16' follow
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile.Release:95: ../../../bin/qlalr.exe] Error 1
make[3]: Leaving directory '/build/qtbase-git/src/tools/qlalr'
make[2]: *** [Makefile:45: release] Error 2
make[2]: Leaving directory '/build/qtbase-git/src/tools/qlalr'
make[1]: *** [Makefile:227: sub-qlalr-make_first] Error 2
make[1]: Leaving directory '/build/qtbase-git/src'
make: *** [Makefile:54: sub-src-make_first] Error 2
make failed. Check C:/media-autobuild_suite/build/qtbase-git/ab-suite.make.log
This is required for other packages, so this script will exit.
09:54:08   Creating diagnostics file...

logs.zip

@zhangran-cn zhangran-cn changed the title [mingw32|mingw64] [repo]qtbase make error qtbase make error Oct 10, 2023
@zhangran-cn
Copy link
Author

I found the same issue #2323,but it hasn't been resolved.
Why?

@1480c1
Copy link
Member

1480c1 commented Oct 10, 2023

I have been mainly working on fixing compilation of projects related to ffmpeg and others for gcc and clang and qt is a massive project along with vlc, so its priority is lower. If it fails, unless you are willing to investigate and submit a fix, I would recommend disabling vlc compilation for now until I finish the rest and have time to get to it.

@zhangran-cn
Copy link
Author

zhangran-cn commented Oct 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants