Subject: background build procedure: readline and SIGWINCH in guile
To: None <>
From: Greg Troxel <>
List: tech-pkg
Date: 11/15/2004 16:13:09
I'm using pkg_chk/pkg_comp to build about 200 packages.

I [essentially] do:

pkg_comp pkgbuild &> CHROOT-BUILD.000 &

where pkgbuild is a script in the chroot which runs pkg_chk.

This generally works, but I found that the configure of lang/guile
hung up with:

checking if readline clears SA_RESTART flag for SIGWINCH... 

and the job was 'Stopped'.  I fg'd it for a few seconds, then ^Z and
bg, and it continues on.

Should I be detaching from the controlling tty?  Is this a package bug
to need a terminal at configure time, much like it's a bug to need an