Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851078 - dev-cpp/opentelemetry-cpp-1.4.0 - Could not find a package configuration file provided by Libevent with any (looks for dev-libs/libevent cmake files)
Summary: dev-cpp/opentelemetry-cpp-1.4.0 - Could not find a package configuration fil...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-10 20:53 UTC by Leonid Kopylov
Modified: 2023-05-21 05:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,5.15 KB, text/plain)
2022-06-10 20:54 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2022-06-10 20:53:59 UTC
# emerge -pqv '=dev-cpp/opentelemetry-cpp-1.4.0::gentoo'
[ebuild  N    ] dev-cpp/opentelemetry-cpp-1.4.0  USE="jaeger -prometheus -test"

# emerge --info '=dev-cpp/opentelemetry-cpp-1.4.0::gentoo'
Portage 3.0.30 (python 3.9.13-final-0, default/linux/arm64/17.0/desktop/gnome/systemd, gcc-11.3.0, glibc-2.35-r7, 5.15.41-gentoo-arm64 aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.41-gentoo-arm64-aarch64-with-glibc2.35
KiB Mem:    16357936 total,   1069896 free
KiB Swap:    8388604 total,   8306172 free
Timestamp of repository gentoo: Fri, 10 Jun 2022 06:30:01 +0000
Head commit of repository gentoo: 6554bff22be0c06b757470373636e01ecdb10b5c
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.9.13::gentoo, 3.10.5::gentoo, 3.11.0_beta3::gentoo
dev-lang/rust-bin:         1.61.0::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.2::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="* -@EULA Vivaldi"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac aalib accessibility acl acpi alsa archive arm64 audit bash-completion berkdb bidi bluray branding brotli bzip2 cairo cdda cddb cdr cgi cli colord cracklib cron crypt cryptsetup cups curl dbi dbus designer device-mapper djvu doc dri dts dvb dvdr eds emacs encode evo examples exif expat experimental extras fam fbcon fftw flac fluidsynth fontconfig fortran ftp fuse game gamepad games gcrypt gd gdbm gdk-pixbuf geoip geolocation gif git gme gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gphoto2 gpm graphite graphviz gsm gssapi gstreamer gtk gtk-doc gtk3 gui guile harfbuzz hdf5 heif highlight html http http2 iconv icu idn imagemagick imlib introspection iodbc ipv6 jack java javascript jbig jemalloc joystick jpeg jpeg2k json kerberos latex lcms ldap libcaca libglvnd libnotify libsecret libtirpc libxml2 lmdb lua lvm lz4 lzma lzo mad maildir mbedtls mbox midi mng mp3 mp4 mpeg mtp musepack nas nautilus ncurses netlink nettle network networkmanager nfs nls nptl nss ntlm odbc ogg openal openexr opengl openmp openssl opus pam pango pcap pcre pdf perl pkcs11 plugins png policykit portaudio postscript ppds pulseaudio python qdbm qml qrcode qt5 raw readline redis rss samba sasl savedconfig sctp sdl seccomp session skey snappy sndfile sndio snmp sound source sox speech speex spell split-usr sql sqlite ssh ssl startup-notification svg symlink syslog systemd tcl theora threads tiff tk tools tracker tremor truetype twolame udev udisks unicode unwind upnp upower usb utils uuid v4l vala vim-syntax vnc vorbis vpx wavpack wayland webengine webkit webp widgets wmf wxwidgets x264 xattr xcb xface xinerama xml xmp xpm xscreensaver xv xvid yaml zeroconf zip zlib zsh-completion zstd" ADA_TARGET="gnat_2020" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" CPU_FLAGS_X86="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Leonid Kopylov 2022-06-10 20:54:26 UTC
Created attachment 783941 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 01:01:27 UTC
  
CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  By not providing "FindLibevent.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Libevent",
  but CMake did not find one.

  Could not find a package configuration file provided by "Libevent" with any
  of the following names:

    LibeventConfig.cmake
    libevent-config.cmake

  Add the installation prefix of "Libevent" to CMAKE_PREFIX_PATH or set
  "Libevent_DIR" to a directory containing one of the above files.  If
  "Libevent" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/thrift/ThriftConfig.cmake:94 (find_dependency)
  exporters/jaeger/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-cpp/opentelemetry-cpp-1.4.0/work/opentelemetry-cpp-1.4.0_build/CMakeFiles/CMakeOutput.log".
 [31;01m*[0m ERROR: dev-cpp/opentelemetry-cpp-1.4.0::gentoo failed (configure phase):
 [31;01m*[0m   cmake failed
Comment 3 Leonid Kopylov 2023-02-26 09:19:39 UTC
following this: https://blog.csdn.net/u012342808/article/details/119464705

installing dev-libs/libevent via CMake - make dev-cpp/opentelemetry-cpp installed
Comment 4 Leonid Kopylov 2023-05-05 16:39:50 UTC
still issue with dev-cpp/opentelemetry-cpp-1.6.0
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-21 05:43:51 UTC
They really need to support using pkg-config to find libevent...