pkgsrc-Users archive

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

2006Q1 devel/monotone fails to build on 3.0/amd64 (blames boost)



configure thinks that boost is not working. It looks like it is not
linking correctly. However the files are there but not in the properly
symlinked way! (maybe that is normal, since in my installed 2005Q4
system this is also the case)

pkg_comp:default.conf# ls -l /usr/pkg/lib/libboost_regex-mt* 
-rw-r--r--  1 root  wheel  1435146 Apr  4 00:10 /usr/pkg/lib/libboost_regex-mt.a
-rwxr-xr-x  1 root  wheel   686360 Apr  4 00:09 
/usr/pkg/lib/libboost_regex-mt.so
-rwxr-xr-x  1 root  wheel   686360 Apr  4 00:09 
/usr/pkg/lib/libboost_regex-mt.so.1.33.1


=> Checksum SHA1 OK for monotone-0.25.2.tar.gz.
=> Checksum RMD160 OK for monotone-0.25.2.tar.gz.
===> extract-message [monotone-0.25.2] ===> Extracting for monotone-0.25.2
==========================================================================
The supported build options for this package are:

        inet6

The currently selected options are:

        inet6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.monotone = inet6

Deprecated variable USE_INET6 set to YES, use PKG_DEFAULT_OPTIONS+=inet6 
instead.

==========================================================================
===> install-depends [monotone-0.25.2] ===> Required installed package 
boost-libs-1.33.*: boost-libs-1.33.1 found
===> install-depends [monotone-0.25.2] ===> Required installed package 
gmake>=3.78: gmake-3.80nb5 found
===> install-depends [monotone-0.25.2] ===> Required installed package 
boost-headers-1.33.*: boost-headers-1.33.0 found
/pkg_comp/distfiles//monotone-0.25.2.tar.gz:       77.0%
===> patch-message [monotone-0.25.2] ===> Patching for monotone-0.25.2
===> tools-message [monotone-0.25.2] ===> Overriding tools for monotone-0.25.2
===> wrapper-message [monotone-0.25.2] ===> Creating toolchain wrappers for 
monotone-0.25.2
===> configure-message [monotone-0.25.2] ===> Configuring for monotone-0.25.2
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-g++... c++
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 c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for x86_64--netbsd-gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking whether the compiler knows -fexception... yes
checking for C++ compiler warning flags... -Wall
checking whether the compiler supports typeof... yes
checking whether the compiler supports __gnu_cxx::hash_map... yes
checking whether the compiler supports std::hash_map... no
checking whether cc understands -c and -o together... yes
checking whether the compiler supports extern template... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking build system type... x86_64-unknown-netbsd3.0
checking host system type... x86_64--netbsd
checking for ld used by GCC... 
/pkg_comp/obj/pkgsrc/devel/monotone/default/.wrapper/bin/ld
checking if the linker 
(/pkg_comp/obj/pkgsrc/devel/monotone/default/.wrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking how to link with libintl... /usr/lib/libintl.so
checking for iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether xgettext supports --flag... yes
checking how to run the C++ preprocessor... c++ -E
checking for egrep... grep -E
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 for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking if setlocale() and nl_langinfo() works... yes
checking for pthread_mutex_lock... no
checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... cc
checking boost version 1.32 or newer... yes
checking if boost requires extra flags to compile... no
checking for the libboost_filesystem-mt library... yes
checking for the libboost_unit_test_framework-mt library... yes
checking for the libboost_date_time-mt library... yes
checking for the libboost_regex-mt library... configure: error: libboost_regex 
failure
See `config.log' for more details.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/monotone
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===> 
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===> There was an error during the ``configure'' phase.
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===> Please investigate the following for more information:
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===>      * config.log
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===>      * 
/pkg_comp/obj/pkgsrc/devel/monotone/default/.work.log
===> /pkg_comp/obj/pkgsrc/devel/monotone/default/.configure_done 
[monotone-0.25.2] ===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/monotone

config.log contains, in part:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by monotone configure 0.25.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure BOOST_SUFFIX=-mt --enable-ipv6 --prefix=/usr/pkg 
--host=x86_64--netbsd --infodir=/usr/pkg/info --mandir=/usr/pkg/man 
--without-libiconv-prefix --without-libintl-prefix

## --------- ##
## Platform. ##
## --------- ##

hostname = radl.falu.nl
uname -m = amd64
uname -r = 3.0
uname -s = NetBSD
uname -v = NetBSD 3.0 (Radls Doordringend Onjuiste Akkoord) #0: Sat Jan 28 
16:44:07 CET 2006  
root%radl.falu.nl@localhost:/usr/src/sys/arch/amd64/compile/RADL

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /pkg_comp/obj/pkgsrc/devel/monotone/default/.wrapper/bin
PATH: /pkg_comp/obj/pkgsrc/devel/monotone/default/.buildlink/bin
PATH: /pkg_comp/obj/pkgsrc/devel/monotone/default/.gcc/bin
PATH: /pkg_comp/obj/pkgsrc/devel/monotone/default/.tools/bin
PATH: /usr/pkg/bin
PATH: /home/rhialto/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/pkg/cross/bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: .
PATH: /usr/pkg/bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

...

configure:7510: checking for the libboost_regex-mt library
configure:7531: c++ -o conftest  -pthread  -O2 -I/usr/include 
-I/usr/pkg/include -fno-strict-aliasing -Wall -I/usr/include -I/usr/pkg/include 
-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.cc 
-lboost_regex-mt -lboost_date_time-mt -lboost_filesystem-mt  >&5
/var/tmp//cc2szMEM.o(.text+0x43): In function `main':
: undefined reference to `boost::basic_regex<char, boost::regex_traits<char, 
boost::cpp_regex_traits<char> > >::assign(char const*, char const*, unsigned 
int)'
configure:7537: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "monotone"
| #define PACKAGE_TARNAME "monotone"
| #define PACKAGE_VERSION "0.25.2"
| #define PACKAGE_STRING "monotone 0.25.2"
| #define PACKAGE_BUGREPORT "monotone-devel%nongnu.org@localhost"
| #define PACKAGE "monotone"
| #define VERSION "0.25.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_TYPEOF
| #define HAVE_GNUCXX_HASHMAP
| #define HAVE_EXTERN_TEMPLATE
| #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 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_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define LOCALE_WORKS 1
| /* end confdefs.h.  */
| 
|   #include <boost/regex.hpp>
|   using namespace boost;
| 
| int
| main ()
| {
| regex expr("foo");
|   ;
|   return 0;
| }
configure:7557: error: libboost_regex failure
See `config.log' for more details.

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

ac_cv_build=x86_64-unknown-netbsd3.0
ac_cv_build_alias=x86_64-unknown-netbsd3.0
ac_cv_c_compiler_gnu=yes
ac_cv_cc_fexceptions=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_cxx_extern_template=yes
ac_cv_cxx_gnucxx_hashmap=yes
ac_cv_cxx_stlport_hashmap=no
ac_cv_cxx_typeof=yes
ac_cv_env_BOOST_SUFFIX_set=set
ac_cv_env_BOOST_SUFFIX_value=-mt
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -I/usr/include -I/usr/pkg/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/usr/include -I/usr/pkg/include'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -I/usr/include -I/usr/pkg/include'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
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_exeext=
ac_cv_func_pthread_mutex_lock=no
ac_cv_header_errno_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_host_alias=x86_64--netbsd
ac_cv_locale_works=yes
ac_cv_objext=o
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_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=:
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_path_XGETTEXT=:
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=cc
ac_cv_prog_CXX=c++
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_prog_PTHREAD_CC=cc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_warnings=-Wall
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_version_boost=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=/pkg_comp/obj/pkgsrc/devel/monotone/default/.wrapper/bin/ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib'
acl_cv_sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_func_iconv=yes
am_cv_lib_iconv=no
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=const
gt_cv_func_gnugettext1_libc=no
gt_cv_func_gnugettext1_libintl=yes
gt_cv_func_gnugettext2_libintl=yes
gt_cv_func_gnugettext_libintl=yes

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

ACLOCAL='${SHELL} 
/pkg_comp/obj/pkgsrc/devel/monotone/default/monotone-0.25.2/missing --run 
aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} 
/pkg_comp/obj/pkgsrc/devel/monotone/default/monotone-0.25.2/missing --run tar'
AUTOCONF='${SHELL} 
/pkg_comp/obj/pkgsrc/devel/monotone/default/monotone-0.25.2/missing --run 
autoconf'
AUTOHEADER='${SHELL} 
/pkg_comp/obj/pkgsrc/devel/monotone/default/monotone-0.25.2/missing --run 
autoheader'
AUTOMAKE='${SHELL} 
/pkg_comp/obj/pkgsrc/devel/monotone/default/monotone-0.25.2/missing --run 
automake-1.9'
AWK='/usr/bin/awk'
BOOST_LIBDIR=''
BOOST_SUFFIX='-mt'
BUILD_PCH_FALSE=''
BUILD_PCH_TRUE=''
BUILD_UNIT_TESTS_FALSE='#'
BUILD_UNIT_TESTS_TRUE=''
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -I/usr/include -I/usr/pkg/include -fno-strict-aliasing -fexceptions'
CPPFLAGS='-I/usr/include -I/usr/pkg/include'
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=' -pthread  -O2 -I/usr/include -I/usr/pkg/include -fno-strict-aliasing 
-Wall'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
GMSGFMT='/usr/bin/msgfmt'
INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 444'
INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 555'
INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTLLIBS='/usr/lib/libintl.so'
LDFLAGS='-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib'
LIB3RDPARTY_CFLAGS=''
LIB3RDPARTY_CXXFLAGS=''
LIBICONV=''
LIBINTL='/usr/lib/libintl.so'
LIBOBJS=''
LIBS='-lboost_regex-mt -lboost_date_time-mt -lboost_filesystem-mt '
LTLIBICONV=''
LTLIBINTL='-L/usr/lib -lintl'
LTLIBOBJS=''
MAKEINFO='/pkg_comp/obj/pkgsrc/devel/monotone/default/.tools/bin/makeinfo'
MISSING_GETADDRINFO_FALSE=''
MISSING_GETADDRINFO_TRUE=''
MISSING_INET6_FALSE=''
MISSING_INET6_TRUE=''
MISSING_INET_NTOP_FALSE=''
MISSING_INET_NTOP_TRUE=''
MISSING_INET_PTON_FALSE=''
MISSING_INET_PTON_TRUE=''
MKINSTALLDIRS='./mkinstalldirs'
MONOTONE_CFLAGS=''
MONOTONE_CXXFLAGS=''
MSGFMT='/usr/bin/msgfmt'
MSGMERGE=':'
OBJEXT='o'
PACKAGE='monotone'
PACKAGE_BUGREPORT='monotone-devel%nongnu.org@localhost'
PACKAGE_NAME='monotone'
PACKAGE_STRING='monotone 0.25.2'
PACKAGE_TARNAME='monotone'
PACKAGE_VERSION='0.25.2'
PATH_SEPARATOR=':'
POPT_SOURCE_PATH=''
POSUB='po'
PTHREAD_CC='cc'
PTHREAD_CFLAGS=' -pthread '
PTHREAD_LIBS=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
SQLITE_CPPFLAGS=''
STATIC_BOOST_FALSE=''
STATIC_BOOST_TRUE=''
STRIP='strip'
USE_NLS='yes'
VERSION='0.25.2'
WIN32_PLATFORM_FALSE=''
WIN32_PLATFORM_TRUE=''
XGETTEXT=':'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
acx_pthread_config=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-netbsd3.0'
build_alias=''
build_cpu='x86_64'
build_os='netbsd3.0'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64--netbsd'
host_alias='x86_64--netbsd'
host_cpu='x86_64'
host_os='netbsd'
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/pkg/info'
install_sh='/usr/bin/install'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define ENABLE_NLS 1
#define HAVE_DCGETTEXT 1
#define HAVE_ERRNO_H 1
#define HAVE_EXTERN_TEMPLATE
#define HAVE_GETTEXT 1
#define HAVE_GNUCXX_HASHMAP
#define HAVE_ICONV 1
#define HAVE_ICONV 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TYPEOF
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define ICONV_CONST const
#define LOCALE_WORKS 1
#define PACKAGE "monotone"
#define PACKAGE_BUGREPORT "monotone-devel%nongnu.org@localhost"
#define PACKAGE_NAME "monotone"
#define PACKAGE_STRING "monotone 0.25.2"
#define PACKAGE_TARNAME "monotone"
#define PACKAGE_VERSION "0.25.2"
#define STDC_HEADERS 1
#define VERSION "0.25.2"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.



Home | Main Index | Thread Index | Old Index