[Freeswitch-users] Cannot build Debian packages

Leo Noordergraaf leo.noordergraaf at deanconnect.nl
Fri Aug 14 13:13:29 MSD 2015


Hi,

I'm trying to build the FreeSWITCH Debian packages using the command:
"debian/util.sh build-all -ibn -z9 -c wheezy -a amd64 -t
-pcodecs/mod_sangoma_codec"

I've tried to correct the warning using "pbuilder --login
--save-after-login", updating /etc/apt/sources.list followed by apt-get
update and several variations on this theme.

Questions:
- Is the 'Duplicate sources' warning the reason that the build fails?
- If not, how can I find out what goes wrong?
- If so, how do I resolve it?

Thanks,
Leo Noordergraaf


The file log/wheezy-amd64 shows:

########################################################################
## Updating base wheezy-amd64 image...
########################################################################


########################################################################
## Using apt sources file: /etc/apt/sources.list
########################################################################

 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.24955
  forking: cp -al /var/cache/pbuilder/base-wheezy-amd64.cow
/var/cache/pbuilder/build//cow.24955
I: unlink for ilistfile /var/cache/pbuilder/build//cow.24955/.ilist
failed, it didn't exist?
 -> Invoking pbuilder
  forking: pbuilder update --override-config --keyring
/tmp/keyringyjd722yl.asc --othermirror deb http://ftp.debian.nl/debian/
wheezy main|deb http://nl-asd-mngt-nmc01.test.a
s60402.net/ wheezy freeswitch --buildplace
/var/cache/pbuilder/build//cow.24955 --mirror
http://ftp.debian.nl/debian/ --distribution wheezy --no-targz
--internal-chrootexec c
hroot /var/cache/pbuilder/build//cow.24955
W: /root/.pbuilderrc does not exist


I: Running in no-targz mode


I: Upgrading for distribution wheezy


I: Current time: Thu Aug 13 10:38:20 CEST 2015


I: pbuilder-time-stamp: 1439455100


I: copying local configuration


I: Installing apt-lines


I: mounting /proc filesystem


I: mounting /run/shm filesystem


I: mounting /dev/pts filesystem


I: policy-rc.d already exists


I: Refreshing the base.tgz


I: upgrading packages


Get:1 http://nl-asd-mngt-nmc01.test.as60402.net wheezy Release.gpg [490
B]

Get:2 http://nl-asd-mngt-nmc01.test.as60402.net wheezy Release [1714 B]


Hit http://ftp.debian.nl wheezy Release.gpg


Hit http://ftp.debian.nl wheezy Release


Get:3 http://nl-asd-mngt-nmc01.test.as60402.net wheezy/freeswitch amd64
Packages [998 B]

Hit http://ftp.debian.nl wheezy/main amd64 Packages


Ign http://nl-asd-mngt-nmc01.test.as60402.net wheezy/freeswitch
Translation-en

Hit http://ftp.debian.nl wheezy/main Translation-en


Fetched 3202 B in 1s (2189 B/s)


Reading package lists...


W: Duplicate sources.list entry http://ftp.debian.nl/debian/ wheezy/main
amd64 Packages
(/var/lib/apt/lists/ftp.debian.nl_debian_dists_wheezy_main_binary-amd64_Packages)

W: You may want to run apt-get update to correct these problems


I: Obtaining the cached apt archive contents


Reading package lists...


Building dependency tree...


Reading state information...


0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Reading package lists...


Building dependency tree...


Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'ccache' is not installed, so not removed
aptitude is already the newest version.
build-essential is already the newest version.
dpkg-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying back the cached apt archive contents
I: adding apt key file /tmp/keyringyjd722yl.asc.
/usr/lib/pbuilder/pbuilder-modules: line 605: /tmp/keyringyjd722yl.asc:
No such file or directory
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
pbuilder update failed
  forking: rm -rf /var/cache/pbuilder/build//cow.24955

Followed by many more similar entries.



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