From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 24 01:10:06 2009 Return-Path: Delivered-To: freebsd-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 48DA91065676 for ; Thu, 24 Dec 2009 01:10:06 +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 065198FC12 for ; Thu, 24 Dec 2009 01:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBO1A5UV089877 for ; Thu, 24 Dec 2009 01:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBO1A5Zw089876; Thu, 24 Dec 2009 01:10:05 GMT (envelope-from gnats) Resent-Date: Thu, 24 Dec 2009 01:10:05 GMT Resent-Message-Id: <200912240110.nBO1A5Zw089876@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ted Mittelstaedt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EDA41065676 for ; Thu, 24 Dec 2009 01:07:41 +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 7D5A58FC1D for ; Thu, 24 Dec 2009 01:07:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBO17fou034400 for ; Thu, 24 Dec 2009 01:07:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBO17fuu034398; Thu, 24 Dec 2009 01:07:41 GMT (envelope-from nobody) Message-Id: <200912240107.nBO17fuu034398@www.freebsd.org> Date: Thu, 24 Dec 2009 01:07:41 GMT From: Ted Mittelstaedt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/141938: arj has some bit-rot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 01:10:06 -0000 >Number: 141938 >Category: misc >Synopsis: arj has some bit-rot >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 24 01:10:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: 7.2 >Organization: Internet Partners, Inc. >Environment: FreeBSD mail.madras.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Building arj-3.10.22.tar.gz. in /usr/ports/archivers/arj spews several errors like: TODAY v 1.22 [29/10/2000] Not a part of any binary package! (this is repeated multiple times during the build) fardata.c: In function 'vcprintf': fardata.c:665: warning: 'short int' is promoted to 'int' when passed through '...' fardata.c:665: warning: (so you should pass 'int' not 'short int' to 'va_arg') fardata.c:665: note: if this code is reached, the program will abort fardata.c:667: warning: 'short unsigned int' is promoted to 'int' when passed through '...' fardata.c:667: note: if this code is reached, the program will abort ARJDATA: unknown tag <@!_"> ARJDATA: unknown tag <@: display program option\np: match with Pathname !: execute command option\n"> >How-To-Repeat: cd /usr/ports/archivers/arj make >Fix: The following patch shuts off the worst complaint: --- fardata.c.orig 2009-12-23 17:01:40.000000000 -0800 +++ fardata.c 2009-12-23 17:01:58.000000000 -0800 @@ -662,9 +662,9 @@ num=va_arg(args, int); /* num=va_arg(args, unsigned short);*/ #else if(flags&SIGN) - num=va_arg(args, short); + num=va_arg(args, int); else - num=va_arg(args, unsigned short); + num=va_arg(args, int); #endif } else if(flags&SIGN) mail# but there's still plenty of compiler warnings and such that should be looked at, also that patch should be properly ifdef'ed >Release-Note: >Audit-Trail: >Unformatted: