Thanks! How would I go about installing the PPAs on Raspbian? Do I just grab the DEBs and use 'dpkg -i'? Or add the PPA to my /etc/apt/sources.list?
Hi Peter,
On Thu, Mar 23, 2017 at 08:14:58AM -0700, Peter Newman wrote:
> Hi both,
>
> It's just the specific version of libmicrohttpd-dev that's the issue, but
> earlier versions do work on Jessie.
Yeah, I remember now.
> Is there an --ignore-dependencies or --force option he could use Wouter?
Yes and no.
If you manually install dependencies, you can say "dpkg-buildpackage
-d", which is the "ignore dependencies" flag. But that doesn't help for
mk-build-deps :-)
Having said that, I'm working on a backports upload now. Will probably
be ready by tonight, and then (once accepted by the admins and published
etc) it's just a matter of adding a deb-src line for backports and
running "apt-get build-dep ola; apt-get -b source ola", which should be
easier than all this.
> On a related note Wouter, have you seen this (specifically the
> build-depends-on-1-revision bit):
> https://lintian.debian.org/maintainer/wou...@debian.org.html#ola
Yeah, but that doesn't help us here, because there's no
libmicrohttpd-dev in backports ;-)
Many thanks for your help! I'll add the deb-src line for jessie-backports and check for ola. I can't wait to get a recent version on my Pi! I met with my theater's stage prop designer today and told her about this; if it works, we're going to make several different props this way.
Having said that, I'm working on a backports upload now. Will probably
be ready by tonight, and then (once accepted by the admins and published
etc) it's just a matter of adding a deb-src line for backports and
running "apt-get build-dep ola; apt-get -b source ola", which should be
easier than all this.
Hi Andrew,
On Thu, Mar 30, 2017 at 01:04:48PM -0700, Andrew Hall wrote:
> On Thursday, March 23, 2017 at 8:25:26 AM UTC-7, Wouter Verhelst wrote:
>
> Having said that, I'm working on a backports upload now. Will probably
> be ready by tonight, and then (once accepted by the admins and published
> etc) it's just a matter of adding a deb-src line for backports and
> running "apt-get build-dep ola; apt-get -b source ola", which should be
> easier than all this.
>
>
> I've added the jessie-backports deb-src line to /etc/apt/sources.list and tried
> running "apt-get -t jessie-backports -b source ola", but it can't find the
> source package. Is it just a matter of time before it publishes, or am I doing
> something wrong?
You're not
> Assuming it's just going through review at Debian, I'm now simply checking
> https://packages.debian.org/source/stretch/ola and looking for a
> [jessie-backports] tab at the top of the page.
It's still going through review, yes.
Specifically, it's in the backports NEW queue, waiting for a backports admin to
ack it.
You can follow the progress on
<https://ftp-master.debian.org/backports-new.html>; as soon as it's not listed
there anymore, it should be available (unless it gets rejected for whatever
reason, but that's unlikely)
Thanks! OLA 10.3 is working wonderfully on my (non-Franken-) Debian Jessie. I am unclear on one thing, though. After the build, I tried "apt-get -t jessie-backports install ola", which (to my surprise) worked. I was just expecting to run "dpkg -i" on the resulting DEB. Did my build upload the binaries, or did someone else? (My Linux newbie-ness is showing.)
Andrew
Wow! Thank you for explaining this. I didn't know there could be problems installing Debian repository packages on a Pi. I feel I need to make sure I'm going about this the right way. Starting from a fresh Raspbian Jessie Lite, is this the correct way to build compatible OLA 10.3 debs?
Add this line to /etc/apt/sources.list:
deb-src http://ftp.debian.org/debian jessie-backports main
Run these commands:
sudo apt-get install devscripts
apt-get build-dep ola
apt-get -b source ola
sudo debi
If this is correct, can I copy the resulting debs to another Pi and install all of them? I'm building on a Pi 2 because it's faster, but I'd like to install these debs on a handful of Pi Zero W's to be used as prop controllers. (I could just try installing the debs there, but if I've learned anything here, it's that just because something installs doesn't mean it will work reliably.)
Thanks for your patience.
Andrew
Add this line to /etc/apt/sources.list:
deb-src http://ftp.debian.org/debian jessie-backports main
Run these commands:
sudo apt-get update
sudo apt-get install devscripts
apt-get build-dep ola
apt-get -t jessie-backports -b source ola
sudo debi
W: GPG error: http://ftp.debian.org jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Hope that makes sense as an error to someone. My Linux skills are growing by the day but I have no idea where to start with this one!
pi@BLUE:/etc/apt $ sudo apt-get -t jessie-backports -b source ola
Reading package lists... Done
E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
I'm guessing that this means I need to change the APT setup so that it matches what is actually available in the jessie-backports? Any help appreciated. Thanks, Will
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb-src http://ftp.debian.org/debian jessie-backports main
Reading package lists... Done
E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
==================================
OLA 0.10.3: ./test-suite.log
==================================
# TOTAL: 87
# PASS: 86
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: common/base/CredentialsTester
===================================
.F.F....
CredentialsTest.cpp:72:Assertion
Test name: CredentialsTest::testGetUIDs
assertion failed
- Expression: uid
- Don't run the tests as root!
CredentialsTest.cpp:95:Assertion
Test name: CredentialsTest::testGetGIDs
assertion failed
- Expression: gid
- Don't run the tests as root!
Failures !!!
Run: 6 Failure total: 2 Failures: 2 Errors: 0
============================================================================
Testsuite summary for OLA 0.10.3
============================================================================
# TOTAL: 87
# PASS: 86
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to open-l...@googlegroups.com
============================================================================
Makefile:15455: recipe for target 'test-suite.log' failed
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
Makefile:15561: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
Makefile:16373: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
Makefile:15341: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
Makefile:16377: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
debian/rules:14: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd ola-0.10.3.nojsmin && dpkg-buildpackage -b -uc' failed.
E: Child process failed
debi: cannot find readable debian/changelog anywhere!
Are you in the source code tree?
I must be getting close! Thanks for the help
pi@BLUE:~ $ apt-get -b source ola
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'ola' packaging is maintained in the 'Git' version control system at:
Skipping already downloaded file 'ola_0.10.3.nojsmin-2~bpo8+1.dsc'
Skipping already downloaded file 'ola_0.10.3.nojsmin.orig.tar.gz'
Skipping already downloaded file 'ola_0.10.3.nojsmin-2~bpo8+1.debian.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in ola-0.10.3.nojsmin
dpkg-buildpackage: source package ola
dpkg-buildpackage: source version 0.10.3.nojsmin-2~bpo8+1
dpkg-buildpackage: source distribution jessie-backports
dpkg-buildpackage: source changed by Wouter Verhelst <wou...@debian.org>
dpkg-buildpackage: host architecture armhf
dpkg-source --before-build ola-0.10.3.nojsmin
fakeroot debian/rules clean
dh clean --parallel --with autotools_dev,autoreconf,bash_completion,python2
dh_testdir
dh_auto_clean
make -j1 distclean
make[1]: Entering directory '/home/pi/ola-0.10.3.nojsmin'
Making distclean in java
make[2]: Entering directory '/home/pi/ola-0.10.3.nojsmin/java'
test -z "src/main/java/ola/proto/Ola.java src/main/java/ola/rpc/Rpc.java" || rm -f src/main/java/ola/proto/Ola.java src/main/java/ola/rpc/Rpc.java
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f Makefile
rm: cannot remove ‘Makefile’: Permission denied
Makefile:468: recipe for target 'distclean' failed
make[2]: [distclean] Error 1 (ignored)
make[2]: Leaving directory '/home/pi/ola-0.10.3.nojsmin/java'
make[2]: Entering directory '/home/pi/ola-0.10.3.nojsmin'
rm -f examples/ola_dev_info examples/ola_rdm_discover examples/ola_rdm_get examples/ola_recorder examples/ola_streaming_client examples/ola_timecode examples/ola_uni_stats examples/ola_e131 examples/ola_usbpro examples/ola_artnet examples/ola_dmxconsole examples/ola_dmxmonitor olad/olad tools/ola_trigger/ola_trigger tools/usbpro/usbpro_firmware tools/rdmpro/rdmpro_sniffer
rm: cannot remove ‘examples/ola_dev_info’: Permission denied
rm: cannot remove ‘examples/ola_rdm_discover’: Permission denied
rm: cannot remove ‘examples/ola_rdm_get’: Permission denied
rm: cannot remove ‘examples/ola_recorder’: Permission denied
rm: cannot remove ‘examples/ola_streaming_client’: Permission denied
rm: cannot remove ‘examples/ola_timecode’: Permission denied
rm: cannot remove ‘examples/ola_uni_stats’: Permission denied
rm: cannot remove ‘examples/ola_e131’: Permission denied
rm: cannot remove ‘examples/ola_usbpro’: Permission denied
rm: cannot remove ‘examples/ola_artnet’: Permission denied
rm: cannot remove ‘examples/ola_dmxconsole’: Permission denied
rm: cannot remove ‘examples/ola_dmxmonitor’: Permission denied
rm: cannot remove ‘olad/olad’: Permission denied
rm: cannot remove ‘tools/ola_trigger/ola_trigger’: Permission denied
rm: cannot remove ‘tools/usbpro/usbpro_firmware’: Permission denied
rm: cannot remove ‘tools/rdmpro/rdmpro_sniffer’: Permission denied
Makefile:8220: recipe for target 'clean-binPROGRAMS' failed
make[2]: *** [clean-binPROGRAMS] Error 1
make[2]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
Makefile:15341: recipe for target 'distclean-recursive' failed
make[1]: *** [distclean-recursive] Error 1
make[1]: Leaving directory '/home/pi/ola-0.10.3.nojsmin'
dh_auto_clean: make -j1 distclean returned exit code 2
debian/rules:14: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
Build command 'cd ola-0.10.3.nojsmin && dpkg-buildpackage -b -uc' failed.
E: Child process failed
Is there a precompiled image anywhere that I can download that includes the python module? Preferably one that has the latest version, 0.10.3 and can run on a Raspberry pi B+, 2 or 3.
The downloads page has some old images (http://dl.openlighting.org/). I'm wondering if it is easier to update one of those old git images? Trying to get this to compile doesn't seem to be working. I'm happy to keep trying but I would rather someone like you Wouter put your spare time into getting a new image on the downloads page than answering the many questions now coming through to this google group regarding getting 0.10.3 to compile.
Thanks for your help so far, Will
I made that mistake with "sudo" also. You'll have to delete all the files and folders created by your first build. Then do "apt-get -b source ola". It will work, since your build did pass all the other tests. You are so close! :)
Andrew