Subject: Re: pkg/28968: pinentry breaks on build
To: None <diro@nixsys.bz>
From: John R. Shannon <john@johnrshannon.com>
List: pkgsrc-bugs
Date: 01/14/2005 13:53:12
Please try:
$ cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/pinentry/Makefile,v
retrieving revision 1.4
diff -r1.4 Makefile
14a15
> CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
44a46
> .include "../../converters/libiconv/buildlink3.mk"
On Friday 14 January 2005 01:27 pm, diro@nixsys.bz wrote:
> >Number: 28968
> >Category: pkg
> >Synopsis: pinentry breaks on build
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Fri Jan 14 20:27:00 +0000 2005
> >Originator: diro@nixsys.bz
> >Release: NetBSD 1.6.2
> >Organization:
> >Environment:
>
> System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38
> EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
> Architecture: alpha
> Machine: alpha
>
> >Description:
>
> Making all in assuan
> /usr/bin/make all-am
> source='assuan-util.c' object='assuan-util.o' libtool=no
> depfile='.deps/assuan-util.Po' tmpdepfile='.deps/assuan-util.TPo'
> depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
> -I../include -I/usr/pkg/include -I/usr/include -Wall -O2 -mieee
> -I/usr/pkg/include -I/usr/include -Wall -Wcast-align -Wshadow
> -Wstrict-prototypes -c `test -f 'assuan-util.c' || echo './'`assuan-util.c
> source='assuan-errors.c' object='assuan-errors.o' libtool=no
> depfile='.deps/assuan-errors.Po' tmpdepfile='.deps/assuan-errors.TPo'
> depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
> -I../include -I/usr/pkg/include -I/usr/include -Wall -O2 -mieee
> -I/usr/pkg/include -I/usr/include -Wall -Wcast-align -Wshadow
> -Wstrict-prototypes -c `test -f 'assuan-errors.c' || echo
> './'`assuan-errors.c source='assuan-buffer.c' object='assuan-buffer.o'
> libtool=no depfile='.deps/assuan-buffer.Po'
> tmpdepfile='.deps/assuan-buffer.TPo' depmode=gcc /bin/sh ../depcomp cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/pkg/include
> -I/usr/include -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'assuan-buffer.c' ||
> echo './'`assuan-buffer.c source='assuan-handler.c'
> object='assuan-handler.o' libtool=no depfile='.deps/assuan-handler.Po'
> tmpdepfile='.deps/assuan-handler.TPo' depmode=gcc /bin/sh ../depcomp cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/pkg/include
> -I/usr/include -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'assuan-handler.c' ||
> echo './'`assuan-handler.c source='assuan-listen.c'
> object='assuan-listen.o' libtool=no depfile='.deps/assuan-listen.Po'
> tmpdepfile='.deps/assuan-listen.TPo' depmode=gcc /bin/sh ../depcomp cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/pkg/include
> -I/usr/include -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'assuan-listen.c' ||
> echo './'`assuan-listen.c source='assuan-pipe-server.c'
> object='assuan-pipe-server.o' libtool=no
> depfile='.deps/assuan-pipe-server.Po'
> tmpdepfile='.deps/assuan-pipe-server.TPo' depmode=gcc /bin/sh ../depcomp
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/pkg/include
> -I/usr/include -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f
> 'assuan-pipe-server.c' || echo './'`assuan-pipe-server.c rm -f libassuan.a
> ar cru libassuan.a assuan-util.o assuan-errors.o assuan-buffer.o
> assuan-handler.o assuan-listen.o assuan-pipe-server.o ranlib libassuan.a
> Making all in secmem
> source='secmem.c' object='secmem.o' libtool=no depfile='.deps/secmem.Po'
> tmpde file='.deps/secmem.TPo' depmode=gcc /bin/sh ../depcomp cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -Wall
> -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall -Wcast-align -Wshadow
> -Wstrict-prototypes -c `test -f 'secmem.c' || echo './'`secmem.c secmem.c:
> In function `secmem_realloc':
> secmem.c:373: warning: cast increases required alignment of target type
> secmem.c: In function `secmem_free':
> secmem.c:394: warning: cast increases required alignment of target type
> source='util.c' object='util.o' libtool=no depfile='.deps/util.Po'
> tmpdepfile='.deps/util.TPo' depmode=gcc /bin/sh ../depcomp cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -Wall
> -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall -Wcast-align -Wshadow
> -Wstrict-prototypes -c `test -f 'util.c' || echo './'`util.c rm -f
> libsecmem.a
> ar cru libsecmem.a secmem.o util.o
> ranlib libsecmem.a
> Making all in pinentry
> source='pinentry.c' object='pinentry.o' libtool=no
> depfile='.deps/pinentry.Po' tmpdepfile='.deps/pinentry.TPo' depmode=gcc
> /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../assuan
> -I../secmem -I/usr/pkg/include -I/usr/include -Wall -O2 -mieee
> -I/usr/pkg/include -I/usr/include -Wall -Wcast-align -Wshadow
> -Wstrict-prototypes -c `test -f 'pinentry.c' || echo './'`pinentry.c
> pinentry.c:31: iconv.h: No such file or directory
> *** Error code 1
>
> This break stops gnupg-devel from building.
>
> >How-To-Repeat:
>
> make pinentry in pkgsrc-current
>
> >Fix:
--
John R. Shannon, CISSP
Sr. Software Scientist
Science Applications International Corporation
john.r.shannon@saic.com
john.r.shannon@us.army.mil
john@johnrshannon.com