Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712134 - net-dns/avahi-0.8 : configure: error: Package requirements ( libevent >= 2.0.21 ) were not met (multilib)
Summary: net-dns/avahi-0.8 : configure: error: Package requirements ( libevent >= 2.0....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 712154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-11 12:01 UTC by Kobboi
Modified: 2020-03-11 15:48 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,17.42 KB, text/x-log)
2020-03-11 12:02 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2020-03-11 12:01:28 UTC
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... yes
checking for i686-pc-linux-gnu-pkg-config... /usr/bin/i686-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for  glib-2.0 >= 2.4.0 ... yes
checking for  glib-2.0 >= 2.4.0 gobject-2.0 ... yes
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for  libevent >= 2.0.21 ... no
configure: error: Package requirements ( libevent >= 2.0.21 ) were not met:

No package 'libevent' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBEVENT_CFLAGS
and LIBEVENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-dns/avahi-0.8/work/avahi-0.8-abi_x86_32.x86/config.log
 * ERROR: net-dns/avahi-0.8::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 3590:  Called multilib-minimal_src_configure
 *             environment, line 2062:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2289:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1992:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1990:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  611:  Called multilib-minimal_abi_src_configure
 *             environment, line 2056:  Called multilib_src_configure
 *             environment, line 2525:  Called econf '--disable-monodoc' '--disable-python-dbus' '--disable-qt3' '--disable-qt4' '--disable-static' '--enable-manpages' '--enable-glib' '--enable-gobject' '--enable-xmltoman' '--localstatedir=/var' '--with-distro=gentoo' '--with-systemdsystemunitdir=/lib/systemd/system' '--enable-dbus' '--enable-gdbm' '--enable-gtk' '--enable-gtk3' '--disable-compat-howl' '--enable-compat-libdns_sd' '--enable-nls' '--disable-autoipd' '--disable-doxygen-doc' '--disable-introspection' '--disable-mono' '--disable-python' '--disable-tests' '--disable-monodoc' '--disable-libdaemon' '--with-xml=none' '--disable-qt5'
 *        phase-helpers.sh, line  681:  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 '=net-dns/avahi-0.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/avahi-0.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/avahi-0.8/work/avahi-0.8-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-dns/avahi-0.8/work/avahi-0.8'


Reproducible: Always
Comment 1 Kobboi 2020-03-11 12:02:25 UTC
[I] dev-libs/libevent
     Available versions:  2.1.8(0/2.1-6)^t (~)2.1.11(0/2.1-7)^t{tbz2} **2.1.9999(0/2.1-7)*l^t **9999*l^t {debug libressl +ssl static-libs test +threads ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.1.11(0/2.1-7)^t{tbz2}(15:16:22 21/01/20)(ssl threads -debug -libressl -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://libevent.org/ https://github.com/libevent/libevent
     Description:         Library to execute a function when a specific event occurs on a file descriptor

Note that I don't have the 32-bit libevent, I guess there is missing multilib dependency in avahi?
Comment 2 Kobboi 2020-03-11 12:02:56 UTC
Created attachment 617964 [details]
build.log
Comment 3 Kobboi 2020-03-11 12:03:27 UTC
$ emerge --info
Portage 2.3.93 (python 3.6.10-final-0, kobboi/samsonov, gcc-9.2.0, glibc-2.30-r4, 5.4.23 x86_64)
=================================================================
System uname: Linux-5.4.23-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.7
KiB Mem:    32780864 total,   2372868 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: 4462be1676af396951a54849640709456c53a06b

sh bash 5.0_p16
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.7 [disabled]
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo, 3.8.2::gentoo
dev-util/ccache:          3.7.7-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            6.5.0-r1::gentoo, 9.2.0-r4::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r4::gentoo
Repositories:

gentoo
    location: /var/cache/kobboi/gentoo
    sync-type: git
    sync-uri: https://github.com/kobboi/gentoo.git
    priority: -1000

Installed sets: @kobboi-all
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/src/debug /usr/lib/debug"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST="ssh://christophe@10.8.0.6/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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth bzip2 cairo cdda cdr cli colord crypt cups cxx dbus djvu dri dts dvd dvdr eds egl emboss encode evo exif ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv icu introspection ipv6 jpeg lcms ldap libass libnotify libsecret libtirpc mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba sdl seccomp smartcard smp spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics libinput" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Kobboi 2020-03-11 12:05:23 UTC
Replacing

	dev-libs/libevent:=

with

	dev-libs/libevent:=[${MULTILIB_USEDEP}]

works for me.
Comment 5 Larry the Git Cow gentoo-dev 2020-03-11 12:36:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0de5ca0c20aba41218d3695fe3f1c46381550eb

commit f0de5ca0c20aba41218d3695fe3f1c46381550eb
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-03-11 12:36:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-03-11 12:36:30 +0000

    net-dns/avahi: Add multilib usedep on libevent
    
    Closes: https://bugs.gentoo.org/712134
    Package-Manager: Portage-2.3.93, Repoman-2.3.20
    Suggested-by: Christophe Lermytte <gentoo@lermytte.be>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-dns/avahi/{avahi-0.8.ebuild => avahi-0.8-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Georgy Yakovlev archtester gentoo-dev 2020-03-11 15:48:54 UTC
*** Bug 712154 has been marked as a duplicate of this bug. ***