Bug#790547: Running sbuild hangs after printing Summary

2015-07-31 Thread Felipe Sateler
On Thu, 30 Jul 2015 08:00:13 -0700 Nikolaus Rath nikol...@rath.org wrote:
 Ok, I found the problem. My chroot is called sid-amd64-sbuild. If I
 call sbuild -d sid instead of just sbuild it works fine. I assume
 that sbuild parses debian/changelog and finds unstable or
 UNRELEASED, and then tries to use a chroot of that name.

 It would be nice if instead of hanging, it could print an error message
 though.

Also related, #790547.

Saludos


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#790547: Running sbuild hangs after printing Summary

2015-07-31 Thread Felipe Sateler
On 31 July 2015 at 10:53, Felipe Sateler fsate...@debian.org wrote:
 On Thu, 30 Jul 2015 08:00:13 -0700 Nikolaus Rath nikol...@rath.org wrote:
 Ok, I found the problem. My chroot is called sid-amd64-sbuild. If I
 call sbuild -d sid instead of just sbuild it works fine. I assume
 that sbuild parses debian/changelog and finds unstable or
 UNRELEASED, and then tries to use a chroot of that name.

 It would be nice if instead of hanging, it could print an error message
 though.

 Also related, #790547.

Ehm, I meant #745851.

They should probably be merged.

-- 

Saludos,
Felipe Sateler


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#790547: Running sbuild hangs after printing Summary

2015-07-30 Thread Nikolaus Rath
control: retitle -1 sbuild hangs if chroot does not exist

Ok, I found the problem. My chroot is called sid-amd64-sbuild. If I
call sbuild -d sid instead of just sbuild it works fine. I assume
that sbuild parses debian/changelog and finds unstable or
UNRELEASED, and then tries to use a chroot of that name.

It would be nice if instead of hanging, it could print an error message
though.

Best,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#790547: Running sbuild hangs after printing Summary

2015-06-29 Thread Nikolaus Rath
Package: sbuild
Version: 0.65.2-1
Severity: normal

I realize this is most likely a user error, but I could not find any
other forum to ask for help (is there an sbulid mailinglist somewhere?)
so I'm submitting this as a bug.

I'm trying to build a debian package, but when running it just hangs:

$ sbuild
[...]
╔══╗
║ python-llfuse 0.40+dfsg-2 (amd64)  29 Jun 2015 20:50 ║
╚══╝

Package: python-llfuse
Version: 0.40+dfsg-2
Source Version: 0.40+dfsg-2
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64


┌──┐
│ Summary  │
└──┘
^C

If I enable debugging output (full log attached), the last output lines
are:

$ sbuild -D
[...]
'COLOUR_PREFIX' = '__SBUILD_COLOUR_27178:',
'This Space' = 0,
'OVersion' = '0.40+dfsg-2',
'Pkg Fail Stage' = 'init',
'Invalid Source' = 0,
'Install End Time' = 0
  }, 'Sbuild::Build' );


There is no CPU activity at all.


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser 3.113+nmu3
ii  apt-utils   1.0.9.8
ii  libsbuild-perl  0.65.2-1
ii  perl5.20.2-3+deb8u1

Versions of packages sbuild recommends:
ii  debootstrap  1.0.67
ii  fakeroot 1.20.2-1

Versions of packages sbuild suggests:
ii  deborphan  1.7.28.8-0.1
ii  wget   1.16-1

-- no debconf information
D: Setting Log 
File=/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2_amd64-20150629-2044.build
D: Setting Log Stream=GLOB(0x36066e8)
sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on vostro.rath.org

╔══╗
║ python-llfuse 0.40+dfsg-2 (amd64)  29 Jun 2015 20:44 ║
╚══╝

Package: python-llfuse
Version: 0.40+dfsg-2
Source Version: 0.40+dfsg-2
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64

D: Setting Config=Sbuild::ConfBase=HASH(0x1f2f058)
D: Setting Chroots=HASH(0x3603138)
Found schroot chroot: chroot:cow
  Aliases 
  Location 
  Name cow
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: chroot:sid-amd64-sbuild
  Aliases 
  Location 
  Name sid-amd64-sbuild
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: source:cow
  Aliases 
  Location 
  Name cow
  Namespace source
  Priority 0
  Session Purged 0
Found schroot chroot: source:sid-amd64-sbuild
  Aliases 
  Location 
  Name sid-amd64-sbuild
  Namespace source
  Priority 0
  Session Purged 0
D: Setting Chroots=HASH(0x3603150)
D: Setting Pkg Status=failed

┌──┐
│ Summary  │
└──┘

$job = bless( {
'Package' = 'python-llfuse',
'Build Start Time' = 0,
'Build Arch' = 'amd64',
'Package_OSVersion' = 'python-llfuse_0.40+dfsg-2',
'Lock Interval' = 5,
'Build Profiles' = '',
'Summary Stats' = {
 'Machine Architecture' = 'amd64',
 'Version' = '0.40+dfsg-2',
 'Source-Version' = '0.40+dfsg-2',
 'Package' = 'python-llfuse',
 'Host Architecture' = 'amd64',
 'Build Architecture' = 'amd64',
 'Job' = 
'/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2.dsc'
   },
'Source Dir' = 
'/home/nikratio/in-progress/debian-packages/build-area',
'Session' = undef,
'Pkg Status' = 'failed',
'Chroot Build Dir' = '',
'Dependency Resolver' = undef,
'Max Lock Trys' = 120,
'Install Start Time' = 0,
'Package_SVersion' = 'python-llfuse_0.40+dfsg-2',