[Freeswitch-users] debian build-all freezing at "Building sid-amd64 debs"

Bruce Lefko blefko5361 at gmail.com
Wed Nov 19 00:19:30 MSK 2014


I've switched to 14.04, and my script with the commands I'm issuing is
below, but I'm still getting the following in the logs:
E: Package 'cowdancer' has no installation candidate
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
pbuilder create failed
  forking: rm -rf /var/cache/pbuilder/base-trusty-amd64.cow
 -> Invoking pbuilder
  forking: pbuilder create --buildplace
/var/cache/pbuilder/base-trusty-amd64.cow --mirror
http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ --architecture amd64
--distribution trusty --no-targz --extrapackages cowdancer


Here's my script:

#!/bin/bash
apt-get update
apt-get install -y git-core
cd /usr/src

git clone https://freeswitch.org/stash/scm/fs/freeswitch.git
cd freeswitch

cat >/tmp/modules.conf <<'EOL'
applications/mod_commands
applications/mod_conference
applications/mod_db
applications/mod_dptools
applications/mod_enum
applications/mod_esf
applications/mod_esl
applications/mod_expr
applications/mod_fifo
applications/mod_fsv
applications/mod_hash
applications/mod_httapi
applications/mod_spandsp
codecs/mod_amr
codecs/mod_bv
codecs/mod_g723_1
codecs/mod_g729
codecs/mod_h26x
codecs/mod_vp8
codecs/mod_speex
dialplans/mod_dialplan_asterisk
dialplans/mod_dialplan_xml
endpoints/mod_loopback
endpoints/mod_sofia
event_handlers/mod_cdr_csv
event_handlers/mod_cdr_sqlite
event_handlers/mod_event_socket
formats/mod_local_stream
formats/mod_native_file
formats/mod_sndfile
formats/mod_tone_stream
languages/mod_lua
languages/mod_spidermonkey
loggers/mod_console
loggers/mod_logfile
loggers/mod_syslog
say/mod_say_en
xml_int/mod_xml_cdr
xml_int/mod_xml_rpc
xml_int/mod_xml_scgi
EOL

export COMPONENTS="main restricted universe multiverse"
export NO_COWDANCER_UPDATE=1
./debian/util.sh build-all -ibn -z9 -f /tmp/modules.conf -c trusty

On Fri, Nov 14, 2014 at 3:47 PM, Bruce Lefko <blefko5361 at gmail.com> wrote:

> So I ran those two exports you gave me and added "-c precise" to my utils
> call, but it still seems to be running into that pbuilder bug.  Here's the
> output or log/precise-amd64:
>
> pbuilder/build//cow.20008 cow-shell
> W: /root/.pbuilderrc does not exist
> I: Running in no-targz mode
> I: Upgrading for distribution precise
> I: copying local configuration
> cp: cannot create regular file
> `/var/cache/pbuilder/build/cow.20008/etc/hosts': No such file or directory
> pbuilder update failed
> E: could not update with cowdancer, try --no-cowdancer-update option
>   forking: rm -rf /var/cache/pbuilder/build//cow.20008
>  -> Copying COW directory
>   forking: rm -rf /var/cache/pbuilder/build//cow.22359
>   forking: cp -al /var/cache/pbuilder/base-precise-amd64.cow
> /var/cache/pbuilder/build//cow.22359
> I: unlink for ilistfile /var/cache/pbuilder/build//cow.22359/.ilist
> failed, it didn't exist?
>  -> Invoking pbuilder
>   forking: pbuilder update --override-config --buildplace
> /var/cache/pbuilder/build//cow.22359 --mirror
> http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ --distribution precise
> --no-targz --internal-chrootexec chroot
> /var/cache/pbuilder/build//cow.22359 cow-shell
> W: /root/.pbuilderrc does not exist
> I: Running in no-targz mode
> I: Upgrading for distribution precise
> I: copying local configuration
> cp: cannot create regular file
> `/var/cache/pbuilder/build/cow.22359/etc/hosts': No such file or directory
> pbuilder update failed
> E: could not update with cowdancer, try --no-cowdancer-update option
>   forking: rm -rf /var/cache/pbuilder/build//cow.22359
> cannot canonicalize filename /var/cache/pbuilder/base-precise-amd64.cow,
> does not exist
>
> Thanks!
>
>
>
> On Thu, Nov 13, 2014 at 7:47 PM, Bruce Lefko <blefko5361 at 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: Failed getting release file
>> http://us-west-2.ec2.archive.ubuntu.com/ubuntu/dists/sid/Release
>> E: debootstrap failed
>> W: Aborting with an error
>> pbuilder create failed
>>
>>
>>
>> On Thu, Nov 13, 2014 at 1:11 PM, Bruce Lefko <blefko5361 at 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!
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141118/6703e177/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list