Re: Csound on Ubuntu
On Mon, Mar 7, 2011 at 19:22, Micah Gersten mic...@ubuntu.com wrote: On 03/07/2011 12:18 AM, Reinhard Tartler wrote: On Mon, Mar 07, 2011 at 00:10:17 (CET), Felipe Sateler wrote: On Sun, Mar 6, 2011 at 17:12, Felipe Sateler fsate...@debian.org wrote: On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. OK, I found the problem. In Ubuntu, scons is for some reason inserting -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC library. The scons in debian shows no such problem. The ubuntu people here, how can I get Ubuntu to pick the latest version from debian, and then rebuild csound using that? I've now filed https://bugs.launchpad.net/ubuntu/+source/scons/+bug/730447 for tracking the issue. Ideally we can identify what change in csound is responsible for this. Per https://lists.ubuntu.com/archives/ubuntu-devel/2011-March/032632.html, --as-needed is being reverted for natty, so do we need the scons upgrade anymore? Yes. The bug is not that gcc uses --as-needed. The bug is that libCsoundAC is mostly empty, the --as-needed flag is irrelevant in this case (also, csound passes that flag explicitly). The bug is that for some reason, scons is inserting -fvisibility=hidden flags into inappropriate targets. The bug is fixed by updating the scons version. I am not versed enough in scons and python to try to debug the problem and provide a patch, though. -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sun, Mar 6, 2011 at 17:12, Felipe Sateler fsate...@debian.org wrote: On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. OK, I found the problem. In Ubuntu, scons is for some reason inserting -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC library. The scons in debian shows no such problem. The ubuntu people here, how can I get Ubuntu to pick the latest version from debian, and then rebuild csound using that? -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On 03/06/2011 05:10 PM, Felipe Sateler wrote: On Sun, Mar 6, 2011 at 17:12, Felipe Sateler fsate...@debian.org wrote: On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. OK, I found the problem. In Ubuntu, scons is for some reason inserting -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC library. The scons in debian shows no such problem. The ubuntu people here, how can I get Ubuntu to pick the latest version from debian, and then rebuild csound using that? There are 61 build-depends on scons in Ubuntu and we're past feature freeze. Aside from that, are you sure it's scons and not the toolchain that's diifferent? Micah ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Mon, Mar 7, 2011 at 00:18, Micah Gersten mic...@ubuntu.com wrote: On 03/06/2011 05:10 PM, Felipe Sateler wrote: On Sun, Mar 6, 2011 at 17:12, Felipe Sateler fsate...@debian.org wrote: On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. OK, I found the problem. In Ubuntu, scons is for some reason inserting -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC library. The scons in debian shows no such problem. The ubuntu people here, how can I get Ubuntu to pick the latest version from debian, and then rebuild csound using that? There are 61 build-depends on scons in Ubuntu and we're past feature freeze. Aside from that, are you sure it's scons and not the toolchain that's diifferent? Micah Yes. I created a natty chroot and rebuilt csound there, reproducing the problem. Then I downloaded debian's version of scons and installed it in the natty chroot. The problem disappeared. Prior to this I tried to debug this with help from Matthias Klose, ruling out toolchain issues. -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Mon, Mar 07, 2011 at 00:10:17 (CET), Felipe Sateler wrote: On Sun, Mar 6, 2011 at 17:12, Felipe Sateler fsate...@debian.org wrote: On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard d...@jones.dk wrote: On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. I know that, I wanted to know if somebody had more detail. OK, I found the problem. In Ubuntu, scons is for some reason inserting -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC library. The scons in debian shows no such problem. The ubuntu people here, how can I get Ubuntu to pick the latest version from debian, and then rebuild csound using that? I've now filed https://bugs.launchpad.net/ubuntu/+source/scons/+bug/730447 for tracking the issue. Ideally we can identify what change in csound is responsible for this. -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sat, Mar 5, 2011 at 07:24, Reinhard Tartler siret...@tauware.de wrote: On Sat, Mar 05, 2011 at 00:50:59 (CET), Felipe Sateler wrote: On Sun, Feb 27, 2011 at 22:32, Felipe Sateler fsate...@debian.org wrote: On Sun, Feb 27, 2011 at 22:20, Ryan Kavanagh ryana...@kubuntu.org wrote: Hi Felipe, On Sun, Feb 27, 2011 at 09:49:23PM +, Felipe Sateler wrote: Could any of the Ubuntu-using team members please check out the python-csoundac package in Ubuntu. I've had a report that its broken, but I don't have a Ubuntu system to try it. Please try to import the python module (import CsoundAC) and report if it works. I get the following: ryan@lambda:~$ python -c import CsoundAC Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 25, in module _CsoundAC = swig_import_helper() File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 21, in swig_import_helper _mod = imp.load_module('_CsoundAC', fp, pathname, description) ImportError: /usr/lib/python2.6/dist-packages/_CsoundAC.so: undefined symbol: _ZTIN6csound4NodeE OK, this seems like the same error. Now, could you please try the following? This will be a bit more annoying, unfortunately. Build the source package corresponding to tag debian/5.12.1.dfsg-5, installing it and trying again (this is to check if the problem was some buildd temporary issue). Then try the latest git HEAD. I think I fixed this bug in commit 018514f, but I'm not sure. OK, natty, which has 5.13 exhibits this problem too. Can the ubuntu build logs be obtained from somewhere? sure. go to: https://launchpad.net/ubuntu/+source/csound select the version of the package you are interested in, expand text by clicking on the triangle left next to the package symbol, then click on the architecture name below the changelog and diff for the upload. This will give you the link to the buildjob, where you'll find the link to the buildlog. OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sat, Mar 05, 2011 at 03:52:15PM +, Felipe Sateler wrote: OK, the problem seems to be -as-needed. Compiling with -no-as-needed results in a correct binary (only in Ubuntu, Debian binaries are OK even with -as-needed). Why does this fail in Ubuntu but not in Debian? Any ideas? Ubuntu set aggressive default compile flags, whereas Debian set conservative ones. - Jonas -- * Jonas Smedegaard - idealist Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sun, Feb 27, 2011 at 22:32, Felipe Sateler fsate...@debian.org wrote: On Sun, Feb 27, 2011 at 22:20, Ryan Kavanagh ryana...@kubuntu.org wrote: Hi Felipe, On Sun, Feb 27, 2011 at 09:49:23PM +, Felipe Sateler wrote: Could any of the Ubuntu-using team members please check out the python-csoundac package in Ubuntu. I've had a report that its broken, but I don't have a Ubuntu system to try it. Please try to import the python module (import CsoundAC) and report if it works. I get the following: ryan@lambda:~$ python -c import CsoundAC Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 25, in module _CsoundAC = swig_import_helper() File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 21, in swig_import_helper _mod = imp.load_module('_CsoundAC', fp, pathname, description) ImportError: /usr/lib/python2.6/dist-packages/_CsoundAC.so: undefined symbol: _ZTIN6csound4NodeE OK, this seems like the same error. Now, could you please try the following? This will be a bit more annoying, unfortunately. Build the source package corresponding to tag debian/5.12.1.dfsg-5, installing it and trying again (this is to check if the problem was some buildd temporary issue). Then try the latest git HEAD. I think I fixed this bug in commit 018514f, but I'm not sure. OK, natty, which has 5.13 exhibits this problem too. Can the ubuntu build logs be obtained from somewhere? -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sat, Mar 05, 2011 at 00:50:59 (CET), Felipe Sateler wrote: On Sun, Feb 27, 2011 at 22:32, Felipe Sateler fsate...@debian.org wrote: On Sun, Feb 27, 2011 at 22:20, Ryan Kavanagh ryana...@kubuntu.org wrote: Hi Felipe, On Sun, Feb 27, 2011 at 09:49:23PM +, Felipe Sateler wrote: Could any of the Ubuntu-using team members please check out the python-csoundac package in Ubuntu. I've had a report that its broken, but I don't have a Ubuntu system to try it. Please try to import the python module (import CsoundAC) and report if it works. I get the following: ryan@lambda:~$ python -c import CsoundAC Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 25, in module _CsoundAC = swig_import_helper() File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 21, in swig_import_helper _mod = imp.load_module('_CsoundAC', fp, pathname, description) ImportError: /usr/lib/python2.6/dist-packages/_CsoundAC.so: undefined symbol: _ZTIN6csound4NodeE OK, this seems like the same error. Now, could you please try the following? This will be a bit more annoying, unfortunately. Build the source package corresponding to tag debian/5.12.1.dfsg-5, installing it and trying again (this is to check if the problem was some buildd temporary issue). Then try the latest git HEAD. I think I fixed this bug in commit 018514f, but I'm not sure. OK, natty, which has 5.13 exhibits this problem too. Can the ubuntu build logs be obtained from somewhere? sure. go to: https://launchpad.net/ubuntu/+source/csound select the version of the package you are interested in, expand text by clicking on the triangle left next to the package symbol, then click on the architecture name below the changelog and diff for the upload. This will give you the link to the buildjob, where you'll find the link to the buildlog. -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sun, Feb 27, 2011 at 22:20, Ryan Kavanagh ryana...@kubuntu.org wrote: Hi Felipe, On Sun, Feb 27, 2011 at 09:49:23PM +, Felipe Sateler wrote: Could any of the Ubuntu-using team members please check out the python-csoundac package in Ubuntu. I've had a report that its broken, but I don't have a Ubuntu system to try it. Please try to import the python module (import CsoundAC) and report if it works. I get the following: ryan@lambda:~$ python -c import CsoundAC Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 25, in module _CsoundAC = swig_import_helper() File /usr/lib/python2.6/dist-packages/CsoundAC.py, line 21, in swig_import_helper _mod = imp.load_module('_CsoundAC', fp, pathname, description) ImportError: /usr/lib/python2.6/dist-packages/_CsoundAC.so: undefined symbol: _ZTIN6csound4NodeE OK, this seems like the same error. Now, could you please try the following? This will be a bit more annoying, unfortunately. Build the source package corresponding to tag debian/5.12.1.dfsg-5, installing it and trying again (this is to check if the problem was some buildd temporary issue). Then try the latest git HEAD. I think I fixed this bug in commit 018514f, but I'm not sure. -- Saludos, Felipe Sateler ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: Csound on Ubuntu
On Sat, Aug 28, 2010 at 2:45 AM, Felipe Sateler fsate...@debian.org wrote: Alessio, please revert that patch. It is the only (meaningful) divergence from debian's csound. Done and re-synced. Thanks! -- Alessio Treglia ales...@alessiotreglia.com Debian Ubuntu Developer | Homepage: http://www.alessiotreglia.com 0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers