client icon indicating copy to clipboard operation
client copied to clipboard

Cannot build latest master

Open ndjdev opened this issue 12 years ago • 7 comments

Expected behaviour

Running sudo apt-get build-dep owncloud-client should install build dependencies

Actual behaviour

sudo apt-get build-dep owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies.
qtkeychain-dev : Depends: libqtkeychain0 (= 0.1.0-1ubuntu1) but 0.20140128 is to be installed
E: Build-dependencies for owncloud-client could not be satisfied.

Steps to reproduce

  1. Run sudo apt-get build-dep owncloud-client

Client configuration

Client version: master 5th Mar 2014, 10:57AM GMT

Operating system: Ubuntu 13.10

OS language: English

ndjdev avatar Mar 05 '14 10:03 ndjdev

Is the problem here that the updated qtkeychain-dev is called libqtkeychain-dev in the repository but the dependency points to the Ubuntu original? http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_13.10/amd64/

ndjdev avatar Mar 05 '14 11:03 ndjdev

The ubuntu upstream packages are outdated, so you better use the one from isv:ownCloud:desktop repo, as the dependency suggests.

dragotin avatar Mar 05 '14 11:03 dragotin

qtkeychain-dev isn't in the ownCloud:desktop repo, that's what I was saying.

ndjdev avatar Mar 05 '14 11:03 ndjdev

no, but libqtkeychain-dev is which is the one I'd recommend.

dragotin avatar Mar 05 '14 11:03 dragotin

But build-dep won't complete because it wants qtkeychain-dev. The instructions to build from master say run build-dep, so either the package needs renaming or the instructions are out of date.

ndjdev avatar Mar 05 '14 11:03 ndjdev

Never mind, got it sorted in the end. The build-deps of owncloud-client.deb in /devel/ are quite out of date compared to master so the instructions need updating. Replacing

sudo apt-get build-dep owncloud-client

with

sudo apt-get install libneon27-dev libqt4-dev libowncloudsync-dev libowncloudsync0 libqtkeychain-dev libqtkeychain0 libsqlite3-dev qt4-dev-tools

has resulted in a successful build on my machine.

ndjdev avatar Mar 05 '14 13:03 ndjdev

Same problem here, actual behavior is a little bit different (Ubuntu13.10)

sudo apt-get build-dep owncloud-client                                                                                                               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libocsync-dev : Depends: libocsync0 (= 0.91.4) but it is not going to be installed
 qtkeychain-dev : Depends: libqtkeychain0 (= 0.1.0-1ubuntu1) but 0.1.90-1 is to be installed
E: Build-dependencies for owncloud-client could not be satisfied.

Bypassed the build-dep step and followed ItsNotWorking's suggestions to build client successfully. Seems /devel/ should be updated.

deyuanix avatar Mar 11 '14 02:03 deyuanix