Closed EchterAgo closed 9 months ago
Hi, can you check what configure
says about its ability to build docs (does it see asciidoc
/a2x
and/or aspell
)? At least that would impact man-pages, and wondering if there is anything spilling over to other docs recipe nuances, there's a cobweb of conditions there.
Did you run a make check
before a distcheck
? CI recipes typically do, so maybe something is created that helps pass distcheck
not-from-scratch :\ On a related note, make distcheck
tries to force building everything, so all weird dependencies should be present. NUT has a make distcheck-light
to "auto"-configure the buildables instead, so it builds as much as possible on the current system (since not all platforms have "everything" to depend on). This does not seem to be the problem here, but worth keeping in mind.
Also, if it aborts the distcheck
attempt for you, it might not delete the prototyping area involved. Do the text sources exist there, better check with find
if there's one or more copy - maybe it gets lost among those?
Typically I'd expect the man pages to be read-only sources, so one copy e.g.:
:; find nut-2.8.0.1/ -name al175.txt
nut-2.8.0.1/docs/man/al175.txt
Given that the check runs in the out-of-tree build area /home/ago/src/nut/nut-2.8.0.1/_build/sub/docs/man
which should only contain build products (or whatever else make
made, in some cases symlinks or copies of original files for e.g. dblatex
which expects all sources in one directory), maybe by some coincidence of circumstances make
does not look into VPATH
correctly to auto-use the originals from srcdir
.
BTW, which platform, which make
implementation and version?
Hi, can you check what
configure
says about its ability to build docs (does it seeasciidoc
/a2x
and/oraspell
)? At least that would impact man-pages, and wondering if there is anything spilling over to other docs recipe nuances, there's a cobweb of conditions there.
asciidoc
was not installed. After installing asciidoc
it is now generating some pdfs, but still errors at the same location. I see this in the config.log
now:
configure:32707: checking if asciidoc version can build manpages (minimum required 8.6.3)
configure:32742: result: yes
configure:32754: checking if a2x version can build manpages (minimum required 8.6.3)
configure:32789: result: yes
configure:32800: checking if xsltproc is present (mandatory for man page regeneration)
configure:32803: result: yes
configure:32811: checking if xmllint is present (mandatory for man page regeneration)
configure:32814: result: yes
configure:32831: checking if we have all the tools mandatory for man page regeneration
configure:32833: result: yes
configure:32836: checking if source-highlight is present (preferable for documentation generation)
configure:32842: result: no
configure:32850: checking whether to build and install documentation
configure:32852: result: auto
configure:32951: checking desire and ability to build man documentation
configure:32953: result: auto
configure:33140: checking if we can build man
configure:33152: result: no
configure:33166: WARNING: Unable to build man documentation, and unable to install pre-built distributed copies because they are absent
configure:32951: checking desire and ability to build html-single documentation
configure:32953: result: auto
configure:32963: checking if asciidoc version can build html-single (minimum required 8.6.3)
configure:33005: result: yes
configure:32951: checking desire and ability to build html-chunked documentation
configure:32953: result: auto
configure:33022: checking if a2x version can build html-chunked (minimum required 8.6.3)
configure:33064: result: yes
configure:32951: checking desire and ability to build pdf documentation
configure:32953: result: auto
configure:33081: checking if dblatex version can build pdf (minimum required 0.2.5)
configure:33123: result: yes
configure:33210: checking whether to build specific documentation format(s)
configure:33212: result: yes html-single html-chunked pdf
So yea, it is not building the man pages. When I try running a2x --format manpage --destination-dir=. --xsltproc-opts="--nonet" docs/man/snmp-ups.txt
manually though I get the snmp-ups.8
output.
Did you run a
make check
before adistcheck
? CI recipes typically do, so maybe something is created that helps passdistcheck
not-from-scratch :\ On a related note,make distcheck
tries to force building everything, so all weird dependencies should be present. NUT has amake distcheck-light
to "auto"-configure the buildables instead, so it builds as much as possible on the current system (since not all platforms have "everything" to depend on). This does not seem to be the problem here, but worth keeping in mind.
make check
passes but running make distcheck
after still fails in the same way.
Also, if it aborts the
distcheck
attempt for you, it might not delete the prototyping area involved. Do the text sources exist there, better check withfind
if there's one or more copy - maybe it gets lost among those?Typically I'd expect the man pages to be read-only sources, so one copy e.g.:
:; find nut-2.8.0.1/ -name al175.txt nut-2.8.0.1/docs/man/al175.txt
The al175.txt
file is not present there.
BTW, which platform, which
make
implementation and version?
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.04
DISTRIB_CODENAME=lunar
DISTRIB_DESCRIPTION="Ubuntu 23.04"
$ make -v
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Just in case, wondering if this is a fallout of #2065 somehow, at least it did impact those recipes; however neither that PR nor later builds with it merged, did not fail on CI farm. Maybe it prepares something too well that it skews the results :\ Thanks, will try to repro...
Made a (proxmox) container with their Ubuntu 23.04 template image: http://download.proxmox.com/images/system/ubuntu-23.04-standard_23.04-1_amd64.tar.zst
Had issues starting systemd-tmpfiles (also same? when updating from 22.04 with do-release-upgrade
) due to credentials loading, fixed bluntly with https://github.com/microsoft/WSL/issues/9158#issuecomment-1323533006 and https://github.com/microsoft/WSL/issues/9158#issuecomment-1469502758 tricks.
In the container installed the bare minimum to get the build barely running, adding pkgs one by one:
:; apt-get install build-essential git autoconf automake libtool
autogen.sh
exposed a warning which seems relevant, actually that one I repro'ed on other systems too so should be addressable:
ocs/Makefile.am:503: warning: check-local was already defined in condition TRUE, which includes condition HAVE_ASPELL and WITH_SPELLCHECK ...
docs/Makefile.am:90: ... 'check-local' previously defined here
Probably related to that aspell recipe refactoring linked earlier, will check.
As for the make distcheck
failure, can't confirm yet:
git clone ...
./autogen.sh
./configure
make distcheck-light
### uses "auto" for targets so does not fail upon lack of libusb-dev, etc. like strict distcheck does
The "dist" location contains nut-2.8.0.1/docs/man/al175.txt
...
FWIW it is also in the generated make dist
tarball - so please check if that recipe somehow misbehaves on your side:
:; tar tzvf nut-2.8.0.1.tar.gz | grep al175
-rw-r--r-- 0/0 33316 2023-10-01 20:45 nut-2.8.0.1/drivers/al175.c
-rw-r--r-- 0/0 1632 2023-10-01 20:54 nut-2.8.0.1/docs/man/al175.txt
FWIW, all the packages currently present in the container are:
:; dpkg -l | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-=======================================-============-================================================================================
ii adduser 3.129ubuntu1 all add and remove users and groups
ii apparmor 3.0.8-1ubuntu2.1 amd64 user-space parser utility for AppArmor
ii apt 2.6.0ubuntu0.1 amd64 commandline package manager
ii apt-utils 2.6.0ubuntu0.1 amd64 package management related utility programs
ii autoconf 2.71-3 all automatic configure script builder
ii automake 1:1.16.5-1.3 all Tool for generating GNU Standards-compliant Makefiles
ii autotools-dev 20220109.1 all Update infrastructure for config.{guess,sub} files
ii base-files 12.3ubuntu2 amd64 Debian base system miscellaneous files
ii base-passwd 3.6.1 amd64 Debian base system master password and group files
ii bash 5.2.15-2ubuntu1 amd64 GNU Bourne Again SHell
ii bash-completion 1:2.11-6ubuntu1 all programmable completion for the bash shell
ii bind9-dnsutils 1:9.18.12-1ubuntu1.2 amd64 Clients provided with BIND 9
ii bind9-host 1:9.18.12-1ubuntu1.2 amd64 DNS Lookup Utility
ii bind9-libs:amd64 1:9.18.12-1ubuntu1.2 amd64 Shared Libraries used by BIND 9
ii binutils 2.40-2ubuntu4.1 amd64 GNU assembler, linker and binary utilities
ii binutils-common:amd64 2.40-2ubuntu4.1 amd64 Common files for the GNU assembler, linker and binary utilities
ii binutils-x86-64-linux-gnu 2.40-2ubuntu4.1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii bsdextrautils 2.38.1-4ubuntu1 amd64 extra utilities from 4.4BSD-Lite
ii bsdutils 1:2.38.1-4ubuntu1 amd64 basic utilities from 4.4BSD-Lite
ii build-essential 12.9ubuntu3 amd64 Informational list of build-essential packages
ii busybox-static 1:1.35.0-4ubuntu1 amd64 Standalone rescue shell with tons of builtin utilities
ii bzip2 1.0.8-5build1 amd64 high-quality block-sorting file compressor - utilities
ii ca-certificates 20230311ubuntu0.23.04.1 all Common CA certificates
ii command-not-found 23.04.0 all Suggest installation of packages in interactive bash sessions
ii console-setup 1.217ubuntu3 all console font and keymap setup program
ii console-setup-linux 1.217ubuntu3 all Linux specific part of console-setup
ii coreutils 9.1-1ubuntu2 amd64 GNU core utilities
ii cpio 2.13+dfsg-7.1 amd64 GNU cpio -- a program to manage archives of files
ii cpp 4:12.2.0-3ubuntu1 amd64 GNU C preprocessor (cpp)
ii cpp-12 12.3.0-1ubuntu1~23.04 amd64 GNU C preprocessor
ii cron 3.0pl1-151ubuntu1 amd64 process scheduling daemon
ii cron-daemon-common 3.0pl1-151ubuntu1 all process scheduling daemon's configuration files
ii dash 0.5.12-2ubuntu1 amd64 POSIX-compliant shell
ii dbus 1.14.4-1ubuntu1 amd64 simple interprocess messaging system (system message bus)
ii dbus-bin 1.14.4-1ubuntu1 amd64 simple interprocess messaging system (command line utilities)
ii dbus-daemon 1.14.4-1ubuntu1 amd64 simple interprocess messaging system (reference message bus)
ii dbus-session-bus-common 1.14.4-1ubuntu1 all simple interprocess messaging system (session bus configuration)
ii dbus-system-bus-common 1.14.4-1ubuntu1 all simple interprocess messaging system (system bus configuration)
ii dbus-user-session 1.14.4-1ubuntu1 amd64 simple interprocess messaging system (systemd --user integration)
ii debconf 1.5.82 all Debian configuration management system
ii debconf-i18n 1.5.82 all full internationalization support for debconf
ii debianutils 5.7-0.4 amd64 Miscellaneous utilities specific to Debian
ii diffutils 1:3.8-4 amd64 File comparison utilities
ii dirmngr 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - network certificate management service
ii distro-info 1.5 amd64 provides information about the distributions' releases
ii distro-info-data 0.57ubuntu0.1 all information about the distributions' releases (data files)
ii dmidecode 3.4-1 amd64 SMBIOS/DMI table decoder
ii dmsetup 2:1.02.185-1ubuntu1 amd64 Linux Kernel Device Mapper userspace library
ii dosfstools 4.2-1build3 amd64 utilities for making and checking MS-DOS FAT filesystems
ii dpkg 1.21.21ubuntu1 amd64 Debian package management system
ii dpkg-dev 1.21.21ubuntu1 all Debian package development tools
ii e2fsprogs 1.47.0-1ubuntu1 amd64 ext2/ext3/ext4 file system utilities
ii ed 1.19-1 amd64 classic UNIX line editor
ii eject 2.38.1-4ubuntu1 amd64 ejects CDs and operates CD-Changers under Linux
ii fakeroot 1.31-1.1 amd64 tool for simulating superuser privileges
ii file 1:5.44-3 amd64 Recognize the type of data in a file using "magic" numbers
ii findutils 4.9.0-3ubuntu1 amd64 utilities for finding files--find, xargs
ii fontconfig-config 2.14.1-3ubuntu3 amd64 generic font configuration library - configuration
ii fonts-dejavu-core 2.37-6 all Vera font family derivate with additional characters
ii friendly-recovery 0.2.42 all Make recovery boot mode more user-friendly
ii ftp 20210827-4build1 all dummy transitional package for tnftp
ii fuse3 3.14.0-3 amd64 Filesystem in Userspace (3.x version)
ii g++ 4:12.2.0-3ubuntu1 amd64 GNU C++ compiler
ii g++-12 12.3.0-1ubuntu1~23.04 amd64 GNU C++ compiler
ii gcc 4:12.2.0-3ubuntu1 amd64 GNU C compiler
ii gcc-12 12.3.0-1ubuntu1~23.04 amd64 GNU C compiler
ii gcc-12-base:amd64 12.3.0-1ubuntu1~23.04 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-13-base:amd64 13.1.0-2ubuntu2~23.04 amd64 GCC, the GNU Compiler Collection (base package)
ii gettext-base 0.21-11 amd64 GNU Internationalization utilities for the base system
ii gir1.2-glib-2.0:amd64 1.76.1-1 amd64 Introspection data for GLib, GObject, Gio and GModule
ii git 1:2.39.2-1ubuntu1.1 amd64 fast, scalable, distributed revision control system
ii git-man 1:2.39.2-1ubuntu1.1 all fast, scalable, distributed revision control system (manual pages)
ii gnupg 2.2.40-1.1ubuntu1 all GNU privacy guard - a free PGP replacement
ii gnupg-l10n 2.2.40-1.1ubuntu1 all GNU privacy guard - localization files
ii gnupg-utils 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - utility programs
ii gpg 2.2.40-1.1ubuntu1 amd64 GNU Privacy Guard -- minimalist public key operations
ii gpg-agent 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - cryptographic agent
ii gpg-wks-client 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - Web Key Service client
ii gpg-wks-server 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - Web Key Service server
ii gpgconf 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - core configuration utilities
ii gpgsm 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - S/MIME version
ii gpgv 2.2.40-1.1ubuntu1 amd64 GNU privacy guard - signature verification tool
ii grep 3.8-5 amd64 GNU grep, egrep and fgrep
ii groff-base 1.22.4-10 amd64 GNU troff text-formatting system (base system components)
ii gzip 1.12-1ubuntu1 amd64 GNU compression utilities
ii hdparm 9.65+ds-1 amd64 tune hard disk parameters for high performance
ii hostname 3.23+nmu1ubuntu1 amd64 utility to set/show the host name or domain name
ii inetutils-telnet 2:2.4-2ubuntu1.1 amd64 telnet client
ii info 6.8-6build2 amd64 Standalone GNU Info documentation browser
ii init 1.65.2 amd64 metapackage ensuring an init system is installed
ii init-system-helpers 1.65.2 all helper tools for all init systems
ii install-info 6.8-6build2 amd64 Manage installed documentation in info format
ii iproute2 6.1.0-1ubuntu2 amd64 networking and traffic control tools
ii iptables 1.8.7-1ubuntu7 amd64 administration tools for packet filtering and NAT
ii iputils-ping 3:20221126-1 amd64 Tools to test the reachability of network hosts
ii iputils-tracepath 3:20221126-1 amd64 Tools to trace the network path to a remote host
ii irqbalance 1.9.2-1 amd64 Daemon to balance interrupts for SMP systems
ii isc-dhcp-client 4.4.3-P1-1ubuntu1 amd64 DHCP client for automatically obtaining an IP address
ii isc-dhcp-common 4.4.3-P1-1ubuntu1 amd64 common manpages relevant to all of the isc-dhcp packages
ii iso-codes 4.12.0-1 all ISO language, territory, currency, script codes and their translations
ii kbd 2.5.1-1ubuntu1 amd64 Linux console font and keytable utilities
ii keyboard-configuration 1.217ubuntu3 all system-wide keyboard preferences
ii kmod 30+20221128-1ubuntu1 amd64 tools for managing Linux kernel modules
ii krb5-locales 1.20.1-1build1 all internationalization support for MIT Kerberos
ii less 590-1.2 amd64 pager program similar to more
ii libacl1:amd64 2.3.1-3 amd64 access control list - shared library
ii libalgorithm-diff-perl 1.201-1 all module to find differences between files
ii libalgorithm-diff-xs-perl:amd64 0.04-8 amd64 module to find differences between files (XS accelerated)
ii libalgorithm-merge-perl 0.08-5 all Perl module for three-way merge of textual data
ii libapparmor1:amd64 3.0.8-1ubuntu2.1 amd64 changehat AppArmor library
ii libapt-pkg6.0:amd64 2.6.0ubuntu0.1 amd64 package management runtime library
ii libargon2-1:amd64 0~20171227-0.3 amd64 memory-hard hashing function - runtime library
ii libasan8:amd64 13.1.0-2ubuntu2~23.04 amd64 AddressSanitizer -- a fast memory error detector
ii libassuan0:amd64 2.5.5-5 amd64 IPC library for the GnuPG components
ii libatm1:amd64 1:2.5.1-4build2 amd64 shared library for ATM (Asynchronous Transfer Mode)
ii libatomic1:amd64 13.1.0-2ubuntu2~23.04 amd64 support library providing __atomic built-in functions
ii libattr1:amd64 1:2.5.1-4 amd64 extended attribute handling - shared library
ii libaudit-common 1:3.0.9-1 all Dynamic library for security auditing - common files
ii libaudit1:amd64 1:3.0.9-1 amd64 Dynamic library for security auditing
ii libbinutils:amd64 2.40-2ubuntu4.1 amd64 GNU binary utilities (private shared library)
ii libblkid1:amd64 2.38.1-4ubuntu1 amd64 block device ID library
ii libbpf1:amd64 1:1.1.0-1 amd64 eBPF helper library (shared library)
ii libbrotli1:amd64 1.0.9-2build8 amd64 library implementing brotli encoder and decoder (shared libraries)
ii libbsd0:amd64 0.11.7-4 amd64 utility functions from BSD systems - shared library
ii libbz2-1.0:amd64 1.0.8-5build1 amd64 high-quality block-sorting file compressor library - runtime
ii libc-bin 2.37-0ubuntu2 amd64 GNU C Library: Binaries
ii libc-dev-bin 2.37-0ubuntu2 amd64 GNU C Library: Development binaries
ii libc-devtools 2.37-0ubuntu2 amd64 GNU C Library: Development tools
ii libc6:amd64 2.37-0ubuntu2 amd64 GNU C Library: Shared libraries
ii libc6-dev:amd64 2.37-0ubuntu2 amd64 GNU C Library: Development Libraries and Header Files
ii libcap-ng0:amd64 0.8.3-1build2 amd64 alternate POSIX capabilities library
ii libcap2:amd64 1:2.66-3ubuntu2.1 amd64 POSIX 1003.1e capabilities (library)
ii libcap2-bin 1:2.66-3ubuntu2.1 amd64 POSIX 1003.1e capabilities (utilities)
ii libcbor0.8:amd64 0.8.0-2ubuntu1 amd64 library for parsing and generating CBOR (RFC 7049)
ii libcc1-0:amd64 13.1.0-2ubuntu2~23.04 amd64 GCC cc1 plugin for GDB
ii libcom-err2:amd64 1.47.0-1ubuntu1 amd64 common error description library
ii libcrypt-dev:amd64 1:4.4.33-2 amd64 libcrypt development files
ii libcrypt1:amd64 1:4.4.33-2 amd64 libcrypt shared library
ii libcryptsetup12:amd64 2:2.6.1-1ubuntu1 amd64 disk encryption support - shared library
ii libctf-nobfd0:amd64 2.40-2ubuntu4.1 amd64 Compact C Type Format library (runtime, no BFD dependency)
ii libctf0:amd64 2.40-2ubuntu4.1 amd64 Compact C Type Format library (runtime, BFD dependency)
ii libcurl3-gnutls:amd64 7.88.1-8ubuntu2.2 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libdb5.3:amd64 5.3.28+dfsg2-1 amd64 Berkeley v5.3 Database Libraries [runtime]
ii libdbus-1-3:amd64 1.14.4-1ubuntu1 amd64 simple interprocess messaging system (library)
ii libdebconfclient0:amd64 0.267ubuntu1 amd64 Debian Configuration Management System (C-implementation library)
ii libdeflate0:amd64 1.15-1 amd64 fast, whole-buffer DEFLATE-based compression and decompression
ii libdevmapper1.02.1:amd64 2:1.02.185-1ubuntu1 amd64 Linux Kernel Device Mapper userspace library
ii libdpkg-perl 1.21.21ubuntu1 all Dpkg perl modules
ii libedit2:amd64 3.1-20221030-2 amd64 BSD editline and history libraries
ii libelf1:amd64 0.188-2.1 amd64 library to read and write ELF files
ii liberror-perl 0.17029-2 all Perl module for error/exception handling in an OO-ish way
ii libestr0:amd64 0.1.11-1 amd64 Helper functions for handling strings (lib)
ii libexpat1:amd64 2.5.0-1 amd64 XML parsing C library - runtime library
ii libext2fs2:amd64 1.47.0-1ubuntu1 amd64 ext2/ext3/ext4 file system libraries
ii libfakeroot:amd64 1.31-1.1 amd64 tool for simulating superuser privileges - shared libraries
ii libfastjson4:amd64 0.99.9-2 amd64 fast json library for C
ii libfdisk1:amd64 2.38.1-4ubuntu1 amd64 fdisk partitioning library
ii libffi8:amd64 3.4.4-1 amd64 Foreign Function Interface library runtime
ii libfido2-1:amd64 1.12.0-2 amd64 library for generating and verifying FIDO 2.0 objects
ii libfile-fcntllock-perl 0.22-4build1 amd64 Perl module for file locking with fcntl(2)
ii libfontconfig1:amd64 2.14.1-3ubuntu3 amd64 generic font configuration library - runtime
ii libfreetype6:amd64 2.12.1+dfsg-4ubuntu0.1 amd64 FreeType 2 font engine, shared library files
ii libfribidi0:amd64 1.0.8-2.1ubuntu1 amd64 Free Implementation of the Unicode BiDi algorithm
ii libfuse3-3:amd64 3.14.0-3 amd64 Filesystem in Userspace (library) (3.x version)
ii libgcc-12-dev:amd64 12.3.0-1ubuntu1~23.04 amd64 GCC support library (development files)
ii libgcc-s1:amd64 13.1.0-2ubuntu2~23.04 amd64 GCC support library
ii libgcrypt20:amd64 1.10.1-3ubuntu1 amd64 LGPL Crypto library - runtime library
ii libgd3:amd64 2.3.3-7ubuntu2 amd64 GD Graphics Library
ii libgdbm-compat4:amd64 1.23-3 amd64 GNU dbm database routines (legacy support runtime version)
ii libgdbm6:amd64 1.23-3 amd64 GNU dbm database routines (runtime version)
ii libgirepository-1.0-1:amd64 1.76.1-1 amd64 Library for handling GObject introspection data (runtime library)
ii libglib2.0-0:amd64 2.76.1-1 amd64 GLib library of C routines
ii libglib2.0-data 2.76.1-1 all Common files for GLib library
ii libgmp10:amd64 2:6.2.1+dfsg1-1.1ubuntu1 amd64 Multiprecision arithmetic library
ii libgnutls30:amd64 3.7.8-5ubuntu1 amd64 GNU TLS library - main runtime library
ii libgomp1:amd64 13.1.0-2ubuntu2~23.04 amd64 GCC OpenMP (GOMP) support library
ii libgpg-error0:amd64 1.46-1 amd64 GnuPG development runtime library
ii libgpm2:amd64 1.20.7-10build1 amd64 General Purpose Mouse - shared library
ii libgprofng0:amd64 2.40-2ubuntu4.1 amd64 GNU Next Generation profiler (runtime library)
ii libgssapi-krb5-2:amd64 1.20.1-1build1 amd64 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii libhogweed6:amd64 3.8.1-2 amd64 low level cryptographic library (public-key cryptos)
ii libicu72:amd64 72.1-3ubuntu2 amd64 International Components for Unicode
ii libidn2-0:amd64 2.3.3-1build1 amd64 Internationalized domain names (IDNA2008/TR46) library
ii libip4tc2:amd64 1.8.7-1ubuntu7 amd64 netfilter libip4tc library
ii libip6tc2:amd64 1.8.7-1ubuntu7 amd64 netfilter libip6tc library
ii libisl23:amd64 0.25-1 amd64 manipulating sets and relations of integer points bounded by linear constraints
ii libitm1:amd64 13.1.0-2ubuntu2~23.04 amd64 GNU Transactional Memory Library
ii libjansson4:amd64 2.14-2 amd64 C library for encoding, decoding and manipulating JSON data
ii libjbig0:amd64 2.1-6ubuntu1 amd64 JBIGkit libraries
ii libjpeg-turbo8:amd64 2.1.5-2ubuntu1 amd64 libjpeg-turbo JPEG runtime library
ii libjpeg8:amd64 8c-2ubuntu11 amd64 Independent JPEG Group's JPEG runtime library (dependency package)
ii libjson-c5:amd64 0.16-2 amd64 JSON manipulation library - shared library
ii libk5crypto3:amd64 1.20.1-1build1 amd64 MIT Kerberos runtime libraries - Crypto Library
ii libkeyutils1:amd64 1.6.3-2 amd64 Linux Key Management Utilities (library)
ii libkmod2:amd64 30+20221128-1ubuntu1 amd64 libkmod shared library
ii libkrb5-3:amd64 1.20.1-1build1 amd64 MIT Kerberos runtime libraries
ii libkrb5support0:amd64 1.20.1-1build1 amd64 MIT Kerberos runtime libraries - Support library
ii libksba8:amd64 1.6.3-2 amd64 X.509 and CMS support library
ii libldap-common 2.6.3+dfsg-1~exp1ubuntu2 all OpenLDAP common files for libraries
ii libldap2:amd64 2.6.3+dfsg-1~exp1ubuntu2 amd64 OpenLDAP libraries
ii liblerc4:amd64 4.0.0+ds-2ubuntu2 amd64 Limited Error Raster Compression library
ii liblmdb0:amd64 0.9.24-1build2 amd64 Lightning Memory-Mapped Database shared library
ii liblocale-gettext-perl 1.07-5 amd64 module using libc functions for internationalization in Perl
ii liblsan0:amd64 13.1.0-2ubuntu2~23.04 amd64 LeakSanitizer -- a memory leak detector (runtime)
ii libltdl-dev:amd64 2.4.7-5 amd64 System independent dlopen wrapper for GNU libtool (headers)
ii libltdl7:amd64 2.4.7-5 amd64 System independent dlopen wrapper for GNU libtool
ii liblz4-1:amd64 1.9.4-1 amd64 Fast LZ compression algorithm library - runtime
ii liblzma5:amd64 5.4.1-0.2 amd64 XZ-format compression library
ii libmagic-mgc 1:5.44-3 amd64 File type determination library using "magic" numbers (compiled magic file)
ii libmagic1:amd64 1:5.44-3 amd64 Recognize the type of data in a file using "magic" numbers - library
ii libmaxminddb0:amd64 1.7.1-1 amd64 IP geolocation database library
ii libmd0:amd64 1.0.4-2 amd64 message digest functions from BSD systems - shared library
ii libmnl0:amd64 1.0.4-3ubuntu1 amd64 minimalistic Netlink communication library
ii libmount1:amd64 2.38.1-4ubuntu1 amd64 device mounting library
ii libmpc3:amd64 1.3.1-1 amd64 multiple precision complex floating-point library
ii libmpfr6:amd64 4.2.0-1 amd64 multiple precision floating-point computation
ii libncurses6:amd64 6.4-2ubuntu0.1 amd64 shared libraries for terminal handling
ii libncursesw6:amd64 6.4-2ubuntu0.1 amd64 shared libraries for terminal handling (wide character support)
ii libnetfilter-conntrack3:amd64 1.0.9-3 amd64 Netfilter netlink-conntrack library
ii libnetplan0:amd64 0.106.1-7ubuntu0.23.04.2 amd64 YAML network configuration abstraction runtime library
ii libnettle8:amd64 3.8.1-2 amd64 low level cryptographic library (symmetric and one-way cryptos)
ii libnewt0.52:amd64 0.52.23-1ubuntu1 amd64 Not Erik's Windowing Toolkit - text mode windowing with slang
ii libnfnetlink0:amd64 1.0.2-2 amd64 Netfilter netlink library
ii libnftables1:amd64 1.0.6-2 amd64 Netfilter nftables high level userspace API library
ii libnftnl11:amd64 1.2.4-2 amd64 Netfilter nftables userspace API library
ii libnghttp2-14:amd64 1.52.0-1 amd64 library implementing HTTP/2 protocol (shared library)
ii libnpth0:amd64 1.6-3build2 amd64 replacement for GNU Pth using system threads
ii libnsl-dev:amd64 1.3.0-2build2 amd64 libnsl development files
ii libnsl2:amd64 1.3.0-2build2 amd64 Public client interface for NIS(YP) and NIS+
ii libnss-systemd:amd64 252.5-2ubuntu3.1 amd64 nss module providing dynamic user and group name resolution
ii libntfs-3g89:amd64 1:2022.10.3-1ubuntu1 amd64 read/write NTFS driver for FUSE (runtime library)
ii libnuma1:amd64 2.0.16-1 amd64 Libraries for controlling NUMA policy
ii libp11-kit0:amd64 0.24.1-2ubuntu1 amd64 library for loading and coordinating access to PKCS#11 modules - runtime
ii libpam-cap:amd64 1:2.66-3ubuntu2.1 amd64 POSIX 1003.1e capabilities (PAM module)
ii libpam-modules:amd64 1.5.2-5ubuntu1 amd64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.5.2-5ubuntu1 amd64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-runtime 1.5.2-5ubuntu1 all Runtime support for the PAM library
ii libpam-systemd:amd64 252.5-2ubuntu3.1 amd64 system and service manager - PAM module
ii libpam0g:amd64 1.5.2-5ubuntu1 amd64 Pluggable Authentication Modules library
ii libparted2:amd64 3.5-3 amd64 disk partition manipulator - shared library
ii libpcap0.8:amd64 1.10.3-1 amd64 system interface for user-level packet capture
ii libpci3:amd64 1:3.9.0-4 amd64 PCI utilities (shared library)
ii libpcre2-8-0:amd64 10.42-1 amd64 New Perl Compatible Regular Expression Library- 8 bit runtime files
ii libperl5.36:amd64 5.36.0-7ubuntu0.23.04.1 amd64 shared Perl library
ii libpipeline1:amd64 1.5.7-1 amd64 Unix process pipeline manipulation library
ii libpng16-16:amd64 1.6.39-2 amd64 PNG library - runtime (version 1.6)
ii libpopt0:amd64 1.19+dfsg-1 amd64 lib for parsing cmdline parameters
ii libproc2-0:amd64 2:4.0.3-1ubuntu1 amd64 library for accessing process information from /proc
ii libpsl5:amd64 0.21.2-1 amd64 Library for Public Suffix List (shared libraries)
ii libpython3-stdlib:amd64 3.11.2-1 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.11-minimal:amd64 3.11.4-1~23.04 amd64 Minimal subset of the Python language (version 3.11)
ii libpython3.11-stdlib:amd64 3.11.4-1~23.04 amd64 Interactive high-level object-oriented language (standard library, version 3.11)
ii libquadmath0:amd64 13.1.0-2ubuntu2~23.04 amd64 GCC Quad-Precision Math Library
ii libreadline8:amd64 8.2-1.3 amd64 GNU readline and history libraries, run-time libraries
ii librtmp1:amd64 2.4+20151223.gitfa8646d.1-2build4 amd64 toolkit for RTMP streams (shared library)
ii libsasl2-2:amd64 2.1.28+dfsg-10 amd64 Cyrus SASL - authentication abstraction library
ii libsasl2-modules-db:amd64 2.1.28+dfsg-10 amd64 Cyrus SASL - pluggable authentication modules (DB)
ii libseccomp2:amd64 2.5.4-1ubuntu3 amd64 high level interface to Linux seccomp filter
ii libselinux1:amd64 3.4-1build4 amd64 SELinux runtime shared libraries
ii libsemanage-common 3.4-1build4 all Common files for SELinux policy management libraries
ii libsemanage2:amd64 3.4-1build4 amd64 SELinux policy management library
ii libsepol2:amd64 3.4-2 amd64 SELinux library for manipulating binary security policies
ii libslang2:amd64 2.3.3-2 amd64 S-Lang programming library - runtime version
ii libsmartcols1:amd64 2.38.1-4ubuntu1 amd64 smart column output alignment library
ii libsqlite3-0:amd64 3.40.1-1 amd64 SQLite 3 shared library
ii libss2:amd64 1.47.0-1ubuntu1 amd64 command-line interface parsing library
ii libssh-4:amd64 0.10.4-2ubuntu0.1 amd64 tiny C SSH library (OpenSSL flavor)
ii libssl3:amd64 3.0.8-1ubuntu1.2 amd64 Secure Sockets Layer toolkit - shared libraries
ii libstdc++-12-dev:amd64 12.3.0-1ubuntu1~23.04 amd64 GNU Standard C++ Library v3 (development files)
ii libstdc++6:amd64 13.1.0-2ubuntu2~23.04 amd64 GNU Standard C++ Library v3
ii libsystemd-shared:amd64 252.5-2ubuntu3.1 amd64 systemd shared private library
ii libsystemd0:amd64 252.5-2ubuntu3.1 amd64 systemd utility library
ii libtasn1-6:amd64 4.19.0-2 amd64 Manage ASN.1 structures (runtime)
ii libtext-charwidth-perl:amd64 0.04-11 amd64 get display widths of characters on the terminal
ii libtext-iconv-perl:amd64 1.7-8 amd64 module to convert between character sets in Perl
ii libtext-wrapi18n-perl 0.06-10 all internationalized substitute of Text::Wrap
ii libtiff6:amd64 4.5.0-5ubuntu1.1 amd64 Tag Image File Format (TIFF) library
ii libtinfo6:amd64 6.4-2ubuntu0.1 amd64 shared low-level terminfo library for terminal handling
ii libtirpc-common 1.3.3+ds-1 all transport-independent RPC library - common files
ii libtirpc-dev:amd64 1.3.3+ds-1 amd64 transport-independent RPC library - development files
ii libtirpc3:amd64 1.3.3+ds-1 amd64 transport-independent RPC library
ii libtool 2.4.7-5 all Generic library support script
ii libtsan2:amd64 13.1.0-2ubuntu2~23.04 amd64 ThreadSanitizer -- a Valgrind-based detector of data races (runtime)
ii libubsan1:amd64 13.1.0-2ubuntu2~23.04 amd64 UBSan -- undefined behaviour sanitizer (runtime)
ii libuchardet0:amd64 0.0.7-1build2 amd64 universal charset detection library - shared library
ii libudev1:amd64 252.5-2ubuntu3.1 amd64 libudev shared library
ii libunistring2:amd64 1.0-2 amd64 Unicode string library for C
ii libunwind8:amd64 1.6.2-3 amd64 library to determine the call-chain of a program - runtime
ii libusb-1.0-0:amd64 2:1.0.26-1 amd64 userspace USB programming library
ii libuuid1:amd64 2.38.1-4ubuntu1 amd64 Universally Unique ID library
ii libuv1:amd64 1.44.2-1 amd64 asynchronous event notification library - runtime library
ii libwebp7:amd64 1.2.4-0.1ubuntu0.23.04.2 amd64 Lossy compression of digital photographic images
ii libwrap0:amd64 7.6.q-32 amd64 Wietse Venema's TCP wrappers library
ii libx11-6:amd64 2:1.8.4-2ubuntu0.2 amd64 X11 client-side library
ii libx11-data 2:1.8.4-2ubuntu0.2 all X11 client-side library
ii libxau6:amd64 1:1.0.9-1build5 amd64 X11 authorisation library
ii libxcb1:amd64 1.15-1 amd64 X C Binding
ii libxdmcp6:amd64 1:1.1.3-0ubuntu5 amd64 X11 Display Manager Control Protocol library
ii libxext6:amd64 2:1.3.4-1build1 amd64 X11 miscellaneous extension library
ii libxml2:amd64 2.9.14+dfsg-1.1ubuntu0.1 amd64 GNOME XML library
ii libxmuu1:amd64 2:1.1.3-3 amd64 X11 miscellaneous micro-utility library
ii libxpm4:amd64 1:3.5.12-1.1 amd64 X11 pixmap library
ii libxtables12:amd64 1.8.7-1ubuntu7 amd64 netfilter xtables library
ii libxxhash0:amd64 0.8.1-1 amd64 shared library for xxhash
ii libyaml-0-2:amd64 0.2.5-1 amd64 Fast YAML 1.1 parser and emitter library
ii libzstd1:amd64 1.5.4+dfsg2-4 amd64 fast lossless compression algorithm
ii linux-libc-dev:amd64 6.2.0-33.33 amd64 Linux Kernel Headers for development
ii locales 2.37-0ubuntu2 all GNU C Library: National Language (locale) data [support]
ii login 1:4.13+dfsg1-1ubuntu1 amd64 system login tools
ii logrotate 3.21.0-1 amd64 Log rotation utility
ii logsave 1.47.0-1ubuntu1 amd64 save the output of a command in a log file
ii lsb-release 12.0-1ubuntu1 all Linux Standard Base version reporting utility (minimal implementation)
ii lshw 02.19.git.2021.06.19.996aaad9c7-2build1 amd64 information about hardware configuration
ii lsof 4.95.0-1 amd64 utility to list open files
ii lto-disabled-list 39 all list of packages not to build with LTO
ii m4 1.4.19-3 amd64 macro processing language
ii make 4.3-4.1build1 amd64 utility for directing compilation
ii man-db 2.11.2-1 amd64 tools for reading manual pages
ii manpages 6.03-1 all Manual pages about using a GNU/Linux system
ii manpages-dev 6.03-1 all Manual pages about using GNU/Linux for development
ii mawk 1.3.4.20200120-3.1 amd64 Pattern scanning and text processing language
ii media-types 10.0.0 all List of standard media types and their usual file extension
ii mount 2.38.1-4ubuntu1 amd64 tools for mounting and manipulating filesystems
ii mtr-tiny 0.95-1 amd64 Full screen ncurses traceroute tool
ii nano 7.2-1 amd64 small, friendly text editor inspired by Pico
ii ncurses-base 6.4-2ubuntu0.1 all basic terminal type definitions
ii ncurses-bin 6.4-2ubuntu0.1 amd64 terminal-related programs and man pages
ii netbase 6.4 all Basic TCP/IP networking system
ii netcat-openbsd 1.219-1ubuntu1 amd64 TCP/IP swiss army knife
ii netplan.io 0.106.1-7ubuntu0.23.04.2 amd64 YAML network configuration abstraction for various backends
ii networkd-dispatcher 2.2.3-1 all Dispatcher service for systemd-networkd connection status changes
ii nftables 1.0.6-2 amd64 Program to control packet filtering rules by Netfilter project
ii ntfs-3g 1:2022.10.3-1ubuntu1 amd64 read/write NTFS driver for FUSE
ii openssh-client 1:9.0p1-1ubuntu8.5 amd64 secure shell (SSH) client, for secure access to remote machines
ii openssh-server 1:9.0p1-1ubuntu8.5 amd64 secure shell (SSH) server, for secure access from remote machines
ii openssh-sftp-server 1:9.0p1-1ubuntu8.5 amd64 secure shell (SSH) sftp server module, for SFTP access from remote machines
ii openssl 3.0.8-1ubuntu1.2 amd64 Secure Sockets Layer toolkit - cryptographic utility
ii parted 3.5-3 amd64 disk partition manipulator
ii passwd 1:4.13+dfsg1-1ubuntu1 amd64 change and administer password and group data
ii patch 2.7.6-7build2 amd64 Apply a diff file to an original
ii pci.ids 0.0~2023.03.17-1 all PCI ID Repository
ii pciutils 1:3.9.0-4 amd64 PCI utilities
ii perl 5.36.0-7ubuntu0.23.04.1 amd64 Larry Wall's Practical Extraction and Report Language
ii perl-base 5.36.0-7ubuntu0.23.04.1 amd64 minimal Perl system
ii perl-modules-5.36 5.36.0-7ubuntu0.23.04.1 all Core Perl modules
ii pinentry-curses 1.2.1-1ubuntu1 amd64 curses-based PIN or pass-phrase entry dialog for GnuPG
ii postfix 3.7.4-2build1 amd64 High-performance mail transport agent
ii procps 2:4.0.3-1ubuntu1 amd64 /proc file system utilities
ii psmisc 23.6-1 amd64 utilities that use the proc file system
ii publicsuffix 20230209.2326-1 all accurate, machine-readable list of domain name suffixes
ii python-apt-common 2.5.3ubuntu1 all Python interface to libapt-pkg (locales)
ii python3 3.11.2-1 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apt 2.5.3ubuntu1 amd64 Python 3 interface to libapt-pkg
ii python3-commandnotfound 23.04.0 all Python 3 bindings for command-not-found.
ii python3-dbus 1.3.2-4build1 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-distro-info 1.5 all information about distributions' releases (Python 3 module)
ii python3-distupgrade 1:23.04.6 all manage release upgrades
ii python3-gdbm:amd64 3.11.2-2 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.44.1-1 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-markdown-it 2.1.0-4ubuntu1 all Python port of markdown-it and some its associated plugins
ii python3-mdurl 0.1.2-1 all Python port of the JavaScript mdurl package
ii python3-minimal 3.11.2-1 amd64 minimal subset of the Python language (default python3 version)
ii python3-netifaces:amd64 0.11.0-2build1 amd64 portable network interface information - Python 3.x
ii python3-pkg-resources 66.1.1-1 all Package Discovery and Resource Access using pkg_resources
ii python3-pygments 2.14.0+dfsg-1 all syntax highlighting package written in Python 3
ii python3-rich 13.3.1-1 all render rich text, tables, progress bars, syntax highlighting, markdown and more
ii python3-update-manager 1:23.04.2 all Python 3.x module for update-manager
ii python3-yaml 6.0-3build1 amd64 YAML parser and emitter for Python3
ii python3.11 3.11.4-1~23.04 amd64 Interactive high-level object-oriented language (version 3.11)
ii python3.11-minimal 3.11.4-1~23.04 amd64 Minimal subset of the Python language (version 3.11)
ii readline-common 8.2-1.3 all GNU readline and history libraries, common files
ii rpcsvc-proto 1.4.2-0ubuntu6 amd64 RPC protocol compiler and definitions
ii rsync 3.2.7-1 amd64 fast, versatile, remote (and local) file-copying tool
ii rsyslog 8.2302.0-1ubuntu3 amd64 reliable system and kernel logging daemon
ii sed 4.9-1 amd64 GNU stream editor for filtering/transforming text
ii sensible-utils 0.0.17+nmu1 all Utilities for sensible alternative selection
ii shared-mime-info 2.2-1 amd64 FreeDesktop.org shared MIME database and spec
ii ssh 1:9.0p1-1ubuntu8.5 all secure shell client and server (metapackage)
ii ssl-cert 1.1.2 all simple debconf wrapper for OpenSSL
ii strace 6.2-0ubuntu1 amd64 System call tracer
ii sudo 1.9.13p1-1ubuntu2 amd64 Provide limited super user privileges to specific users
ii systemd 252.5-2ubuntu3.1 amd64 system and service manager
ii systemd-hwe-hwdb 252.4.3 all udev rules for hardware enablement (HWE)
ii systemd-resolved 252.5-2ubuntu3.1 amd64 systemd DNS resolver
ii systemd-sysv 252.5-2ubuntu3.1 amd64 system and service manager - SysV compatibility symlinks
ii systemd-timesyncd 252.5-2ubuntu3.1 amd64 minimalistic service to synchronize local time with NTP servers
ii sysvinit-utils 3.06-2ubuntu1 amd64 System-V-like utilities
ii tar 1.34+dfsg-1.2ubuntu0.1 amd64 GNU version of the tar archiving utility
ii tcpdump 4.99.3-1ubuntu1 amd64 command-line network traffic analyzer
ii time 1.9-0.2 amd64 GNU time program for measuring CPU resource usage
ii tnftp 20210827-4build1 amd64 enhanced ftp client
ii tzdata 2023c-2exp1ubuntu1.1 all time zone and daylight-saving time data
ii tzdata-icu 2023c-2exp1ubuntu1.1 all ICU time zone and daylight-saving time data
ii ubuntu-advantage-tools 29.4~23.04 amd64 management tools for Ubuntu Pro
ii ubuntu-keyring 2021.03.26 all GnuPG keys of the Ubuntu archive
ii ubuntu-minimal 1.501 amd64 Minimal core of Ubuntu
ii ubuntu-release-upgrader-core 1:23.04.6 all manage release upgrades
ii ubuntu-standard 1.501 amd64 The Ubuntu standard system
ii ucf 3.0043+nmu1 all Update Configuration File(s): preserve user changes to config files
ii udev 252.5-2ubuntu3.1 amd64 /dev/ and hotplug management daemon
ii ufw 0.36.1-4.1ubuntu0.1 all program for managing a Netfilter firewall
ii update-manager-core 1:23.04.2 all manage release upgrades
ii usb.ids 2023.01.16-1 all USB ID Repository
ii usbutils 1:014-1build1 amd64 Linux USB utilities
ii usrmerge 33ubuntu1 all Convert the system to the merged /usr directories scheme
ii util-linux 2.38.1-4ubuntu1 amd64 miscellaneous system utilities
ii util-linux-extra 2.38.1-4ubuntu1 amd64 interactive login tools
ii uuid-runtime 2.38.1-4ubuntu1 amd64 runtime components for the Universally Unique ID library
ii vim-common 2:9.0.1000-4ubuntu3.1 all Vi IMproved - Common files
ii vim-tiny 2:9.0.1000-4ubuntu3.1 amd64 Vi IMproved - enhanced vi editor - compact version
ii wget 1.21.3-1ubuntu1 amd64 retrieves files from the web
ii whiptail 0.52.23-1ubuntu1 amd64 Displays user-friendly dialog boxes from shell scripts
ii xauth 1:1.1.2-1 amd64 X authentication utility
ii xdg-user-dirs 0.18-1 amd64 tool to manage well known user directories
ii xkb-data 2.38-0ubuntu1 all X Keyboard Extension (XKB) configuration data
ii xxd 2:9.0.1000-4ubuntu3.1 amd64 tool to make (or reverse) a hex dump
ii xz-utils 5.4.1-0.2 amd64 XZ-format compression utilities
ii zlib1g:amd64 1:1.2.13.dfsg-1ubuntu4 amd64 compression library - runtime
:; cat /etc/os-release
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_ID="23.04"
VERSION="23.04 (Lunar Lobster)"
VERSION_CODENAME=lunar
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=lunar
LOGO=ubuntu-logo
make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Posted a PR with a small fix for that "duplicate check-local definition" warning. Might not be much, but can you please check in your environment if it is in fact the problem? :)
e.g. cherry-pick or apply otherwise the change in https://github.com/networkupstools/nut/pull/2086/commits/e214a008768674bf8eb341705106cace944444ea
Ok, so turns out this only happens after running a build in the configured source tree before running make distcheck
. After running make clean
it passes.
Edit: Nevermind, there is something else, I'll update when I find more.
That's still not looking right... a typical CI routine is roughly to configure && make check && make distcheck
so an "unclean" build workspace is no excuse for the failure :\
checking if we can build man... a2x: ERROR: missing ASCIIDOC_FILE: /home/ago/src/nut/nut-2.8.0.1/docs/man/snmp-ups.txt
no
So it seems it doesn't copy the file before configure.
That should have been part of the tarball made by make dist
. This file should remain present even if make distcheck
deletes its work area in the end. Are those texts in your tarball? (I failed to trigger the problem so I could debug it).
Ah, of course! It only includes the selected drivers in the make dist
tarball and I'm running configure with --with-drivers=usbhid-ups,apc_modbus
in the non-working source tree.
huh, cool :) so it only includes man pages for modbus and usb capable drivers, but not others? interesting catch :)
though perhaps moderately of interest for make dist
purposes :)
Yes, initially I suspected something wrong with my inclusion of the apc_modbus
man page, and I did find that I missed adding it to HTML_MODBUS_MANS
, but when I noticed it also includes the usbhid-ups
man page but no other driver man page I knew what was going on.
It is also interesting that the configure check for building man pages fails because snmp-ups.txt
, maybe some dummy file or << EOF
input should be used for the check.
Well, the configure
check relies on having whole NUT sources, and make dist
is the tool to create a source release archive with everything required to build NUT. So it failing on distcheck
in this case is a feature (of autotools generally) informing us that the archive is not suitable. Maybe not-including "all" MAN pages (sources thereof) into a make dist
tarball is a bug to address, though possibly just by docs - "this is a maintainer tool intended to run on fully prepared systems" or some such. IIRC the dist tarball includes a copy of processed man pages (not HTML/PDF though) to avoid requiring the build systems to have asciidoc. When ccache
is involved, docs generation takes the majority of time spent in CI ;)
Yea, to me it also seems like make dist
should always include all the files. It isn't failing because the generated files are missing, but because the source files are not in the dist tarball.
Should I close this or do you want to keep it open to track changes you want to do?
I guess I'll close it when I address the issue somehow...
When trying to get
make distcheck
passed for #2063 I encountered an issue when checking the man pages:This happens on master too and I haven't figured out yet what is causing this.