discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-audio-oss segfaults


From: Berndt Josef Wulf
Subject: Re: [Discuss-gnuradio] gr-audio-oss segfaults
Date: Mon, 10 Apr 2006 21:15:35 +0930
User-agent: KMail/1.9.1

On Monday 10 April 2006 09:02, Eric Blossom wrote:
> Hi Berndt,
>
> I've spent some more time looking at this problem.
> I think I know how to fix it "right", but it's going to take a while.
> Just removing the output of swig causes a failure in the VPATH build
> that takes place during "make distcheck".  I know how to fix it, but I
> don't have time right now.   All the modules need the fix.
>
> This Makefile.am pattern will remove the output of swig:
>
> audio_oss.cc audio_oss.py: audio_oss.i $(NON_LOCAL_IFILES)
>       $(SWIG) $(SWIGCPPPYTHONARGS) -module audio_oss -o audio_oss.cc $<
>
> # Don't distribute output of swig
> dist-hook:
>       @for file in $(BUILT_SOURCES); do echo $(RM) $(distdir)/$$file; done
>       @for file in $(BUILT_SOURCES); do $(RM) $(distdir)/$$file; done
>
>
> The general idea is to ensure that the output of swig is not included
> in any of the tarballs, thus causing swig to run where ever the
> tarballs are built.  I think this will be a more robust fix than
> trying to ensure that the output of swig *is* included in the
> tarballs, because that will lead to potential failures on systems that
> have a mix of tarball and CVS built modules.  That's not recommended,
> but we shouldn't aggravate the problem.
>
> I will fix this problem (unless somebody beats me to it), but due to
> other commitments, it'll probably be the week of the 17th before I've
> got time to work on it.
>
> In the meantime, if you've got a local fix for the NetBSD package,
> please implement it.
>

I also could try to update swig in pkgsrc to 1.3.29 if this is what the 
current files are created by. I just won't hold my breath that this actually 
will happen (I'm not the package maintainer for swig).

It may be quicker for me to implement the changes you suggested.

cheerio Berndt

Attachment: pgpJsslsytuQp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]