From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 22 12:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B9784AB1 for ; Mon, 22 Apr 2013 12:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9A5BF1616 for ; Mon, 22 Apr 2013 12:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3MC0092002499 for ; Mon, 22 Apr 2013 12:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3MC00EY002498; Mon, 22 Apr 2013 12:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 22 Apr 2013 12:00:00 GMT Resent-Message-Id: <201304221200.r3MC00EY002498@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pietro Cerutti Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BC0D7994 for ; Mon, 22 Apr 2013 11:53:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AD30715AA for ; Mon, 22 Apr 2013 11:53:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3MBrgvI064288 for ; Mon, 22 Apr 2013 11:53:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3MBrgOp064287; Mon, 22 Apr 2013 11:53:42 GMT (envelope-from nobody) Message-Id: <201304221153.r3MBrgOp064287@red.freebsd.org> Date: Mon, 22 Apr 2013 11:53:42 GMT From: Pietro Cerutti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178050: [patch] devel/tclmore -- fix build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 12:00:00 -0000 >Number: 178050 >Category: ports >Synopsis: [patch] devel/tclmore -- fix build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 22 12:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: >Organization: The FreeBSD Project >Environment: >Description: The patch attached fixes the build of devel/tclmore on CURRENT. Please note that 11 of the test cases fail here: ==== do-2.1 wrong num args FAILED ---- Result was: wrong # args: should be "do body expr" ---- Result should have been (exact matching): wrong # args: should be "more do body expr" ==== do-2.1 FAILED ==== do-2.2 wrong num args FAILED ---- Result was: wrong # args: should be "do body expr" ---- Result should have been (exact matching): wrong # args: should be "more do body expr" ==== do-2.2 FAILED ==== do-2.4 invalid argument FAILED ---- Result was: invalid bareword "b" in expression "b"; should be "$b" or "{b}" or "b(...)" or ... ---- Result should have been (glob matching): syntax error * ==== do-2.4 FAILED ==== pipechan-4.1 write with no flush, close reader, data discarded, forward FAILED ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: broken pipe while executing "close $writable" ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EPIPE {broken pipe} ==== pipechan-4.1 FAILED ==== pipechan-4.2 write with no flush, close reader, data discarded, backward FAILED ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: broken pipe while executing "close $writable" ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EPIPE {broken pipe} ==== pipechan-4.2 FAILED ==== teechan-7.5 underlying channel option FAILED ---- Result was: 1000l ---- Result should have been (glob matching): 1000 ==== teechan-7.5 FAILED ==== teechan-7.6 underlying channel options FAILED ---- Result was: -blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -translation {auto lf} -invar {} -outvar {} -inputBufferSize 1000l -outputBufferSize 1000l ---- Result should have been (glob matching): * -inputBufferSize 1000 -outputBufferSize 1000 ==== teechan-7.6 FAILED ==== varchan-8.1 option FAILED ---- Result was: 5l ---- Result should have been (exact matching): 5 ==== varchan-8.1 FAILED ==== varchan-8.2 option FAILED ---- Result was: -blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -translation {auto lf} -inputBufferSize 5l -outputBufferSize 4096l ---- Result should have been (glob matching): * -inputBufferSize 5 * ==== varchan-8.2 FAILED ==== varchan-8.3 option FAILED ---- Result was: 5l ---- Result should have been (exact matching): 5 ==== varchan-8.3 FAILED ==== varchan-8.4 option FAILED ---- Result was: -blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -translation {auto lf} -inputBufferSize 4096l -outputBufferSize 5l ---- Result should have been (glob matching): * -outputBufferSize 5 ==== varchan-8.4 FAILED >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 313650) +++ Makefile (working copy) @@ -19,18 +19,11 @@ USE_GMAKE= yes USE_LDCONFIG= yes USE_TCL= yes -USE_TCL_BUILD= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//} INFO= ${PORTNAME} -CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \ - --with-tclinclude=${TCL_INCLUDEDIR} +CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ + --enable-threads -.include - -.if ${OSVERSION} >= 900000 -BROKEN= does not build -.endif - -.include +.include Index: files/patch-configure =================================================================== --- files/patch-configure (revision 313650) +++ files/patch-configure (working copy) @@ -1,5 +1,18 @@ ---- configure.orig Fri May 21 20:24:40 2004 -+++ configure Wed Apr 26 10:55:55 2006 +--- configure.orig 2004-05-21 18:24:40.000000000 +0200 ++++ configure 2013-04-22 13:44:49.000000000 +0200 +@@ -6702,9 +6702,9 @@ + # Special check for weird MP-RAS system (uname returns weird + # results, and the version is kept in special file). + +- if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print }' /etc/.relid'` +- fi ++# if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then ++# system=MP-RAS-`awk '{print $1}' /etc/.relid'` ++# fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` + fi @@ -7847,11 +7847,12 @@ EXTRA_CFLAGS="-pthread" LDFLAGS="$LDFLAGS -pthread" >Release-Note: >Audit-Trail: >Unformatted: