Closed shanealynn closed 5 years ago
Hello please check that you have free space and try to update gbreakpad submodule to latest master
Thanks for coming back.
Yes, lots of space on HD, no problem there - 42GB free.
Pulled most recent master for each submodule with:
git submodule foreach git pull origin master
Various updates.
No change to error.
My hunch is a change to the Xcode requirements / build instructions. Since there's some files built now there are a lot of warnings such as:
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/crash_report_sender.app/Contents/Resources/sl.lproj/Localizable.strings' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/Breakpad.framework/Resources' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/crash_report_sender.app/Contents/Resources/sv.lproj/InfoPlist.strings' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/Breakpad.framework/Versions' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/Breakpad.framework/Versions/A' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/crash_report_sender.app/Contents/Resources/sv.lproj/Localizable.strings' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/Breakpad.framework/Versions/A/Breakpad' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/crash_report_sender.app/Contents/Resources/tr.lproj/InfoPlist.strings' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/Breakpad.framework/Versions/A/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/shane/Documents/Programs/rdm/bin/osx/Frameworks/crash_report_sender.app/Contents/Resources/tr.lproj/Localizable.strings' is located outside of the allowed root paths.
However, error at the end is still the same:
/Users/shane/Documents/Programs/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited. [9]
warning: invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
note: Using new build systemnote: Planning buildnote: Constructing build description
error: unable to create symlink at '/Users/shane/Documents/Programs/rdm/build/gbreakpad/Products/Release/crash_report_sender.app'
note: Using new build systemnote: Planning buildnote: Constructing build description
** INSTALL FAILED **
Thanks, I will investigate this problem
For reference, my system:
xcodebuild -version
Xcode 10.0
Build version 10A255
and
sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G65
and
System Software Overview:
System Version: macOS 10.13.6 (17G65)
Kernel Version: Darwin 17.7.0
Boot Volume: Macintosh HD
Boot Mode: Normal
In my RDM repository, I currently have:
git submodule
+661ad692b8a1bab31d167a496ec7b802c0ad090c ../3rdparty/asyncfuture (qpm/0.4.1-41-g661ad69)
+0202f9b5bc40b071e4bbcb8724cd30a2c2d219cf ../3rdparty/crashreporter (heads/master)
+a5317986d74b6dd3956021cb7fbb0669cce398b2 ../3rdparty/easyloggingpp (v9.80-431-ga531798)
+54fa71efbe50fb2b58096d871575b59e12edba6d ../3rdparty/gbreakpad (heads/master)
+bede97175be673a6ec7ff5838ae2bdad43444297 ../3rdparty/qredisclient (heads/master)
d6a1d12053c4176d1f693fa083752004c3023bce ../3rdparty/qt-unix-signals (heads/master)
Hope this helps - let me know if you need more or if there's anything I can do to help.
Hello,
Any solution on this issue?
i also face to this problem
Just downgrade Xcode to 9.4.1 to solve this issue
@uglide @shanealynn
just edit configure file and add -UseModernBuildSystem=NO to end of 'xcodebuild'
thanks @haniha. the workaround you provided solved the issue.
thanks @haniha. the workaround you provided solved the issue.
thanks @haniha , it worked after adding -UseModernBuildSystem=NO to end of xcodebuild
@haniha great finding, thanks!
Thank you @haniha, this has solved the problem for me now too. Onto the Qt fixes now! :)
I'm on MacOS 10.14
with XCode 10.1
and the fix no longer works for me.
> ./configure 40.6s < Thu Nov 1 15:41:12 2018
Warning: coreutils 8.30 is already installed and up-to-date
To reinstall 8.30, run `brew reinstall coreutils`
=== BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: no rule to process file '/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/* com.apple.ibtool.document.notices */
/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content
/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content
/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content
/* com.apple.ibtool.document.warnings */
/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
/* com.apple.ibtool.document.errors */
/Users/danielfritz/Dev/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported.
** BUILD FAILED **
Encountered the same issue mentioned by @dannyfritz (MacOS 10.14, XCode 10.0)
You need to open src/client/mac in Xcode. Then select client/mac/sender/Breakpad.xib and in the "Interface Builder Document" pane select "macOS 10.xx or later" (later than 10.6 of course) for your deployment target and save.
I opened a Breakpad ticket here: https://bugs.chromium.org/p/google-breakpad/issues/detail?id=778
RDM Version: 0.9.6 Environment (OS name and version): OS X 10.13 Redis Server Version: N/A
Steps to reproduce:
Expected result: Build success
Actual Result: Errors while building gbreakpad - errors starting from line:
xcodebuild -quiet -sdk macosx -project src/client/mac/Breakpad.xcodeproj -configuration Release -target Breakpad -xcconfig ../../src/gbreakpad.xcconfig ARCHS=x86_64
Errors reported: