Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 11:09:36 +0100
From:      David Southwell <david@vizion2000.net>
To:        freebsd-ports@freebsd.org
Cc:        rafan@freebsd.org
Subject:   security/libgcrypt Following UPDATING 20090107 Build failure
Message-ID:  <200909231109.36532.david@vizion2000.net>

next in thread | raw e-mail | index | archive | help

uname -a
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 
20 12:54:34 BST 2009     
david@dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC  amd64
[Intel quad core system]
20090107:
  AFFECTS: users of security/libgcrypt
  AUTHOR: rafan@FreeBSD.org

  libgcrypt has been upgraded to 1.4.3 which has a shared library version
  bump. You need to reinstall all ports depending on it.  Use something
  like this:

	portupgrade -rf libgcrypt

Multiple ports fail to upgrade following the failure of this build.

Thanks in advance for any advice

David

Script records:

dns1# portupgrade -rf libgcrypt                                 
--->  Reinstalling 'libgcrypt-1.4.4' (security/libgcrypt)       
--->  Building '/usr/ports/security/libgcrypt'                  
===>  Cleaning for libgcrypt-1.4.4                              
===>  Extracting for libgcrypt-1.4.4                            
=> MD5 Checksum OK for libgcrypt-1.4.4.tar.bz2.                 
=> SHA256 Checksum OK for libgcrypt-1.4.4.tar.bz2.              
===>  Patching for libgcrypt-1.4.4                              
===>  Applying FreeBSD patches for libgcrypt-1.4.4              
===>   libgcrypt-1.4.4 depends on package: libtool>=2.2 - found 
===>   libgcrypt-1.4.4 depends on shared library: gpg-error.0 - found
===>  Configuring for libgcrypt-1.4.4                                
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes                            
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p              
checking for gawk... gawk                                                    
checking whether make sets $(MAKE)... yes                                    
checking build system type... amd64-portbld-freebsd7.2                       
checking host system type... amd64-portbld-freebsd7.2                        
checking whether to enable maintainer-specific portions of Makefiles... no   
checking whether make sets $(MAKE)... (cached) yes                           
checking for gcc... cc                                                       
checking for C compiler default output file name... a.out                    
checking whether the C compiler works... yes                                 
checking whether we are cross compiling... no                                
checking for suffix of executables...                                        
checking for suffix of object files... o                                     
checking whether we are using the GNU C compiler... yes                      
checking whether cc accepts -g... yes                                        
checking for cc option to accept ISO C89... none needed                      
checking for style of include used by make... GNU                            
checking dependency style of cc... gcc3                                      
checking how to run the C preprocessor... cc -E                              
checking whether cc understands -c and -o together... yes                    
checking dependency style of cc... gcc3                                      
checking for library containing strerror... none required                    
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for gawk... (cached) gawk                                           
checking for windres... no                                                   
checking for a sed that does not truncate output... /usr/bin/sed             
checking for grep that handles long lines and -e... /usr/bin/grep            
checking for egrep... /usr/bin/grep -E                                       
checking for ld used by cc... /usr/bin/ld                                    
checking if the linker (/usr/bin/ld) is GNU ld... yes                        
checking for /usr/bin/ld option to reload object files... -r                 
checking for BSD-compatible nm... /usr/bin/nm -B                             
checking whether ln -s works... yes                                          
checking how to recognise dependent libraries... pass_all                    
checking for ANSI C header files... yes                                      
checking for sys/types.h... yes                                              
checking for sys/stat.h... yes                                               
checking for stdlib.h... yes                                                 
checking for string.h... yes                                                 
checking for memory.h... yes                                                 
checking for strings.h... yes                                                
checking for inttypes.h... yes                                               
checking for stdint.h... yes                                                 
checking for unistd.h... yes                                                 
checking dlfcn.h usability... yes                                            
checking dlfcn.h presence... yes                                             
checking for dlfcn.h... yes                                                  
checking whether we are using the GNU C++ compiler... yes                    
checking whether c++ accepts -g... yes                                       
checking dependency style of c++... gcc3                                     
checking how to run the C++ preprocessor... c++ -E                           
checking for g77... no                                                       
checking for xlf... no                                                       
checking for f77... no                                                       
checking for frt... no                                                       
checking for pgf77... no                                                     
checking for cf77... no                                                      
checking for fort77... no                                                    
checking for fl32... no                                                      
checking for af77... no                                                      
checking for xlf90... no                                                     
checking for f90... no                                                       
checking for pgf90... no                                                     
checking for pghpf... no                                                     
checking for epcf90... no                                                    
checking for gfortran... no                                                  
checking for g95... no                                                       
checking for xlf95... no                                                     
checking for f95... no                                                       
checking for fort... no                                                      
checking for ifort... no                                                     
checking for ifc... no                                                       
checking for efc... no                                                       
checking for pgf95... no                                                     
checking for lf95... no                                                      
checking for ftn... no                                                       
checking whether we are using the GNU Fortran 77 compiler... no              
checking whether  accepts -g... no                                           
checking the maximum length of command line arguments... (cached) 262144     
checking command to parse /usr/bin/nm -B output from cc object... ok         
checking for objdir... .libs                                                 
checking for ar... ar                                                        
checking for ranlib... ranlib                                                
checking for strip... strip                                                  
checking if cc static flag  works... yes                                     
checking if cc supports -fno-rtti -fno-exceptions... no                      
checking for cc option to produce PIC... -fPIC                               
checking if cc PIC flag -fPIC works... yes                                   
checking if cc supports -c -o file.o... yes                                  
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no                    
checking dynamic linker characteristics... freebsd7.2 ld.so                  
checking how to hardcode library paths into programs... immediate            
checking whether stripping libraries is possible... yes                      
checking if libtool supports shared libraries... yes                         
checking whether to build shared libraries... yes                            
checking whether to build static libraries... yes                            
configure: creating libtool                                                  
appending configuration tag "RC" to libtool                                  
appending configuration tag "CXX" to libtool                                 
checking for ld used by c++... /usr/bin/ld                                   
checking if the linker (/usr/bin/ld) is GNU ld... yes                        
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC                               
checking if c++ PIC flag -fPIC works... yes                                   
checking if c++ supports -c -o file.o... yes                                  
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.2 ld.so                   
checking how to hardcode library paths into programs... immediate             
checking whether stripping libraries is possible... yes                       
appending configuration tag "F77" to libtool                                  
checking whether byte ordering is bigendian... no                             
checking for unsigned short... yes                                            
checking size of unsigned short... 2                                          
checking for unsigned int... yes                                              
checking size of unsigned int... 4                                            
checking for unsigned long... yes                                             
checking size of unsigned long... 8                                           
checking for unsigned long long... yes                                        
checking size of unsigned long long... 8                                      
checking for uintptr_t... yes                                                 
checking which symmetric ciphers to include... arcfour blowfish cast5 des aes 
twofish serpent rfc2268 seed camellia
checking which public-key ciphers to include... dsa elgamal rsa ecc                                                
checking which message digests to include... crc md4 md5 rmd160 sha1 sha256 
sha512 tiger whirlpool                 
checking which random module to use... default                                                                     
checking whether use of /dev/random is requested... yes                                                            
checking whether the experimental random daemon is requested... no                                                 
checking whether MPI assembler modules are requested... yes                                                        
checking whether memory guard is requested... no                                                                   
checking whether use of capabilities is requested... no                                                            
checking whether a HMAC binary check is requested... no                                                            
checking whether padlock support is requested... yes                                                               
checking for gpg-error-config... /usr/local/bin/gpg-error-config                                                   
checking for GPG Error - version >= 1.4... yes                                                                     
checking for library containing setsockopt... none required                                                        
checking for library containing setsockopt... (cached) none required                                               
checking for ANSI C header files... (cached) yes                                                                   
checking for unistd.h... (cached) yes                                                                              
checking sys/select.h usability... yes                                                                             
checking sys/select.h presence... yes                                                                              
checking for sys/select.h... yes                                                                                   
checking for an ANSI C-conforming const... yes                                                                     
checking for inline... inline                                                                                      
checking for size_t... yes                                                                                         
checking return type of signal handlers... void                                                                    
checking whether sys_siglist is declared... yes                                                                    
checking for byte typedef... no                                                                                    
checking for ushort typedef... yes                                                                                 
checking for ulong typedef... no                                                                                   
checking for u16 typedef... no                                                                                     
checking for u32 typedef... no                                                                                     
checking sys/socket.h usability... yes                                                                             
checking sys/socket.h presence... yes                                                                              
checking for sys/socket.h... yes                                                                                   
checking for socklen_t... yes                                                                                      
checking whether the visibility attribute is supported... yes                                                      
checking for broken visibility attribute... no                                                                     
checking for broken alias attribute... no                                                                          
checking if gcc supports -fvisibility=hidden... yes                                                                
checking for vprintf... yes                                                                                        
checking for _doprnt... no                                                                                         
checking for stpcpy... yes                                                                                         
checking for strcasecmp... yes                                                                                     
checking for strtoul... yes                                                                                        
checking for memmove... yes                                                                                        
checking for stricmp... no                                                                                         
checking for atexit... yes                                                                                         
checking for raise... yes                                                                                          
checking for strerror... yes                                                                                       
checking for rand... yes                                                                                           
checking for mmap... yes                                                                                           
checking for getpagesize... yes                                                                                    
checking for sysconf... yes                                                                                        
checking for waitpid... yes                                                                                        
checking for wait4... yes                                                                                          
checking for gettimeofday... yes                                                                                   
checking for getrusage... yes                                                                                      
checking for gethrtime... no                                                                                       
checking for clock_gettime... yes                                                                                  
checking for syslog... yes                                                                                         
checking for fcntl... yes                                                                                          
checking for ftruncate... yes                                                                                      
checking for mlock... yes                                                                                          
checking for sysconf... (cached) yes                                                                               
checking for getpagesize... (cached) yes                                                                           
checking whether mlock is broken... no                                                                             
checking for random device... yes                                                                                  
checking for _ prefix in compiled symbols... no                                                                    
checking for mpi assembler functions... done                                                                       
checking whether non excutable stack support is requested... yes                                                   
checking whether assembler supports --noexecstack option... no                                                     
configure: creating ./config.status                                                                                
config.status: creating Makefile                                                                                   
config.status: creating m4/Makefile                                                                                
config.status: creating mpi/Makefile                                                                               
config.status: creating cipher/Makefile                                                                            
config.status: creating random/Makefile                                                                            
config.status: creating doc/Makefile                                                                               
config.status: creating src/Makefile                                                                               
config.status: creating src/gcrypt.h                                                                               
config.status: creating src/libgcrypt-config                                                                       
config.status: creating src/versioninfo.rc                                                                         
config.status: creating tests/Makefile                                                                             
config.status: creating config.h                                                                                   
config.status: linking ./mpi/generic/mpih-add1.c to mpi/mpih-add1.c                                                
config.status: linking ./mpi/generic/mpih-sub1.c to mpi/mpih-sub1.c                                                
config.status: linking ./mpi/generic/mpih-mul1.c to mpi/mpih-mul1.c                                                
config.status: linking ./mpi/generic/mpih-mul2.c to mpi/mpih-mul2.c                                                
config.status: linking ./mpi/generic/mpih-mul3.c to mpi/mpih-mul3.c                                                
config.status: linking ./mpi/generic/mpih-lshift.c to mpi/mpih-lshift.c                                            
config.status: linking ./mpi/generic/mpih-rshift.c to mpi/mpih-rshift.c                                            
config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h                                          
config.status: executing depfiles commands                                                                         
config.status: executing gcrypt-conf commands                                                                      

        Libgcrypt v1.4.4 has been configured as follows:

        Platform:  FreeBSD (amd64-portbld-freebsd7.2)

===>  Building for libgcrypt-1.4.4
make  all-recursive               
Making all in mpi                 
/bin/sh /usr/local/bin/libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -
I. -I..   -I../src -I../src -I/usr/local/include -I/usr/local/include -O2 -
fno-strict-aliasing -pipe -march=nocona -fvisibility=hidden -Wall -MT mpi-
add.lo -MD -MP -MF .deps/mpi-add.Tpo -c -o mpi-add.lo mpi-add.c                        
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -
I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -
march=nocona -fvisibility=hidden -Wall -MT mpi-add.lo -MD -MP -MF .deps/mpi-
add.Tpo -c mpi-add.c  -fPIC -DPIC -o .libs/mpi-add.o                                               
In file included from ../src/visibility.h:243,                                                                                                               
                 from ../src/g10lib.h:39,                                                                                                                    
                 from ../src/mpi.h:37,                                                                                                                       
                 from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/gcrypt.h:29:23: error: gpg-error.h: No such file or directory                                                                                         
In file included from ../src/visibility.h:243,                                                                                                               
                 from ../src/g10lib.h:39,                                                                                                                    
                 from ../src/mpi.h:37,                                                                                                                       
                 from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/gcrypt.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_error_t'                                                           
../src/gcrypt.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_err_code_t'                                                        
../src/gcrypt.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_err_source_t'                                                      
../src/gcrypt.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_error_t'                                                           
../src/gcrypt.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_error_t'                                                           
../src/gcrypt.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_err_code_t'                                                        
../src/gcrypt.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gcry_err_source_t'                                                      
../src/gcrypt.h:150: error: expected ')' before 'err'                                                                                                        
../src/gcrypt.h:154: error: expected ')' before 'err'                                                                                                        
../src/gcrypt.h:159: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_err_code_from_errno'                                              
../src/gcrypt.h:163: error: expected ')' before 'code'                                                                                                       
../src/gcrypt.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_err_make_from_errno'                                              
../src/gcrypt.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_error_from_errno'                                                 
../src/gcrypt.h:417: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_control'                                                          
../src/gcrypt.h:444: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_new'                                                         
../src/gcrypt.h:450: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_create'                                                      
../src/gcrypt.h:456: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_sscan'                                                       
../src/gcrypt.h:461: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_build'                                                       
../src/gcrypt.h:466: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_build_array'                                                 
../src/gcrypt.h:475: error: expected declaration specifiers or '...' before 
'gcry_error_t'                                                                   
../src/gcrypt.h:611: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_mpi_scan'                                                         
../src/gcrypt.h:620: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_mpi_print'                                                        
../src/gcrypt.h:629: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_mpi_aprint'                                                       
../src/gcrypt.h:867: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_open'                                                      
../src/gcrypt.h:874: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_ctl'                                                       
../src/gcrypt.h:878: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_info'                                                      
../src/gcrypt.h:882: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_algo_info'                                                 
../src/gcrypt.h:903: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_encrypt'                                                   
../src/gcrypt.h:908: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_decrypt'                                                   
../src/gcrypt.h:913: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_setkey'                                                    
../src/gcrypt.h:918: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_setiv'                                                     
../src/gcrypt.h:935: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_setctr'                                                    
../src/gcrypt.h:954: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_cipher_list'                                                      
../src/gcrypt.h:984: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_encrypt'                                                       
../src/gcrypt.h:989: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_decrypt'                                                       
../src/gcrypt.h:994: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_sign'                                                          
../src/gcrypt.h:998: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_verify'                                                        
../src/gcrypt.h:1002: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_testkey'                                                      
../src/gcrypt.h:1007: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_genkey'                                                       
../src/gcrypt.h:1010: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_ctl'                                                          
../src/gcrypt.h:1013: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_algo_info'                                                    
../src/gcrypt.h:1043: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_pk_list'                                                         
../src/gcrypt.h:1109: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_open'                                                         
../src/gcrypt.h:1115: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_enable'                                                       
../src/gcrypt.h:1118: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_copy'                                                         
../src/gcrypt.h:1124: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_ctl'                                                          
../src/gcrypt.h:1160: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_info'                                                         
../src/gcrypt.h:1164: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_algo_info'                                                    
../src/gcrypt.h:1178: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_setkey'                                                       
../src/gcrypt.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_md_list'                                                         
../src/gcrypt.h:1293: error: expected declaration specifiers or '...' before 
'*' token                                                                       
../src/gcrypt.h:1295: warning: type defaults to 'int' in declaration of 
'gpg_error_t'                                                                        
../src/gcrypt.h:1295: error: 'gpg_error_t' declared as function returning a 
function                                                                         
../src/gcrypt.h:1299: error: 'gcry_ac_data_write_cb_t' declared as function 
returning a function                                                             
../src/gcrypt.h:1326: error: expected specifier-qualifier-list before 
'gcry_ac_data_read_cb_t'                                                               
../src/gcrypt.h:1387: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_new'                                                     
../src/gcrypt.h:1393: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_copy'                                                    
../src/gcrypt.h:1408: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_set'                                                     
../src/gcrypt.h:1414: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_get_name'                                                
../src/gcrypt.h:1421: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_get_index'                                               
../src/gcrypt.h:1428: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_to_sexp'                                                 
../src/gcrypt.h:1434: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_from_sexp'                                               
../src/gcrypt.h:1450: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_open'                                                         
../src/gcrypt.h:1457: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_key_init'                                                     
../src/gcrypt.h:1465: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_key_pair_generate'                                            
../src/gcrypt.h:1478: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_key_test'                                                     
../src/gcrypt.h:1481: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_key_get_nbits'                                                
../src/gcrypt.h:1486: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_key_get_grip'                                                 
../src/gcrypt.h:1498: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_encode'                                                  
../src/gcrypt.h:1506: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_decode'                                                  
../src/gcrypt.h:1514: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_encrypt'                                                 
../src/gcrypt.h:1523: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_decrypt'                                                 
../src/gcrypt.h:1531: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_sign'                                                    
../src/gcrypt.h:1539: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_verify'                                                  
../src/gcrypt.h:1549: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_encrypt_scheme'                                          
../src/gcrypt.h:1561: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_decrypt_scheme'                                          
../src/gcrypt.h:1573: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_sign_scheme'                                             
../src/gcrypt.h:1586: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_data_verify_scheme'                                           
../src/gcrypt.h:1597: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_id_to_name'                                                   
../src/gcrypt.h:1603: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_ac_name_to_id'                                                   
../src/gcrypt.h:1635: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_random_add_bytes'                                                
../src/gcrypt.h:1701: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_prime_generate'                                                  
../src/gcrypt.h:1714: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_prime_group_generator'                                           
../src/gcrypt.h:1725: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_prime_check'                                                     
In file included from ../src/gcrypt.h:1823,                                                                                                                  
                 from ../src/visibility.h:243,                                                                                                               
                 from ../src/g10lib.h:39,                                                                                                                    
                 from ../src/mpi.h:37,                                                                                                                       
                 from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/gcrypt-module.h:48: error: expected declaration specifiers or '...' 
before '*' token                                                                  
../src/gcrypt-module.h:50: warning: type defaults to 'int' in declaration of 
'gcry_err_code_t'                                                               
../src/gcrypt-module.h:50: error: 'gcry_err_code_t' declared as function 
returning a function                                                                
../src/gcrypt-module.h:89: error: expected specifier-qualifier-list before 
'gcry_cipher_setkey_t'                                                            
../src/gcrypt-module.h:99: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'gcry_cipher_register'                                             
../src/gcrypt-module.h:114: error: 'gcry_pk_generate_t' declared as function 
returning a function                                                            
../src/gcrypt-module.h:118: error: 'gcry_pk_check_secret_key_t' declared as 
function returning a function                                                    
../src/gcrypt-module.h:125: error: 'gcry_pk_encrypt_t' declared as function 
returning a function                                                             
../src/gcrypt-module.h:132: error: 'gcry_pk_decrypt_t' declared as function 
returning a function                                                             
../src/gcrypt-module.h:138: error: 'gcry_pk_sign_t' declared as function 
returning a function                                                                
../src/gcrypt-module.h:146: error: 'gcry_pk_verify_t' declared as function 
returning a function                                                              
../src/gcrypt-module.h:174: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'gcry_pk_register'                                                
../src/gcrypt-module.h:219: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'gcry_md_register'                                                
In file included from ../src/g10lib.h:39,                                                                                                                    
                 from ../src/mpi.h:37,                                                                                                                       
                 from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/visibility.h:248: error: '_gcry_md_get' declared as function returning 
a function                                                                     
../src/visibility.h:250: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '_gcry_ac_mpi_to_os_alloc'                                           
In file included from ../src/mpi.h:37,                                                                                                                       
                 from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/g10lib.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_vcontrol'                                                          
../src/g10lib.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_generate_fips186_2_prime'                                         
../src/g10lib.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_generate_fips186_3_prime'                                         
../src/g10lib.h:271: error: '_gcry_module_add' declared as function returning 
a function                                                                     
../src/g10lib.h:293: error: '_gcry_module_list' declared as function returning 
a function                                                                    
../src/g10lib.h:295: error: '_gcry_cipher_init' declared as function returning 
a function                                                                    
../src/g10lib.h:296: error: '_gcry_md_init' declared as function returning a 
function                                                                        
../src/g10lib.h:297: error: '_gcry_pk_init' declared as function returning a 
function                                                                        
../src/g10lib.h:298: error: '_gcry_ac_init' declared as function returning a 
function                                                                        
../src/g10lib.h:300: error: '_gcry_pk_module_lookup' declared as function 
returning a function                                                               
../src/g10lib.h:302: error: '_gcry_pk_get_elements' declared as function 
returning a function                                                                
../src/g10lib.h:309: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_sexp_vbuild'                                                      
../src/g10lib.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '_gcry_fips_run_selftests'                                               
In file included from mpi-internal.h:52,                                                                                                                     
                 from mpi-add.c:31:                                                                                                                          
../src/mpi.h:122: error: '_gcry_mpi_get_ui' declared as function returning a 
function                                                                        
*** Error code 1                                                                                                                                             

Stop in /usr/ports/security/libgcrypt/work/libgcrypt-1.4.4/mpi.
*** Error code 1                                               

Stop in /usr/ports/security/libgcrypt/work/libgcrypt-1.4.4.
*** Error code 1                                           

Stop in /usr/ports/security/libgcrypt/work/libgcrypt-1.4.4.
*** Error code 1                                           

Stop in /usr/ports/security/libgcrypt.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20090923-24398-1yd22st-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=libgcrypt-1.4.4 UPGRADE_PORT_VER=1.4.4 make                                                                                                                                       
** Fix the problem and try again.     



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909231109.36532.david>