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
[Windows] Cannot build stable releaes e.g. 5.2.1 - documentation should be updated #11616
Comments
Please follow the steps described in https://github.com/owncloud/ownbuild/blob/master/README.md |
Thanks for the help Hannah. I was able to use the ownbuild.py. Now, I was able to change and start the build process to the latest stable branch, by running the following command:
But after a while compiling, I got the following:
Those files exists and look good. Am I missing something here? I just wanted to build a clean latest release from scratch Thanks for all your help. Hopefully you can help me here. Best regards, |
Can you try to perform the first call without any args and once it succeeded try the --set call? |
With no args, it doesn't run:
So I have to at least set the target (with the master branch it builds successfully, but I have the same error at runtime - trayicon doesn't show and show the error on the logs):
Now, if I run the command with the proper branch and revision (latest stable), here is what I get (error in cacert.py):
If I just rerun this command, now I have the error I mentioned earlier:
|
Hi, Afterwards, I tried with the --set arguments, it failed at
I ran the command once again and now the error change to:
Last but not least, I now tried to run the build again without --set call, now it gives me the last error all the time. Have you ever faced this while setting up the Craft package and setting up a build? |
It appears you are mixing a Craft setup with a ownBuild setup. |
Indeed I was doing wrong with ownbuild.py, so I've setup a new folder to run it. The latest release still doesn't run the .exe, same error as in the beginning so I guess it's something to do with my build environment (Win10 X64). By running the command below, the only thing that doesn't get generated is the owncloud.exe file 😔 Not sure if I'm missing to run anything afterwards.
If I run without the --set revision, it builds properly. Some settings were configured in newer versions of this client and use features that are not available in this version So, bottom line, still not possible to generate a latest stable release from my side.
|
You need to run it from the terminal in the craft environment. |
Pre-submission Checks
Describe the bug
Hi Team,
While following official documentation, at the Windows Build The Desktop App Step, I have the option to select a branch to be built.
The example on the documentation does not work:
`You can find the git checkout in C:\CraftRoot\downloads\git\owncloud\owncloud-client. There you can use the usual git commands to switch branches and remotes, e.g., to build the 5.2 stable branch you can use craft with --set version parameter:
git checkout 5.2
craft --set version=5.2 owncloud-client`
Can you please advise on how should I do to build a stable release instead of the master release?
Expected behavior
I expected to be able to change to stable release to build it.
The master release when I built, the .exe gets generated, but when I run it on the logs show the below, so I wanted to build a stable release:
ownCloud 6.0.0-git d872c3 Bibliotecas Qt 6.7.0, OpenSSL 3.2.1 30 Jan 2024 Usando o plug-in de arquivos virtuais: suffix OS: windows-10.0.19045 (build arch: x86_64, CPU arch: x86_64) QPA: windows ownCloud
24-04-18 11:47:32:390 [ debug default ] [ OCC::Logger::setLogRules ]: ""
24-04-18 11:47:32:390 [ info gui.main ]: ################## "ownCloud" locale: "pt_BR" version: "ownCloud 6.0.0-git d872c3 Bibliotecas Qt 6.7.0, OpenSSL 3.2.1 30 Jan 2024 Usando o plug-in de arquivos virtuais: suffix OS: windows-10.0.19045 (build arch: x86_64, CPU arch: x86_64) QPA: windows"
24-04-18 11:47:32:390 [ info gui.main ]: Arguments: QList("C:\CraftRoot\bin\owncloud.exe", "--logfile", "C:\temp\owncloud.log")
24-04-18 11:47:32:468 [ info gui.account.manager ]: Restored: 0 unknown certs.
24-04-18 11:47:32:468 [ info gui.folder.manager ]: Setup folders from settings file
24-04-18 11:47:32:484 [ critical sync.plugins ]: Could not load plugin: not existant or bad metadata "ownCloud_vfs_wincfapi"
24-04-18 11:47:32:484 [ fatal default ]: Could not load plugin
Steps to reproduce the issue
You can find the git checkout in C:\CraftRoot\downloads\git\owncloud\owncloud-client. There you can use the usual git commands to switch branches and remotes, e.g., to build the 5.2 stable branch you can use craft with --set version parameter:
git checkout 5.2
craft --set version=5.2 owncloud-client
craft --configure --make --install
craft owncloud-client
PS C:\CraftRoot> craft owncloud-client
Craft : C:\CraftRoot
ABI : windows-cl-msvc2022-x86_64
Download directory : C:\CraftRoot\download
Cache repository : https://files.kde.org/craft/Qt6/24.04/windows/cl/msvc2022/x86_64
C:\CraftRoot\etc\blueprints\locations\craft-blueprints-owncloud\owncloud\owncloud-client\owncloud-client.py failed:
You defined an invalid target 5 for owncloud/owncloud-client, avaialble versions are ['2.5.4.11654', 'master', '2.6', '2.7', '2.8', '2.9', '2.10']
Screenshots
No response
Logs
No response
Client version number
Latest build
Desktop environment (Linux only)
No response
Client package version and origin (Linux only)
No response
Installation path (Windows only)
No response
Server information
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: