Page 1 of 1

[Solved] Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Wed Sep 23, 2015 4:54 am
by shogun1234
I follow the instruction at
Code: Select all
http://retroshare.sourceforge.net/wiki/index.php/UnixCompile#Debian.2FUbuntu.2FRaspbian


building the package from the source code. But after all packages mentioned are installed, I still have error
Code: Select all
Project ERROR: Unknown module(s) in QT: uitools
Makefile:150: recipe for target 'retroshare-gui-make_first' failed
make: *** [retroshare-gui-make_first] Error 3


How can I fix this? Thanks

Environment: Debian 4.0.0-2-rt-686-pae/ GNU Make 4.0
git commit: 1d54630007da766b05c99075bdf3b616a09a80f2

Re: Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Thu Sep 24, 2015 4:46 pm
by heini
shogun1234 wrote:How can I fix this? Thanks

First, make sure you have package dpkg-dev installed. Then, just run the following commands from within your repo clone (Replace jessie with the name of your Debian version):
Code: Select all
cd build_scripts/Debian+Ubuntu
./makeSourcePackage.sh -distribution jessie
cd retroshare06-0.6.0
dpkg-buildpackage

The last command may fail for the first time, telling you which prerequisites are missing. Just install the missing packages and run it again. Afterwards, you'll find a couple of deb packages in the parent directory, which you can install with
Code: Select all
dpkg -i retroshare06_0.6.0-1.*.deb retroshare06-feedreader-plugin_0.6.0-1.*.deb retroshare06-voip-plugin_0.6.0-1.*.deb
apt-get -f install

Environment: Debian 4.0.0-2-rt-686-pae/ GNU Make 4.0

Guess that's Linux (the kernel) 4.0.0, not Debian (the distribution).

HTH...

Dirk

Re: Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Fri Sep 25, 2015 1:09 pm
by shogun1234
When executing to the command `./makeSourcePackage.sh -distribution stretch` (cat /etc/debian_version shows stretch/sid), it has some errors and fails in signing stage. From the message it looks like missing gpg secret key, but I do not know how to fix that; for instance I tried `pgp --gen-key` then reran the command `./makeSourcePackage.sh --distribution stretch`, but it still fails at pgp error occurred.

Code: Select all
W: retroshare06 source: native-package-with-dash-version
E: retroshare06 source: source-is-missing src/libresapi/src/webfiles/JSXTransformer.js
E: retroshare06 source: source-is-missing src/libresapi/src/webfiles/react.js
W: retroshare06 source: dh-clean-k-is-deprecated
W: retroshare06 source: binary-nmu-debian-revision-in-source 0.6.0-1.20150917.1d546300~stretch
W: retroshare06 source: maintainer-upload-has-incorrect-version-number 0.6.0-1.20150917.1d546300~stretch
W: retroshare06 source: debian-rules-missing-recommended-target build-arch
W: retroshare06 source: debian-rules-missing-recommended-target build-indep
W: retroshare06 source: ancient-standards-version 3.9.3 (current is 3.9.6)
Finished running lintian.
Now signing changes and any dsc files...
 signfile retroshare06_0.6.0-1.20150917.1d546300~stretch.dsc 0932399B
gpg: skipped ...: secret key not available
gpg: /tmp/debsign.Ku9TAz4q/retroshare06_0.6.0-1.20150917.1d546300~stretch.dsc: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1293:
running debsign failed

Re: Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Fri Sep 25, 2015 5:08 pm
by heini
shogun1234 wrote:When executing to the command `./makeSourcePackage.sh -distribution stretch` (cat /etc/debian_version shows stretch/sid), it has some errors and fails in signing stage. From the message it looks like missing gpg secret key, but I do not know how to fix that; for instance I tried `pgp --gen-key` then reran the command `./makeSourcePackage.sh --distribution stretch`, but it still fails at pgp error occurred.


You can ignore that. The retroshare06-0.6.0 directory and the distribution tarball should be there. Just enter that directory and run dpkg-buildpackage.

Bye...

Dirk

Re: Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Sat Sep 26, 2015 12:49 pm
by shogun1234
It works now. Many thanks!
heini wrote:
shogun1234 wrote:When executing to the command `./makeSourcePackage.sh -distribution stretch` (cat /etc/debian_version shows stretch/sid), it has some errors and fails in signing stage. From the message it looks like missing gpg secret key, but I do not know how to fix that; for instance I tried `pgp --gen-key` then reran the command `./makeSourcePackage.sh --distribution stretch`, but it still fails at pgp error occurred.


You can ignore that. The retroshare06-0.6.0 directory and the distribution tarball should be there. Just enter that directory and run dpkg-buildpackage.

Bye...

Dirk

Re: [Solved] Project ERROR: Unknown module(s) in QT: uitools

PostPosted: Sun Sep 27, 2015 6:14 am
by heini
Great. Once you're connected, you can get updates from the "Debian Weekly Builds" channel.

Bye...

Dirk