Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865881 - net-libs/libiio-0.24[-zeroconf]: Failed to build without net-dns/avahi
Summary: net-libs/libiio-0.24[-zeroconf]: Failed to build without net-dns/avahi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-20 14:32 UTC by Ao Shen
Modified: 2022-08-21 11:20 UTC (History)
2 users (show)

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


Attachments
build.log (libiio-0.24-build.log,8.59 KB, text/x-log)
2022-08-20 14:33 UTC, Ao Shen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ao Shen 2022-08-20 14:32:48 UTC
As of libiio 0.24, the building process will check existence of libavahi-common/libavahi-client library in cmake configuration phrase. But currently the ebuild does not set HAVE_DNS_SD option.

Reproducible: Always

Steps to Reproduce:
When net-dns/avahi is not installed:
USE="-zeroconf" emerge --oneshot '=net-libs/libiio-0.24'

Actual Results:  
cmake failed with:

CMake Error at CMakeLists.txt:376 (message):
  Unable to find libavahi-common / libavahi-client dependencies.

  If you want to disable DNS-SD (ZeroConf) support, set HAVE_DNS_SD=OFF.



Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r8, 5.18.0-pf5-Satori x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.18.0-pf5-Satori-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.35
KiB Mem:    65776816 total,  30604700 free
KiB Swap:   12444992 total,  12444992 free
Timestamp of repository gentoo: Sat, 20 Aug 2022 09:45:01 +0000
Head commit of repository gentoo: b64acf1fcb5642fad51ec4311c8e5887f05506c3
Timestamp of repository Miezhiko: Fri, 19 Aug 2022 08:16:53 +0000
Head commit of repository Miezhiko: 34d6f159aa2ad692199b929bfbb34f58609bbf74

Timestamp of repository audio-overlay: Tue, 02 Aug 2022 04:17:36 +0000
Head commit of repository audio-overlay: aec00e36ccbd4fb5778fa3607cb0f7e1aa79e2e5

Timestamp of repository gentoo-zh: Fri, 19 Aug 2022 07:16:43 +0000
Head commit of repository gentoo-zh: 038c329fb15ed9253c120241ab471b5f42708947

Timestamp of repository guru: Fri, 19 Aug 2022 08:16:51 +0000
Head commit of repository guru: 74a5b8c6ad8a4ac9398a2c8f5d36a56a95a3ff9e

Timestamp of repository lto-overlay: Tue, 02 Aug 2022 04:17:36 +0000
Head commit of repository lto-overlay: 92436972bc87a44dbc0211a168f3455e457291ee

Timestamp of repository mv: Thu, 18 Aug 2022 22:31:48 +0000
Head commit of repository mv: d9923744c494d3ab497948854d868d142a136840

Timestamp of repository pentoo: Fri, 19 Aug 2022 04:01:58 +0000
Head commit of repository pentoo: 29f60053c1c74d15b511290b61eae8e2ce7dc245

Timestamp of repository pf4public: Thu, 18 Aug 2022 19:31:46 +0000
Head commit of repository pf4public: 948503348ec38483b5b3acbb5dd92fac73215ec7

Timestamp of repository steam-overlay: Fri, 19 Aug 2022 08:16:49 +0000
Head commit of repository steam-overlay: 17c1c646d3e3251805c11705c72277f1d6084553

Timestamp of repository stefantalpalaru: Sat, 20 Aug 2022 11:16:45 +0000
Head commit of repository stefantalpalaru: a14452ba83cdc30f1aa514ba723f6120685eb9a1

Timestamp of repository vapoursynth: Mon, 08 Aug 2022 21:16:47 +0000
Head commit of repository vapoursynth: 9c70f49aad5bc450df5859e97c1edfd263c08fbe

Timestamp of repository wine: Fri, 19 Aug 2022 08:16:51 +0000
Head commit of repository wine: 8f5d465c2777ff2f5c97121e45dfe31c775be14f

sh dash 0.5.11.5
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13_p4::gentoo, 3.10.5::gentoo
dev-lang/rust:             1.62.1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::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/lld:             14.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

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

Miezhiko
    location: /var/db/repos/Miezhiko
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/Miezhiko.git
    masters: gentoo

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lto-overlay.git
    masters: gentoo mv

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo

vapoursynth
    location: /var/db/repos/vapoursynth
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vapoursynth.git
    masters: gentoo

wine
    location: /var/db/repos/wine
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wine.git
    masters: gentoo

crossdev
    location: /var/db/repos/localrepo-crossdev
    masters: gentoo
    priority: 10

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 10

Installed sets: @extern-deps
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 /etc/vmware-installer"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=24.0 --ask-enter-invalid"
ENV_UNSET="CARGO_HOME CARGO_TARGET_DIR 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 buildpkg-live buildsyspkg cgroup 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://mirrors.tuna.tsinghua.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=24 --load-average=24.0"
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/zsh"
USE="X acl alsa amd64 bzip2 cairo cdda cli crypt cuda dri dvd eselect-ldso fontconfig fortran gdbm gif iconv icu ipv6 jack jpeg lcms libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre png readline seccomp split-usr ssl unicode vaapi vdpau vim-syntax vulkan webp xattr zlib zsh-completion" ABI_X86="64" 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_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="libinput wacom joystick" KERNEL="linux" L10N="en zh zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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_10" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, 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 Ao Shen 2022-08-20 14:33:11 UTC
Created attachment 800275 [details]
build.log
Comment 2 Thomas Beierlein gentoo-dev 2022-08-21 09:15:07 UTC
I will take care.
Comment 3 Larry the Git Cow gentoo-dev 2022-08-21 11:20:59 UTC
The bug has been closed via the following commit(s):

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

commit 8ded12e731df8d371bf03339f1b919ab9e44c19f
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-08-21 11:16:02 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-08-21 11:20:32 +0000

    net-libs/libiio: Respect use flag settings
    
    Closes: https://bugs.gentoo.org/865881
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 net-libs/libiio/libiio-0.24.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)