[Bug 205191] mail/dcc-dccd: Fails stage-qa
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 26 21:43:05 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205191
--- Comment #9 from John Hein <z7dr6ut7gs at snkmail.com> ---
(In reply to yuri from comment #7)
I narrowed it down a bit.
In my xterm the following line from dcc-1.3.158/homedir/fix-map changes my baud
rate (as seen by stty -a) from 38400 to 50:
USING_DCC=`$CDCC_CMD info \
| sed -n -e 's/^\([-a-z0-9]*\.dcc-servers\.net\),-.*/\1/p'`
CDCC_CMD is ../cdcc/cdcc. Just running '../cdcc/cdcc info' doesn't cause the
problem. But piping it to something ('| cat' will do) perturbs the terminal
settings as described.
That seems to be enough to mess up the xterm. For example, if I 'vi' a file
after that I only see the top 8 lines. 'stty speed 38400' "fixes" the issue.
This is after manually replacing -ledit in Makefile.inc with
/usr/local/lib/libedit.so before 'make build'.
ldd ../cdcc/cdcc
../cdcc/cdcc:
libmd.so.5 => /lib/libmd.so.5 (0x33c98000)
libm.so.5 => /lib/libm.so.5 (0x33cb0000)
libedit.so.0 => /usr/local/lib/libedit.so.0 (0x33ccb000)
libncurses.so.8 => /lib/libncurses.so.8 (0x33cf9000)
libc.so.7 => /lib/libc.so.7 (0x33d3a000)
This doesn't trigger the issue:
env LD_PRELOAD=/lib/libedit.so.7 ../cdcc/cdcc info | cat
I don't have a fix or deeper analysis at the moment. But it's not clear that
this edge case bug is enough to avoid the ports version of libedit or not.
Seems like it might be helpful to narrow it down even a little more and
possibly engage upstream maintainer of devel/libedit. But I don't know if it
matters enough for deciding whether to link with it for mail/dcc-dccd. The
basic line editing capability works fine when running cdcc at the command line
when linked with the ports libedit.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list