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

Compile errors on Mac with latest (apparent typo introduced by #33 in revision 24) #37

Closed
magreenblatt opened this issue Feb 3, 2014 · 3 comments
Labels
bug Bug report

Comments

@magreenblatt
Copy link
Collaborator

Original report by Anonymous.


Original issue 37 created by christophe.cornu on 2014-02-03T22:09:51.000Z:

What steps will reproduce the problem?

  1. Get the latest (revision 25), compile on Mac

What is the expected output? What do you see instead?
CefContext.cpp doesn't build

What version of the product are you using? On what operating system?
Latest - revision 25

Please provide any additional information below.

It's a typo with regard to the placement of the if defined(OS_MACOSX). There's a mismatch between { and } as a result. See patch though it's probably just as easy to fix it in the editor by hand.

BTW can you confirm you are using LLVM GCC 4.2 and not Apple's one?

@magreenblatt
Copy link
Collaborator Author

Comment 1. originally posted by magreenblatt on 2014-02-05T19:21:56.000Z:

Thanks for the report, but your patch is incorrect. Compile error fixed with correct changes in revision 26.

@magreenblatt
Copy link
Collaborator Author

  • set state to "resolved"

@magreenblatt
Copy link
Collaborator Author

Original comment by Anonymous.


Comment 2. originally posted by christophe.cornu on 2014-02-05T20:42:32.000Z:

Ack. Are you able to build a release version of the native libraries? I'm able to build the debug version only. For the release configuration, the post build step "Strip if needed" fails for me on Build target jcef_helper. A simple yes or no will be great :-)

Build target jcef_helper

ProcessInfoPlistFile "./xcodebuild/Release/jcef Helper.app/Contents/Info.plist" ./third_party/cef/macosx64/cefclient/mac/helper-Info.plist
cd /Users/ccornu/Documents/data/j/jcef/src
builtin-infoPlistUtility ./third_party/cef/macosx64/cefclient/mac/helper-Info.plist -genpkginfo "/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/Release/jcef Helper.app/Contents/PkgInfo" -expandbuildsettings -platform macosx -o "/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/Release/jcef Helper.app/Contents/Info.plist"

CompileC ./xcodebuild/jcef.build/Release/jcef_helper.build/Objects-normal/x86_64/jcef_helper.o native/jcef_helper.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
cd /Users/ccornu/Documents/data/j/jcef/src
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O3 -Werror -Wnewline-eof -DANGLE_DX11 -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DUSING_CEF_SHARED -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/ccornu/Documents/data/j/jcef/src/xcodebuild/Release/include -I. -Ithird_party/cef/macosx64 -I/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/DerivedSources/x86_64 -I/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/DerivedSources -Wall -Wendif-labels -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/ccornu/Documents/data/j/jcef/src/xcodebuild/Release -fno-strict-aliasing -c /Users/ccornu/Documents/data/j/jcef/src/native/jcef_helper.cpp -o /Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/Objects-normal/x86_64/jcef_helper.o

Ld "./xcodebuild/Release/jcef Helper.app/Contents/MacOS/jcef Helper" normal x86_64
cd /Users/ccornu/Documents/data/j/jcef/src
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-g++-4.2 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -L/Users/ccornu/Documents/data/j/jcef/src/xcodebuild/Release -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks -Lthird_party/cef/macosx64/Release -F/Users/ccornu/Documents/data/j/jcef/src/xcodebuild/Release -filelist "/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/Objects-normal/x86_64/jcef Helper.LinkFileList" -mmacosx-version-min=10.6 -dead_strip -Wl,-search_paths_first -Wl,-ObjC -Wl,-pie /Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/xcodebuild/Release/libcef_dll_wrapper.a -framework AppKit -lcef -o "/Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/Release/jcef Helper.app/Contents/MacOS/jcef Helper"

PhaseScriptExecution "Postbuild \"Fix Framework Link\"" ./xcodebuild/jcef.build/Release/jcef_helper.build/Script-213024CF2B2594275141F091.sh
cd /Users/ccornu/Documents/data/j/jcef/src
/bin/sh -c /Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/Script-213024CF2B2594275141F091.sh

PhaseScriptExecution "Postbuild \"Change Mach-O Flags\"" ./xcodebuild/jcef.build/Release/jcef_helper.build/Script-A543731CC89BD4BC25109641.sh
cd /Users/ccornu/Documents/data/j/jcef/src
/bin/sh -c /Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/Script-A543731CC89BD4BC25109641.sh

PhaseScriptExecution "Postbuild \"Strip If Needed\"" ./xcodebuild/jcef.build/Release/jcef_helper.build/Script-96A927E9C987A9DE4CFD9A33.sh
cd /Users/ccornu/Documents/data/j/jcef/src
/bin/sh -c /Users/ccornu/Documents/data/j/jcef/src/./xcodebuild/jcef.build/Release/jcef_helper.build/Script-96A927E9C987A9DE4CFD9A33.sh

Traceback (most recent call last):
File "/Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/tools/strip_save_dsym", line 341, in
sys.exit(main(sys.argv))
File "/Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/tools/strip_save_dsym", line 335, in main
if not strip_and_make_fake_dsym(macho):
File "/Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/tools/strip_save_dsym", line 273, in strip_and_make_fake_dsym
if not make_fake_dsym(macho, dsym):
File "/Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/tools/strip_save_dsym", line 196, in make_fake_dsym
uuids = macho_uuids(macho)
File "/Users/ccornu/Documents/data/j/jcef/src/third_party/cef/macosx64/tools/strip_save_dsym", line 98, in macho_uuids
stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child
OSError: [Errno 2] No such file or directory

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

No branches or pull requests

1 participant