owncloud / ownbuild Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
Hello,
I am trying to compile owncloud client on a Mac using
python3 build.py --branch 2.7 -- --target 2.7 owncloud-client
as seen on:
How to build the client on Mac OS X #7965
but I'm getting this error:
[272/394] icons
FAILED: shell_integration/MacOSX/CMakeFiles/mac_overlayplugin
cd /Users/M2/2.7/macos-64-clang/build/owncloud/owncloud-client/work/build/shell_integration/MacOSX && xcodebuild -project /Users/M2/2.7/downloads/git/owncloud/owncloud-client/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj -target FinderSyncExt -configuration Release SYMROOT=/Users/M2/2.7/macos-64-clang/build/owncloud/owncloud-client/work/build/shell_integration/MacOSX OC_OEM_SHARE_ICNS=/Users/M2/2.7/macos-64-clang/build/owncloud/owncloud-client/work/build/src/gui/owncloud.icns OC_APPLICATION_NAME=ownCloud OC_APPLICATION_REV_DOMAIN=com.owncloud.desktopclient OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[273/394] Building CXX object test/CMakeFiles/FolderWatcherTest.dir/testfolderwatcher.cpp.o
[274/394] Building CXX object test/CMakeFiles/RemoteDiscoveryTest.dir/RemoteDiscoveryTest_autogen/mocs_compilation.cpp.o
[275/394] Building CXX object test/CMakeFiles/LockedFilesTest.dir/LockedFilesTest_autogen/mocs_compilation.cpp.o
[276/394] Building CXX object test/CMakeFiles/RemoteDiscoveryTest.dir/testremotediscovery.cpp.o
[277/394] Building CXX object test/CMakeFiles/BlacklistTest.dir/BlacklistTest_autogen/mocs_compilation.cpp.o
ninja: build stopped: subcommand failed.
Action: compile for owncloud/owncloud-client:2.7 FAILED
*** Craft all failed: owncloud/owncloud-client after 3 minutes 30 seconds ***
fatal error: package owncloud/owncloud-client all failed
Craft stopped with out completing ['owncloud/owncloud-client']
Command /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -u /Users/M2/2.7/macos-64-clang/craft/bin/craft.py --target 2.7 owncloud-client failed with exit code: 1
What am I doing wrong?
Thank you.
Stefano
I want to build a client with a theme using the kde craft system. I know how to build a themed client using cmake with the OEM_THEME_DIR
cmake parameter, but what would be the corresponding option for using ownbuild.py?
Thanks in advance!
Seen while trying the build commands shown in the README on Win11
Setup: Follow the instructions for visual studio 2022 / 2019 in the README.
Then run the command shown in the README.
python3 ownbuild.py owncloud-client
runs for long time, compiles many files, but eventually runs into an error:
...
*** Action: post-qmerge for binary/mysql ***
*** Craft all succeeded: binary/mysql after 4 minutes 40 seconds ***
========================================================================================================================
*** Handling package: libs/icu, action: all ***
*** Action: fetch-binary for libs/icu ***
Could not find libs/icu=67.1 in https://files.kde.org/craft/master/22.07/windows/msvc2019_64/cl/RelWithDebInfo
Could not find libs/icu=67.1 in https://files.kde.org/craft/master/22.07/windows/msvc2019_64/cl/Release
*** libs/icu not found in cache ***
*** Action: fetch for libs/icu ***
wget https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz
C:/CraftRoot/download/archive 100%[=================================================>] 23.38M 1.51MB/s in 16s
*** Action: unpack for libs/icu ***
executing command: C:\CraftRoot\dev-utils\bin\7za.exe x C:\CraftRoot\download\archives\libs\icu\icu4c-67_1-src.tgz -so -bsp2 | C:\CraftRoot\etc\virtualenv\3\Scripts\python.exe -u C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\untar.py C:\CraftRoot\build\_\9245fc20
*** Action: compile for libs/icu ***
*** Craft all succeeded: libs/icu after 22 seconds ***
list index out of range
Traceback (most recent call last):
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\craft.py", line 274, in <module>
success = main(timer)
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\craft.py", line 264, in main
if not CraftCommands.run(package, action, tempArgs):
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\CraftCommands.py", line 425, in run
if not handlePackage(info, action, directTargets=directTargets):
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\CraftCommands.py", line 94, in handlePackage
success = doExec(package, action)
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\CraftCommands.py", line 58, in doExec
ret = package.instance.runAction(action)
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\Package\PackageBase.py", line 247, in runAction
if not getattr(self, step)():
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\BuildSystem\BuildSystemBase.py", line 89, in compile
return configure() and make()
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\BuildSystem\AutoToolsBuildSystem.py", line 60, in configure
self.shell.environment["CFLAGS"] = self.subinfo.options.configure.cflags + " " + self.shell.environment["CFLAGS"]
File "C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\shells.py", line 112, in environment
latestAutomake = automake[-1][1]
IndexError: list index out of range
Craft stopped with out completing ['libs/icu', 'libs/libzstd', 'libs/libpng', 'libs/libjpeg-turbo', 'libs/sqlite', 'libs/libbzip2', 'libs/pcre2', 'libs/freetype', 'libs/harfbuzz', 'dev-utils/qtbinpatcher', 'dev-utils/flexbison', 'libs/qt5/qtbase', 'libs/qt5/qtsvg', 'libs/d3dcompiler', 'libs/qt5/qtdeclarative', 'libs/qt5/qttools', 'libs/qt5/qttranslations', 'kde/frameworks/extra-cmake-modules', 'libs/qt5/qtxmlpatterns', 'qt-libs/qtkeychain']
Command C:\CraftRoot\etc\virtualenv\3\Scripts\python.exe -u C:\Users\User\ownbuild\2.10\windows-msvc2019_64-cl\craft\bin\craft.py --unshelve C:\Users\User\ownbuild\2.10\.craft.shelf failed with exit code: 1
Failed to setup craft
Same error for the more specific command
python3 ownbuild.py --branch 2.10 --target windows-msvc2019_64--cl
Context: owncloud/docs-client-desktop#242
In order to avoid redundancies and provide up-to-date documentation close to where it is needed, this repository should provide easy-to-use-and-understand user documentation. We need beginner-friendly setup and usage tutorials that allow non-devs to create their own build using ownbuild and craft.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.