Ticket #371 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

scons fails to detect jack version

Reported by: noiseload Assigned to: jwoithe
Priority: trivial Milestone:
Component: generic Version: FFADO SVN (trunk)
Keywords: Cc:
The device the bug applies to:

Description

Scons fails to detect the jack version when compiling libffado from sources on Ubuntu (12.04 and 13.04).

Attachments

ubuntu_sconstruct_fix.patch (0.6 kB) - added by noiseload on 08/22/13 12:21:46.

Change History

08/22/13 12:21:46 changed by noiseload

  • attachment ubuntu_sconstruct_fix.patch added.

08/22/13 17:03:02 changed by jwoithe

  • owner set to jwoithe.
  • status changed from new to assigned.

Thanks for the patch. I'm happy to apply it, but before doing so I would like to understand why it is necessary. Running "jackd --version" (as we do here) should simply report jackd's version on a single line. Based on your change, it seems that this command is producing multiple lines of output on these systems. I would like to see what these lines are so we can be sure that this change won't inadvertently break some other setups.

Could you please post the output of "jackd --version" on your system so I can see exactly what is being returned in your case? Thanks.

08/22/13 19:06:27 changed by oget

On Fedora, I have:

orcan@desitter ~ $ jackd --version jackdmp 1.9.9.5 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2012 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details no message buffer overruns no message buffer overruns no message buffer overruns jackdmp version 1.9.9.5 tmpdir /dev/shm protocol 8

orcan@desitter ~ $ jackd --version 1>/dev/null no message buffer overruns no message buffer overruns no message buffer overruns

orcan@desitter ~ $ jackd --version 2>/dev/null jackdmp 1.9.9.5 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2012 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details jackdmp version 1.9.9.5 tmpdir /dev/shm protocol 8

08/22/13 19:07:40 changed by oget

with better formatting:

orcan@desitter ~ $ jackd --version
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp version 1.9.9.5 tmpdir /dev/shm protocol 8

orcan@desitter ~ $ jackd --version 1>/dev/null
no message buffer overruns
no message buffer overruns
no message buffer overruns

orcan@desitter ~ $ jackd --version 2>/dev/null
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
jackdmp version 1.9.9.5 tmpdir /dev/shm protocol 8

08/22/13 20:01:26 changed by jwoithe

Thanks for the updated information. In light of this output the patch makes sense. I will check it out on my development system and if problems do not arise I'll apply the patch. I expect it to be fine.

08/22/13 22:30:41 changed by noiseload

Thanks! Just for the sake of completeness: The output on ubuntu is the same as on fedora. Sorry, I should have provided it with the originial bug report...

08/23/13 03:37:57 changed by jwoithe

  • status changed from assigned to closed.
  • resolution set to fixed.

All good. Jackd1 produces only a single line of output when "--version" is specified which explains why I haven't personally encountered this problem. The multiple line output seems to be a jack2 thing, but the patch is fine for both. Thanks for the patch and the report. Applied in r2383.