Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 21:43:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205191] mail/dcc-dccd: Fails stage-qa
Message-ID:  <bug-205191-13-ZF9AqSe9vI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205191-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205191-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205191

--- Comment #9 from John Hein <z7dr6ut7gs@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=3D`$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 t=
he
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 issu=
e.

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 =3D> /lib/libmd.so.5 (0x33c98000)
        libm.so.5 =3D> /lib/libm.so.5 (0x33cb0000)
        libedit.so.0 =3D> /usr/local/lib/libedit.so.0 (0x33ccb000)
        libncurses.so.8 =3D> /lib/libncurses.so.8 (0x33cf9000)
        libc.so.7 =3D> /lib/libc.so.7 (0x33d3a000)


This doesn't trigger the issue:

env LD_PRELOAD=3D/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 th=
at
this edge case bug is enough to avoid the ports version of libedit or not.=
=20
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 l=
ine
when linked with the ports libedit.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205191-13-ZF9AqSe9vI>