sox build issues with new packages

View: New views
4 Messages — Rating Filter:   Alert me  

sox build issues with new packages

by fabrni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are issues with recent packages of sox libs installed on some platforms
(mine is Ubuntu 09.04). The interface SoX has been changing recently with
versions 14.2 and now 14.3-rc, which causes either linking issues or crashes
at runtime (at least one function has changed its arity, which may go
unnoticed until runtime, and some memory is freed differently).

It is advised (until sox packages have been stabilized and libsoxconvert.c
rewritten accordingly, a low-priority subject) to build sox from (stable 14.1
version) code source, or alternatively to use ./configure --without-sox.

With older packages (like those of my Kubuntu 08.10 platform prior to updates)
some SoX libs are missing so the building system automatically triggers SoX  
source code build.

Building code and installing from an official SoX 14.1 distro may not work
either, at least for dynamic linking (I had to force a mangled static build by
tampering with the SoX build system).

As this may be platform-related I'd be grateful to have reports of people
building dvda-author (with SoX interface) against installed libs, and for
which lib versions on board.

I'll be releasing a source update soon to smooth this out soon.

Fab

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel

Re: sox build issues with new packages

by nnguru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fab,

With respect, I rest my case!

lee

On Sun, May 24, 2009 at 7:04 AM, <fabrni@...> wrote:
There are issues with recent packages of sox libs installed on some platforms
(mine is Ubuntu 09.04). The interface SoX has been changing recently with
versions 14.2 and now 14.3-rc, which causes either linking issues or crashes
at runtime (at least one function has changed its arity, which may go
unnoticed until runtime, and some memory is freed differently).

It is advised (until sox packages have been stabilized and libsoxconvert.c
rewritten accordingly, a low-priority subject) to build sox from (stable 14.1
version) code source, or alternatively to use ./configure --without-sox.

With older packages (like those of my Kubuntu 08.10 platform prior to updates)
some SoX libs are missing so the building system automatically triggers SoX  
source code build.

Building code and installing from an official SoX 14.1 distro may not work
either, at least for dynamic linking (I had to force a mangled static build by
tampering with the SoX build system).

As this may be platform-related I'd be grateful to have reports of people
building dvda-author (with SoX interface) against installed libs, and for
which lib versions on board.

I'll be releasing a source update soon to smooth this out soon.

Fab


Cliquez ici pour avoir le meilleur d'AOL, les dernières infos actualité, sport, célébrités, ainsi que l'inscription à AOL mail.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel

Re : sox build issues with new packages

by fabrni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The cause of the issue at runtime with builds linked to installed SoX libs has been identified and is being corrected.
It arises for SoX redefining getopt_long in its own source code. Normally distribution porters should comment out this code before compiling their packages with GNU libs, as is mentioned in SoX source code. It seems that Debian packagers forgot to do that, which results in the wrong getopt_long function being called by main dvda-author routines, hence stack corruption. A functional way out is to recompile with ./configure CPPFLAGS=-DSHORT_OPTIONS_ONLY if the SoX is to be used, or else ./configure --without-sox, if its is not.
For Lee:
./configure --without-sox cleanly erases all SoX -related code in dvda-author source code via conditional compiling. This is for users (like you) who prefer to script and use an external binary, always an interesting option.
An updated package will be uploaded tonight.
Fab

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel

Parent Message unknown Re: Re : sox build issues with new packages

by Udo-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

--- On Mon, 5/25/09, fabrni@... <fabrni@...> wrote:
> An updated package will be uploaded tonight.

Where can I find the code?

Kind regards,
Udo


     

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel