pkgsrc-Users archive

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

security/dirmngr compilation fails on NetBSD/alpha



	Hello,

I have upgraded my pkgsrc tree and I'm now unable to build dirmngr. Configure script fails with :

...
checking for mmap... yes
checking for canonicalize_file_name... no
configure:
***
*** GNU Portable Threads Library not found.
*** Download GNU Pth from ftp://ftp.gnu.org/gnu/pth/
*** On a Debian GNU/Linux system you might want to try
***   apt-get install libpth-dev
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/security/dirmngr
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/dirmngr
einstein#

configure:8387: gcc -o conftest -O2 -mcpu=ev56 -mtune=ev56 -mieee -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -Wall -Wno-pointer-sign -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
/var/tmp//cc5lOJZd.o: In function `main':
(.text.startup+0x10): undefined reference to `canonicalize_file_name'
/var/tmp//cc5lOJZd.o: In function `main':
(.text.startup+0x14): undefined reference to `canonicalize_file_name'
configure:8387: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dirmngr"
| #define PACKAGE_TARNAME "dirmngr"
| #define PACKAGE_VERSION "1.1.1"
| #define PACKAGE_STRING "dirmngr 1.1.1"
| #define PACKAGE_BUGREPORT "bug-dirmngr%gnupg.org@localhost"
| #define PACKAGE_URL ""
| #define PACKAGE "dirmngr"
| #define VERSION "1.1.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define PACKAGE "dirmngr"
| #define VERSION "1.1.1"
| #define PACKAGE_BUGREPORT "bug-dirmngr%gnupg.org@localhost"
| #define COPYRIGHT_YEAR_NAME "2013 g10 Code GmbH"
| #define NEED_LIBGCRYPT_VERSION "1.4.0"
| #define NEED_KSBA_VERSION "1.0.2"
| #define PRINTABLE_OS_NAME "NetBSD"
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_ICONV 1
| #define ICONV_CONST const
| #define HAVE_VASPRINTF 1
| #define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_DIRMNGR
| #define HAVE_LDAP_GET_OPTION 1
| #define HAVE_LDAP_SET_OPTION 1
| #define HAVE_LDAP_START_TLS_S 1
| #define HAVE_LBER 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LOCALE_H 1
| #define RETSIGTYPE void
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_USHORT_TYPEDEF 1
| #define HAVE_ULONG_TYPEDEF 1
| #define HAVE_STRUCT_SIGACTION 1
| #define HAVE_SIGSET_T 1
| #define HAVE_SIGSET_T 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STPCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOUL 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRTOL 1
| #define HAVE_MEMRCHR 1
| #define HAVE_ISASCII 1
| #define HAVE_TIMEGM 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_STAT 1
| #define HAVE_SETLOCALE 1
| #define HAVE_FLOCKFILE 1
| #define HAVE_FUNLOCKFILE 1
| #define HAVE_STRCASECMP 1
| #define HAVE_FUNOPEN 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_STRTOULL 1
| #define HAVE_MMAP 1
| /* end confdefs.h.  */
| /* Define canonicalize_file_name to an innocuous variant, in case <limits.h> declares canonicalize_file_name.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define canonicalize_file_name innocuous_canonicalize_file_name
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char canonicalize_file_name (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef canonicalize_file_name
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char canonicalize_file_name ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_canonicalize_file_name || defined __stub___canonicalize_file_name
| choke me
| #endif
|
| int
| main ()
| {
| return canonicalize_file_name ();
|   ;
|   return 0;
| }
configure:8387: result: no
configure:8496:
***
*** GNU Portable Threads Library not found.
*** Download GNU Pth from ftp://ftp.gnu.org/gnu/pth/
*** On a Debian GNU/Linux system you might want to try
***   apt-get install libpth-dev
***
configure:: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***

	I have tried to fix configure script without any success.

	Best regards,

	JKB


Home | Main Index | Thread Index | Old Index