pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31447: libgcrypt-1.2.1 fails to build on Tru64



>Number:         31447
>Category:       pkg
>Synopsis:       libgcrypt-1.2.1 fails to build on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 02 15:53:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
>Organization:
>Environment:
# uname -a
OSF1 obelix.ipn.dynaweb.hu V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005
>Description:
compilation of libgcrypt-1.2.1 fails with the following error:

Making all in tests
source='prime.c' object='prime.o' libtool=no  DEPDIR=.deps depmode=tru64 
/bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src   
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -ieee 
-I/usr/pkg/include -I/usr/include -c prime.c
cc: Error: ../src/gcrypt.h, line 198: Ill-formed parameter type list. 
(parmtyplist)
                 _GCRY_PTH_SOCKLEN_T *length_ptr);
-----------------^
cc: Error: ../src/gcrypt.h, line 200: Ill-formed parameter type list. 
(parmtyplist)
                  _GCRY_PTH_SOCKLEN_T length);
------------------^
*** Error code 1

Stop.
>How-To-Repeat:
./bootstrap on Tru64
cd /usr/pkgsrc/security/libgcrypt
bmake

>Fix:
Apparently socklen_t does not get declared.

I added -D_POSIX_PII_SOCKET (has to be defined before the inclusion
of sys/socket.h) and it compiled seamlessly.




Home | Main Index | Thread Index | Old Index