Git Product home page Git Product logo

ownbuild's People

Contributors

dschmidt avatar jnweiger avatar micbar avatar phil-davis avatar theonering avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ownbuild's Issues

Mac owncloud client 2.7 - compile error

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

How to build a branded client?

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!

[QA] build fails

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

Provide beginner-friendly instructions

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.