[nama] Re: build problem 1.076

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Wed, 17 Aug 2011 07:06:21 -1000

On Wed, Aug 17, 2011 at 12:18:29PM +0200, Philipp ??berbacher wrote:
> Thanks, that helped indeed, but I still get some build warnings and nama
> doesn't start. Here's the build output:
 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Audio::Nama
> Writing MYMETA.yml and MYMETA.json
> cp lib/Audio/Nama/IO.pm blib/lib/Audio/Nama/IO.pm
> cp lib/Audio/Nama/Track.pm blib/lib/Audio/Nama/Track.pm
> cp lib/Audio/Nama/Graphical.pm blib/lib/Audio/Nama/Graphical.pm
> cp lib/Audio/Nama/Mark.pm blib/lib/Audio/Nama/Mark.pm
> cp lib/Audio/Nama/Jack_subs.pm blib/lib/Audio/Nama/Jack_subs.pm
> cp lib/Audio/Nama/Graph.pm blib/lib/Audio/Nama/Graph.pm
> cp lib/Audio/Nama/Insert.pm blib/lib/Audio/Nama/Insert.pm
> cp lib/Audio/Nama/Wavinfo_subs.pm blib/lib/Audio/Nama/Wavinfo_subs.pm
> cp lib/Audio/Nama/Midi_subs.pm blib/lib/Audio/Nama/Midi_subs.pm
> cp lib/Audio/Nama/Object.pm blib/lib/Audio/Nama/Object.pm
> cp lib/Audio/Nama/Group.pm blib/lib/Audio/Nama/Group.pm
> cp lib/Audio/Nama/Engine_cleanup_subs.pm 
> blib/lib/Audio/Nama/Engine_cleanup_subs.pm
> cp lib/Audio/Nama/Region_subs.pm blib/lib/Audio/Nama/Region_subs.pm
> cp lib/Audio/Nama/Config_subs.pm blib/lib/Audio/Nama/Config_subs.pm
> cp lib/Audio/Nama/Text.pm blib/lib/Audio/Nama/Text.pm
> cp lib/Audio/Nama/CacheTrack.pm blib/lib/Audio/Nama/CacheTrack.pm
> cp lib/Audio/Nama/Edit.pm blib/lib/Audio/Nama/Edit.pm
> cp lib/Audio/Nama/Effect_chain_subs.pm 
> blib/lib/Audio/Nama/Effect_chain_subs.pm
> cp lib/Audio/Nama/Project_subs.pm blib/lib/Audio/Nama/Project_subs.pm
> cp lib/Audio/Nama/Util.pm blib/lib/Audio/Nama/Util.pm
> cp lib/Audio/Nama/Mode_subs.pm blib/lib/Audio/Nama/Mode_subs.pm
> cp lib/Audio/Nama/Wav.pm blib/lib/Audio/Nama/Wav.pm
> cp lib/Audio/Nama/Initialize_subs.pm blib/lib/Audio/Nama/Initialize_subs.pm
> cp lib/Audio/Nama/Persistence.pm blib/lib/Audio/Nama/Persistence.pm
> cp lib/Audio/Nama/Assign.pm blib/lib/Audio/Nama/Assign.pm
> cp lib/Audio/Nama/Engine_setup_subs.pm 
> blib/lib/Audio/Nama/Engine_setup_subs.pm
> cp lib/Audio/Nama/Memoize_subs.pm blib/lib/Audio/Nama/Memoize_subs.pm
> cp lib/Audio/Nama/Mute_Solo_Fade.pm blib/lib/Audio/Nama/Mute_Solo_Fade.pm
> cp lib/Audio/Nama/ChainSetup.pm blib/lib/Audio/Nama/ChainSetup.pm
> cp lib/Audio/Nama/Realtime_subs.pm blib/lib/Audio/Nama/Realtime_subs.pm
> cp lib/Audio/Nama.pm blib/lib/Audio/Nama.pm
> cp lib/Audio/Nama/Option_subs.pm blib/lib/Audio/Nama/Option_subs.pm
> cp lib/Audio/Nama/Bus.pm blib/lib/Audio/Nama/Bus.pm
> cp lib/Audio/Nama/Effect_subs.pm blib/lib/Audio/Nama/Effect_subs.pm
> cp lib/Audio/Nama/Fade.pm blib/lib/Audio/Nama/Fade.pm
> cp lib/Audio/Nama/Terminal_subs.pm blib/lib/Audio/Nama/Terminal_subs.pm
> cp script/nama blib/script/nama
> /usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/nama
> Manifying blib/man1/nama.1p
> Manifying blib/man3/Audio::Nama::Object.3pm
> Manifying blib/man3/Audio::Nama.3pm
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/02_assign.t .. 1/? # TESTING t/02_assign.t
> # testing for class ::
> # Serializing, storing and recalling data
> # testing for class main::
> # Serializing, storing and recalling data
> # testing for class main
> # Serializing, storing and recalling data
> # scalar array: 4 scalar hash: 1/8
> t/02_assign.t .. ok    
> t/03_wav.t ..... # TESTING t/03_wav.t
> t/03_wav.t ..... ok   
> t/04_object.t .. # TESTING t/04_object.t
> t/04_object.t .. 1/? # testing trivial class Apple
> t/04_object.t .. ok   
> t/11_mark.t .... # TESTING t/11_mark.t
> t/11_mark.t .... ok   
> t/12_nama.t .... 1/? # TESTING t/12_nama.t
> # working directory: /home/murks/build/mine/nama/src/Audio-Nama-1.076
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 30.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 31.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 32.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 33.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 34.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 35.
> # Check representative variable from default .namarc
> t/12_nama.t .... 2/? Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 30.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 31.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 32.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 33.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 34.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 35.
> # IO.pm unit test 1
> # IO.pm unit test 2
> # IO.pm unit test 3
> # IO.pm unit test 4
> # IO.pm unit test 5
> # IO.pm unit test 6
> # IO.pm unit test 7
> # IO.pm unit test 8
> # IO.pm unit test 9
> # IO.pm unit test 10
> # IO.pm unit test 11
> # IO.pm unit test 12
> # IO.pm unit test 13
> # IO.pm unit test 14
> # IO.pm unit test 15
> # IO.pm unit test 16
> Parametric1: effect code not found
> lowpass_iir: effect code not found
> sc4: effect code not found
> matrixSpatialiser: effect code not found
> bandpass_iir: effect code not found
> sc4: effect code not found
> matrixSpatialiser: effect code not found
> highpass_iir: effect code not found
> sc4: effect code not found
> matrixSpatialiser: effect code not found
> tap_limiter: effect code not found
> t/12_nama.t .... 59/? # Edit mode playat and region endpoints adjustment
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 30.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 31.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 32.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 33.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 34.
> Use of uninitialized value $magnitude in lc at 
> /usr/share/perl5/vendor_perl/Number/Compare.pm line 35.
> Couldn't chdir /home/murks/build/mine/nama/src/Audio-Nama-1.076/test/: No 
> such file or directory
>  at /usr/share/perl5/vendor_perl/File/Find/Rule.pm line 594
> t/12_nama.t .... ok     
> t/13_io.t ...... 1/? # TESTING t/13_io.t
> t/13_io.t ...... ok   
> All tests successful.
> Files=6, Tests=139,  6 wallclock secs ( 0.08 usr  0.02 sys +  4.37 cusr  0.90 
> csys =  5.37 CPU)
> Result: PASS

The warnings are not significant; they as a result of
my laziness and lack of testing cleverness.

> 
> And here's the output when I start nama after this build:
> 
> $ nama
>       ////////////////////////////////////////////////////////////////////
>      /                                                                  /
>     /    Nama multitrack recorder v. 1.076 (c)2008-2011 Joel Roth     /
>    /                                                                  /
>   /    Audio processing by Ecasound, courtesy of Kai Vehmanen        /
>  /                                                                  /
> ////////////////////////////////////////////////////////////////////
> 
> 
> Found config file: /home/murks/.namarc
> perl: symbol lookup error: 
> /usr/lib/perl5/vendor_perl/auto/Audio/Ecasound/Ecasound.so: undefined symbol: 
> Perl_Gthr_key_ptr
 
This error involves the same symbol, this time with
Audio::Ecasound, which also involves compiled code.

Perhaps it will be solved be re-installing Audio::Ecasound.
Alternatively, you could work around it by starting Nama
with the --net-eci (-n) flag.

> And when I remove the old config:
> 
> $ nama
>       ////////////////////////////////////////////////////////////////////
>      /                                                                  /
>     /    Nama multitrack recorder v. 1.076 (c)2008-2011 Joel Roth     /
>    /                                                                  /
>   /    Audio processing by Ecasound, courtesy of Kai Vehmanen        /
>  /                                                                  /
> ////////////////////////////////////////////////////////////////////
> 
> 
> Use of uninitialized value $Audio::Nama::project_root in hash element at 
> /usr/share/perl5/vendor_perl/Audio/Nama/Project_subs.pm line 56.
> perl: symbol lookup error: 
> /usr/lib/perl5/vendor_perl/auto/Audio/Ecasound/Ecasound.so: undefined symbol: 
> Perl_Gthr_key_ptr
> 
> 
> 
> 
> Are some of those known issues? Should I try git first?
 
This issue is new to me. Since it involves Audio::Ecasound,
which is separate from Nama, building Nama from git won't
be much different (except you'll get one new feature,
a view_waveform command that calls mhwaveedit on the current
track and version.)

Thanks for maintaining the Arch package of Nama!

Joel



-- 
Joel Roth

Other related posts: