Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633568 - net-analyzer/zabbix-3.4.2 fails to build with dev-db/mariadb-10.2.9: configure: error: Not found mysqlclient library
Summary: net-analyzer/zabbix-3.4.2 fails to build with dev-db/mariadb-10.2.9: configur...
Status: RESOLVED DUPLICATE of bug 631188
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 630404
  Show dependency tree
 
Reported: 2017-10-05 16:48 UTC by Rafal Kupiec
Modified: 2017-10-12 16:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,16.50 KB, application/octet-stream)
2017-10-12 16:24 UTC, Tomasz Regdos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2017-10-05 16:48:58 UTC
I cannot build Zabbix (tried 3.4.2 & 3.2.7).
I got 3.2.7 already installed but I cannot re-emerge it. I think this is related to some changes in Mariadb.

Reproducible: Always

Steps to Reproduce:
1. emerge zabbix
Actual Results:  
checking for /proc filesystem... yes
checking for file /proc/stat... yes
checking for file /proc/cpuinfo... yes
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... yes
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... linux (linux-gnu)
checking for the linux kernel version... unknown family (4.9.24-hardened)
checking size of void *... 8
checking for mysql_config... /usr/bin/mysql_config
checking for main in -l... no
configure: error: Not found mysqlclient library

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2/config.log
 * ERROR: net-analyzer/zabbix-3.4.2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 5062:  Called econf '--enable-server' '--disable-proxy' '--enable-agent' '--enable-ipv6' '--disable-static' '--disable-java' '--without-ldap' '--without-net-snmp' '--with-mysql' '--without-postgresql' '--without-oracle' '--without-sqlite3' '--without-jabber' '--with-libcurl' '--without-openipmi' '--without-ssh2' '--without-libxml2' '--without-unixodbc' '--with-openssl'
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/zabbix-3.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/zabbix-3.4.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =zabbix-3.4.2
 * The complete build log is located at '/var/log/portage/net-analyzer:zabbix-3.4.2:20171005-164206.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/zabbix-3.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/zabbix-3.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2'
 * S: '/var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2'

>>> Failed to emerge net-analyzer/zabbix-3.4.2, Log file:

>>>  '/var/log/portage/net-analyzer:zabbix-3.4.2:20171005-164206.log'

 * Messages for package net-analyzer/zabbix-3.4.2:
 * Log file: /var/log/portage/net-analyzer:zabbix-3.4.2:20171005-164206.log

 * ERROR: net-analyzer/zabbix-3.4.2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 5062:  Called econf '--enable-server' '--disable-proxy' '--enable-agent' '--enable-ipv6' '--disable-static' '--disable-java' '--without-ldap' '--without-net-snmp' '--with-mysql' '--without-postgresql' '--without-oracle' '--without-sqlite3' '--without-jabber' '--with-libcurl' '--without-openipmi' '--without-ssh2' '--without-libxml2' '--without-unixodbc' '--with-openssl'
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/zabbix-3.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/zabbix-3.4.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-analyzer:zabbix-3.4.2:20171005-164206.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/zabbix-3.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/zabbix-3.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2'
 * S: '/var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2'


Expected Results:  
build fine
Comment 1 Tomáš Mózes 2017-10-05 20:21:48 UTC
Please always attach the full build log and the output of emerge --info. Which version of Mariadb do you have installed?
Comment 2 Rafal Kupiec 2017-10-06 04:37:28 UTC
[ebuild   R    ] dev-db/mariadb-10.2.9:0/18::gentoo  USE="backup cracklib extraengine jemalloc pam profiling server tokudb xml -bindist -debug -embedded -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -perl -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc {-test} -yassl" ABI_X86="(64) -32 (-x32)" 0 KiB
Comment 3 Tomáš Mózes 2017-10-06 06:08:02 UTC
(In reply to Tomáš Mózes from comment #1)
> Please always attach the full build log and the output of emerge --info.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2017-10-06 12:48:59 UTC
(In reply to Rafal Kupiec from comment #0)
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/net-analyzer/zabbix-3.4.2/work/zabbix-3.4.2/config.log

Need to attach this as well please
Comment 5 Tomasz Regdos 2017-10-12 16:24:30 UTC
Created attachment 498438 [details]
build.log
Comment 6 Tomasz Regdos 2017-10-12 16:26:31 UTC
Duplicate: https://bugs.gentoo.org/631188

Portage 2.3.11 (python 3.6.3-final-0, default/linux/amd64/13.0, gcc-6.4.0, glibc-2.25-r7, 4.13.4-gentoo x86_64)
=================================================================
System uname: Linux-4.13.4-gentoo-x86_64-Intel-R-_Core-TM-_i3-6100T_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    12066880 total,    978768 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 12 Oct 2017 05:00:01 +0000
Head commit of repository gentoo: a548bb096c2f40a223c9a7e3efeae199198cf53d
sh sh
ld GNU ld (Gentoo 2.29.1 p1.0) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.5.4::gentoo, 3.6.3::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://ftp.vectranet.pl/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/media/data/portage/tmp"
USE="X alsa amd64 apache2 apng apparmor aufs avahi bash-completion berkdb branding bzip2 cairo ccache cli cracklib crypt cups curl cxx dbus dri fontforge fortran fpm ftp gdbm gif git gnutls gpg graph gtk gudev highlight hpcups http2 iconv icu idn imap initramfs iproute2 iptables ipv6 java javascript jbig jce jpeg json libnotify lm_sensors lock logrotate lua lzma maildir mercurial modules multilib ncurses nfs nfsv41 nls nptl nsplugin opengl openmp openrc openssl pam pcre php pkcs11 png policykit python python3 readline samba savedconfig seccomp sensord session sqlite ssl startup-notification suid svg syslog tcpd threads thundar tiff truetype udev udisks unicode urandom usb utf8 vaapi vdpau winbind xattr xml xvmc yaml zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_core authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid deflate dir env expires file_cache filter headers http2 include socache_shmcb logio log_config mime mime_magic negotiation proxy proxy_fcgi rewrite setenvif speling unique_id unixd userdir vhost_alias access_compat" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB pl pl_PL" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0 php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Brian Evans (RETIRED) gentoo-dev 2017-10-12 16:48:41 UTC

*** This bug has been marked as a duplicate of bug 631188 ***