From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 8 11:00:11 2009 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 49F3A106564A for ; Thu, 8 Jan 2009 11:00:11 +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 D04D18FC1E for ; Thu, 8 Jan 2009 11:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n08B0AhD091338 for ; Thu, 8 Jan 2009 11:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n08B0AJ6091337; Thu, 8 Jan 2009 11:00:10 GMT (envelope-from gnats) Resent-Date: Thu, 8 Jan 2009 11:00:10 GMT Resent-Message-Id: <200901081100.n08B0AJ6091337@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, Peter Vereshagin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC04D106566B for ; Thu, 8 Jan 2009 10:54:26 +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 DA6BA8FC08 for ; Thu, 8 Jan 2009 10:54:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n08AsPo8060683 for ; Thu, 8 Jan 2009 10:54:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n08AsPl6060653; Thu, 8 Jan 2009 10:54:25 GMT (envelope-from nobody) Message-Id: <200901081054.n08AsPl6060653@www.freebsd.org> Date: Thu, 8 Jan 2009 10:54:25 GMT From: Peter Vereshagin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/130292: security/pinentry lacks on no_argument type 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: Thu, 08 Jan 2009 11:00:11 -0000 >Number: 130292 >Category: ports >Synopsis: security/pinentry lacks on no_argument type >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: Thu Jan 08 11:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Peter Vereshagin >Release: 7.1-prerelease >Organization: Private >Environment: FreeBSD screwed.box 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Fri Jan 2 15:03:09 SAMT 2009 toor@screwed.box:/usr/local/src/sys/i386/compile/OPER i386 >Description: port security/pinentry fails to compile with this message: cc -DHAVE_CONFIG_H -I. -I.. -I../assuan -I../secmem -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -Wall -O2 -fno-strict-aliasing -pipe -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT pinentry.o -MD -MP -MF .deps/pinentry.Tpo -c -o pinentry.o pinentry.c pinentry.c: In function 'pinentry_parse_opts': pinentry.c:464: error: array type has incomplete element type pinentry.c:465: error: 'no_argument' undeclared (first use in this function) pinentry.c:465: error: (Each undeclared identifier is reported only once pinentry.c:465: error: for each function it appears in.) pinentry.c:466: error: 'required_argument' undeclared (first use in this function) pinentry.c:479: warning: implicit declaration of function 'getopt_long' pinentry.c:464: warning: unused variable 'opts' *** Error code 1 >How-To-Repeat: cd /usr/ports/security/pinentry make clean all >Fix: getopt.h refers the no_argument and required_argument as constants, not type definitions. Got stuck to find out these typedefs. >Release-Note: >Audit-Trail: >Unformatted: