Also run this before the util script:
export COMPONENTS="main restricted universe multiverse"
export NO_COWDANCER_UPDATE=1
(Works around a bug in pbuilder on Ubuntu)


To answer your question about changes, what's the modification? Is it something that should be submitted as a patch (correct method is a Stash pull request)? If it's appropriate that'd be a better option... not only does it help the community but it's also easier for you to maintain. If mod_spandsp changes you'll have to modify your patch every time.

If not perhaps a fork of the module (different name) is more appropriate. It's possible to use libfreeswitch-dev to build a single module, which you can also build as a .deb package: https://freeswitch.org/stash/projects/FS/repos/freeswitch-contrib/browse/Sevet/debian-packages




On 14 November 2014 12:43, Steven Ayre <steveayre@gmail.com> wrote:
FreeSWITCH's build script picks a mirror from your sources.list, you're building on Ubuntu but targetting sid which is not an Ubuntu distribution.

You can build if you specify an ubuntu distribution name, but you'll have to provide your own debian/modules.conf file as the build script doesn't have a list of which are compatible with your Ubuntu distributions.

On 14 November 2014 01:47, Bruce Lefko <blefko5361@gmail.com> wrote:
Yeah, so it looks like in log/sid-amd64 I see the following over and over again:

  forking: rm -rf /var/cache/pbuilder/base-sid-amd64.cow 
 -> Invoking pbuilder
  forking: pbuilder create --buildplace /var/cache/pbuilder/base-sid-amd64.cow --mirror http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ --architecture amd64 --distribution sid --no-targz --extrapackages cowdancer 
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is sid.
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
I: Retrieving Release
E: debootstrap failed
W: Aborting with an error
pbuilder create failed



On Thu, Nov 13, 2014 at 1:11 PM, Bruce Lefko <blefko5361@gmail.com> wrote:
I am trying to tweak mod_spandsp in master and deb package the code for use in my application.

I'm running "./debian/util.sh build-all -ibn -z9 -f /tmp/modules.conf" but it consistently gets stuck at "Building sid-amd64 debs.." 

First off, I'm not sure if this is the correct way to package custom changes, but also why is the debian build stuck at this step?

Thanks!


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org