On Tue, 2010-09-28 at 16:01 +0200, Paul Brossier wrote:

> it seems you have another binary version of puredata installed on your 
> machine.
> in that case, this bug should be closed. otherwise, please provide more info.

I've never installed puredata before, so I definitely don't have another
binary on my machine. Hans did a demo of it at DebConf10 for me on his
computer and I decided to try it when I got back home.

Perhaps this is an architecture-specific issue? I'm on amd64 and the
other person who mentioned their arch seems to use i386.

p...@chianamo:~$ which puredata
/usr/bin/puredata
p...@chianamo:~$ /usr/bin/puredata
tcl: /usr/lib/pd/bin/bin/pd.tk: can't open script
pd: exiting
p...@chianamo:~$ which puredata
/usr/bin/puredata
p...@chianamo:~$ dpkg -S /usr/bin/puredata
puredata: /usr/bin/puredata
p...@chianamo:~$ debsums -sa puredata
p...@chianamo:~$ puredata
tcl: /usr/lib/pd/bin/bin/pd.tk: can't open script
^CPd: signal 2
p...@chianamo:~$ ls -l /usr/bin/puredata 
lrwxrwxrwx 1 root root 2 Aug 15 17:02 /usr/bin/puredata -> pd*
p...@chianamo:~$ file /usr/bin/pd
/usr/bin/pd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.18, stripped
p...@chianamo:~$ dpkg -S /usr/bin/pd
puredata: /usr/bin/pd
p...@chianamo:~$ which pd
/usr/bin/pd
p...@chianamo:~$ pd
tcl: /usr/lib/pd/bin/bin/pd.tk: can't open script
^CPd: signal 2
p...@chianamo:~$ dpkg -L puredata | xargs grep pd.tk
Binary file /usr/lib/pd/bin/pd-gui matches
p...@chianamo:~$ /usr/lib/pd/bin/pd-gui
sh: /usr/lib/pd/bin/../bin/pd: not found
^C
p...@chianamo:~$ ls /usr/lib/pd/bin/../bin/pd
ls: cannot access /usr/lib/pd/bin/../bin/pd: No such file or directory
p...@chianamo:~$ pd -verbose
Pd version 0.42-6
compiled 01:37:11 Sep 29 2010
port 5402
TCL_LIBRARY="/usr/lib/pd/tcl/library" TK_LIBRARY="/usr/lib/pd/tk/library"       
           "/usr/lib/pd/bin/pd-gui" 5402
Waiting for connection request... 
tcl: /usr/lib/pd/bin/bin/pd.tk: can't open script
... connected
OSS: requested audio buffer size 8816 limited to 8192
OSS: issuing first ADC 'read' ... ...done.
pd: exiting

After rebuilding it with debug symbols I did some debugging and found:

sys_startgui gets called with guidir="/usr/lib/pd/bin"

sys_guicmd gets set to "TCL_LIBRARY=\"/usr/lib/pd/tcl/library\"
TK_LIBRARY=\"/usr/lib/pd/tk/library\"", ' ' <repeats 18 times>,
"\"/usr/lib/pd/bin/pd-gui\" 5400\n"

I can't figure out how to debug pd-gui.

Also, there are some "interesting" warnings in the build logs:

https://buildd.debian.org/fetch.cgi?&pkg=puredata&ver=0.42.6-1%2Bb1&arch=amd64&stamp=1279403523&file=log
https://buildd.debian.org/fetch.cgi?pkg=puredata&arch=i386&ver=0.42.6-1%2Bb1&stamp=1279404893&file=log&as=raw

Also, when using dpkg-source v3, quilt is explicitly not needed in
debian/rules since dpkg-source itself applies the patches during unpack.

Also, to everyone who replied without CCing me or the -submitter
address, please remember that the submitter is not subscribed to the bug
by default in the Debian BTS.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to