Stable: 2.5.2
Development: 2.6-alpha3
Hi, I'm using MOC-2.5.2 in Debian stable.
I've got the HVSID collection, and I've pointed MOC to it with the config file. Problem is, it doesn't do anything. I've checked with strace and it's reading the config file, but it doesn't appear to touch the HVSID directory at all, and all the SID files end up with the wrong length.
I thought maaaaybe it was because of a weird symlink issue or something, so I copied the directory to /tmp/ and passed that over with:
SidPlay2_Database = /tmp/C64Music/
and still no love. I can play SIDs from the directory okay, but it won't read the database. And without the database, everything plays for 3 minutes per track.
kmws
Sun, 2017-09-17 18:16
Permalink
***
Hi mantar,
Was it in your home folder by any chance? have you used '~'?
Could you run mocp with -D option and see if there is any error regarding reading the database file?
mantar
Sun, 2017-09-17 20:32
Permalink
It's reading the config file
It's reading the config file according to strace, and it doesn't seem to matter where I put the HVSid collection. Relevant strace output:
This is with the C64Music directory copied to /tmp since it wasn't working in /home/mantar.
mocp -D output:
So that looks fine, too. Next I suppose I'll compile from source and see if that works, maybe a Debian maintainer did something funky.
mantar
Mon, 2017-09-18 00:09
Permalink
Okay, I tried compiling from
Okay, I tried compiling from both the 2.5.2 source, and the 2.6-alpha3 and there's no change. All sids are 3 minutes per track. It's weird, even looking at the code I don't see anything obviously wrong, but it doesn't load the song lengths.
Unrelated, but I also noticed when compiling that the configure script doesn't check for the libresid-builder requirement, just libsidplay2, and so compilation will start up and and quickly fail without that header. (IE #include <sidplay/builders/resid.h> )
jcf
Mon, 2017-09-18 01:02
Permalink
Testing for libresid-builder
In the
sidplay2.m4
file there is what is described as a:which tests the
builders
variable inlibsidplay2.pc
. Is this not sufficient?mantar
Mon, 2017-09-18 01:48
Permalink
Apparently not, the configure
Apparently not, the configure script succeeds without the resid builder header being present, then the compile errors out because the header's missing.
It's really not a big deal, since the error is clear as day about what you need, but to be technically correct (the best kind of correct!) the config script ought to throw an error first.
jcf
Mon, 2017-09-18 03:28
Permalink
Seek And You Shall Find
And what I have found out is this.
Testing the
builders
variable is sufficient when SidPlay2 is installed from source as intended. However, Debian monkeys with the library's packaging and places the components into several different packages.In this process, the
builders
variable and theresid.h
header have become seperated into thelibsidplay2-dev
andlibresid-builder-dev
packages respectively. So on Debian, the test is no longer sufficient as the user may not have installed thelibresid-builder-dev
package and therefore not have the full complement of files as intended by SidPlay2's developers.How right you are. I shall add a test to thwart Debian's monkeying.
jcf
Tue, 2017-09-19 23:40
Permalink
libresid-builder Requirement RESOLVED
I have today committed r2952/r2953 which resolve the libresid-builder issue (which was unrelated to the main topic of this thread).
riesebie
Wed, 2017-09-20 02:17
Permalink
Will update a Debian package
Will update a Debian package soon. The Build-Depends will be set respectively to satisfy the Monkeys ;-)
Elimar