Page 1 of 1

Dedcon fails to launch playbacks on Debian testing

Posted: Wed Feb 10, 2016 9:04 pm
by VSj
I can't seem to get Dedcon to launch a dcrec playback on Debian stretch/sid.

Code: Select all

user@host:~$ /path/to/dedcon -l /path/to/recording.dcrec
Loading recording file /path/to/recording.dcrec.
terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'
  what():  basic_ios::clear: iostream error
Aborted


Without the -l switch the same binary in the same environment runs, reads config files and writes logs just fine.

Re: Dedcon fails to launch playbacks on Debian testing

Posted: Fri Feb 12, 2016 10:52 am
by aug
Here's one possible solution: use schroot to install a stable debian inside Stretch.

https://wiki.ubuntu.com/DebootstrapChroot

The above instructions are for Ubuntu, but just convert the Ubuntu-stuff for Debian.

Or here's what I did:

Code: Select all

root@debian:~# apt-get install schroot debootstrap
root@debian:~# mkdir /var/chroot
root@debian:~# nano /etc/schroot/schroot.conf

--
[squeeze]
description=Debian squeeze (stable) 32-bit
directory=/var/chroot/squeeze
users=yourusername
groups=sbuild
aliases=stable
personality=linux32
root-groups=root
--

root@debian:~# debootstrap --variant=buildd --arch i386 squeeze /var/chroot/squeeze http://ftp.debian.org/debian/

chroot to squeeze:

Code: Select all

root@debian:~# chroot /var/chroot/squeeze


Now you can install Dedcon under the new chroot, and it works! Magic!

Re: Dedcon fails to launch playbacks on Debian testing

Posted: Fri Feb 12, 2016 7:26 pm
by VSj
aug wrote:it works!


It sure does.

Thank you!

I believe this will do.