bitbake recipe / Network UPS tool
Okay heres the bitbake file, the archive manually extracts to, but if i run bitbake nut
SECTION = "console/network"
DESCRIPTION = "Network UPS Tools is a collection of programs which provide a common\
interface for monitoring and administering UPS, PDU and SCD hardware.\
It uses a layered approach to connect all of the parts."\
LICENSE = "GPLv3"
SRC_URI = "https://github.com/networkupstools/nut/archive/v2.7.4.tar.gz"
LIC_FILES_CHKSUM = "file://LICENSE-GPL3;md5=f27defe1e96c2e1ecd4e0c9be8967949"
SRC_URI[md5sum] = "81f5b97ed35fde35d57e1f87f23ad932"
SRC_URI[sha256sum] = "d580915fdf7090655c1c7c98eb116b61952553f06f0039b1f93c9f5a13e2d36b"
S = "${WORKDIR}/${PN}-${PV}"
#inherit autotools-brokensep
inherit autotools
EXTRA_OECONF = "--with-usb --with-serial --with-dev"
running bitbake nut i get this result
ERROR: nut-2.7.4-r0 do_configure: autoreconf execution failed.
ERROR: nut-2.7.4-r0 do_configure: Execution of '/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947' failed with exit code 1:
automake (GNU automake) 1.16.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
AUTOV is 1.16
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
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/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:19: installing './compile'
configure.ac:15: installing './missing'
clients/Makefile.am: installing './depcomp'
configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found
configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found
configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found
autoreconf: automake failed with exit status: 1
WARNING: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301
#2: die, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246
#3: autotools_do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234
#4: do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150
#5: main, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305
Backtrace (metadata-relative locations):
#1: bbfatal_log, /var/home/dingo/overc/poky/meta/classes/logging.bbclass, line 72
#2: die, /var/home/dingo/overc/poky/meta/classes/base.bbclass, line 56
#3: autotools_do_configure, /var/home/dingo/overc/poky/meta/classes/autotools.bbclass, line 232
#4: do_configure, autogenerated, line 2
ERROR: Logfile of failure stored in: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/log.do_configure.635947 Log data follows:
| DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.16.2 | Copyright (C) 2020 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.16 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal --system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4 | autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | 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/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force | autoreconf: running: automake --add-missing --copy --force-missing | configure.ac:19: installing './compile' | configure.ac:15: installing './missing' | clients/Makefile.am: installing './depcomp' | configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found | configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found | configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. | WARNING: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301 | #2: die, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246 | #3: autotools_do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234 | #4: do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150 | #5: main, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305 | ERROR: Execution of '/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947' failed with exit code 1: | automake (GNU automake) 1.16.2 | Copyright (C) 2020 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.16 | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal --system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ -I /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4 | autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | 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/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force | autoreconf: running: automake --add-missing --copy --force-missing | configure.ac:19: installing './compile' | configure.ac:15: installing './missing' | clients/Makefile.am: installing './depcomp' | configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found | configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found | configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found | autoreconf: automake failed with exit status: 1 | WARNING: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301 | #2: die, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246 | #3: autotools_do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234 | #4: do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150 | #5: main, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305 | | Backtrace (metadata-relative locations): | #1: bbfatal_log, /var/home/dingo/overc/poky/meta/classes/logging.bbclass, line 72 | #2: die, /var/home/dingo/overc/poky/meta/classes/base.bbclass, line 56 | #3: autotools_do_configure, /var/home/dingo/overc/poky/meta/classes/autotools.bbclass, line 232 | #4: do_configure, autogenerated, line 2
ERROR: Task (/var/home/dingo/overc/meta-ups/recipes-support/nut/nut_2.7.4.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 528 tasks of which 527 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/var/home/dingo/overc/meta-ups/recipes-support/nut/nut_2.7.4.bb:do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ls /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/ build license-destdir nut-2.7.4 recipe-sysroot recipe-sysroot-native temp
and ls /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4
aclocal.m4 autom4te.cache compile config.sub COPYING docs INSTALL lib ltmain.sh Makefile.am NEWS server TODO AUTHORS clients conf configure data drivers INSTALL.nut LICENSE-GPL2 m4 Makefile.in README test-driver tools autogen.sh common config.guess configure.ac depcomp include install-sh LICENSE-GPL3 MAINTAINERS missing scripts tests UPGRADING
Hi,
I happen to have this recipe lying around. I have not upstreamed it for some reason (probably lack of time and I have not been using this package at the end, so it is not properly tested out). I gave it a try today and at least it builds.
Please try it out: https://github.com/3mdeb/meta-openembedded/commit/e523d0bb4bddf0ef8521804459b265c14100f83c
If it works for you, please let me know. I would be happy to push the patches upstream.
Quoted 232 lines · Yocto
Okay heres the bitbake file, the archive manually extracts to, but if i run bitbake nut
SECTION = "console/network"
DESCRIPTION = "Network UPS Tools is a collection of programs which provide a common\
interface for monitoring and administering UPS, PDU and SCD hardware.\
It uses a layered approach to connect all of the parts."\LICENSE = "GPLv3"
SRC_URI= "https://github.com/networkupstools/nut/archive/v2.7.4.tar.gz"
LIC_FILES_CHKSUM= "file://LICENSE-GPL3;md5=f27defe1e96c2e1ecd4e0c9be8967949"SRC_URI[md5sum] = "
81f5b97ed35fde35d57e1f87f23ad932"
SRC_URI[sha256sum] = "d580915fdf7090655c1c7c98eb116b61952553f06f0039b1f93c9f5a13e2d36b"S = "${WORKDIR}/${PN}-${PV}"
#inherit autotools-brokensep
inherit autotools
EXTRA_OECONF= "--with-usb --with-serial --with-dev"running bitbake nut i get this result
ERROR: nut-2.7.4-r0
do_configure: autoreconf execution failed.
ERROR: nut-2.7.4-r0do_configure: Execution of '/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947' failed with exit code 1:
automake (GNU automake) 1.16.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
AUTOV is 1.16
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/
-I/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/--force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files inAC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros inAC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:19: installing './compile'
configure.ac:15: installing './missing'
clients/Makefile.am: installing './depcomp'
configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found
configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found
configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found
autoreconf: automake failed with exit status: 1
WARNING:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1:bbfatal_log,/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301 #2: die,/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246 #3:autotools_do_configure,/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234 #4:do_configure,/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150 #5: main,/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305Backtrace (metadata-relative locations):
#1:bbfatal_log,/var/home/dingo/overc/poky/meta/classes/logging.bbclass, line 72
#2: die,/var/home/dingo/overc/poky/meta/classes/base.bbclass, line 56
#3:autotools_do_configure,/var/home/dingo/overc/poky/meta/classes/autotools.bbclass, line 232
#4:do_configure, autogenerated, line 2
ERROR: Logfile of failure stored in:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/log.do_configure.635947Log data follows:| DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.16.2 | Copyright (C) 2020 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.16 | NOTE: Executing ACLOCAL="aclocal--system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint -I
/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/-I/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/| autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal--system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I
/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/
-I/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/--force -I m4| autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | 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/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
| autoreconf: running:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force| autoreconf: running: automake --add-missing --copy --force-missing | configure.ac:19: installing './compile' | configure.ac:15: installing './missing' | clients/Makefile.am: installing './depcomp' | configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found | configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found | configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. | WARNING: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301 | #2: die, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246 | #3: autotools_do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234 | #4: do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150 | #5: main, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305 | ERROR: Execution of '/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947' failed with exit code 1: | automake (GNU automake) 1.16.2 | Copyright (C) 2020 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.16 | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal--system-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I
/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/
-I/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/--force -I m4| autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | 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/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | autoreconf: running: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoconf--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force
| autoreconf: running:/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/bin/autoheader--include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4/m4/ --include=/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/recipe-sysroot-native/usr/share/aclocal/ --force| autoreconf: running: automake --add-missing --copy --force-missing | configure.ac:19: installing './compile' | configure.ac:15: installing './missing' | clients/Makefile.am: installing './depcomp' | configure.ac:1268: error: required file 'scripts/augeas/nutupsconf.aug.in' not found | configure.ac:1268: error: required file 'scripts/devd/nut-usb.conf.in' not found | configure.ac:1268: error: required file 'scripts/udev/nut-usbups.rules.in' not found | autoreconf: automake failed with exit status: 1 | WARNING: /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947:301 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 301 | #2: die, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 246 | #3: autotools_do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 234 | #4: do_configure, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 150 | #5: main, /var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/temp/run.do_configure.635947, line 305 | | Backtrace (metadata-relative locations): | #1: bbfatal_log, /var/home/dingo/overc/poky/meta/classes/logging.bbclass, line 72 | #2: die, /var/home/dingo/overc/poky/meta/classes/base.bbclass, line 56 | #3: autotools_do_configure, /var/home/dingo/overc/poky/meta/classes/autotools.bbclass, line 232 | #4: do_configure, autogenerated, line 2ERROR: Task (/var/home/dingo/overc/meta-ups/recipes-support/nut/nut_2.7.4.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 528 tasks of which 527 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/var/home/dingo/overc/meta-ups/recipes-support/nut/nut_2.7.4.bb:do_configureSummary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.ls
/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/build license-destdir nut-2.7.4 recipe-sysroot recipe-sysroot-native tempand ls
/var/home/dingo/overc/build/tmp/work/corei7-64-overc-linux/nut/2.7.4-r0/nut-2.7.4
aclocal.m4 autom4te.cache compile config.sub COPYING docs INSTALL lib ltmain.sh Makefile.am NEWS server TODO AUTHORS clients conf configure data drivers INSTALL.nut LICENSE-GPL2 m4 Makefile.in README test-driver tools autogen.sh common config.guess configure.ac depcomp include install-sh LICENSE-GPL3 MAINTAINERS missing scripts tests UPGRADING
Signature · 4 lines
Maciej Pijanowski Embedded Systems Engineer GPG: 9963C36AAC3B2B46 https://3mdeb.com | @3mdeb_com
Quoted 11 lines · Maciej Pijanowski
Hi,
I happen to have this recipe lying around. I have not upstreamed it for some reason (probably lack of time and I have not been using this package at the end, so it is not properly tested out). I gave it a try today and at least it builds.
Please try it out: https://github.com/3mdeb/meta-openembedded/commit/e523d0bb4bddf0ef8521804459b265c14100f83c
If it works for you, please let me know. I would be happy to push the patches upstream.
wow... much appreciated, probably just saved me a few headaches and a ton of time.
Ill get it onboard and configured and let you know how i make out!
I was actually surprised to not find it already in the tree....
Thanks
Quoted 11 lines · Yocto
Quoted 9 lines · Maciej Pijanowski
Hi,
I happen to have this recipe lying around. I have not upstreamed it for some reason (probably lack of time and I have not been using this package at the end, so it is not properly tested out). I gave it a try today and at least it builds.
Please try it out: https://github.com/3mdeb/meta-openembedded/commit/e523d0bb4bddf0ef8521804459b265c14100f83c
Quoted 7 lines
Quoted 2 lines
If it works for you, please let me know. I would be happy to push the patches upstream.
wow... much appreciated, probably just saved me a few headaches and a ton of time.
Ill get it onboard and configured and let you know how i make out!
I was actually surprised to not find it already in the tree....
Have you got a chance to test something?
Quoted 5 lines
Thanks
Signature · 4 lines
Maciej Pijanowski Embedded Systems Engineer GPG: 9963C36AAC3B2B46 https://3mdeb.com | @3mdeb_com
Quoted 14 lines · Maciej Pijanowski
Quoted 11 lines · Yocto
Quoted 9 lines · Maciej Pijanowski
Hi,
I happen to have this recipe lying around. I have not upstreamed it for some reason (probably lack of time and I have not been using this package at the end, so it is not properly tested out). I gave it a try today and at least it builds.
Please try it out: https://github.com/3mdeb/meta-openembedded/commit/e523d0bb4bddf0ef8521804459b265c14100f83c
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
If it works for you, please let me know. I would be happy to push the patches upstream.
wow... much appreciated, probably just saved me a few headaches and a ton of time.
Ill get it onboard and configured and let you know how i make out!
I was actually surprised to not find it already in the tree....
Have you got a chance to test something?
its in the build we are assembling the system the past 2 days actually with the ups / power supply and case for prototype... testing will come in days when i have a functional device built i can flash it and test it all out
Quoted 12 lines
Quoted 4 lines
Thanks
Signature · 4 lines
Maciej Pijanowski Embedded Systems Engineer GPG: 9963C36AAC3B2B46 https://3mdeb.com | @3mdeb_com