* interactive problem in build?
@ 2008-12-11 15:36 Greg Troxel
2008-12-11 21:05 ` Neil Jerram
2008-12-11 21:54 ` Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Greg Troxel @ 2008-12-11 15:36 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
I rebuild packages in pkgsrc with pkg_rolling-replace (under NetBSD),
which does them one at a time in tsort'd dependency order. I typically
do this by
# pkg_rolling-replace -uv &> RR.000 &
not redirecting stdin.
This works fine (module packages not building), except for guile. With
guile (1.8 series has done this, not sure about earlier), the process
group stops due to "tty output". Foregrounding the job for a few
seconds lets it continue. So it seems there is something in the build
that tries to open the control tty associated with the process group.
I will try to debug this further, and find the sticking point, but I am
curious if anyone else has seen this?
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 15:36 interactive problem in build? Greg Troxel
@ 2008-12-11 21:05 ` Neil Jerram
2008-12-11 21:08 ` Neil Jerram
2008-12-11 21:54 ` Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2008-12-11 21:05 UTC (permalink / raw)
To: Greg Troxel; +Cc: guile-devel
2008/12/11 Greg Troxel <gdt@ir.bbn.com>:
>
> This works fine (module packages not building), except for guile. With
> guile (1.8 series has done this, not sure about earlier), the process
> group stops due to "tty output". Foregrounding the job for a few
> seconds lets it continue. So it seems there is something in the build
> that tries to open the control tty associated with the process group.
>
> I will try to debug this further, and find the sticking point, but I am
> curious if anyone else has seen this?
Sorry, no. I haven't seen or heard of a problem like this before.
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 21:05 ` Neil Jerram
@ 2008-12-11 21:08 ` Neil Jerram
2008-12-11 22:06 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2008-12-11 21:08 UTC (permalink / raw)
To: Greg Troxel; +Cc: guile-devel
2008/12/11 Neil Jerram <neiljerram@googlemail.com>:
>
> Sorry, no. I haven't seen or heard of a problem like this before.
(And then immediately after sending - naturally - something occurs...)
Unless it's the popen test. I believe we still have half-a-fix
pending somewhere for an occasional hang in that test. And it's
conceivable that that could involve tty output.
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 15:36 interactive problem in build? Greg Troxel
2008-12-11 21:05 ` Neil Jerram
@ 2008-12-11 21:54 ` Ludovic Courtès
2008-12-14 20:08 ` Greg Troxel
1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2008-12-11 21:54 UTC (permalink / raw)
To: guile-devel
Hi Greg,
Greg Troxel <gdt@ir.bbn.com> writes:
> This works fine (module packages not building), except for guile. With
> guile (1.8 series has done this, not sure about earlier), the process
> group stops due to "tty output". Foregrounding the job for a few
> seconds lets it continue. So it seems there is something in the build
> that tries to open the control tty associated with the process group.
Is the test suite run as well or is it just the build itself?
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 21:08 ` Neil Jerram
@ 2008-12-11 22:06 ` Ludovic Courtès
2008-12-11 22:19 ` Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2008-12-11 22:06 UTC (permalink / raw)
To: guile-devel
"Neil Jerram" <neiljerram@googlemail.com> writes:
> 2008/12/11 Neil Jerram <neiljerram@googlemail.com>:
>>
>> Sorry, no. I haven't seen or heard of a problem like this before.
>
> (And then immediately after sending - naturally - something occurs...)
>
> Unless it's the popen test. I believe we still have half-a-fix
> pending somewhere for an occasional hang in that test. And it's
> conceivable that that could involve tty output.
I had it in mind too, but I didn't dare to name it. :-)
On NixOS, the build daemon ends up waiting until the "sleep 999"
terminate, which is annoying, so we have applied Neil's patch that uses
"read" instead of "sleep":
https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/development/interpreters/guile/popen-zombie.patch
For a discussion, see:
http://permalink.gmane.org/gmane.lisp.guile.devel/7078
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 22:06 ` Ludovic Courtès
@ 2008-12-11 22:19 ` Neil Jerram
0 siblings, 0 replies; 8+ messages in thread
From: Neil Jerram @ 2008-12-11 22:19 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guile-devel
2008/12/11 Ludovic Courtès <ludo@gnu.org>:
>
> I had it in mind too, but I didn't dare to name it. :-)
>
> On NixOS, the build daemon ends up waiting until the "sleep 999"
> terminate, which is annoying, so we have applied Neil's patch that uses
> "read" instead of "sleep":
>
> https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/development/interpreters/guile/popen-zombie.patch
>
> For a discussion, see:
>
> http://permalink.gmane.org/gmane.lisp.guile.devel/7078
FWIW, I do plan to get back to this sometime, hopefully "soon"!
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-11 21:54 ` Ludovic Courtès
@ 2008-12-14 20:08 ` Greg Troxel
2008-12-15 9:38 ` Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Greg Troxel @ 2008-12-14 20:08 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guile-devel
ludo@gnu.org (Ludovic Courtès) writes:
> Hi Greg,
>
> Greg Troxel <gdt@ir.bbn.com> writes:
>
>> This works fine (module packages not building), except for guile. With
>> guile (1.8 series has done this, not sure about earlier), the process
>> group stops due to "tty output". Foregrounding the job for a few
>> seconds lets it continue. So it seems there is something in the build
>> that tries to open the control tty associated with the process group.
>
> Is the test suite run as well or is it just the build itself?
Just the build.
But, I tried to get this to fail again, and couldn't. I wonder if it's
necessary that the installed guile be different - I get stuck quite
often on upgrades.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interactive problem in build?
2008-12-14 20:08 ` Greg Troxel
@ 2008-12-15 9:38 ` Neil Jerram
0 siblings, 0 replies; 8+ messages in thread
From: Neil Jerram @ 2008-12-15 9:38 UTC (permalink / raw)
To: Greg Troxel; +Cc: Ludovic Courtès, guile-devel
2008/12/14 Greg Troxel <gdt@ir.bbn.com>:
>
> Just the build.
OK.
> But, I tried to get this to fail again, and couldn't. I wonder if it's
> necessary that the installed guile be different - I get stuck quite
> often on upgrades.
Well I guess you could try to repro that hypothesis, if you had spare
time and inclination...
I believe the build code does try to avoid picking up anything (of
Guile/libguile) already installed. But I think we're relying here on
libtool and details of the underlying OS, so it wouldn't be a massive
surprise to discover that it works perfectly on GNU/Linux, but not on
NetBSD.
Regards,
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-12-15 9:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 15:36 interactive problem in build? Greg Troxel
2008-12-11 21:05 ` Neil Jerram
2008-12-11 21:08 ` Neil Jerram
2008-12-11 22:06 ` Ludovic Courtès
2008-12-11 22:19 ` Neil Jerram
2008-12-11 21:54 ` Ludovic Courtès
2008-12-14 20:08 ` Greg Troxel
2008-12-15 9:38 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).