D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/nut-2.8.2-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X0nsHo
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nEnAIC
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/nut-2.8.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/nut-2.8.2-build
+ rm -rf nut-2.8.2
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nut-2.8.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nut-2.8.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #90 (nut-upsset.conf.diff):'
Patch #90 (nut-upsset.conf.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .upsset.conf --fuzz=0
patching file conf/upsset.conf.sample
Hunk #1 succeeded at 45 (offset 14 lines).
+ echo 'Patch #91 (nut-mga_conf.patch):'
Patch #91 (nut-mga_conf.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mga_conf --fuzz=0
patching file conf/upsmon.conf.sample.in
patching file conf/upssched.conf.sample.in
+ echo 'Patch #92 (nut-mageia-add.patch):'
Patch #92 (nut-mageia-add.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file configure
Hunk #1 succeeded at 3580 (offset 679 lines).
Hunk #2 succeeded at 3636 (offset 681 lines).
+ perl -pi -e 's|/cgi-bin/nut/||g' data/html/bottom.html data/html/header.html.in data/html/index.html
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eQqA3H
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/nut-2.8.2-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd nut-2.8.2
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltversion.m4'
docs/Makefile.am:207: warning: escaping \# comment markers is not portable
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-all --with-libltdl --without-hal --without-modbus --without-gpio --with-cgi --disable-static --sysconfdir=/etc/ups --with-neon --with-statepath=/var/state/ups --with-drvpath=/usr/sbin --with-cgipath=/usr/lib64/nut --with-htmlpath=/usr/lib64/nut --with-pidpath=/run/nut --with-port=3493 --with-user=ups --with-group=ups --with-systemdsystemunitdir=/usr/lib/systemd/system --with-pkgconfig-dir=/usr/lib64/pkgconfig --with-udev-dir=/usr/lib/udev
configure: WARNING: unrecognized options: --without-hal
checking for CONFIG_FLAGS... --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-all --with-libltdl --without-hal --without-modbus --without-gpio --with-cgi --disable-static --sysconfdir=/etc/ups --with-neon --with-statepath=/var/state/ups --with-drvpath=/usr/sbin --with-cgipath=/usr/lib64/nut --with-htmlpath=/usr/lib64/nut --with-pidpath=/run/nut --with-port=3493 --with-user=ups --with-group=ups --with-systemdsystemunitdir=/usr/lib/systemd/system --with-pkgconfig-dir=/usr/lib64/pkgconfig --with-udev-dir=/usr/lib/udev
Network UPS Tools version 2.8.2
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking target system type... x86_64-mageia-linux-gnu
checking for host system name... mageia
configure: Stashed CFLAGS warnings to not confuse autotools probes:  -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
configure: Stashed CXXFLAGS warnings to not confuse autotools probes:  -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for autoconf macro to enable system extensions... yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/socket.h... yes
checking for netdb.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking whether g++ understands -c and -o together... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether this make implementation supports export VAR=VAL syntax... yes
checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether usable PKG_CONFIG was already detected by autoconf... yes: /usr/bin/x86_64-mageia-linux-gnu-pkg-config
configure: checking for autoconf macro support of pkg-config (/usr/bin/x86_64-mageia-linux-gnu-pkg-config)
configure: checking for autoconf macro support of pkg-config module checker
checking for pkg-config... yes
checking for realpath... realpath
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking if CC compiler family is GCC... yes
checking if CXX compiler family is GCC... yes
checking if CPP preprocessor family is GCC... yes
checking if CC compiler family is clang... no
checking if CXX compiler family is clang... no
checking if CPP preprocessor family is clang... no
checking Compact version of C compiler... "gcc (Mageia 15.1.0-0.RC.20250418.1.mga10) 15.1.0 20250418 (prerelease)"
checking Compact version of C++ compiler... "g++ (Mageia 15.1.0-0.RC.20250418.1.mga10) 15.1.0 20250418 (prerelease)"
checking Compact version of C preprocessor... "gcc (Mageia 15.1.0-0.RC.20250418.1.mga10) 15.1.0 20250418 (prerelease)"
configure: Detecting support for additional compiler flags
checking whether C compiler accepts -Qunused-arguments... no
checking whether C++ compiler accepts -Qunused-arguments... no
checking whether C compiler accepts -Wno-reserved-identifier... yes
checking whether C++ compiler accepts -Wno-reserved-identifier... yes
configure: NOT checking for options to request colorized compiler output (pass --enable-Wcolor for that)
checking whether C compiler accepts -Wno-unknown-warning-option... yes
checking whether C++ compiler accepts -Wno-unknown-warning-option... yes
checking whether C compiler accepts -std=gnu99... yes
configure: Defaulting C standard support to GNU C99 on a GCC or CLANG compatible compiler
checking whether C++ compiler accepts -std=gnu++11... yes
configure: Defaulting C++ standard support to GNU C++11 on a GCC or CLANG compatible compiler
checking for pragma GCC diagnostic push and pop (outside functions)... yes
checking for pragma clang diagnostic push and pop (outside functions)... no
checking for pragma GCC diagnostic push and pop (inside functions)... yes
checking for pragma clang diagnostic push and pop (inside functions)... no
checking for pragma GCC diagnostic ignored "-Wunused-function"... yes
checking for pragma GCC diagnostic ignored "-Wdeprecated-declarations"... yes
checking for pragma GCC diagnostic ignored "-Wformat-nonliteral"... yes
checking for pragma GCC diagnostic ignored "-Wformat-nonliteral" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wformat-security"... yes
checking for pragma GCC diagnostic ignored "-Wformat-security" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wformat-truncation"... yes
checking for pragma GCC diagnostic ignored "-Wformat-truncation" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wstringop-truncation"... yes
checking for pragma GCC diagnostic ignored "-Wstringop-truncation" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wtype-limits"... yes
checking for pragma GCC diagnostic ignored "-Wtype-limits" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Warray-bounds"... yes
checking for pragma GCC diagnostic ignored "-Warray-bounds" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare"... no
checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"... no
checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare"... no
checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wtautological-compare"... yes
checking for pragma GCC diagnostic ignored "-Wtautological-compare" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wsign-compare"... yes
checking for pragma GCC diagnostic ignored "-Wsign-compare" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wsign-conversion"... yes
checking for pragma GCC diagnostic ignored "-Wsign-conversion" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wunreachable-code-break"... no
checking for pragma GCC diagnostic ignored "-Wunreachable-code-break" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wunreachable-code-return"... no
checking for pragma GCC diagnostic ignored "-Wunreachable-code-return" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wunreachable-code"... yes
checking for pragma GCC diagnostic ignored "-Wunreachable-code" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wformat-overflow"... yes
checking for pragma GCC diagnostic ignored "-Wformat-overflow" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wcovered-switch-default"... no
checking for pragma GCC diagnostic ignored "-Wcovered-switch-default" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt"... no
checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wcast-align"... yes
checking for pragma GCC diagnostic ignored "-Wcast-align" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wcast-function-type-strict"... no
checking for pragma GCC diagnostic ignored "-Wcast-function-type-strict" (outside functions)... no
checking for pragma GCC diagnostic ignored "-Wstrict-prototypes"... yes
checking for pragma GCC diagnostic ignored "-Wstrict-prototypes" (outside functions)... yes
checking for pragma GCC diagnostic ignored "-Wassign-enum"... no
checking for pragma GCC diagnostic ignored "-Wassign-enum" (outside functions)... no
checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic"... no
checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" (outside functions)... no
checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat"... no
checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat" (outside functions)... no
checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors"... no
checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors" (outside functions)... no
checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors"... no
checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors" (outside functions)... no
checking for pragma BOGUSforTest... no
checking for pragma BOGUSforTest (outside functions)... no
checking for pragma GCC diagnostic ignored "-WBOGUSforTest"... no
checking for pragma GCC diagnostic ignored "-WBOGUSforTest" (outside functions)... no
checking for __attribute__((unused)) for function arguments... yes
checking for __attribute__((unused)) for functions... yes
checking for __attribute__((noreturn))... yes
checking for at least some __attribute__ support... yes
checking for practical support to printf("%s", NULL)... (null)yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for dup... yes
checking for dup2... yes
checking for abs_val... no
checking for abs... yes
checking for float.h... yes
checking for math.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether fabs is declared... yes
checking whether fabsf is declared... yes
checking whether fabsl is declared... yes
checking whether pow10 is declared... no
checking whether round is declared... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking whether realpath is declared... yes
checking for signal.h... yes
checking for sys/signal.h... yes
checking for sys/resource.h... yes
checking for struct rlimit and getrlimit()... ok
checking for poll.h... yes
checking for semaphore.h... yes
checking for sem_t, sem_init() and sem_destroy()... ok
checking for sem_init in -lrt... yes
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
configure: -----------------------------------------------------------------------
The next few tests look for required C library routines; if something is
not found, you may need to enable a different C standard or extension macro
version. You may also have to configure without extreme warning levels
since autotools tests fail those on their own and assume system lacks
stuff (although note we try to not involve standard -W* flags here).
-----------------------------------------------------------------------
checking for strtok_r... yes
checking for fileno... yes
checking for sigemptyset... yes
checking for sigaction... yes
checking for localtime_r... yes
checking for localtime_s... no
checking for gmtime_r... yes
checking for gmtime_s... no
checking for timegm... yes
checking for _mkgmtime... no
checking for at least one gmtime implementation... yes
checking for at least one localtime implementation... yes
checking for at least one timegm implementation... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for strcasecmp(s1,s2)... yes
checking for strncasecmp(s1,s2,n)... yes
checking for strlwr(s)... no
configure: WARNING: Optional C library routine strlwr not found
checking for strsep(s1,s2)... yes
checking for strstr(s1,s2)... yes
checking for strcasestr(s1,s2)... yes
checking for strptime(s1,s2,tm)... yes
checking for clock_gettime(CLOCK_MONOTONIC,ts)... yes
checking for strnlen(s1,s2,tm)... yes
checking for strdup(s)... yes
checking for sys/select.h... yes
checking for suseconds_t... yes
checking for useconds_t... yes
checking for usleep(us)... yes
checking whether ln -sr works... yes
checking for unsigned long long int... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for library containing pthread_create... none required
checking for library containing pthread_tryjoin_np... none required
checking for windows.h... no
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for socklen_t... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) yes
checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int
checking for inet_ntop() with IPv4 and IPv6 support... (null)(null)yes
checking for inet_pton() with IPv4 and IPv6 support... 1 1 yes
checking for struct pollfd... yes
checking for python... python
configure: WARNING: A python program name without a specific version number was requested (may be a symlink prone to change over time): /usr/bin/python
checking python interpeter to call... /usr/bin/python (sys.version_info(major=3, minor=13, micro=3, releaselevel='final', serial=0))
checking python site-packages location... /usr/lib64/python3.13/site-packages
checking for python2... no
checking for python2.7... no
checking for python-2.7... no
checking for python... python
configure: WARNING: Version reported by /usr/bin/python was not suitable as python2
checking python2 interpeter to call... no
configure: WARNING: A python3 program name was not specified during configuration, will default to '/usr/bin/python3.13' (derived from --with-python setting which has a suitable version)
checking python3 interpeter to call... /usr/bin/python3.13 (sys.version_info(major=3, minor=13, micro=3, releaselevel='final', serial=0))
checking python3 site-packages location... /usr/lib64/python3.13/site-packages
checking which drivers to build... all available
checking for --with-all... yes
checking for libregex version via pkg-config... none found
checking for regex.h... yes
checking whether regexec is declared... yes
checking whether regcomp is declared... yes
checking for library containing regcomp, regexec... none required
checking for libusb-1.0 version via pkg-config... 1.0.27 found
checking for libusb(-0.1) version via pkg-config... 0.1.12 found
checking for libusb-config... /usr/bin/libusb-config
checking via /usr/bin/libusb-config... 0.1.12 found
checking for libusb preferred version... 1.0.27 (libusb-1.0)
checking for libusb cflags... -I/usr/include/libusb-1.0
checking for libusb ldflags... -lusb-1.0
checking for libusb.h... yes
checking for libusb_init... yes
checking for libusb_strerror... yes
checking for libusb_kernel_driver_active... yes
checking for libusb_set_auto_detach_kernel_driver... yes
checking for libusb_detach_kernel_driver... yes
checking for libusb_detach_kernel_driver_np... no
checking for usb_detach_kernel_driver_np... no
checking for libusb_get_port_number... yes
checking size of void *... 8
checking for net-snmp-config-64... no
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for Net-SNMP version via pkg-config... 5.9.4.pre2 found
checking for Net-SNMP cflags... 
checking for Net-SNMP libs... -lnetsnmp
checking for net-snmp/net-snmp-config.h... yes
checking for init_snmp... yes
checking for defined usmAESPrivProtocol... yes
checking for defined usmAES128PrivProtocol... no
checking for defined usmDESPrivProtocol... no
checking for defined usmHMAC256SHA384AuthProtocol... yes
checking for defined usmHMAC384SHA512AuthProtocol... yes
checking for defined usmHMAC192SHA256AuthProtocol... yes
checking for defined usmAES192PrivProtocol... yes
checking for defined usmAES256PrivProtocol... yes
checking for defined usmHMACMD5AuthProtocol... yes
checking for defined usmHMACSHA1AuthProtocol... yes
checking for defined NETSNMP_DRAFT_BLUMENTHAL_AES_04... yes
checking for libneon version via pkg-config (0.25.0 minimum required)... 0.34.0 found
checking for libneon cflags... -I/usr/include/neon
checking for libneon ldflags... -lneon
checking for ne_xmlreq.h... yes
checking for ne_xml_dispatch_request... yes
checking for ne_set_connect_timeout... yes
checking for ne_sock_connect_timeout... yes
checking for LLNC libpowerman version via pkg-config... '2.3.27' found
checking for libpowerman cflags... 
checking for libpowerman libs... -lpowerman
checking for libpowerman.h... yes
checking for pm_connect... yes
checking for libmodbus version via pkg-config... none found
checking for libmodbus cflags... -I/usr/include/modbus
checking for libmodbus ldflags... -lmodbus
checking for modbus.h... no
checking for modbus_new_rtu... no
checking for modbus_new_tcp... no
checking for modbus_set_byte_timeout... no
checking for modbus_set_response_timeout... no
checking for modbus_new_rtu_usb... no
checking for libgpiod version via pkg-config (1.0.0 minimum required)... none found
checking for libgpiod cflags... -I/usr/include -I/usr/local/include
checking for libgpiod ldflags... -lgpiod
checking for gpiod.h... no
checking for gpiod_chip_open_by_name... no
checking for gpiod_chip_close... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)... 0.8 found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... 0.8 found
checking for avahi cflags... -D_REENTRANT
checking for avahi ldflags... -lavahi-core -lavahi-common -lavahi-client
checking for avahi-common/malloc.h... yes
checking for avahi_free... yes
checking for avahi-client/client.h... yes
checking for avahi_client_new... yes
checking for msgfmt... /usr/bin/msgfmt
checking for sys/termios.h... yes
checking for struct termios and speed_t... ok
checking whether we can build serial drivers... yes
checking whether to build serial drivers... yes 
checking whether to build USB drivers... yes (libusb-1.0)
checking whether to build neon based XML driver... yes 
checking whether to enable Avahi support... yes 
checking whether to build Powerman PDU client driver... yes 
checking whether to build Modbus driver... no 
checking for FreeIPMI version via pkg-config... 1.6.15 found
checking for FreeIPMI cflags... 
checking for FreeIPMI ldflags... -lfreeipmi -lipmimonitoring
checking for freeipmi/freeipmi.h... yes
checking for ipmi_monitoring.h... yes
checking for library containing ipmi_ctx_create... none required
checking for library containing ipmi_ctx_find_inband... none required
checking for library containing ipmi_monitoring_init... none required
checking for library containing ipmi_monitoring_sensor_read_record_id... none required
checking for library containing ipmi_sdr_cache_ctx_destroy... no
checking for library containing ipmi_sdr_ctx_destroy... none required
checking whether to build IPMI driver... yes (FreeIPMI)
checking whether to build GPIO driver... no 
checking whether to build Mac OS X meta-driver... no 
checking for linux/i2c-dev.h... yes
checking for i2c/smbus.h... yes
checking whether i2c_smbus_access is declared... yes
checking whether i2c_smbus_read_byte_data is declared... yes
checking whether i2c_smbus_write_byte_data is declared... yes
checking whether i2c_smbus_read_word_data is declared... yes
checking whether i2c_smbus_write_word_data is declared... yes
checking whether i2c_smbus_read_block_data is declared... yes
checking for library containing i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data... -li2c
checking whether to build i2c based drivers... yes 
checking for OpenSSL version via pkg-config... 3.5.0 found
checking for OpenSSL cflags... 
checking for OpenSSL ldflags... -lssl -lcrypto
checking for openssl/ssl.h... yes
checking for SSL_CTX_new... yes
checking whether to enable SSL support... yes (OpenSSL)
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... -lnsl
checking for library containing request_init... -lwrap
checking whether to enable libwrap (tcp-wrappers) support... yes 
checking for libltdl cflags... 
checking for libltdl ldflags... 
checking for ltdl.h... yes
checking for library containing lt_dlinit... -lltdl
checking whether to enable libltdl (Libtool dlopen abstraction) support... yes 
checking whether to build nut-scanner... yes 
checking for gd version via pkg-config... 2.3.3 found
checking for gd include flags... -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/webp -DAVIF_DLL -I/usr/include/rav1e -I/usr/include/svt-av1 -DEB_DLL -I/usr/include/libvmaf
checking for gd library flags...  -lgd
checking for gd.h... yes
checking for gdfontmb.h... yes
checking for library containing gdImagePng... none required
checking whether to build CGI programs... yes 
checking if we can and should install NUT-Monitor desktop application... no: Missing some or all of these Python3 modules: 're,glob,codecs,PyQt5.uic,configparser' and some or all of these Python2 modules: 're,glob,codecs,gtk,gtk.glade,gobject,ConfigParser'
checking if we can and should install PyNUT module... Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
configure: error: Prerequisites for PyNUT not found, can't install as required
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eQqA3H (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eQqA3H (%build)
I: [iurt_root_command] ERROR: chroot