https://bugs.documentfoundation.org/show_bug.cgi?id=92712
Bug ID: 92712 Summary: OS X Build Framework Cleanup (LibreOffice Website) Product: LibreOffice Version: unspecified Hardware: Other OS: Mac OS X (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: framework Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: ashermar...@gmail.com === PROBLEM === LibreOffice needs to have a clean build on a fresh XCode (7.0) / OS X (10.10.4) install. - Too many "suggestions" on the website (see cleanup) - LibreOffice Build doesn't seem to work with the default OS X version of Java (1.8.0_45) - Unit Test Fail /core/workdir/CppunitTest/dbaccess_hsqldb_test.test === CLEANUP IDEAS & QUESTIONS === * Key idea... git source path must be clear. EXAMPLE: git clone git://gerrit.libreoffice.org/lode EXAMPLE: git clone git://gerrit.libreoffice.org/core PROBLEM: Which one should we use? Both are on the same page (search below for example)? === WEBSITE CLEANUP === https://wiki.documentfoundation.org/Development/BuildingOnMac NOTE: After the build is over there should be instructions on how to install it to the correct Applications directory and how to start it from the command line with the debugger. === MAIN ERROR === (SEE ATTACHED SCREEN SHOT) (shouldn't we be able to compile libreoffice with the default Java Version on OSX? After all the precompiled libreoffice works on the same system) https://support.apple.com/kb/DL1572?locale=en_US To open “this Java application” you need to install the legacy Java SE 6 runtime. [build LNK] CppunitTest/libtest_sd_uimpress.dylib No Java runtime present, requesting install. Error: a unit test failed, please do one of: export CPPUNITTRACE="lldb --" # for interactive debugging on OS X export VALGRIND=memcheck # for memory checking and retry using: make CppunitTest_dbaccess_hsqldb_test make[1]: *** [/Users/Asher/lo/core/workdir/CppunitTest/dbaccess_hsqldb_test.test] Error 1 make[1]: *** Waiting for unfinished jobs.... No Java runtime present, requesting install. Error: a unit test failed, please do one of: export CPPUNITTRACE="lldb --" # for interactive debugging on OS X export VALGRIND=memcheck # for memory checking and retry using: make CppunitTest_dbaccess_RowSetClones make[1]: *** [/Users/Asher/lo/core/workdir/CppunitTest/dbaccess_RowSetClones.test] Error 1 make: *** [build] Error 2 === SYSTEM BUILD SPECS (7/13/2015) === uname -v Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 OS: 10.10.4 Model Name: MacBook Pro Model Identifier: MacBookPro11,3 Processor Name: Intel Core i7 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 16 GB === XCODE === Version 7.0 beta 3 === JAVA / JAVAC (default) === $javac -version javac 1.8.0_45 $java -version java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) === EXAMPLE ERRORS === == ERROR #1 == After a command line build GIT wont work (maybe an old issue) $ git pull git://gerrit.libreoffice.org/core xcrun: error: active developer path ("/Volumes/Xcode/Xcode-beta.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`) (CORRECT LOCATION SHOULD BE) $ xcode-select -print-path /Applications/Xcode-beta.app/Contents/Developer SOLUTION: Manually going into Xcode's Preferences, select Locations and make sure the corresponding Command Line Tools are installed (/Applications/Xcode-beta.app) "grep -r "xcode-select -switch" *" shows nothing in all of libreoffice directories. "git pull git://gerrit.libreoffice.org/core" then works... == ERROR #2 == /autogen.sh stops working after build (maybe related to above) $ ./autogen.sh main::scan_file() called too early to check prototype at /opt/lo/bin/aclocal line 617. autom4te: need GNU m4 1.4 or later: /usr/bin/m4 aclocal: autom4te failed with exit status: 1 Failed to run aclocal at ./autogen.sh line 159. == ERROR #3 == (is there anyway to make the build process more colorful to watch?) === EXAMPLE OSX SPECIFIC BUILD WARNINGS === $ make = WARNING = /core/workdir/LexTarget/unoidl/source/sourceprovider-scanner.cxx:1054:2: /core/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:174:51: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] = WARNING = /Users/Asher/lo/core/vcl/osx/printaccessoryview.mm:1368:10: warning: 'setAccessoryView:' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations] [pOp setAccessoryView: [pAccessoryView autorelease]]; ^ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPrintOperation.h:142:1: note: 'setAccessoryView:' has been explicitly marked deprecated here - (void)setAccessoryView:(NSView *)view NS_DEPRECATED_MAC(10_0, 10_5); ^ = WARNING = /core/chart2/source/controller/main/ChartController.cxx:353:30: warning: unused function 'getSidebarFromModel' [-Wunused-function] uno::Reference<ui::XSidebar> getSidebarFromModel(uno::Reference<frame::XModel> xModel) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs