Subject: pkg/26149: libgcrypt breaks on compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 07/03/2004 05:25:17
>Number:         26149
>Category:       pkg
>Synopsis:       libgcrypt breaks on compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 03 05:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>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:

In file included from prime.c:24:
../src/gcrypt.h:174: warning: `struct timeval' declared inside parameter list
../src/gcrypt.h:174: warning: its scope is only this definition or declaration,                                                            which is probably not what you want.
/bin/sh ../libtool --mode=link gcc -I/usr/pkg/include -O2 -mieee -I/usr/pkg/incl                                                           ude -I/usr/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/u                                                           sr/lib -o prime  prime.o ../src/libgcrypt.la -lintl
mkdir .libs
gcc -I/usr/src/sys/pkgsrc/security/libgcrypt/work/.buildlink/include -O2 -mieee                                                            -Wall -Wl,-R/usr/pkg/lib -o .libs/prime prime.o  ../src/.libs/libgcrypt.so -L/us                                                           r/src/sys/pkgsrc/security/libgcrypt/work/.buildlink/lib /usr/src/sys/pkgsrc/secu                                                           rity/libgcrypt/work/.buildlink/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/p                                                           kg/lib -Wl,--rpath -Wl,/usr/src/sys/pkgsrc/security/libgcrypt/work/.buildlink/li                                                           b
creating prime
source='register.c' object='register.o' libtool=no  depfile='.deps/register.Po'                                                            tmpdepfile='.deps/register.TPo'  depmode=gcc /bin/sh ../depcomp  gcc -DHAVE_CONF                                                           IG_H -I. -I. -I.. -I../src   -I/usr/pkg/include -I/usr/include -I/usr/pkg/includ                                                           e -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'register.c' ||                                                            echo './'`register.c
In file included from register.c:27:
../src/gcrypt.h:174: warning: `struct timeval' declared inside parameter list
../src/gcrypt.h:174: warning: its scope is only this definition or declaration,                                                            which is probably not what you want.
/bin/sh ../libtool --mode=link gcc -I/usr/pkg/include -O2 -mieee -I/usr/pkg/incl                                                           ude -I/usr/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/u                                                           sr/lib -o register  register.o ../src/libgcrypt.la -lintl
gcc -I/usr/src/sys/pkgsrc/security/libgcrypt/work/.buildlink/include -O2 -mieee                                                            -Wall -Wl,-R/usr/pkg/lib -o .libs/register register.o  ../src/.libs/libgcrypt.so                                                            -L/usr/src/sys/pkgsrc/security/libgcrypt/work/.buildlink/lib /usr/src/sys/pkgsr                                                           c/security/libgcrypt/work/.buildlink/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,                                                           /usr/pkg/lib -Wl,--rpath -Wl,/usr/src/sys/pkgsrc/security/libgcrypt/work/.buildl                                                           ink/lib
creating register
source='ac.c' object='ac.o' libtool=no  depfile='.deps/ac.Po' tmpdepfile='.deps/                                                           ac.TPo'  depmode=gcc /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../s                                                           rc   -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -mieee -I/usr/pkg/                                                           include -I/usr/include -Wall -c `test -f 'ac.c' || echo './'`ac.c
ac.c:27: ../src/gcrypt.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.2.0/tes                                                           ts
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.2.0
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.2.0
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt
*** Error code 1

Stop.
make: stopped in /sys/pkgsrc/security/libgcrypt


>How-To-Repeat:
	make libgcrypt in pkgsrc-current
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: