ports/130292: security/pinentry lacks on no_argument type

Peter Vereshagin peter at vereshagin.org
Thu Jan 8 11:00:11 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list