Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cross compilation fail on sys-libs/db (armv7a-hardfloat)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Chris.B.
n00b
n00b


Joined: 17 Aug 2010
Posts: 48

PostPosted: Thu Jul 03, 2014 9:20 am    Post subject: cross compilation fail on sys-libs/db (armv7a-hardfloat) Reply with quote

Hello,

recently I wanted to cross-compile gentoo to arm. My system is amd64. I created the cross compilation environment with:
Code:
crossdev -S -v -t armv7a-hardfloat-linux-gnueabi


Up to that point everything went OK. But now, when I try to build some basic packages:
Code:
armv7a-hardfloat-linux-gnueabi-emerge -buvND system


I end up with configure fail on sys-libs/db-4.8.30-r1:

Code:

checking for uintmax_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for getopt optreset variable... no
checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation

!!! Please attach the following file when seeking support:
!!! /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix-.default/config.log
 * ERROR: sys-libs/db-4.8.30-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 5372:  Called multilib-minimal_src_configure
 *        environment, line 4471:  Called multilib_parallel_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 4759:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4364:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4307:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4305:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4355:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line  555:  Called multilib-minimal_abi_src_configure
 *        environment, line 4465:  Called multilib_src_configure
 *        environment, line 4889:  Called econf '--enable-compat185' '--enable-o_direct' '--without-uniquename' '--enable-cxx' '--enable-stl' '--disable-java' '--disable-tcl' '--disable-test'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/db-4.8.30-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/db-4.8.30-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =db-4.8.30
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `econf failed': nie jest to nr PID ani prawidłowe określenie zadania
 * The complete build log is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/temp/build.log'.
 * The ebuild environment file is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/temp/environment'.
 * Working directory: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix-.default'
 * S: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix'



Since I haven't found much about this problem over the net I suppose I'm doing something wrong.
Can you point me in the right direction?


Code:
vetar ~ # armv7a-hardfloat-linux-gnueabi-emerge  --info '=sys-libs/db-4.8.30-r1::gentoo'
!!! Found 2 make.profile dirs: using '/usr/armv7a-hardfloat-linux-gnueabi/etc/portage/make.profile', ignoring '/usr/armv7a-hardfloat-linux-gnueabi/etc/make.profile'
Portage 2.2.8-r1 (default/linux/arm/13.0, gcc-4.7.3, unavailable, 3.12.21-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.2
KiB Mem:     6126676 total,   3632068 free
KiB Swap:    1951860 total,   1951860 free
Timestamp of tree: Unknown
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
Repositories: gentoo x-portage roslin ruby steam-overlay
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe  -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -pipe  -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/armv7a-hardfloat-linux-gnueabi/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/roslin /usr/local/portage/layman/ruby /usr/local/portage/layman/steam"
USE="acl arm berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 make-symlinks minimal modules ncurses nls nptl openmp pam pcre readline session ssl tcpd unicode zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Code:

vetar ~ # armv7a-hardfloat-linux-gnueabi-emerge  -pqv '=sys-libs/db-4.8.30-r1::gentoo'
!!! Found 2 make.profile dirs: using '/usr/armv7a-hardfloat-linux-gnueabi/etc/portage/make.profile', ignoring '/usr/armv7a-hardfloat-linux-gnueabi/etc/make.profile'
[ebuild  N    ] sys-libs/db-4.8.30-r1 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="cxx -doc -examples -java -tcl {-test}"


Code:

 * Package:    sys-libs/db-4.8.30-r1
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        arm cxx elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking db-4.8.30.tar.gz to /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work
>>> Source unpacked in /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work
>>> Preparing source in /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix ...
 * Applying db-4.8-libtool.patch ...
 [ ok ]
 * Applying db-4.8.24-java-manifest-location.patch ...
 [ ok ]
 * Applying db-4.8.30-rename-atomic-compare-exchange.patch ...
 [ ok ]
 * Applying db-4.6-jni-check-prefix-first.patch ...
 [ ok ]
 * Applying db-4.3-listen-to-java-options.patch ...
 [ ok ]
 * Running eautoreconf in '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/dist' ...
 * Running libtoolize --install --copy --force ...
 [ ok ]
 * Running aclocal -I aclocal -I aclocal_java ...
 [ ok ]
 * Running autoconf -I aclocal -I aclocal_java ...
 [ ok ]
 * Running autoheader -I aclocal -I aclocal_java ...
 [ !! ]
 * Running elibtoolize in: db-4.8.30/dist/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying cross/link-ROOT patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix ...
 * .default: running multilib-minimal_abi_src_configure
 * econf: updating db-4.8.30/dist/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating db-4.8.30/dist/config.sub with /usr/share/gnuconfig/config.sub
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix/../dist/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=armv7a-hardfloat-linux-gnueabi --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --enable-compat185 --enable-o_direct --without-uniquename --enable-cxx --enable-stl --disable-java --disable-tcl --disable-test
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
configure: loading site script /usr/share/crossdev/include/site/arm-linux-gnu
configure: loading site script /usr/share/crossdev/include/site/linux-gnueabi
configure: loading site script /usr/share/crossdev/include/site/arm-linux-gnueabi
checking build system type... x86_64-pc-linux-gnu
checking host system type... armv7a-hardfloat-linux-gnueabi
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-partition option specified... no
checking if --disable-compression option specified... no
checking if --disable-mutexsupport option specified... no
checking if --disable-atomicsupport option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... yes
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-stl option specified... yes
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for armv7a-hardfloat-linux-gnueabi-chmod... no
checking for chmod... chmod
configure: WARNING: using cross tools not prefixed with host triplet
checking for armv7a-hardfloat-linux-gnueabi-cp... no
checking for cp... cp
checking for armv7a-hardfloat-linux-gnueabi-ln... no
checking for ln... ln
checking for armv7a-hardfloat-linux-gnueabi-mkdir... no
checking for mkdir... mkdir
checking for armv7a-hardfloat-linux-gnueabi-rm... no
checking for rm... rm
checking for armv7a-hardfloat-linux-gnueabi-bash... /bin/sh
checking for a BSD-compatible install... /usr/bin/install -c
checking for armv7a-hardfloat-linux-gnueabi-cc... no
checking for armv7a-hardfloat-linux-gnueabi-gcc... armv7a-hardfloat-linux-gnueabi-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... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armv7a-hardfloat-linux-gnueabi-gcc accepts -g... yes
checking for armv7a-hardfloat-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for armv7a-hardfloat-linux-gnueabi-g++... armv7a-hardfloat-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether armv7a-hardfloat-linux-gnueabi-g++ accepts -g... yes
checking how to run the C++ preprocessor... armv7a-hardfloat-linux-gnueabi-g++ -E
checking whether C++ supports the ISO C++ standard includes... yes
checking whether we are using gcc version 2.96... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by armv7a-hardfloat-linux-gnueabi-gcc... /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld
checking if the linker (/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/armv7a-hardfloat-linux-gnueabi-nm -B
checking the name lister (/usr/bin/armv7a-hardfloat-linux-gnueabi-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to armv7a-hardfloat-linux-gnueabi format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld option to reload object files... -r
checking for armv7a-hardfloat-linux-gnueabi-objdump... armv7a-hardfloat-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for armv7a-hardfloat-linux-gnueabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for armv7a-hardfloat-linux-gnueabi-ar... armv7a-hardfloat-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for armv7a-hardfloat-linux-gnueabi-strip... true
checking for armv7a-hardfloat-linux-gnueabi-ranlib... armv7a-hardfloat-linux-gnueabi-ranlib
checking for gawk... gawk
checking command to parse /usr/bin/armv7a-hardfloat-linux-gnueabi-nm -B output from armv7a-hardfloat-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for armv7a-hardfloat-linux-gnueabi-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... armv7a-hardfloat-linux-gnueabi-gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if armv7a-hardfloat-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for armv7a-hardfloat-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if armv7a-hardfloat-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if armv7a-hardfloat-linux-gnueabi-gcc static flag -static works... yes
checking if armv7a-hardfloat-linux-gnueabi-gcc supports -c -o file.o... yes
checking if armv7a-hardfloat-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the armv7a-hardfloat-linux-gnueabi-gcc linker (/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... armv7a-hardfloat-linux-gnueabi-g++ -E
checking for ld used by armv7a-hardfloat-linux-gnueabi-g++... /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld
checking if the linker (/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld) is GNU ld... yes
checking whether the armv7a-hardfloat-linux-gnueabi-g++ linker (/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld) supports shared libraries... yes
checking for armv7a-hardfloat-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if armv7a-hardfloat-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if armv7a-hardfloat-linux-gnueabi-g++ static flag -static works... yes
checking if armv7a-hardfloat-linux-gnueabi-g++ supports -c -o file.o... yes
checking if armv7a-hardfloat-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the armv7a-hardfloat-linux-gnueabi-g++ linker (/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
checking whether the C++ compiler supports templates for STL... yes
checking whether C++ supports the wstring class... yes
checking for thread local storage (TLS) class... pthread
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct stat.st_blksize... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking if stdint.h can be used by C++... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking size of char... (cached) 1
checking size of unsigned char... 1
checking size of short... (cached) 2
checking size of unsigned short... (cached) 2
checking size of int... (cached) 4
checking size of unsigned int... (cached) 4
checking size of long... (cached) 4
checking size of unsigned long... (cached) 4
checking size of long long... (cached) 8
checking size of unsigned long long... 8
checking size of char *... 4
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking for u_int64_t... yes
checking for int64_t... yes
checking for FILE *... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for time_t... yes
checking size of size_t... (cached) 4
checking for ssize_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for getopt optreset variable... no
checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation

!!! Please attach the following file when seeking support:
!!! /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix-.default/config.log
 * ERROR: sys-libs/db-4.8.30-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 5372:  Called multilib-minimal_src_configure
 *        environment, line 4471:  Called multilib_parallel_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 4759:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4364:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4307:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4305:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 4355:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line  555:  Called multilib-minimal_abi_src_configure
 *        environment, line 4465:  Called multilib_src_configure
 *        environment, line 4889:  Called econf '--enable-compat185' '--enable-o_direct' '--without-uniquename' '--enable-cxx' '--enable-stl' '--disable-java' '--disable-tcl' '--disable-test'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/db-4.8.30-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/db-4.8.30-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =db-4.8.30
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `econf failed': nie jest to nr PID ani prawidłowe określenie zadania
 * The complete build log is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/temp/build.log'.
 * The ebuild environment file is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/temp/environment'.
 * Working directory: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix-.default'
 * S: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/db-4.8.30-r1/work/db-4.8.30/build_unix'

Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Fri Jul 04, 2014 7:58 am    Post subject: Reply with quote

Have a look at the generated config.log, it contains the actual error message, which is much more helpful.
Back to top
View user's profile Send private message
Chris.B.
n00b
n00b


Joined: 17 Aug 2010
Posts: 48

PostPosted: Fri Jul 04, 2014 8:25 am    Post subject: Reply with quote

config.log is the file I pasted at the end of the post ;)

The only useful message in all of this is:
Code:
checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation


Which actually doesn't tell me much on how to resolve the problem.
The sys-libs/db-1.85-r3 compiled well, but it's not the one in system dependencies so it doesn't help at all.
Back to top
View user's profile Send private message
Chris.B.
n00b
n00b


Joined: 17 Aug 2010
Posts: 48

PostPosted: Fri Jul 04, 2014 10:23 am    Post subject: Reply with quote

I managed to fix the probelm by commenting out the lines:

Code:
db_cv_mutex=${db_cv_mutex=no}
db_cv_posixmutexes=${db_cv_posixmutexes=no}
db_cv_uimutexes=${db_cv_uimutexes=no}
db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library/arm/gcc-assembly}


in:
Code:
/usr/share/crossdev/linux/linux-gnueabi
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Fri Jul 04, 2014 8:11 pm    Post subject: Reply with quote

Chris.B. wrote:
config.log is the file I pasted at the end of the post ;)

The only useful message in all of this is:
Code:
checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation


I meant the config.log in /var/tmp/portage/..../work/db../config.log, the one the configure script
generates during its run. It contains the actual compiler command line and error message
for the mutex test.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum