sbuild error: Only one build is permitted

Asked by Peeyush Gupta

I am trying to build a package for ubuntu trusty using sbuild, but few dependencies are available in vivid repo. So, I added the vivid repo with --extra-repository tag with sbuild command. But I am getting the following error with that:

gbp:error: 'sbuild --extra-repository=deb http://ports.ubuntu.com/ubuntu-ports/ vivid main' failed: it exited with 255

Any idea how can I resolve this issue? I need that repo to build packages. TIA.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sbuild Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

It seems that there are quotes missing. According to the man pages it has to be

'sbuild --extra-repository="deb http://ports.ubuntu.com/ubuntu-ports/ vivid main"'

And the man pages also state "Note that the build chroot must already trust the key of this repository (see apt-secure(8)).

Revision history for this message
Peeyush Gupta (peeygupt) said :
#2

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Peeyush Gupta (peeygupt) said :
#3

Yeah, looks like that was the issue only. But now I am having another issue:

E: 20copyfiles: cp: cannot create regular file '/var/lib/schroot/mount/trusty-ppc64el-f5d89bdd-20c8-44fa-a03b-011037caed86/etc/resolv.conf': No such file or directory
E: trusty-ppc64el-f5d89bdd-20c8-44fa-a03b-011037caed86: Chroot setup failed: stage=setup-start
Chroot setup failed

Finished at 20150525-0043
Build needed 00:00:00, 0k disc space
gbp:error: 'sbuild --extra-repository="deb http://ports.ubuntu.com/ubuntu-ports/ vivid main" ' failed: it exited with 1

It seems to run out of space, here is the space for my system:

df -h
Filesystem Size Used Avail Use% Mounted on
udev 968M 0 968M 0% /dev
tmpfs 203M 12M 192M 6% /run
/dev/vda2 192G 2.9G 179G 2% /
tmpfs 1014M 0 1014M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1014M 0 1014M 0% /sys/fs/cgroup
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-283fadfa-2f99-4254-88d4-240c08bb49ff
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-283fadfa-2f99-4254-88d4-240c08bb49ff/dev/shm
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-320f4663-a46f-4b71-9d0c-9573031f318a
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-320f4663-a46f-4b71-9d0c-9573031f318a/dev/shm
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-7e7caded-c6a8-43dd-959f-13186494471c
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-7e7caded-c6a8-43dd-959f-13186494471c/dev/shm
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-9036ea9d-d0ac-4021-982f-a2eeb5214208
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-9036ea9d-d0ac-4021-982f-a2eeb5214208/dev/shm
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-cb195f9c-b168-4562-a2de-28d0f2532eb2
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-cb195f9c-b168-4562-a2de-28d0f2532eb2/dev/shm
tmpfs 203M 0 203M 0% /run/user/1000
trusty-ppc64el 192G 2.9G 179G 2% /var/lib/schroot/mount/trusty-ppc64el-f5d89bdd-20c8-44fa-a03b-011037caed86
tmpfs 1014M 0 1014M 0% /var/lib/schroot/mount/trusty-ppc64el-f5d89bdd-20c8-44fa-a03b-011037caed86/dev/shm

Now, I can't just rm -rf those mount volumes, and I am not even able to umount them. Can you please give me any pointers on how to resolve them?

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Sorry, no idea.