Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714930 - sys-power/nut-2.7.4-r5 : configure: error: avahi libraries not found
Summary: sys-power/nut-2.7.4-r5 : configure: error: avahi libraries not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 720348
  Show dependency tree
 
Reported: 2020-03-26 21:38 UTC by Toralf Förster
Modified: 2023-06-17 03:17 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2020-03-26 21:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.91 KB, text/plain)
2020-03-26 21:38 UTC, Toralf Förster
Details
environment (environment,125.93 KB, text/plain)
2020-03-26 21:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.93 KB, application/x-bzip)
2020-03-26 21:38 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.15 KB, application/x-bzip)
2020-03-26 21:38 UTC, Toralf Förster
Details
sys-power:nut-2.7.4-r5:20200326-203406.log (sys-power:nut-2.7.4-r5:20200326-203406.log,13.11 KB, text/plain)
2020-03-26 21:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.96 KB, application/x-bzip)
2020-03-26 21:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-26 21:38:34 UTC
checking whether to build SNMP drivers... no 
checking whether to build neon based XML driver... no 
configure: error: avahi libraries not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-power/nut-2.7.4-r5/work/nut-2.7.4/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200321-162018

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 26 Mar 2020 07:43:16 PM UTC

emerge -qpvO sys-power/nut
[ebuild  N    ] sys-power/nut-2.7.4-r5  USE="(split-usr) ssl tcpd ups_drivers_al175 ups_drivers_apcsmart ups_drivers_apcsmart-old ups_drivers_apcupsd-ups ups_drivers_bcmxcp ups_drivers_bcmxcp_usb ups_drivers_belkin ups_drivers_belkinunv ups_drivers_bestfcom ups_drivers_bestfortress ups_drivers_bestuferrups ups_drivers_bestups ups_drivers_blazer_ser ups_drivers_blazer_usb ups_drivers_clone ups_drivers_clone-outlet ups_drivers_dummy-ups ups_drivers_etapro ups_drivers_everups ups_drivers_gamatronic ups_drivers_genericups ups_drivers_isbmex ups_drivers_ivtscd ups_drivers_liebert ups_drivers_liebert-esp2 ups_drivers_masterguard ups_drivers_metasys ups_drivers_mge-shut ups_drivers_mge-utalk ups_drivers_microdowell ups_drivers_nutdrv_qx ups_drivers_oldmge-shut ups_drivers_oneac ups_drivers_optiups ups_drivers_powercom ups_drivers_powerpanel ups_drivers_rhino ups_drivers_richcomm_usb ups_drivers_riello_ser ups_drivers_riello_usb ups_drivers_safenet ups_drivers_solis ups_drivers_tripplite ups_drivers_tripplite_usb ups_drivers_tripplitesu ups_drivers_upscode2 ups_drivers_usbhid-ups ups_drivers_victronups usb zeroconf -cgi -ipmi (-selinux) -snmp -ups_drivers_netxml-ups -ups_drivers_nut-ipmipsu -ups_drivers_snmp-ups -xml"
Comment 1 Toralf Förster gentoo-dev 2020-03-26 21:38:37 UTC
Created attachment 626334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-26 21:38:40 UTC
Created attachment 626336 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-26 21:38:43 UTC
Created attachment 626338 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-26 21:38:45 UTC
Created attachment 626340 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-26 21:38:48 UTC
Created attachment 626342 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-26 21:38:51 UTC
Created attachment 626344 [details]
sys-power:nut-2.7.4-r5:20200326-203406.log
Comment 7 Toralf Förster gentoo-dev 2020-03-26 21:38:54 UTC
Created attachment 626346 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2023-06-17 03:15:25 UTC
The bug has been closed via the following commit(s):

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

commit aea0f99f970c391e3daf4f98d0b6a2dc58fc039b
Author:     Francisco Javier Félix <web@inode64.com>
AuthorDate: 2023-06-16 16:14:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-17 03:13:49 +0000

    sys-power/nut: add 2.8.0, various enhancements
    
    I've recently made a comprehensive update to the ebuild of sys-power/nut:
    The way drivers are activated has been altered - instead of using a driver list, which
    can be hard to maintain when new ones are added, we now activate them based on the
    connection type (serial, USB, XML, IPMI, Modbus, etc).
    
    This simplification not only streamlines the installation process but also resolves
    dependency issues associated with activating a driver and its corresponding unactivated connection.
    
    The updates align with the latest Gentoo specifications and are summarized below:
    
    Improvements:
    *    Removed unused libnsl
    *    Removed outdated hotplug
    *    Utilized EAPI=8
    *    Default use of libusb-1
    *    Added connections for GPIO, i2c, and Modbus
    *    Configuration parameters required per connection type
    *    Fixed the creation of PID in /run/nut
    *    Removed configurations no longer necessary for nut-2.8.0 or newer
    *    Creation of man pages
    *    Added a flag for documentation
    *    Utilized tmpfile for creating temporary directories
    *    Added Q5t5 monitor (nut-9999)
    *    Disabled Python2
    *    Added Python3 library
    *    Message for the optional function of sys-apps/util-linux[logger, tty-helpers]
    *    Added configuration for Avahi
    *    Added a flag for systemd (nut-9999)
    
    TODO: (in next version)
    *    nut-scanner is not working
    *    /etc/init.d/upslog requires parameters of SAI and log file
    
    Please note that I have tested different SAI drivers, but only with USB and SNMP connections.
    
    Any feedback or further testing on these updates would be highly appreciated.
    
    Closes: https://bugs.gentoo.org/836776
    Closes: https://bugs.gentoo.org/736804
    Closes: https://bugs.gentoo.org/598619
    Closes: https://bugs.gentoo.org/636402
    Closes: https://bugs.gentoo.org/862543
    Closes: https://bugs.gentoo.org/852287
    Closes: https://bugs.gentoo.org/676598
    Closes: https://bugs.gentoo.org/808675
    Closes: https://bugs.gentoo.org/771291
    Closes: https://bugs.gentoo.org/714930
    Closes: https://bugs.gentoo.org/695148
    Closes: https://bugs.gentoo.org/641144
    Closes: https://bugs.gentoo.org/670132
    Closes: https://bugs.gentoo.org/642618
    Closes: https://bugs.gentoo.org/544250
    Closes: https://bugs.gentoo.org/526328
    Package-Manager: Portage-3.0.45.3, pkgcheck-0.10.24
    Signed-off-by: Fco Javier Felix <ffelix@inode64.com>
    Closes: https://github.com/gentoo/gentoo/pull/31486
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-power/nut/Manifest                             |   1 +
 sys-power/nut/files/nut-2.6.5-init.d-upsmon        |   2 +-
 .../files/nut-2.8.0-fix-man-page-generation.patch  |  64 +++++
 sys-power/nut/files/nut-2.8.0-init.d-upsd          |  37 +++
 sys-power/nut/files/nut.powerfail.initd            |   1 -
 sys-power/nut/files/systemd_notify.path            |  50 ++++
 sys-power/nut/metadata.xml                         |  14 +-
 sys-power/nut/nut-2.8.0.ebuild                     | 222 +++++++++++++++++
 sys-power/nut/nut-9999.ebuild                      | 266 +++++++++++++++++++++
 9 files changed, 654 insertions(+), 3 deletions(-)