From owner-freebsd-ports-bugs@freebsd.org Fri Feb 26 21:43:05 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D59CAB5F7E for ; Fri, 26 Feb 2016 21:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76568DC9 for ; Fri, 26 Feb 2016 21:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1QLh4U1040155 for ; Fri, 26 Feb 2016 21:43:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205191] mail/dcc-dccd: Fails stage-qa Date: Fri, 26 Feb 2016 21:43:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: z7dr6ut7gs@snkmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 21:43:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205191 --- Comment #9 from John Hein --- (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.=