View Issue Details

IDProjectCategoryView StatusLast Update
0005557GNUnetbuild processpublic2019-02-12 08:21
Reporterng0Assigned Tong0 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Platformamd64OSNetBSDOS VersionCURRENT
Product Version0.11.0pre66 
Target Version0.11.0Fixed in Version0.11.0 
Summary0005557: libgcrypt-config is not picked up by configure
DescriptionSee config.log
Steps To ReproduceThis occurs while working on the gnunet package in pkgsrc-wip
TagsNo tags attached.

Activities

ng0

2019-02-11 18:41

developer  

config.log (76,444 bytes)

ng0

2019-02-11 18:43

developer   ~0013651

snip:

configure:20024: checking for struct tm.tm_gmtoff
configure:20024: gcc -c -fno-strict-aliasing -Wall -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include conftest.c >&5
configure:20024: $? = 0
configure:20024: result: yes
configure:20033: checking whether _stati64 is declared
configure:20033: gcc -c -fno-strict-aliasing -Wall -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:71:10: error: '_stati64' undeclared (first use in this function); did you mean 'fstatat'?
   (void) _stati64;
          ^~~~~~~~
          fstatat
conftest.c:71:10: note: each undeclared identifier is reported only once for each function it appears in
configure:20033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gnunet"
| #define PACKAGE_TARNAME "gnunet"
| #define PACKAGE_VERSION "0.11.0pre66"
| #define PACKAGE_STRING "gnunet 0.11.0pre66"
| #define PACKAGE_BUGREPORT "bug-gnunet@gnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnunet"
| #define VERSION "0.11.0pre66"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_FSEEKO 1
| #define SOMEBSD 1
| #define NETBSD 1
| #define GNUNET_DEFAULT_INTERFACE "eth0"
| #define HAVE_UNALIGNED_64_ACCESS 1
| #define HAVE_LIBM 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_TM_GMTOFF 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| #ifndef _stati64
| #ifdef __cplusplus
| (void) _stati64;
| #else
| (void) _stati64;
| #endif
| #endif
|
| ;
| return 0;
| }
configure:20033: result: no
configure:20173: checking for x86_64--netbsd-libgcrypt-config
configure:20203: result: /nonexistent
configure:20277: checking for LIBGCRYPT - version >= 1.6.0
configure:20314: result: no
configure:20369: checking whether gcry_mpi_set_opaque_copy is declared
configure:20369: gcc -c -fno-strict-aliasing -Wall -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include conftest.c >&5
configure:20369: $? = 0
configure:20369: result: yes
configure:20391: error:
***
*** You need libgcrypt to build this program.
** This library is for example available at
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** (at least version 1.6.0 (API 1)
*** is required.)
***

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64--netbsd
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=''
ac_cv_env_CCC_value=''
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-lpthread -lintl -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=''
ac_cv_env_LT_SYS_LIBRARY_PATH_set=''
ac_cv_env_LT_SYS_LIBRARY_PATH_value=''
ac_cv_env_OBJCFLAGS_set=''
ac_cv_env_OBJCFLAGS_value=''
ac_cv_env_OBJC_set=''
ac_cv_env_OBJC_value=''
ac_cv_env_PYTHON_set=''
ac_cv_env_PYTHON_value=''
ac_cv_env_XMKMF_set=''
ac_cv_env_XMKMF_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64--netbsd
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64--netbsd
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_func_dlopen=yes
ac_cv_func_shl_load=no
ac_cv_have_decl__stati64=no
ac_cv_have_decl_gcry_mpi_set_opaque_copy=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64--netbsd
ac_cv_lib_c_getloadavg=yes
ac_cv_lib_dld_shl_load=no
ac_cv_lib_m_log=yes
ac_cv_lib_socket_socket=no
ac_cv_member_struct_tm_tm_gmtoff=yes
ac_cv_objc_compiler_gnu=yes
ac_cv_objext=o
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/usr/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_LIBGCRYPT_CONFIG=/nonexistent
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_path_lt_DD=/bin/dd
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_prog_VAR_GETOPT_BINARY=true
ac_cv_prog_VAR_SSH_BINARY=true
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_c99=''
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_prog_objc_g=yes
ac_cv_search_gethostbyname='none required'
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_sys_largefile_source=no
ac_cv_target=x86_64--netbsd
ac_cv_unaligned_64_access=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_OBJC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
gt_cv_func_gnugettext1_libintl=yes
gt_cv_func_gnugettext2_libintl=yes
gt_cv_func_gnugettext_libintl=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
lt_cv_dlopen=dlopen
lt_cv_dlopen_libs=''
lt_cv_dlopen_self=yes
lt_cv_dlopen_self_static=no
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=''
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/work/wip/gnunet/work/.cwrapper/bin/ld
lt_cv_path_LDCXX=/usr/work/wip/gnunet/work/.cwrapper/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'
lt_cv_sys_global_symbol_to_import=''
lt_cv_sys_max_cmd_len=262144
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/work/wip/gnunet/work/gnunet-0.11.0pre66/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /usr/work/wip/gnunet/work/gnunet-0.11.0pre66/missing autoconf'
AUTOHEADER='${SHELL} /usr/work/wip/gnunet/work/gnunet-0.11.0pre66/missing autoheader'
AUTOMAKE='${SHELL} /usr/work/wip/gnunet/work/gnunet-0.11.0pre66/missing automake-1.15'
AUTOSTART=''
AWK='/usr/bin/awk'
BUILD_EXPERIMENTAL_HELPERS_FALSE=''
BUILD_EXPERIMENTAL_HELPERS_TRUE=''
BUILD_GST_HELPERS_FALSE=''
BUILD_GST_HELPERS_TRUE=''
BUILD_PULSE_HELPERS_FALSE=''
BUILD_PULSE_HELPERS_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-fno-strict-aliasing -Wall -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
CPP='gcc -E'
CPPFLAGS='-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include'
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE='#'
DARWIN_FALSE=''
DARWIN_TRUE='#'
DEFAULT_INTERFACE='"eth0"'
DEFS=''
DEPDIR='.deps'
DLLDIR='lib'
DLLTOOL='false'
DOCUMENTATION_FALSE=''
DOCUMENTATION_ONLY_FALSE=''
DOCUMENTATION_ONLY_TRUE=''
DOCUMENTATION_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/egrep'
ENABLE_MALICIOUS_FALSE=''
ENABLE_MALICIOUS_TRUE=''
ENABLE_MONKEY_FALSE=''
ENABLE_MONKEY_TRUE=''
ENABLE_NSE_HISTOGRAM_FALSE=''
ENABLE_NSE_HISTOGRAM_TRUE=''
ENABLE_SUPERMUC_FALSE=''
ENABLE_SUPERMUC_TRUE=''
ENABLE_TEST_RUN_FALSE=''
ENABLE_TEST_RUN_TRUE=''
EXEEXT=''
EXT_LIBS=''
EXT_LIB_PATH=''
FGREP='/usr/bin/grep -F'
GETTEXT_MACRO_VERSION=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMSGFMT=''
GMSGFMT_015=''
GNUNETDNS_GROUP=''
GNU_FALSE=''
GNU_TRUE='#'
GN_INTLINCL=''
GN_LIBINTL=''
GN_LIB_LDFLAGS=''
GN_PLUGIN_LDFLAGS=''
GREP='/usr/bin/grep'
GST_CFLAGS=''
GST_LIBS=''
HAVE_ABE_FALSE=''
HAVE_ABE_TRUE=''
HAVE_BENCHMARKS_FALSE=''
HAVE_BENCHMARKS_TRUE=''
HAVE_EXPENSIVE_TESTS_FALSE=''
HAVE_EXPENSIVE_TESTS_TRUE=''
HAVE_EXPERIMENTAL_FALSE=''
HAVE_EXPERIMENTAL_TRUE=''
HAVE_GETOPT_BINARY_FALSE='#'
HAVE_GETOPT_BINARY_TRUE=''
HAVE_GLIBCNSS_FALSE=''
HAVE_GLIBCNSS_TRUE=''
HAVE_GNUTLS_DANE_FALSE=''
HAVE_GNUTLS_DANE_TRUE=''
HAVE_GNUTLS_FALSE=''
HAVE_GNUTLS_TRUE=''
HAVE_JANSSON_FALSE=''
HAVE_JANSSON_TRUE=''
HAVE_JSON_FALSE=''
HAVE_JSON_TRUE=''
HAVE_LIBBLUETOOTH_FALSE=''
HAVE_LIBBLUETOOTH_TRUE=''
HAVE_LIBCURL_FALSE=''
HAVE_LIBCURL_TRUE=''
HAVE_LIBEXTRACTOR_FALSE=''
HAVE_LIBEXTRACTOR_TRUE=''
HAVE_LIBGLPK_FALSE=''
HAVE_LIBGLPK_TRUE=''
HAVE_LIBGNURL_FALSE=''
HAVE_LIBGNURL_TRUE=''
HAVE_LIBUNISTRING=''
HAVE_MHD_FALSE=''
HAVE_MHD_TRUE=''
HAVE_MYSQLE_FALSE=''
HAVE_MYSQLE_TRUE=''
HAVE_MYSQL_FALSE=''
HAVE_MYSQL_TRUE=''
HAVE_OGG_FALSE=''
HAVE_OGG_TRUE=''
HAVE_PBC_FALSE=''
HAVE_PBC_TRUE=''
HAVE_POSTGRESQL_FALSE=''
HAVE_POSTGRESQL_TRUE=''
HAVE_PYTHON_FALSE=''
HAVE_PYTHON_TRUE=''
HAVE_SQLITE_FALSE=''
HAVE_SQLITE_TRUE=''
HAVE_SSH_BINARY_FALSE='#'
HAVE_SSH_BINARY_TRUE=''
HAVE_SSH_KEY_FALSE=''
HAVE_SSH_KEY_TRUE='#'
HAVE_SUDO_FALSE=''
HAVE_SUDO_TRUE=''
HAVE_TESTING_FALSE=''
HAVE_TESTING_TRUE=''
INSTALL_DATA='/usr/bin/install -c -o ng0 -g users -m 644'
INSTALL_PROGRAM='/usr/bin/install -c -s -o ng0 -g users -m 755'
INSTALL_SCRIPT='/usr/bin/install -c -o ng0 -g users -m 755'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
JAVAPORT=''
LD='/usr/work/wip/gnunet/work/.cwrapper/bin/ld'
LDFLAGS='-lpthread -lintl -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE'
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_CONFIG='/nonexistent'
LIBGCRYPT_LIBS=''
LIBGNURL=''
LIBGNURL_CPPFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPREFIX=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBUNISTRING=''
LIBUNISTRING_PREFIX=''
LINUX_FALSE=''
LINUX_TRUE='#'
LIPO=''
LN_S='ln -s'
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LTLIBUNISTRING=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='/usr/work/wip/gnunet/work/.tools/bin/makeinfo'
MANIFEST_TOOL=':'
MINGW_FALSE=''
MINGW_TRUE='#'
MKDIR_P='./install-sh -c -d'
MONKEYPREFIX=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
MYSQL_CPPFLAGS=''
MYSQL_LDFLAGS=''
NM='/usr/bin/nm -B'
NMEDIT=''
OBJC='gcc'
OBJCDEPMODE='depmode=gcc3'
OBJCFLAGS='-g -O2'
OBJDUMP='objdump'
OBJEXT='o'
OPENBSD_FALSE=''
OPENBSD_TRUE='#'
OTOOL64=''
OTOOL=''
PACKAGE='gnunet'
PACKAGE_BUGREPORT='bug-gnunet@gnu.org'
PACKAGE_NAME='gnunet'
PACKAGE_STRING='gnunet 0.11.0pre66'
PACKAGE_TARNAME='gnunet'
PACKAGE_URL=''
PACKAGE_VERSION='0.11.0pre66'
PATH_SEPARATOR=':'
PG_CONFIG=''
PKG_CONFIG='/usr/work/wip/gnunet/work/.tools/bin/pkg-config'
POSTGRESQL_CPPFLAGS=''
POSTGRESQL_LDFLAGS=''
POSTGRESQL_VERSION=''
POSUB=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SOLARIS_FALSE=''
SOLARIS_TRUE='#'
SQLITE_CPPFLAGS=''
SQLITE_LDFLAGS=''
STRIP='strip'
SUDO_BINARY=''
TALER_ONLY_FALSE=''
TALER_ONLY_TRUE=''
UNIXONLY='#'
USE_COVERAGE_FALSE=''
USE_COVERAGE_TRUE=''
USE_NLS=''
VAR_GETOPT_BINARY='true'
VAR_SSH_BINARY='true'
VERSION='0.11.0pre66'
WANT_FRAMEWORK_FALSE=''
WANT_FRAMEWORK_TRUE=''
XFREEBSD_FALSE=''
XFREEBSD_TRUE='#'
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
Z_CFLAGS=''
Z_LIBS=''
_libcurl_config=''
_libgnurl_config=''
ac_ct_AR='ar'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
ac_ct_OBJC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64--netbsd'
build_alias='x86_64--netbsd'
build_cpu='x86_64'
build_os='netbsd'
build_target=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gitcommand=''
host='x86_64--netbsd'
host_alias='x86_64--netbsd'
host_cpu='x86_64'
host_os='netbsd'
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/work/wip/gnunet/work/gnunet-0.11.0pre66/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr/pkg'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
svnversioncommand=''
sysconfdir='/usr/pkg/etc'
target='x86_64--netbsd'
target_alias=''
target_cpu='x86_64'
target_os='netbsd'
target_vendor=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "gnunet"
#define PACKAGE_TARNAME "gnunet"
#define PACKAGE_VERSION "0.11.0pre66"
#define PACKAGE_STRING "gnunet 0.11.0pre66"
#define PACKAGE_BUGREPORT "bug-gnunet@gnu.org"
#define PACKAGE_URL ""
#define PACKAGE "gnunet"
#define VERSION "0.11.0pre66"
#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 HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_FSEEKO 1
#define SOMEBSD 1
#define NETBSD 1
#define GNUNET_DEFAULT_INTERFACE "eth0"
#define HAVE_UNALIGNED_64_ACCESS 1
#define HAVE_LIBM 1
#define HAVE_GETLOADAVG 1
#define HAVE_TM_GMTOFF 1
#define HAVE_DECL__STATI64 0
#define HAVE_DECL_GCRY_MPI_SET_OPAQUE_COPY 1

configure: exit 1

ng0

2019-02-11 18:46

developer   ~0013652

Further information: libgcrypt from pkgsrc current is installed and in the build environment, version 1.8.4

ng0

2019-02-11 18:58

developer   ~0013653

This happens even with --with-libgcrypt-prefix pointing to the right directory.

ng0

2019-02-11 19:41

developer   ~0013655

after going through this with other pkgsrc developers, the following conclusion was drawn:

since the only package in pkgsrc using gcrypt-config is collectd-network and it picks it up directly, and all others probably use pkg-config,
and pointing to gcrypt-config did not work, our configure.ac must be improved to allow picking it up.

ng0

2019-02-11 19:42

developer   ~0013656

No idea if the _stati64 message above is unrelated.

ng0

2019-02-11 19:55

developer   ~0013657

Is there any reason why we don't make use of pkg-config for this?

(and for other parts in the configure script)

Christian Grothoff

2019-02-11 20:08

manager   ~0013658

No fundamental reason, except the usual big one: will pkg-config work as well on the various platforms than what we have now? Is pkg-config always there? IIRC it isn't actually best-practice to use pkg-config with autotools, but I may be mistaken.

Generally, I would prefer to only mess with these things given proper CI testing across the various OSes to avoid regressions.

ng0

2019-02-11 20:13

developer   ~0013659

Fixed, as there is old cruft in the options.mk in the pkgsrc.. but the question on pkg-config still stands.

ng0

2019-02-11 20:14

developer   ~0013660

okay, thanks!

ng0

2019-02-11 20:15

developer   ~0013661

problem existed in old pkgsrc cruft package options.mk.

Issue History

Date Modified Username Field Change
2019-02-11 18:41 ng0 New Issue
2019-02-11 18:41 ng0 File Added: config.log
2019-02-11 18:43 ng0 Note Added: 0013651
2019-02-11 18:46 ng0 Note Added: 0013652
2019-02-11 18:58 ng0 Note Added: 0013653
2019-02-11 19:41 ng0 Note Added: 0013655
2019-02-11 19:42 ng0 Note Added: 0013656
2019-02-11 19:42 ng0 Summary libgcrypt is not picked up by configure => libgcrypt-config is not picked up by configure
2019-02-11 19:55 ng0 Note Added: 0013657
2019-02-11 19:55 ng0 Assigned To => Christian Grothoff
2019-02-11 19:55 ng0 Status new => assigned
2019-02-11 20:08 Christian Grothoff Note Added: 0013658
2019-02-11 20:08 Christian Grothoff Assigned To Christian Grothoff => ng0
2019-02-11 20:13 ng0 Note Added: 0013659
2019-02-11 20:14 ng0 Note Added: 0013660
2019-02-11 20:15 ng0 Status assigned => resolved
2019-02-11 20:15 ng0 Resolution open => fixed
2019-02-11 20:15 ng0 Fixed in Version => SVN HEAD
2019-02-11 20:15 ng0 Note Added: 0013661
2019-02-12 08:21 Christian Grothoff Fixed in Version SVN HEAD => 0.11.0
2019-02-12 08:21 Christian Grothoff Target Version => 0.11.0