From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 26 20:40:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AE2C16A4CD for ; Wed, 26 Sep 2007 20:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 82C8713C457 for ; Wed, 26 Sep 2007 20:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QKe1cc022762 for ; Wed, 26 Sep 2007 20:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QKe1Em022761; Wed, 26 Sep 2007 20:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 26 Sep 2007 20:40:01 GMT Resent-Message-Id: <200709262040.l8QKe1Em022761@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, pluknet Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ED9E16A41A for ; Wed, 26 Sep 2007 20:30:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 318A313C459 for ; Wed, 26 Sep 2007 20:30:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QKUHBa081120 for ; Wed, 26 Sep 2007 20:30:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8QKUHNN081119; Wed, 26 Sep 2007 20:30:17 GMT (envelope-from nobody) Message-Id: <200709262030.l8QKUHNN081119@www.freebsd.org> Date: Wed, 26 Sep 2007 20:30:17 GMT From: pluknet To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/116675: [patch] broken editors/biew on gcc 4.2.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 20:40:03 -0000 >Number: 116675 >Category: ports >Synopsis: [patch] broken editors/biew on gcc 4.2.1 >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: Wed Sep 26 20:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: pluknet >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD 7.0-CURRENT #2: Fri Sep 21 11:45:50 MSD 2007 >Description: biew cannot compile with base gcc 4.2.1: ===> Building for biew-5.6.2 cc -Wall -D__HAVE_PRAGMA_PACK__=1 -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMI NAL_OUT=1 -D_CURSES_ -DPREFIX='"/usr/local"' -DHAVE_MOUSE -D__OS_NAME__='"Unix/C urses"' -D__MACHINE__=ia32 -D__CPU_NAME__='"i386"' -D__CPU__=386 -D__DEFAULT_DIS ASM=0 -DCAN_COMPILE_X86_GAS=1 -fshort-enums -fomit-frame-pointer -DNDEBUG=1 -I. -c biewlib/bbio.c -o biewlib/bbio.o cc -Wall -D__HAVE_PRAGMA_PACK__=1 -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMI NAL_OUT=1 -D_CURSES_ -DPREFIX='"/usr/local"' -DHAVE_MOUSE -D__OS_NAME__='"Unix/C urses"' -D__MACHINE__=ia32 -D__CPU_NAME__='"i386"' -D__CPU__=386 -D__DEFAULT_DIS ASM=0 -DCAN_COMPILE_X86_GAS=1 -fshort-enums -fomit-frame-pointer -DNDEBUG=1 -I. -c biewlib/biewlib.c -o biewlib/biewlib.o biewlib/biewlib.c: In function 'qst': biewlib/biewlib.c:342: warning: pointer targets in passing argument 1 of '__Xchg B__' differ in signedness biewlib/biewlib.c:342: warning: pointer targets in passing argument 2 of '__Xchg B__' differ in signedness biewlib/biewlib.c:389: warning: pointer targets in passing argument 1 of '__Xchg B__' differ in signedness biewlib/biewlib.c:389: warning: pointer targets in passing argument 2 of '__Xchg B__' differ in signedness biewlib/biewlib.c: In function 'HQSort': biewlib/biewlib.c:463: warning: pointer targets in passing argument 1 of '__Xchg B__' differ in signedness biewlib/biewlib.c:463: warning: pointer targets in passing argument 2 of '__Xchg B__' differ in signedness cc -Wall -D__HAVE_PRAGMA_PACK__=1 -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMI NAL_OUT=1 -D_CURSES_ -DPREFIX='"/usr/local"' -DHAVE_MOUSE -D__OS_NAME__='"Unix/C urses"' -D__MACHINE__=ia32 -D__CPU_NAME__='"i386"' -D__CPU__=386 -D__DEFAULT_DIS ASM=0 -DCAN_COMPILE_X86_GAS=1 -fshort-enums -fomit-frame-pointer -DNDEBUG=1 -I. -c biewlib/file_ini.c -o biewlib/file_ini.o biewlib/file_ini.c: In function 'FiGetNextString': biewlib/file_ini.c:673: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c:684: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c:696: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c:699: warning: pointer targets in passing argument 2 of 'szKil lSpaceAround' differ in signedness biewlib/file_ini.c:699: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c:703: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c:708: warning: pointer targets in passing argument 2 of 'szKil lSpaceAround' differ in signedness biewlib/file_ini.c:708: warning: pointer targets in assignment differ in signedn ess biewlib/file_ini.c: In function '__addCache': biewlib/file_ini.c:1298: error: lvalue required as left operand of assignment biewlib/file_ini.c:1328: error: lvalue required as left operand of assignment biewlib/file_ini.c:1357: error: lvalue required as left operand of assignment biewlib/file_ini.c: In function 'iniReadProfileString': biewlib/file_ini.c:1592: error: lvalue required as left operand of assignment biewlib/file_ini.c:1596: error: lvalue required as left operand of assignment biewlib/file_ini.c:1600: error: lvalue required as left operand of assignment gmake: *** [biewlib/file_ini.o] Ошибка 1 *** Error code 2 Stop in /media/ports/editors/biew. >How-To-Repeat: >Fix: biew compiles with gcc 3.4.6 (tested with gcc taken from ports). Proposed to add USE_GCC= 3.4 to Makefile to fix the build. Patch attached with submission follows: --- Makefile.orig 2007-09-27 00:23:37.000000000 +0400 +++ Makefile 2007-09-27 00:25:22.000000000 +0400 @@ -2,7 +2,7 @@ # Date created: 04 February 2000 # Whom: Michael Vasilenko # -# $FreeBSD: ports/editors/biew/Makefile,v 1.21 2005/01/08 22:40:29 sem Exp $ +# $FreeBSD$ # PORTNAME= biew @@ -19,6 +19,7 @@ USE_BZIP2= yes USE_GMAKE= yes +USE_GCC= 3.4 PORTDOCS= biew_en.txt biew_ru.txt develop.en develop.ru file_ini.en \ file_ini.ru licence.en licence.ru release.txt unix.txt >Release-Note: >Audit-Trail: >Unformatted: