#72 slibtoolize - checking for the Boost date_time library... configure: error: the libext variable is empty, did you invoke Libtool?
Opened a month ago by orbea. Modified a month ago

OS: Gentoo
slibtool: e40c34a
libcmis: 0.6.2
liborcus: 0.19.2

With libcmis and liborcus when using autoreconf -fi it during Boost's date_time library configure check.

checking for the Boost date_time library... configure: error: the libext variable is empty, did you invoke Libtool?

From config.log:

configure:9601: checking for the Boost date_time library
configure:9629: error: the libext variable is empty, did you invoke Libtool?

In m4/boost.m4:

# BOOST_DATE_TIME([PREFERRED-RT-OPT])
# -----------------------------------
# Look for Boost.Date_Time.  For the documentation of PREFERRED-RT-OPT, see the
# documentation of BOOST_FIND_LIB above.
BOOST_DEFUN([Date_Time],
[BOOST_FIND_LIB([date_time], [$1],
                [boost/date_time/posix_time/posix_time.hpp],
                [boost::posix_time::ptime t;])
])# BOOST_DATE_TIME
 * Package:    dev-cpp/libcmis-0.6.2:0/0.6
 * Repository: gentoo
 * Maintainer: office@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_musl kernel_linux
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox

>>> Unpacking source...
>>> Unpacking libcmis-0.6.2.tar.gz to /var/tmp/portage/dev-cpp/libcmis-0.6.2/work
>>> Source unpacked in /var/tmp/portage/dev-cpp/libcmis-0.6.2/work
>>> Preparing source in /var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2 ...
 * Applying libcmis-0.6.2-libxml2-2.12.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2' ...
 * Running 'slibtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal -I /usr/share/slibtool -I m4 --system-acdir=/var/tmp/portage/dev-cpp/libcmis-0.6.2/temp/aclocal' ...
 [ ok ]
 * Running 'autoconf -I /usr/share/slibtool --force' ...
 [ ok ]
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 [ ok ]
 * Running elibtoolize in: libcmis-0.6.2/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2 ...
 * econf: updating libcmis-0.6.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libcmis-0.6.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-musl --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libcmis-0.6.2 --htmldir=/usr/share/doc/libcmis-0.6.2/html --with-sysroot=/ --libdir=/usr/lib --disable-werror --without-man --disable-tests --disable-client
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/config.site.d/80crossdev.conf
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make LIBTOOL=rdlibtool sets $(MAKE)... yes
checking whether make LIBTOOL=rdlibtool supports nested variables... yes
checking whether make LIBTOOL=rdlibtool supports nested variables... (cached) yes
checking for x86_64-pc-linux-musl-gcc... x86_64-pc-linux-musl-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-musl-gcc accepts -g... yes
checking for x86_64-pc-linux-musl-gcc option to enable C11 features... none needed
checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes
checking whether make LIBTOOL=rdlibtool supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-musl-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-musl-gcc -E
checking for x86_64-pc-linux-musl-g++... x86_64-pc-linux-musl-g++
checking whether the compiler supports GNU C++... yes
checking whether x86_64-pc-linux-musl-g++ accepts -g... yes
checking for x86_64-pc-linux-musl-g++ option to enable C++11 features... none needed
checking dependency style of x86_64-pc-linux-musl-g++... none
checking whether ln -s works... yes
checking whether make LIBTOOL=rdlibtool sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
checking for flex... flex
checking for a sed that does not truncate output... /bin/sed
checking for bison... bison -y
checking for x86_64-pc-linux-musl-ar... x86_64-pc-linux-musl-ar
checking for x86_64-pc-linux-musl-nm... x86_64-pc-linux-musl-nm
checking for x86_64-pc-linux-musl-ranlib... x86_64-pc-linux-musl-ranlib
checking whether ln -s works... yes
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking whether x86_64-pc-linux-musl-g++ supports C++11 features by default... yes
checking for native Win32... no
checking for -fvisibility=hidden compiler flag... yes
checking for __attribute__((visibility))... yes
checking for cppcheck... /usr/bin/cppcheck
checking for nproc... /usr/bin/nproc
checking for x86_64-pc-linux-musl-pkg-config... /usr/bin/x86_64-pc-linux-musl-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libcurl... yes
checking for libxml-2.0... yes
checking for grep that handles long lines and -e... /bin/grep
checking how to run the C++ preprocessor... x86_64-pc-linux-musl-g++ -E
checking for Boost headers version >= 1.36.0... yes
checking for Boost's header version... 1_84
checking for the toolset name used by Boost for x86_64-pc-linux-musl-g++... configure: WARNING: could not figure out which toolset name to use for x86_64-pc-linux-musl-g++

checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for boost/date_time/posix_time/posix_time.hpp... yes
checking for the Boost date_time library... configure: error: the libext variable is empty, did you invoke Libtool?

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2/config.log
 * ERROR: dev-cpp/libcmis-0.6.2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 1682:  Called econf '--disable-werror' '--without-man' '--disable-tests' '--disable-client'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-cpp/libcmis-0.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/libcmis-0.6.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-cpp/libcmis-0.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/libcmis-0.6.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2'
 * S: '/var/tmp/portage/dev-cpp/libcmis-0.6.2/work/libcmis-0.6.2'

Login to comment on this ticket.

Metadata