Hi Marc,
I started dpb in emacs compilation mode (I know...) and observed these
errors:
Use of uninitialized value in concatenation (.) or string at
/usr/ports/infrastructure/lib/DPB/MiniCurses.pm line 279.
A little bit of digging revealed that $self->{home} is undefined, namely
making this change
@@ -276,7 +276,7 @@ sub write_home
{
my ($self, $msg) = @_;
my @new = $self->cut_lines($msg);
- print $self->{home}.$self->lines(@new);
+ print (($self->{home} || "?HOME?").$self->lines(@new));
$self->{oldlines} = \@new;
}
... resulted in the output at the bottom. My perl too rusty to figure out
how it gets there, but clearly emacs terminal lies aren't agreeable with
MiniCurses.pm. To make things more interesting, I'm also running dpb via
tramp with emacs on a different machine. The environment where dpb finds
itself looks something like this:
-*- mode: compilation; default-directory:
"/sshx:obsd-build:/usr/ports/infrastructure/lib/DPB/" -*-
doas env
COLUMNS=88
ENV=''
HISTFILE=/home/syzkaller/.tramp_history
HOME=/home/syzkaller
INSIDE_EMACS=26.1,compile
LC_ALL=en_US.UTF-8
LC_CTYPE=''
LOGNAME=syzkaller
OLDPWD=/home/syzkaller
PAGER=cat
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
PROMPT_COMMAND=
PS1=/sshx:obsd-build:/usr/ports/infrastructure/lib/DPB/ #$
PS2=
PS3=
PWD=/usr/ports/infrastructure/lib/DPB
SHELL=/bin/ksh
SSH_AUTH_SOCK=/tmp/ssh-ymKwcvVsaa/agent.45005
SSH_CLIENT=x.y.z.t 35760 22
SSH_CONNECTION=x.y.x.t 35760 a.b.c.d 22
SSH_TTY=/dev/ttyp4
TERM=dumb
TERMCAP=
TMOUT=0
USER=syzkaller
_=/bin/sh
Thanks
Greg
-*- mode: compilation; default-directory:
"/sshx:obsd-build:/syzkaller/ports/" -*-
Compilation started at Sun Feb 24 12:39:37
ulimit -d 33554432 ; doas /usr/ports/infrastructure/bin/dpb -P
/syzkaller/hs-ports
Started as: root
Port user: syzkaller
Build user: _pbuild
Fetch user: _pfetch
Log user: _pbuild
Unpriv user: _dpb
Reading build stats...zapping old stuff...Done
zap duplicates...Done
Waiting for hosts to finish STARTUP...ready on localhost
24 Feb 12:39:41 [56139] running for 00:00:03
LISTING [99861] at archivers/hs-zip-archive
Hosts: localhost
I=0 B=0 Q=0 T=0 F=0 !=0
24 Feb 12:39:41 [56139] running for 00:00:03
LISTING [99861] at audio/hs-libmpd
<ghc/zip-archive-0.2.3.7.tar.gz(#1) [13199]
<ghc/zlib-0.5.4.2.tar.gz(#1) [37857]
Hosts: localhost
I=0 B=0 Q=0 T=2 F=0 !=0
?HOME?24 Feb 12:39:42 [56139] running for 00:00:04
LISTING [99861] at devel/hs-FindBin
<ghc/zip-archive-0.2.3.7.tar.gz(#2) [90485]
<ghc/zlib-0.5.4.2.tar.gz(#2) [9700]
I=0 B=0 Q=0 T=6 F=4 !=0
?HOME?
LISTING [99861] at devel/hs-ansi-terminal
--
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://goo.gl/6dMsr
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 4D50 0B15 42BD 8DF5 A1B0