Re: NetBSD 10.0 - configure test process hang

Robert Elz <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
    Date:        Tue, 19 Nov 2024 00:46:37 +0100
    From:        Riccardo Mottola <[email protected]>
    Message-ID:  <[email protected]>


  |     0 15781 29179     0  43  0 78240 26344 parked Il+  pts/1 0:07.22 
  | ../src/bootstrap-emacs -batch --no-site-lisp --no-
  |
  |   ps -ls -p 15781
  | UID   PID  PPID CPU PRI NI   VSZ   RSS WCHAN  STAT TTY      TIME COMMAND
  |    0 15781 29179   0  43  0 78240 26344 parked Il+  pts/1 0:07.22 
  | ../src/bootstrap-emacs -batch --no-site-lisp --no-sit
  |    0 15781 29179   0  43  0 78240 26344 parked Il+  pts/1 0:07.22 
  | ../src/bootstrap-emacs -batch --no-site-lisp --no-sit
  |
  | Does this mean it has two threads, both parked?

Yes.   Or it appears so, but you didn't see my later message, clearly.
Leave off the 'l' option, and try again "ps -s -p 15781" (either now,
if they are still there, or later, when it happens again, using the
pid that is the relevant one that time).

You might also need ps -vs -p 15781 (the relevant pid) - after which you
might need someone else who can assist trawling through either kernel or
process (thread) backtraces to see what is happening.

And, if you haven't already, try the patch Matthew Green sent you, in case
that helps.

  | It seems really hard to finish emacs.

I'd just forget emacs, it is a horrible mess.

  | i wonder if it resumes build 
  | properly and not for some reason restarting,

You should be able to tell that from observing what it does, though
if this particular step is where it (always) stalls, then it quite possibly
might never finish.   If it starts by removing everything, and starting
again, you should probably find target for make which prevents that from
happening (sorry, I have no idea how emacs builds, or how pkgsrc does it,
I have no interest at all in building emacs).

kre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.