| Hi Felipe,
I think we can ignore it then if testing as testing using swig 2.0. As
long as I have a workaround for a known issue, then it should be
alright. There may be other projects which do not use CsoundMYFLTArray
but do use Java, so this may be fine. I'd just like to make sure that
this is being accounted for in future releases. Can we make an
explicit dependency on swig 2.0+ for future builds? Also, I noticed
that using build-dep with debian stable did not bring in flex/bison.
I assume this is because it is using a much older Csound before the
new parser became the standard. Do the testing builds explicitly add
flex and bison, and if not, can we add that?
Thanks!
steven
On Thu, Dec 20, 2012 at 12:51 PM, Felipe Sateler wrote:
> Hmm, so we have a buggy package in stable...
>
> The problem here is really that swig is buggy at version 1.x. Stable
> updates are as minimal as possible. This means that updating to swig
> 2.x is off the table. This in turn means the only real option is to
> remove the libcsnd-java package[1], or ignore the bug. I'm not quite
> sure which is preferable, given that the main user of the package
> fails with this version.
>
> For testing, csound is already built with swig 2.x. There is no
> requirement, though, it just happens that swig is now at version 2 in
> the archive (so the version in testing should not have this bug).
>
> [1] The debian release managers consider bugs at a distribution-wide
> scale. From that point of view, it is (1) better to not provide a
> package than to provide a broken one, and (2) better to remove a
> package than risk breaking others in order to fix a bug. Specially if
> the package in question is relatively little used.
>
> On Thu, Dec 20, 2012 at 1:15 PM, Steven Yi wrote:
>> Ah, I see what you're saying. I'm installing csound here from apt-get
>> to check. The issue originally arose that a previous version of blue
>> worked but the newer ones didn't, and the change I isolated it to was
>> setting of channel values via SetChannel rather than caching the MYFLT
>> pointer which I moved to for efficiency reasons. It might very well
>> be that no one had use that aspect of the Java binding until that, so
>> at the time it worked fine.
>>
>> Update: Just tested with 5.12 from apt-get. It did not work in the
>> same way as compiling with swig 1.3. So that is broken IMO for
>> 64-bit. (Did not test on 32-bit).
>>
>> I don't know when stable gets updated for Debian; for now, most blue
>> users on Linux are savvy enough to compile csound I think, but it'd be
>> nicer if what is available is up to date and working. I know you had
>> pushed an updated Csound package to testing (for that interface
>> generation bug via cmake). Does that package have a requirement for
>> swig 2.0+?
>>
>> Thanks!
>> steven
>>
>> On Thu, Dec 20, 2012 at 3:07 PM, Felipe Sateler wrote:
>>> But is the problem with stock debian software? Or only when building
>>> newer csound?
>>>
>>> The csound version currently in stable is over 2 years old now, I'd be
>>> very suprised if it didn't work (either that or nobody really used the
>>> java bindings!) as shipped by debian.
>>>
>>>
>>> On Thu, Dec 20, 2012 at 11:44 AM, Steven Yi wrote:
>>>> Well, the thing is, it will build just fine with older swig, it just
>>>> doesn't work for setting MYFLT pointers and CsoundMYFLTArray(with Java
>>>> at least) I don't have a 32-bit install of debian stable here so I'm
>>>> not sure if the Swig issue affects 32-bit. I have a 64-bit debian and
>>>> 32-bit ubuntu (and 32-bit fedora and 64-bit suse). I can install
>>>> 32-bit debian and see what happens if you need.
>>>>
>>>> On Thu, Dec 20, 2012 at 2:23 PM, Felipe Sateler wrote:
>>>>> If you put that in cs5 branch then it wouldn't build in debian stable.
>>>>>
>>>>> But my question was another: Csound used to build with swig 1.x. At
>>>>> some point, csound started requiring swig 2.x. I was wondering when
>>>>> was that?. If csound 5.12 (what was shipped with debian squeeze) works
>>>>> with swig 1.x then everything is OK from debian's point of view (it's
>>>>> just old software building with old software). If newer csounds
>>>>> require newer software to build than is available in debian stable,
>>>>> then there is not much we can do (except telling the user it won't
>>>>> work and disable it when building).
>>>>>
>>>>> In other words, my concern is whether the csnd-java package shipped by
>>>>> debian is broken or not.
>>>>>
>>>>> On Thu, Dec 20, 2012 at 9:50 AM, Steven Yi wrote:
>>>>>> Hi Felipe,
>>>>>>
>>>>>> I'm not sure about all the details about how the debian package is
>>>>>> built, but it seems to me to be a packaging/building issue. In CS6, I
>>>>>> just modified the swig finder to be:
>>>>>>
>>>>>> FIND_PACKAGE(SWIG 2.0)
>>>>>>
>>>>>> to force 2.0 as a minimum. If this is added to CS5, would that then
>>>>>> build in Debian's build systems if swig 2.0 isn't in stable?
>>>>>>
>>>>>> Thanks!
>>>>>> steven
>>>>>>
>>>>>> On Thu, Dec 20, 2012 at 12:43 AM, Felipe Sateler wrote:
>>>>>>> Is that for building newer csound? Or for stock debian csound?
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Dec 19, 2012 at 9:03 PM, Steven Yi wrote:
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I had been debugging a reported issue for blue that turned out to be an
>>>>>>>> issue specific to 64-bit Linux. I finally found the resolution today, and it
>>>>>>>> turned out that Csound interfaces, at least for Java, require swig 2.0.x.
>>>>>>>> The latest in Debian stable is 1.3.0. If you use apt-get build-dep with
>>>>>>>> Csound it will not download 1.3.0. I ended up adding Debian back ports repo
>>>>>>>> to install swig 2.0 and had to symlink swig2.0 to swig in /usr/bin. Suffice
>>>>>>>> to say, I don't know if the Csound interface packages in Debian 64-bit will
>>>>>>>> work unless they are built with newer swig.
>>>>>>>>
>>>>>>>> Thought it worth mentioning, thanks!
>>>>>>>> Steven
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Saludos,
>>>>>>> Felipe Sateler
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>>>> Improve your efficiency, and focus on delivering more value-add services
>>>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>>> Improve your efficiency, and focus on delivering more value-add services
>>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Saludos,
>>>>> Felipe Sateler
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>> Improve your efficiency, and focus on delivering more value-add services
>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>> Remotely access PCs and mobile devices and provide instant support
>>>> Improve your efficiency, and focus on delivering more value-add services
>>>> Discover what IT Professionals Know. Rescue delivers
>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>> --
>>>
>>> Saludos,
>>> Felipe Sateler
>>>
>>> ------------------------------------------------------------------------------
>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>> Remotely access PCs and mobile devices and provide instant support
>>> Improve your efficiency, and focus on delivering more value-add services
>>> Discover what IT Professionals Know. Rescue delivers
>>> http://p.sf.net/sfu/logmein_12329d2d
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |