Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUT 2.8.1-3 "Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups #2666

Open
ErikDB87 opened this issue Oct 30, 2024 · 214 comments · Fixed by #2750
Open
Labels
APC DDL impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) USB

Comments

@ErikDB87
Copy link

ErikDB87 commented Oct 30, 2024

Hi all,

Yesterday, I bought a UPS for the first time in my life, and was eager to dive into NUT. But not all is working as expected... I saw a similar thread started on 18 October, but it didn't help me. (I also spent a handful of hours searching the web for solutions, and of course read the manual and FAQ - "queequeg".)

I tried shutting my UPS (APC "Back-UPS BX750MI FW:295202G -302202G") down with sudo upsdrvctl shutdown, but no response. Digging around, I found a few things that raised my suspicion, but I can't figure it out...

I followed this fine gentleman's guide (but tweaked it a bit - I don't know why he uses master and slave for example?): https://technotim.live/posts/NUT-server-guide/.
I must add that I created a few users and user groups during installation and configuration, following the documentation. But in the end, I lost oversight, and everything didn't work. So it's entirely possible there's a permissions issue somewhere. But I don't have any idea where...

Because of the trial-and-error approach, in the .conf files (shown below), a lot of stuff is commented out. I assume I can delete it, but I also assume the # should be adequate? Anyway, I keep it in the output below for clarity.

I'll just paste various outputs here, I hope that's a reasonable approach?

Thanks in advance for anyone's help!

Kind regards,

Erik

erik@MinipcLG2:/$ sudo upsdrvctl shutdown apcupskelder
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
select with socket: Invalid argument
Can't claim USB device [051d:0002]@0/0: Entity not found
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Driver failed to start (exit status=1)
erik@MinipcLG2:/$ sudo nut-scanner -U
Scanning USB bus.
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "051D"
        productid = "0002"
        product = "Back-UPS BX750MI  FW:295202G -302202G"
        serial = "9B2416A22014"
        vendor = "American Power Conversion"
        bus = "001"
        device = "004"
        busport = "002"
        ###NOTMATCHED-YET###bcdDevice = "0106"
erik@MinipcLG2:/etc/nut$ sudo usbhid-ups -a apcupskelder
sudo: usbhid-ups: opdracht niet gevonden

This seems strange? But after some googling, I found the below alternative - although I would expect it to work without /lib/nut/):

erik@MinipcLG2:/$ sudo /lib/nut/usbhid-ups -a apcupskelder
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
Duplicate driver instance detected (PID file /run/nut/usbhid-ups-apcupskelder.pid exists)! Terminating other driver!

Bericht aan allen van root@MinipcLG2 (somewhere) (Wed Oct 30 10:27:32 2024):

Communications with UPS apcupskelder@localhost lost


Bericht aan allen van root@MinipcLG2 (somewhere) (Wed Oct 30 10:27:32 2024):

Communications with UPS apcupskelder@localhost lost

HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x0c
HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x22
HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x40
Using subdriver: APC HID 0.100

Bericht aan allen van root@MinipcLG2 (somewhere) (Wed Oct 30 10:27:40 2024):

Communications with UPS apcupskelder@localhost established


Bericht aan allen van root@MinipcLG2 (somewhere) (Wed Oct 30 10:27:48 2024):

Communications with UPS apcupskelder@localhost lost


Bericht aan allen van root@MinipcLG2 (somewhere) (Wed Oct 30 10:27:56 2024):

Communications with UPS apcupskelder@localhost established
erik@MinipcLG2:/$ cat /etc/group | grep nut
users:x:100:nutuser,nutmon
nut:x:130:
nutuser:x:1002:
nutgroup:x:1003:nutuser
nutmon:x:1004:
nutmongroep:x:1005:nutmon
erik@MinipcLG2:/$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
erik@MinipcLG2:/$ ls -l /dev/bus/usb/001/004
crw-rw-r-- 1 root nut 189, 3 okt 30 10:31 /dev/bus/usb/001/004
erik@MinipcLG2:/$ cat /etc/os-release
NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble
erik@MinipcLG2:/$ hostnamectl
 Static hostname: MinipcLG2
       Icon name: computer-desktop
         Chassis: desktop 🖥️
      Machine ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
         Boot ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Operating System: Linux Mint 22
          Kernel: Linux 6.8.0-47-generic
    Architecture: x86-64
 Hardware Vendor: HP
  Hardware Model: HP EliteDesk 800 G2 DM 65W
Firmware Version: N21 Ver. 02.10
   Firmware Date: Sun 2016-01-24
    Firmware Age: 8y 9month 6d
erik@MinipcLG2:/$ uname -r
6.8.0-47-generic
erik@MinipcLG2:/$ sudo apt list nut*
Bezig met oplijsten... Klaar
nut-cgi/noble,now 2.8.1-3.1ubuntu2 amd64 [geïnstalleerd]
nut-client/noble,now 2.8.1-3.1ubuntu2 amd64 [geïnstalleerd]
nut-doc/noble 2.8.1-3.1ubuntu2 all
nut-i2c/noble 2.8.1-3.1ubuntu2 amd64
nut-ipmi/noble 2.8.1-3.1ubuntu2 amd64
nut-modbus/noble 2.8.1-3.1ubuntu2 amd64
nut-monitor/noble 2.8.1-3.1ubuntu2 all
nut-powerman-pdu/noble 2.8.1-3.1ubuntu2 amd64
nut-server/noble,now 2.8.1-3.1ubuntu2 amd64 [geïnstalleerd]
nut-snmp/noble 2.8.1-3.1ubuntu2 amd64
nut-xml/noble 2.8.1-3.1ubuntu2 amd64
nut/noble,now 2.8.1-3.1ubuntu2 all [geïnstalleerd]
nutcracker/noble 0.5.0+dfsg-2 amd64
nutsqlite/noble 2.0.6-4 all
nuttcp/noble 6.1.2-4build1 amd64
erik@MinipcLG2:/$ sudo /lib/nut/usbhid-ups -DDD -a apcupskelder
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
   0.000000     [D3] do_global_args: var='pollinterval' val='1'
   0.000024     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '1' vs. '2'
   0.000057     [D3] do_global_args: var='maxretry' val='3'
   0.000083     [D3] main_arg: var='driver' val='usbhid-ups'
   0.000108     [D3] main_arg: var='port' val='auto'
   0.000136     [D3] main_arg: var='desc' val='Back-UPS BX750MI  FW:295202G -302202G'
   0.000152     [D3] main_arg: var='vendorid' val='051d'
   0.000179     [D3] main_arg: var='productid' val='0002'
   0.000203     [D3] main_arg: var='serial' val='9B2416A22014'
   0.000248     [D1] Network UPS Tools version 2.8.1 (release/snapshot of 2.8.1) built with gcc (Ubuntu 13.2.0-23ubuntu2) 13.2.0 and configured with flags: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix= --sysconfdir=/etc/nut --includedir=/usr/include --mandir=/usr/share/man --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=/usr/libexec --with-ssl --with-nss --with-cgi --with-dev --enable-static --with-statepath=/run/nut --with-altpidpath=/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system --with-systemdshutdowndir=/lib/systemd/system-shutdown --with-systemdtmpfilesdir=/usr/lib/tmpfiles.d --with-python=python3 --with-python3=/usr/bin/python3 --with-doc=man,html-single,html-chunked,pdf
   0.000352     [D1] debug level is '3'
   0.002200     [D1] Succeeded to become_user(nut): now UID=121 GID=130
   0.002266     [D1] upsdrv_initups (non-SHUT)...
   0.002285     [D2] Initializing an USB-connected UPS with library libusb-1.0.27 (API: 0x100010a) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.46')
   0.008020     [D2] Checking device 1 of 4 (1D6B/0003)
   0.008045     [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.008052     [D2] Checking device 2 of 4 (0403/6001)
   0.008064     [D1] Failed to open device (0403/6001), skipping: Access denied (insufficient permissions)
   0.008079     [D2] Checking device 3 of 4 (051D/0002)
   0.010003     [D2] - VendorID: 051d
   0.010014     [D2] - ProductID: 0002
   0.010018     [D2] - Manufacturer: American Power Conversion
   0.010022     [D2] - Product: Back-UPS BX750MI  FW:295202G -302202G
   0.010026     [D2] - Serial Number: 9B2416A22014
   0.010030     [D2] - Bus: 001
   0.010034     [D2] - Bus Port: 002
   0.010038     [D2] - Device: 004
   0.010042     [D2] - Device release number: 0106
   0.010046     [D2] Trying to match device
   0.010058     [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.010068     [D3] match_function_regex: matching a device...
   0.010145     [D2] Device matches
   0.010155     [D2] Reading first configuration descriptor
   0.010172     [D3] libusb_kernel_driver_active() returned 0: Success
   0.010186     [D2] failed to claim USB device: Resource busy
   0.010198     [D2] Kernel driver already detached
   0.010210     [D2] failed to claim USB device: Resource busy
   0.010225     [D2] Kernel driver already detached
   0.010237     [D2] failed to claim USB device: Resource busy
   0.010249     [D2] Kernel driver already detached
   0.010263     [D2] failed to claim USB device: Resource busy
   0.010275     [D2] Kernel driver already detached
   0.010286     Can't claim USB device [051d:0002]@0/0: Entity not found
   0.010300     upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/hosts.conf
MONITOR apcupskelder@localhost "APC-UPS kelder"
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/nut.conf
MODE=netserver
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/ups.conf
pollinterval = 1
maxretry = 3


[apcupskelder]
        driver = usbhid-ups
        port = auto
        desc = "Back-UPS BX750MI  FW:295202G -302202G"
        vendorid = 051d
        productid = 0002
        serial = 9B2416A22014
#        vendor = "American Power Conversion"
#        bus = 001
#        device = 005
#        busport = 002
        ###NOTMATCHED-YET###bcdDevice = "0106"
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/upsd.conf
LISTEN 0.0.0.0 3493
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/upsd.users
#[bespieder]
[monuser]
  password  = indUStr*a
#  bekijker primary
#  admin master
  admin primary
erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/upsmon.conf
#RUN_AS_USER nutgebruiker
RUN_AS_USER root
#MONITOR apcupskelder@localhost 1 bekijker indUStr*a primary
#MONITOR apcupskelder@localhost 1 admin indUStr*a master
MONITOR apcupskelder@localhost 1 admin indUStr*a primary


MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
POLLFREQ 2
POLLFREQALERT 1
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/nut/killpower

NOTIFYMSG ONLINE    "UPS %s on line power"
NOTIFYMSG ONBATT    "UPS %s on battery"
NOTIFYMSG LOWBATT   "UPS %s battery is low"
NOTIFYMSG FSD       "UPS %s: forced shutdown in progress"
NOTIFYMSG COMMOK    "Communications with UPS %s established"
NOTIFYMSG COMMBAD   "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN  "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT  "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM    "UPS %s is unavailable"
NOTIFYMSG NOPARENT  "upsmon parent process died - shutdown impossible"

NOTIFYFLAG ONLINE   SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT   SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT  SYSLOG+WALL
NOTIFYFLAG FSD      SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK   SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD  SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL
NOTIFYFLAG NOCOMM   SYSLOG+WALL+EXEC
NOTIFYFLAG NOPARENT SYSLOG+WALL

RBWARNTIME 43200

NOCOMMWARNTIME 600

FINALDELAY 5
@ErikDB87 ErikDB87 changed the title NUT 2.8.1-3 " Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups NUT 2.8.1-3 "Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups Nov 1, 2024
@ErikDB87
Copy link
Author

ErikDB87 commented Nov 2, 2024

I thought removing and installing the package again might solve the problem. I also removed /etc/nut.

But somehow, the directory /etc/nut is created again, but the config files in it are not...?

So I did this:

sudo apt remove nut nut-client nut-server
sudo reboot
sudo apt autoremove
sudo reboot
sudo rm -r /etc/nut
sudo apt install nut nut-client nut-server

And now:

erik@MinipcLG2:/etc/nut$ ls -pal
totaal 16
drwxr-xr-x   2 root root  4096 nov  2 16:29 ./
drwxr-xr-x 182 root root 12288 nov  2 16:29 ../

Somehow, I made it worse... But I don't understand how installing the packages again fails to install these files...?

EDIT
Some googling almost fixed this: https://ubuntuforums.org/showthread.php?t=2487834

But hosts.conf is still missing...

@jimklimov
Copy link
Member

I believe some answers around this general issue are in the mailing list.

As for packaging, NUT team does not impact it directly, so it is technically a distro matter. That said, probably different packages defined for NUT there which deliver files which might need configuration files, all deliver the /etc/nut directory. There may be some package which also delivers *.conf.sample files which are just that - well-commented samples (to copy into *.conf and adapt to your setup). Packaging can not divine your device details, IP addresses, etc. to recreate your customized config files.

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 2, 2024

Of course I didn't expect my amended config files to appear. :) But the standard ones - which were installed when I first installed NUT, didn't reappear... I manually added hosts.conf using sudo nano hosts.conf.

Anyway, I had hoped this reinstall would have reset all the permissions. But I was wrong...

But it looks like I'm where I started out; so maybe no harm no foul?

@jimklimov
Copy link
Member

Probably no foul. As you edited ups.conf, NDE could have picked up the device definition and created the [email protected] instance again, so the manually-started driver conflicts with it again.

Re-check if the unit does exist and does not complain (like on the mailing list) - if so, go on to upsd (nut-server) and upsc client (to check it works) and finally upsmon for notifications and safe shutdown.

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 2, 2024

I'm not sure I fully understand what you mean... I'm not really a Linux master :)

But here are some outputs:

erik@MinipcLG2:/etc/nut$ systemctl status [email protected][email protected] - Network UPS Tools - device driver for NUT device 'apcupskelder'
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/[email protected]
             └─nut-driver-enumerator-generated-checksum.conf, nut-driver-enumerator-generated.conf
     Active: active (running) since Sat 2024-11-02 20:27:55 CET; 48s ago
    Process: 11894 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
    Process: 11896 ExecStart=/bin/sh -c NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service apcupskelder`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for service unit apcupskelder" >&2 ; exit 1 ; } ; exec /sbin/upsdrvctl  start "$NUTDEV" (code=exited, status=0/SUCCESS)
   Main PID: 11934 (usbhid-ups)
      Tasks: 1 (limit: 9284)
     Memory: 608.0K (peak: 2.6M)
        CPU: 99ms
     CGroup: /system.slice/system-nut\x2ddriver.slice/[email protected]
             └─11934 /lib/nut/usbhid-ups -a apcupskelder

nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11923]: HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x22
nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11923]: HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x40
nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11923]: Using subdriver: APC HID 0.100
nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11923]: Network UPS Tools - Generic HID driver 0.52 (2.8.1)
nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11923]: USB communication driver (libusb 1.0) 0.46
nov 02 20:27:55 MinipcLG2 usbhid-ups[11934]: Startup successful
nov 02 20:27:55 MinipcLG2 usbhid-ups[11934]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:55 MinipcLG2 nut-driver@apcupskelder[11896]: Network UPS Tools - UPS driver controller 2.8.1
nov 02 20:27:55 MinipcLG2 systemd[1]: Started [email protected] - Network UPS Tools - device driver for NUT device 'apcupskelder'.
nov 02 20:27:56 MinipcLG2 usbhid-ups[11934]: sock_connect: enabling asynchronous mode (auto)
erik@MinipcLG2:/etc/nut$ systemctl status nut-server.service
● nut-server.service - Network UPS Tools - power devices information server
     Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-11-02 20:27:35 CET; 3min 24s ago
    Process: 11815 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
   Main PID: 11818 (upsd)
      Tasks: 1 (limit: 9284)
     Memory: 464.0K (peak: 1.5M)
        CPU: 65ms
     CGroup: /system.slice/nut-server.service
             └─11818 /lib/nut/upsd -F

nov 02 20:27:35 MinipcLG2 nut-server[11818]: Running as foreground process, not saving a PID file
nov 02 20:27:35 MinipcLG2 nut-server[11818]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:35 MinipcLG2 upsd[11818]: Running as foreground process, not saving a PID file
nov 02 20:27:35 MinipcLG2 upsd[11818]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:35 MinipcLG2 nut-server[11818]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
nov 02 20:27:35 MinipcLG2 upsd[11818]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
nov 02 20:27:37 MinipcLG2 nut-server[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:37 MinipcLG2 upsd[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:56 MinipcLG2 nut-server[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:56 MinipcLG2 upsd[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
erik@MinipcLG2:/etc/nut$ systemctl status upsd
● nut-server.service - Network UPS Tools - power devices information server
     Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-11-02 20:27:35 CET; 3min 49s ago
    Process: 11815 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
   Main PID: 11818 (upsd)
      Tasks: 1 (limit: 9284)
     Memory: 464.0K (peak: 1.5M)
        CPU: 71ms
     CGroup: /system.slice/nut-server.service
             └─11818 /lib/nut/upsd -F

nov 02 20:27:35 MinipcLG2 nut-server[11818]: Running as foreground process, not saving a PID file
nov 02 20:27:35 MinipcLG2 nut-server[11818]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:35 MinipcLG2 upsd[11818]: Running as foreground process, not saving a PID file
nov 02 20:27:35 MinipcLG2 upsd[11818]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:35 MinipcLG2 nut-server[11818]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
nov 02 20:27:35 MinipcLG2 upsd[11818]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
nov 02 20:27:37 MinipcLG2 nut-server[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:37 MinipcLG2 upsd[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:56 MinipcLG2 nut-server[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
nov 02 20:27:56 MinipcLG2 upsd[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
erik@MinipcLG2:~$ systemctl status upsc
Unit upsc.service could not be found.
erik@MinipcLG2:/etc/nut$ systemctl status upsmon
● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
     Loaded: loaded (/usr/lib/systemd/system/nut-monitor.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-11-02 20:27:35 CET; 4min 10s ago
    Process: 11836 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
   Main PID: 11839 (upsmon)
      Tasks: 2 (limit: 9284)
     Memory: 888.0K (peak: 2.0M)
        CPU: 86ms
     CGroup: /system.slice/nut-monitor.service
             ├─11839 /lib/nut/upsmon -F
             └─11842 /lib/nut/upsmon -F

nov 02 20:27:35 MinipcLG2 nut-monitor[11839]: Using power down flag file /etc/nut/killpower
nov 02 20:27:35 MinipcLG2 nut-monitor[11842]: Init SSL without certificate database
nov 02 20:27:35 MinipcLG2 nut-monitor[11842]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
nov 02 20:27:35 MinipcLG2 nut-monitor[11842]: Login on UPS [apcupskelder@localhost] failed - got [ERR ACCESS-DENIED]
nov 02 20:27:52 MinipcLG2 nut-monitor[11842]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
nov 02 20:27:52 MinipcLG2 nut-monitor[11842]: Communications with UPS apcupskelder@localhost lost
nov 02 20:27:52 MinipcLG2 nut-monitor[11925]: Network UPS Tools upsmon 2.8.1
nov 02 20:27:54 MinipcLG2 nut-monitor[11842]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
nov 02 20:27:56 MinipcLG2 nut-monitor[11842]: Communications with UPS apcupskelder@localhost established
nov 02 20:27:56 MinipcLG2 nut-monitor[11936]: Network UPS Tools upsmon 2.8.1

There seem to be some problems with usbhid-ups-apcupskelder...

@jimklimov
Copy link
Member

Looks great actually: [email protected] initialized around 20:27:55, and at 20:27:56 accepted a socket connection. That's the same moment logged by nut-server.service (aliased as upsd to match the program name):

nov 02 20:27:56 MinipcLG2 upsd[11818]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder

upsc is not a service, it is a command-line client. You should just run

:; upsc apcupskelder

(if on the same machine as upsd) and it should report a number of key: value pairs for some driver settings and all device readings it found.

WARNING: The nut-monitor.service (aliased as upsmon) did have a hiccup:

Login on UPS ***@***.*** failed - got [ERR ACCESS-DENIED]

This usually means either mismatch between /etc/nut/upsd.users and the credentials in MONITOR line of upsmon.conf, or bad permissions so one of the daemons can not read its config (or too open permissions so it can refuse to trust that file, whose passwords anyone can know).

I am a bit puzzled about upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it lines (daemon should have noticed it run under systemd, but that is not too consequential).

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

upsc is not a service, it is a command-line client. You should just run\n\n:; upsc apcupskelder\n(if on the same machine as upsd) and it should report a number of key: value pairs for some driver settings and all device readings it found.

Indeed:

erik@MinipcLG2:~$ upsc apcupskelder
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.mfr.date: 2001/01/01
battery.runtime: 3920
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 13.6
battery.voltage.nominal: 12.0
device.mfr: American Power Conversion
device.model: Back-UPS BX750MI
device.serial: 9B2416A22014
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 1
driver.parameter.port: auto
driver.parameter.productid: 0002
driver.parameter.serial: 9B2416A22014
driver.parameter.synchronous: auto
driver.parameter.vendorid: 051d
driver.state: quiet
driver.version: 2.8.1
driver.version.data: APC HID 0.100
driver.version.internal: 0.52
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.sensitivity: low
input.transfer.high: 295
input.transfer.low: 145
input.voltage: 230.0
input.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 295202G -302202G
ups.load: 0
ups.mfr: American Power Conversion
ups.mfr.date: 2024/04/23
ups.model: Back-UPS BX750MI
ups.productid: 0002
ups.realpower.nominal: 410
ups.serial: 9B2416A22014
ups.status: OL
ups.test.result: Done and passed
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d 

WARNING: The nut-monitor.service (aliased as upsmon) did have a hiccup:\n\nLogin on UPS @.*** failed - got [ERR ACCESS-DENIED]\nThis usually means either mismatch between /etc/nut/upsd.users and the credentials in MONITOR line of upsmon.conf, or bad permissions so one of the daemons can not read its config (or too open permissions so it can refuse to trust that file, whose passwords anyone can know).

I had hoped a fresh install would have reset all the permissions... Do you have any idea which commands might fix the permissions issues?

@jimklimov jimklimov added DDL APC USB impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) labels Nov 6, 2024
@jimklimov
Copy link
Member

Looking at your earlier post, the upsd.users you've posted seems very wrong. Please check the sample at https://github.com/networkupstools/nut/blob/master/conf/upsd.users.sample about syntax and expected contents. Also maybe change the passwords in the final configuration, just in case ;)

Also note, with an APC BX###MI device, #2565 and related issues and PRs may be relevant. That fix is not part of a released version yet though, so if you'd end up needing it before a release is cut and gets through distro packaging queues - a custom build would be required, e.g. per https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests

@jimklimov
Copy link
Member

As for file permissions, can you post ls -la /etc/nut output?

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

Looking at your earlier post, the upsd.users you've posted seems very wrong. Please check the sample at https://github.com/networkupstools/nut/blob/master/conf/upsd.users.sample about syntax and expected contents. Also maybe change the passwords in the final configuration, just in case ;)

I see... Shame on me for following the guide, and not reading the readme. I did that eventually for a few other conf files, but not this one...

I assume this would be better?

[admin]
  password  = indUStr*a
  actions = FSD
  instcmds = ALL

?

(I'll have access to the Linux server later today; I'll run ls -la /etc/nut then as well.)

@jimklimov
Copy link
Member

jimklimov commented Nov 6, 2024

Well, coming from legacy long ago, before my time, that upsd.users lists two separate user concepts. I don't remember if I've ever tried mixing both into one user entry:

  • User that can subscribe to the data server for monitoring and stay with a persistent session, with an upsmon <ROLE> line - that's the one you need to define and use in a MONITOR line of upsmon.conf
  • User who can set variables or send commands, "all" or a selection of some - optional, for NUT clients like upsrw, upscmd or CGI upsset, etc.

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

Well, coming from legacy long ago, before my time, that upsd.users lists two separate user concepts. I don't remember if I mixed both into one user entry:

  • User that can subscribe to the data server for monitoring and stay with a persistent session, with an upsmon <ROLE> line - that's the one you need to define and use in a MONITOR line of upsmon.conf
  • User who can set variables or send commands, "all" or a selection of some - optional, for NUT clients like upsrw, upscmd or CGI upsset, etc.

So it should be:

[admin]
  password  = indUStr*a
  actions = FSD
  instcmds = ALL
  upsmon primary

?

@jimklimov
Copy link
Member

Maybe, if it does work to mix it like that. If something still complains, separate this into two users for two use-cases, e.g.:

[admin]
  password  = indUStr*a
  actions = FSD
  instcmds = ALL

[upsmon]
  password  = indUStr*a
  upsmon primary

(and then use MONITOR apcupskelder@localhost 1 upsmon indUStr*a primary in upsmon.conf).

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

Thanks for all your time and effort, @jimklimov! Although we're not out of the woods yet, I'm afraid...

Now /etc/nut/upsd.users reads as follows:

[admin]
  password  = indUStr*a
  actions = FSD
  instcmds = ALL

[upsmon]
  password  = indUStr*a
  upsmon primary

(Although I don't understand where this admin user is used...? Since he's not mentioned anywhere?)

/etc/nut/upsmon.conf now reads:

RUN_AS_USER nut
MONITOR apcupskelder@localhost 1 admin indUStr*a primary
MONITOR apcupskelder@localhost 1 upsmon indUStr*a primary


MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
POLLFREQ 2
POLLFREQALERT 1
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/nut/killpower

NOTIFYMSG ONLINE    "UPS %s on line power"
NOTIFYMSG ONBATT    "UPS %s on battery"
NOTIFYMSG LOWBATT   "UPS %s battery is low"
NOTIFYMSG FSD       "UPS %s: forced shutdown in progress"
NOTIFYMSG COMMOK    "Communications with UPS %s established"
NOTIFYMSG COMMBAD   "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN  "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT  "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM    "UPS %s is unavailable"
NOTIFYMSG NOPARENT  "upsmon parent process died - shutdown impossible"

NOTIFYFLAG ONLINE   SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT   SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT  SYSLOG+WALL
NOTIFYFLAG FSD      SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK   SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD  SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL
NOTIFYFLAG NOCOMM   SYSLOG+WALL+EXEC
NOTIFYFLAG NOPARENT SYSLOG+WALL

RBWARNTIME 43200

NOCOMMWARNTIME 600

FINALDELAY 5

Now:

erik@MinipcLG2:~$ systemctl status upsmon
● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
     Loaded: loaded (/usr/lib/systemd/system/nut-monitor.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-11-06 14:40:27 CET; 11min ago
    Process: 1387 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
   Main PID: 1391 (upsmon)
      Tasks: 2 (limit: 9284)
     Memory: 2.5M (peak: 2.8M)
        CPU: 74ms
     CGroup: /system.slice/nut-monitor.service
             ├─1391 /lib/nut/upsmon -F
             └─1395 /lib/nut/upsmon -F

nov 06 14:40:27 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
nov 06 14:40:27 MinipcLG2 systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
nov 06 14:40:27 MinipcLG2 nut-monitor[1391]: fopen /run/nut/upsmon.pid: No such file or directory
nov 06 14:40:27 MinipcLG2 nut-monitor[1391]: Could not find PID file to see if previous upsmon instance is already running!
nov 06 14:40:27 MinipcLG2 nut-monitor[1391]: UPS: apcupskelder@localhost (primary) (power value 1)
nov 06 14:40:27 MinipcLG2 nut-monitor[1391]: Using power down flag file /etc/nut/killpower
nov 06 14:40:27 MinipcLG2 nut-monitor[1395]: Init SSL without certificate database
nov 06 14:40:27 MinipcLG2 nut-monitor[1395]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it

Unfortunately, even after a Linux reboot, still:

erik@MinipcLG2:~$ sudo upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
select with socket: Invalid argument
Can't claim USB device [051d:0002]@0/0: Entity not found
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Driver failed to start (exit status=1)

As requested:

erik@MinipcLG2:~$ ls -la /etc/nut
totaal 112
drwxr-xr-x   2 root nut   4096 nov  6 14:48 .
drwxr-xr-x 182 root root 12288 nov  6 03:30 ..
-rw-r--r--   1 root root    48 nov  2 18:01 hosts.conf
-rw-r-----   1 root nut     15 nov  2 16:42 nut.conf
-rw-r-----   1 root root  4156 nov  2 16:41 nut.example.conf
-rw-r-----   1 root root  4201 nov  2 16:41 upsched.example.conf
-rw-r-----   1 root nut    385 nov  2 18:01 ups.conf
-rw-r-----   1 root nut     20 nov  2 18:02 upsd.conf
-rw-r-----   1 root root  8247 nov  2 16:41 upsd.example.conf
-rw-r-----   1 root nut    116 nov  6 14:35 upsd.users
-rw-r-----   1 root root  9845 nov  2 16:41 ups.example.conf
-rw-r-----   1 root nut   1381 nov  6 14:35 upsmon.conf
-rw-r-----   1 root root 24344 nov  2 16:41 upsmon.example.conf
-rw-r--r--   1 root root  1120 nov  2 18:03 upssched-cmd.sh
-rw-r-----   1 root nut    745 nov  2 18:03 upssched.conf

EDIT
I don't understand how, but once, I got this:

erik@MinipcLG2:/etc/nut$ sudo upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
Can't open /run/nut/usbhid-ups-apcupskelder: No such file or directory
HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x0c
HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x22
HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x40
Using subdriver: APC HID 0.100
Initiating UPS shutdown
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it

But trying it again, resulted in failure again:

erik@MinipcLG2:/etc/nut$ sudo upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
select with socket: Invalid argument
Can't claim USB device [051d:0002]@0/0: Entity not found
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Driver failed to start (exit status=1)

Puzzling...

@jimklimov
Copy link
Member

Looks cool about getting the driver and upsmon to play together, finally.

I think sudo upsdrvctl shutdown suffers from a similar conflict with a running driver. Would it show more clues if you try passing debug verbosity to this copy of the driver - sudo upsdrvctl -DDDDDD -d shutdown ?

I think with #1917 in NUT v2.8.1 the driver program should have tried to communicate with the previous instance over its local socket (same as communications with upsd), so the originally running program would remain connected to the UPS and pass it the shutdown command(s). Maybe select with socket: Invalid argument is about inability to find or use that local socket, so it tries from scratch (and for some reason does not try to kill off the earlier copy of the driver program - e.g. if it did not leave PID files)?

@jimklimov
Copy link
Member

Also note, that if you get sudo upsdrvctl shutdown to work, it would immediately (or close to that) power off the UPS, without telling the OS to shut down.

You may be after upsmon -c fsd instead, so it would initiate the shutdown, and if the OS integration works well, that would call sudo upsdrvctl shutdown in the endgame (when NUT daemons are all down, along with other services), with no conflict for a running driver.

@jimklimov
Copy link
Member

jimklimov commented Nov 6, 2024

Alternately, you can try sending commands to the UPS (using the admin account created earlier and upscmd client) directly.

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

Would it show more clues if you try passing debug verbosity to this copy of the driver - sudo upsdrvctl -DDDDDD -d shutdown ?

erik@MinipcLG2:~$ sudo upsdrvctl -DDDDDD -d shutdown
Network UPS Tools - UPS driver controller 2.8.1
   0.000000     [D1] upsdrvctl commanding all drivers (1 found): (null)
   0.000009     [D1] Shutdown UPS: apcupskelder
   0.000015     [D2] exec:  /lib/nut/usbhid-ups -a apcupskelder -k
   0.000106     [D2] Starting driver with debug but without explicit backgrounding: will not wait for it to fork and detach, continuing...
   0.000127     [D1] upsdrvctl: successfully finished
   0.000131     [D1] Completed the job of upsdrvctl tool, cleaning up and exiting now
   0.000136     [D1] Completed the job of upsdrvctl tool, clean-up finished, exiting now

The UPS didn't power cylce.

You may be after upsmon -c fsd instead, so it would initiate the shutdown, and if the OS integration works well, that would call sudo upsdrvctl shutdown in the endgame (when NUT daemons are all down, along with other services), with no conflict for a running driver.

erik@MinipcLG2:~$ sudo upsmon -DDDDD -c fsd
Network UPS Tools upsmon 2.8.1
   0.000000     [D1] Signaled old daemon OK

The Linux box shut down, but the UPS didn't power cycle...

Alternately, you can try sending commands to the UPS (using the admin account created earlier and upscmd client) directly.

You mean like so:

erik@MinipcLG2:/etc/nut$ upscmd -u admin -p indUStr*a apcupskelder shutdown.reboot
OK

?

Unfortunately, again no power cycle.

(I've got a table lamp lit, so a power loss should be visible.)

@jimklimov
Copy link
Member

Looking at current code for the driver, the command sequence in

nut/drivers/usbhid-ups.c

Lines 969 to 993 in d244d73

void upsdrv_shutdown(void)
{
upsdebugx(1, "upsdrv_shutdown...");
/* Try to shutdown with delay */
if (instcmd("shutdown.return", NULL) == STAT_INSTCMD_HANDLED) {
/* Shutdown successful */
return;
}
/* If the above doesn't work, try shutdown.reboot */
if (instcmd("shutdown.reboot", NULL) == STAT_INSTCMD_HANDLED) {
/* Shutdown successful */
return;
}
/* If the above doesn't work, try load.off.delay */
if (instcmd("load.off.delay", NULL) == STAT_INSTCMD_HANDLED) {
/* Shutdown successful */
return;
}
upslogx(LOG_ERR, "Shutdown failed!");
set_exit_flag(-1);
}
is hard-coded to try several options (whichever works). Can you see if your UPS picks up the others?

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

Can you see if your UPS picks up the others?

I assume you mean the other options mentioned in that Java code?

erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a apcupskelder shutdown.return
Unexpected response from upsd: ERR CMD-NOT-SUPPORTED
erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a apcupskelder shutdown.reboot
OK
erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a apcupskelder load.off.delay
OK

No power cycle...

I also tried:

erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a apcupskelder load.off
OK

But no effect on the lamp.

FYI:

erik@MinipcLG2:/etc/nut$ upscmd -l apcupskelder
Instant commands supported on UPS [apcupskelder]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
driver.killpower - Tell the driver daemon to initiate UPS shutdown; should be unlocked with driver.flag.allow_killpower option or variable setting
driver.reload - Reload running driver configuration from the file system (only works for changes in some options)
driver.reload-or-error - Reload running driver configuration from the file system (only works for changes in some options); return an error if something changed and could not be applied live (so the caller can restart it with new options)
driver.reload-or-exit - Reload running driver configuration from the file system (only works for changes in some options); exit the running driver if something changed and could not be applied live (so service management framework can restart it with new options)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test

@jimklimov
Copy link
Member

"OK" there means the command was accepted by the driver. Please try upscmd -w ... to wait for the result, maybe it would report more details.

It may also be that the device model/firmware does not actually support that command, or we poke a wrong USB endpoint for that (e.g. worked for other related devices but not this one).

@jimklimov
Copy link
Member

And that's plain old C code ;)

@ErikDB87
Copy link
Author

ErikDB87 commented Nov 6, 2024

"OK" there means the command was accepted by the driver. Please try upscmd -w ... to wait for the result, maybe it would report more details.

erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a -w apcupskelder shutdown.reboot
SUCCESS
erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a -w apcupskelder shutdown.return
Unexpected response from upsd: ERR CMD-NOT-SUPPORTED
erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a -w apcupskelder load.off.delay
SUCCESS
erik@MinipcLG2:/etc/nut$ sudo upscmd -u admin -p indUStr*a -w apcupskelder load.off
SUCCESS

But no effect on the lamp...

It may also be that the device model/firmware does not actually support that command, or we poke a wrong USB endpoint for that (e.g. worked for other related devices but not this one).

What would that mean for my setup? End of the line? Or are there more avenues to be walked? :)

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 27, 2025

Now, try to sudo make install again, which should (I really hope) deliver that library to /usr/lib/x86_64-linux-gnu/...

Done.

Logs
erik@MinipcLG2:~/nut-issue-2666$ sudo make install
[sudo] wachtwoord voor erik:
Making install in include
make[1]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make  install-am
make[2]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 parseconf.h '/usr/include'
make[3]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
Making install in common
make[1]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make  install-am
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
Making install in clients
make[1]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommonclient.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommonclient.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libupsclient.la libnutclient.la libnutclientstub.la '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libupsclient.so.6.0.1 /usr/lib/x86_64-linux-gnu/libupsclient.so.6.0.1
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libupsclient.so.6.0.1 libupsclient.so.6 || { rm -f libupsclient.so.6 && ln -s libupsclient.so.6.0.1 libupsclient.so.6; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libupsclient.so.6.0.1 libupsclient.so || { rm -f libupsclient.so && ln -s libupsclient.so.6.0.1 libupsclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libupsclient.lai /usr/lib/x86_64-linux-gnu/libupsclient.la
libtool: install: /usr/bin/install -c .libs/libnutclient.so.2.0.2 /usr/lib/x86_64-linux-gnu/libnutclient.so.2.0.2
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclient.so.2.0.2 libnutclient.so.2 || { rm -f libnutclient.so.2 && ln -s libnutclient.so.2.0.2 libnutclient.so.2; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclient.so.2.0.2 libnutclient.so || { rm -f libnutclient.so && ln -s libnutclient.so.2.0.2 libnutclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutclient.lai /usr/lib/x86_64-linux-gnu/libnutclient.la
libtool: warning: relinking 'libnutclientstub.la'
libtool: install: (cd /home/erik/nut-issue-2666/clients; /bin/bash "/home/erik/nut-issue-2666/libtool"  --tag CXX --mode=relink g++ -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -version-info 1:1:0 -o libnutclientstub.la -rpath /usr/lib/x86_64-linux-gnu nutclientmem.lo libnutclient.la )
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o  .libs/nutclientmem.o   -L/usr/lib/x86_64-linux-gnu -lnutclient -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o  -g -O2   -Wl,-soname -Wl,libnutclientstub.so.1 -o .libs/libnutclientstub.so.1.0.1
libtool: install: /usr/bin/install -c .libs/libnutclientstub.so.1.0.1T /usr/lib/x86_64-linux-gnu/libnutclientstub.so.1.0.1
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclientstub.so.1.0.1 libnutclientstub.so.1 || { rm -f libnutclientstub.so.1 && ln -s libnutclientstub.so.1.0.1 libnutclientstub.so.1; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclientstub.so.1.0.1 libnutclientstub.so || { rm -f libnutclientstub.so && ln -s libnutclientstub.so.1.0.1 libnutclientstub.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutclientstub.lai /usr/lib/x86_64-linux-gnu/libnutclientstub.la
libtool: install: /usr/bin/install -c .libs/libupsclient.a /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: /usr/bin/install -c .libs/libnutclient.a /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: /usr/bin/install -c .libs/libnutclientstub.a /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/x86_64-linux-gnu
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsc upslog upsrw upscmd '/usr/bin'
libtool: install: /usr/bin/install -c .libs/upsc /usr/bin/upsc
libtool: install: /usr/bin/install -c .libs/upslog /usr/bin/upslog
libtool: install: /usr/bin/install -c .libs/upsrw /usr/bin/upsrw
libtool: install: /usr/bin/install -c .libs/upscmd /usr/bin/upscmd
 /usr/bin/mkdir -p '/usr/lib/cgi-bin/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsstats.cgi upsimage.cgi upsset.cgi '/usr/lib/cgi-bin/nut'
libtool: install: /usr/bin/install -c .libs/upsstats.cgi /usr/lib/cgi-bin/nut/upsstats.cgi
libtool: install: /usr/bin/install -c .libs/upsimage.cgi /usr/lib/cgi-bin/nut/upsimage.cgi
libtool: install: /usr/bin/install -c .libs/upsset.cgi /usr/lib/cgi-bin/nut/upsset.cgi
 /usr/bin/mkdir -p '/usr/bin'
 /usr/bin/install -c upssched-cmd '/usr/bin'
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsmon upssched '/usr/sbin'
libtool: install: /usr/bin/install -c .libs/upsmon /usr/sbin/upsmon
libtool: install: /usr/bin/install -c upssched /usr/sbin/upssched
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 upsclient.h nutclient.h nutclientmem.h '/usr/include'
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
Making install in conf
make[1]: Map '/home/erik/nut-issue-2666/conf' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/conf' wordt binnengegaan
 /usr/bin/mkdir -p '/etc/nut'
 /usr/bin/install -c -m 644 upsd.conf.sample upsd.users.sample nut.conf.sample ups.conf.sample hosts.conf.sample upsset.conf.sample upsstats.html.sample upsstats-single.html.sample '/etc/nut'
 /usr/bin/mkdir -p '/etc/nut'
 /usr/bin/install -c -m 644 upssched.conf.sample upsmon.conf.sample '/etc/nut'
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/conf' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/conf' wordt verlaten
Making install in data
make[1]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
Making install in html
make[2]: Map '/home/erik/nut-issue-2666/data/html' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/data/html' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/nut/www'
 /usr/bin/install -c -m 644 index.html bottom.html nut-banner.png '/usr/share/nut/www'
 /usr/bin/mkdir -p '/usr/share/nut/www'
 /usr/bin/install -c -m 644 header.html '/usr/share/nut/www'
make[3]: Map '/home/erik/nut-issue-2666/data/html' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data/html' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/nut'
 /usr/bin/install -c -m 644 cmdvartab '/usr/share/nut'
 /usr/bin/mkdir -p '/usr/share/nut'
 /usr/bin/install -c -m 644 driver.list '/usr/share/nut'
make[3]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
Making install in docs
make[1]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
Making install in man
make[2]: Map '/home/erik/nut-issue-2666/docs/man' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs/man' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/doc/nut/html-man'
make[3]: Map '/home/erik/nut-issue-2666/docs/man' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs/man' wordt verlaten
Making install in cables
make[2]: Map '/home/erik/nut-issue-2666/docs/cables' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs/cables' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/docs/cables' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs/cables' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
Making install in drivers
make[1]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommonclient.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonclient.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
 /usr/bin/mkdir -p '/lib/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c dummy-ups clone clone-outlet apcupsd-ups skel al175 bcmxcp belkin belkinunv bestfcom bestfortress bestuferrups bestups etapro everups gamatronic genericups isbmex liebert liebert-esp2 liebert-gxe masterguard metasys mge-utalk microdowell microsol-apc mge-shut
oneac optiups powercom rhino safenet nutdrv_siemens-sitop solis tripplite tripplitesu upscode2 victronups powerpanel blazer_ser ivtscd apcsmart apcsmart-old riello_ser sms_ser bicker_ser nhs_ser nutdrv_qx usbhid-ups bcmxcp_usb tripplite_usb blazer_usb richcomm_usb riello_usb nutdrv_atcl_usb phoenixcontact_modbus generic_modbus huawei-ups2000 socomec_jbus adelsystem_cbi apc_modbus '/lib/nut'
libtool: install: /usr/bin/install -c .libs/dummy-ups /lib/nut/dummy-ups
libtool: install: /usr/bin/install -c clone /lib/nut/clone
libtool: install: /usr/bin/install -c clone-outlet /lib/nut/clone-outlet
libtool: install: /usr/bin/install -c apcupsd-ups /lib/nut/apcupsd-ups
libtool: install: /usr/bin/install -c skel /lib/nut/skel
libtool: install: /usr/bin/install -c al175 /lib/nut/al175
libtool: install: /usr/bin/install -c bcmxcp /lib/nut/bcmxcp
libtool: install: /usr/bin/install -c belkin /lib/nut/belkin
libtool: install: /usr/bin/install -c belkinunv /lib/nut/belkinunv
libtool: install: /usr/bin/install -c bestfcom /lib/nut/bestfcom
libtool: install: /usr/bin/install -c bestfortress /lib/nut/bestfortress
libtool: install: /usr/bin/install -c bestuferrups /lib/nut/bestuferrups
libtool: install: /usr/bin/install -c bestups /lib/nut/bestups
libtool: install: /usr/bin/install -c etapro /lib/nut/etapro
libtool: install: /usr/bin/install -c everups /lib/nut/everups
libtool: install: /usr/bin/install -c gamatronic /lib/nut/gamatronic
libtool: install: /usr/bin/install -c genericups /lib/nut/genericups
libtool: install: /usr/bin/install -c isbmex /lib/nut/isbmex
libtool: install: /usr/bin/install -c liebert /lib/nut/liebert
libtool: install: /usr/bin/install -c liebert-esp2 /lib/nut/liebert-esp2
libtool: install: /usr/bin/install -c liebert-gxe /lib/nut/liebert-gxe
libtool: install: /usr/bin/install -c masterguard /lib/nut/masterguard
libtool: install: /usr/bin/install -c metasys /lib/nut/metasys
libtool: install: /usr/bin/install -c mge-utalk /lib/nut/mge-utalk
libtool: install: /usr/bin/install -c microdowell /lib/nut/microdowell
libtool: install: /usr/bin/install -c microsol-apc /lib/nut/microsol-apc
libtool: install: /usr/bin/install -c mge-shut /lib/nut/mge-shut
libtool: install: /usr/bin/install -c oneac /lib/nut/oneac
libtool: install: /usr/bin/install -c optiups /lib/nut/optiups
libtool: install: /usr/bin/install -c powercom /lib/nut/powercom
libtool: install: /usr/bin/install -c rhino /lib/nut/rhino
libtool: install: /usr/bin/install -c safenet /lib/nut/safenet
libtool: install: /usr/bin/install -c nutdrv_siemens-sitop /lib/nut/nutdrv_siemens-sitop
libtool: install: /usr/bin/install -c solis /lib/nut/solis
libtool: install: /usr/bin/install -c tripplite /lib/nut/tripplite
libtool: install: /usr/bin/install -c tripplitesu /lib/nut/tripplitesu
libtool: install: /usr/bin/install -c upscode2 /lib/nut/upscode2
libtool: install: /usr/bin/install -c victronups /lib/nut/victronups
libtool: install: /usr/bin/install -c powerpanel /lib/nut/powerpanel
libtool: install: /usr/bin/install -c blazer_ser /lib/nut/blazer_ser
libtool: install: /usr/bin/install -c ivtscd /lib/nut/ivtscd
libtool: install: /usr/bin/install -c apcsmart /lib/nut/apcsmart
libtool: install: /usr/bin/install -c apcsmart-old /lib/nut/apcsmart-old
libtool: install: /usr/bin/install -c riello_ser /lib/nut/riello_ser
libtool: install: /usr/bin/install -c sms_ser /lib/nut/sms_ser
libtool: install: /usr/bin/install -c bicker_ser /lib/nut/bicker_ser
libtool: install: /usr/bin/install -c nhs_ser /lib/nut/nhs_ser
libtool: install: /usr/bin/install -c nutdrv_qx /lib/nut/nutdrv_qx
libtool: install: /usr/bin/install -c usbhid-ups /lib/nut/usbhid-ups
libtool: install: /usr/bin/install -c bcmxcp_usb /lib/nut/bcmxcp_usb
libtool: install: /usr/bin/install -c tripplite_usb /lib/nut/tripplite_usb
libtool: install: /usr/bin/install -c blazer_usb /lib/nut/blazer_usb
libtool: install: /usr/bin/install -c richcomm_usb /lib/nut/richcomm_usb
libtool: install: /usr/bin/install -c riello_usb /lib/nut/riello_usb
libtool: install: /usr/bin/install -c nutdrv_atcl_usb /lib/nut/nutdrv_atcl_usb
libtool: install: /usr/bin/install -c phoenixcontact_modbus /lib/nut/phoenixcontact_modbus
libtool: install: /usr/bin/install -c generic_modbus /lib/nut/generic_modbus
libtool: install: /usr/bin/install -c huawei-ups2000 /lib/nut/huawei-ups2000
libtool: install: /usr/bin/install -c socomec_jbus /lib/nut/socomec_jbus
libtool: install: /usr/bin/install -c adelsystem_cbi /lib/nut/adelsystem_cbi
libtool: install: /usr/bin/install -c apc_modbus /lib/nut/apc_modbus
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsdrvctl '/usr/sbin'
libtool: install: /usr/bin/install -c upsdrvctl /usr/sbin/upsdrvctl
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
Making install in tools
make[1]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
Making install in .
make[2]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
Making install in nut-scanner
make[2]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make  install-am
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make[4]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonclient.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[4]: 'libserial-nutscan.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonstr.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make[5]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[6]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[6]: 'libcommonclient.la' is up-to-date.
make[6]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[5]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[5]: 'libserial-nutscan.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonstr.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libnutscan.la '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libnutscan.so.2.0.6 /usr/lib/x86_64-linux-gnu/libnutscan.so.2.0.6
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutscan.so.2.0.6 libnutscan.so.2 || { rm -f libnutscan.so.2 && ln -s libnutscan.so.2.0.6 libnutscan.so.2; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutscan.so.2.0.6 libnutscan.so || { rm -f libnutscan.so && ln -s libnutscan.so.2.0.6 libnutscan.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutscan.lai /usr/lib/x86_64-linux-gnu/libnutscan.la
libtool: install: /usr/bin/install -c .libs/libnutscan.a /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/x86_64-linux-gnu
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c nut-scanner '/usr/bin'
libtool: install: /usr/bin/install -c .libs/nut-scanner /usr/bin/nut-scanner
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 nut-scan.h nutscan-device.h nutscan-ip.h nutscan-init.h nutscan-serial.h '/usr/include'
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
Making install in nutconf
make[2]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libnutconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonclient.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[4]: 'libserial-nutscan.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonstr.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommon.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libnutconf.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[6]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[6]: 'libcommonclient.la' is up-to-date.
make[6]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[5]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[5]: 'libserial-nutscan.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonstr.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c nutconf '/usr/bin'
libtool: install: /usr/bin/install -c .libs/nutconf /usr/bin/nutconf
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
Making install in lib
make[1]: Map '/home/erik/nut-issue-2666/lib' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/lib' wordt binnengegaan
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 libupsclient.pc libnutscan.pc libnutclient.pc libnutclientstub.pc '/usr/lib/x86_64-linux-gnu/pkgconfig'
make[2]: Map '/home/erik/nut-issue-2666/lib' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/lib' wordt verlaten
Making install in scripts
make[1]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
Making install in augeas
make[2]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/augeas/lenses'
 /usr/bin/install -c -m 644 nuthostsconf.aug nutupsconf.aug nutupsdusers.aug nutupsschedconf.aug nutnutconf.aug nutupsdconf.aug nutupsmonconf.aug nutupssetconf.aug '/usr/share/augeas/lenses'
 /usr/bin/mkdir -p '/usr/share/augeas/lenses/tests'
 /usr/bin/install -c -m 644 tests/test_nut.aug '/usr/share/augeas/lenses/tests'
make[3]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt verlaten
Making install in devd
make[2]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt verlaten
Making install in hotplug
make[2]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt verlaten
Making install in installer
make[2]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt verlaten
Making install in python
make[2]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
Making install in module
make[3]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/install -c -m 644 module/PyNUT.py '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/mkdir -p '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/install -c module/test_nutclient.py '/usr/local/lib/python3.12/dist-packages'
make[4]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
Making install in systemd
make[2]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt binnengegaan
 /usr/bin/mkdir -p '/usr/lib/nut'
 /usr/bin/install -c ../upsdrvsvcctl/nut-driver-enumerator.sh '/usr/lib/nut'
 /usr/bin/mkdir -p '/usr/sbin'
 /usr/bin/install -c ../upsdrvsvcctl/upsdrvsvcctl '/usr/sbin'
 /usr/bin/mkdir -p '/usr/lib/systemd/system-shutdown'
 /usr/bin/install -c nutshutdown '/usr/lib/systemd/system-shutdown'
 /usr/bin/mkdir -p '/usr/lib/systemd/system-preset'
 /usr/bin/install -c -m 644 nut-systemd.preset '/usr/lib/systemd/system-preset'
 /usr/bin/mkdir -p '/lib/systemd/system'
 /usr/bin/install -c -m 644 nut-driver-enumerator.service nut-driver-enumerator.path nut-driver-enumerator-daemon-activator.path nut-driver-enumerator-daemon-activator.service nut-driver-enumerator-daemon.service [email protected] nut-logger.service nut-monitor.service nut-server.service nut-driver.target nut.target
'/lib/systemd/system'
 /usr/bin/mkdir -p '/usr/lib/tmpfiles.d'
 /usr/bin/install -c -m 644 nut-common-tmpfiles.conf '/usr/lib/tmpfiles.d'
make[3]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt verlaten
Making install in udev
make[2]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/lib/udev/rules.d'
 /usr/bin/install -c -m 644 62-nut-usbups.rules '/lib/udev/rules.d'
make[3]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt verlaten
Making install in ufw
make[2]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt verlaten
Making install in Solaris
make[2]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt verlaten
Making install in Windows
make[2]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt verlaten
Making install in upsdrvsvcctl
make[2]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt binnengegaanmake[3]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt binnengegaanmake[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
Making install in server
make[1]: Map '/home/erik/nut-issue-2666/server' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/server' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c sockdebug '/usr/lib/nut'
libtool: install: /usr/bin/install -c sockdebug /usr/lib/nut/sockdebug
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsd '/usr/sbin'
libtool: install: /usr/bin/install -c upsd /usr/sbin/upsd
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/server' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/server' wordt verlaten
Making install in tests
make[1]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
make  install-recursive
make[2]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
Making install in .
make[3]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
Making install in NIT
make[3]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Map '/home/erik/nut-issue-2666' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666' wordt verlaten
erik@MinipcLG2:/usr/lib/x86_64-linux-gnu$ ls -pal | grep libups
-rw-r--r--   1 root root    500146 jan 27 21:39 libupsclient.a
-rwxr-xr-x   1 root root      1040 jan 27 21:39 libupsclient.la
lrwxrwxrwx   1 root root        21 jan 27 21:39 libupsclient.so -> libupsclient.so.6.0.1
lrwxrwxrwx   1 root root        21 jan 27 21:39 libupsclient.so.6 -> libupsclient.so.6.0.1
-rwxr-xr-x   1 root root    285552 jan 27 21:39 libupsclient.so.6.0.1
erik@MinipcLG2:/usr/lib/x86_64-linux-gnu$ sudo upsc apcupskelder
Init SSL without certificate database
Error: Driver not connected

But after a restart this morning (see message below):

erik@MinipcLG2:~$ sudo upsc apcupskelder
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.mfr.date: 2001/01/01
battery.runtime: 2648
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 13.6
battery.voltage.nominal: 12.0
device.mfr: American Power Conversion
device.model: Back-UPS BX750MI
device.serial: 9B2416A22014
device.type: ups
driver.debug: 6
driver.flag.allow_killpower: 0
driver.name: usbhid-ups
driver.parameter.interrupt_pipe_no_events_tolerance: -1
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 1
driver.parameter.port: auto
driver.parameter.productid: 0002
driver.parameter.serial: 9B2416A22014
driver.parameter.synchronous: auto
driver.parameter.vendorid: 051d
driver.state: quiet
driver.version: 2.7.4.11052.56-11108-g788888094
driver.version.data: APC HID 0.100
driver.version.internal: 0.60
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.sensitivity: medium
input.transfer.high: 295
input.transfer.low: 145
input.voltage: 230.0
input.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 295202G -302202G
ups.load: 16
ups.mfr: American Power Conversion
ups.mfr.date: 2024/04/23
ups.model: Back-UPS BX750MI
ups.productid: 0002
ups.realpower.nominal: 410
ups.serial: 9B2416A22014
ups.status: OL
ups.test.result: Done and passed
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d 

Any antiviruses there that could break into copy/install routine and block a file being written? Any storage issues (e.g. untimely reset soon after install, so the file became a lost cluster chain)?..

No antivirus, and no storage problems that I know of... Are there any tests you can suggest I run?

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 28, 2025

Tonight, my Linux system shut down for no clear reason... After some checking:

erik@MinipcLG2:/etc/nut$ sudo cat /etc/nut/upsmon.conf
RUN_AS_USER nut
#MONITOR apcupskelder@localhost 1 admin indUStr*a primary # Deleted 03/01/2025
MONITOR apcupskelder@localhost 1 upsmon indUStr*a primary


MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
POLLFREQ 2
POLLFREQALERT 1
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/nut/killpower

NOTIFYMSG ONLINE    "UPS %s on line power"
NOTIFYMSG ONBATT    "UPS %s on battery"
NOTIFYMSG LOWBATT   "UPS %s battery is low"
NOTIFYMSG FSD       "UPS %s: forced shutdown in progress"
NOTIFYMSG COMMOK    "Communications with UPS %s established"
NOTIFYMSG COMMBAD   "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN  "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT  "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM    "UPS %s is unavailable"
NOTIFYMSG NOPARENT  "upsmon parent process died - shutdown impossible"

NOTIFYFLAG ONLINE   SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT   SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT  SYSLOG+WALL
NOTIFYFLAG FSD      SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK   SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD  SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL
NOTIFYFLAG NOCOMM   SYSLOG+WALL+EXEC
NOTIFYFLAG NOPARENT SYSLOG+WALL

RBWARNTIME 43200

NOCOMMWARNTIME 600

FINALDELAY 5

erik@MinipcLG2:/etc/nut$ sudo cat upssched.conf
CMDSCRIPT /etc/nut/upssched-cmd.sh
PIPEFN /etc/nut/upssched.pipe
LOCKFN /etc/nut/upssched.lock

# Starts a timer when the UPS switches to battery power
AT ONBATT * START-TIMER shutdown_timer 1200

# Cancels the shutdown timer when power is restored
AT ONLINE * CANCEL-TIMER shutdown_timer

# Executes immediate shutdown when battery is low
AT LOWBATT * EXECUTE immediate_shutdown

# Starts a timer on communication failure
AT COMMBAD * START-TIMER commbad_timer 1200

# Cancels the communication failure timer when communication is restored
AT COMMOK * CANCEL-TIMER commbad_timer

# Executes shutdown on persistent communication failure
AT NOCOMM * EXECUTE commbad_shutdown

# Executes powerdown on system shutdown
AT SHUTDOWN * EXECUTE powerdown

erik@MinipcLG2:/etc/nut$ cat upssched-cmd.sh
#!/bin/sh

case $1 in
    shutdown_timer)
        # Log the event and initiate a controlled shutdown
        logger -t upssched-cmd "UPS running on battery for too long, initiating shutdown"
        /usr/sbin/upsmon -c fsd
        ;;

    immediate_shutdown)
        # Log the critical battery status and initiate immediate shutdown
        logger -t upssched-cmd "UPS on battery critical, forced shutdown"
        /usr/sbin/upsmon -c fsd
        ;;

    commbad_timer)
        # Log persistent communication failures and initiate shutdown
        logger -t upssched-cmd "UPS communication failure persists, initiating shutdown"
        /usr/sbin/upsmon -c fsd
        ;;

    commbad_shutdown)
        # Log communication failure and initiate shutdown
        logger -t upssched-cmd "UPS communication failed, initiating shutdown"
        /usr/sbin/upsmon -c fsd
        ;;

    powerdown)
        # Log the execution of the shutdown
        logger -t upssched-cmd "Executing powerdown command"
        ;;

    *)
        # Log unknown commands
        logger -t upssched-cmd "Unrecognized command: $1"
        ;;
esac

erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "on line power"
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "on battery"
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "battery is low"
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "battery needs to be replaced"
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "upsmon parent process died - shutdown impossible"

erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "Communications with UPS"
2025-01-28T03:39:34.987582+01:00 MinipcLG2 nut-monitor[1453]: Communications with UPS apcupskelder@localhost lost
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "is unavailable"
2025-01-28T03:39:39.994037+01:00 MinipcLG2 nut-monitor[1453]: UPS apcupskelder@localhost is unavailable
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "UPS communication failed, initiating shutdown"
2025-01-28T03:39:40.013149+01:00 MinipcLG2 upssched-cmd: UPS communication failed, initiating shutdown
erik@MinipcLG2:/etc/nut$ cat /var/log/syslog | grep -i "Auto logout and shutdown proceeding"
2025-01-28T03:39:45.034791+01:00 MinipcLG2 nut-monitor[1453]: Auto logout and shutdown proceeding

Strange that this NOCOMM issue appeared almost 6 hours after any change to the NUT "environment", and wasn't ever a problem before...

@jimklimov
Copy link
Member

You might see more in journalctl -lu nut-server, repeat for nut-monitor, nut-driver@yourupsname if their systemd registration worked. Or generally sudo journalctl -xn to check all system events around that timestamp/message to see if any shed more light (e.g. USB bus reset, UPS lost, not reconnected, 20 minutes later the shutdown; or more likely something with upsd).

Given localhost, you can comment away the comms triggers - they are primarily for networked racks, where loss of comms may mean the data server died. Or a switch along the way. And did not return after 20 minutes - so likely power is failing and the client (away from UPS) has no way of knowing better.

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 28, 2025

journalctl -lu nut-server
jan 28 03:30:42 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:30:42 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 01:55:35 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 01:55:35 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:00:36 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:00:36 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:05:36 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:05:36 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:10:36 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:10:36 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:15:37 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:15:37 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:20:37 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:20:37 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:25:37 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:25:37 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:30:38 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:30:38 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:35:38 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:35:38 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:40:38 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:40:38 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:45:39 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:45:39 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:50:39 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:50:39 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:55:39 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 02:55:39 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:00:40 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:00:40 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:05:40 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:05:40 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:10:40 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:10:40 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:15:41 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:15:41 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:20:41 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:20:41 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:25:41 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:25:41 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:30:42 MinipcLG2 nut-server[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:30:42 MinipcLG2 upsd[1380]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:31:55 MinipcLG2 nut-server[1380]: mainloop: Interrupted system call
jan 28 03:31:55 MinipcLG2 nut-server[1380]: Signal 15: exiting
jan 28 03:31:55 MinipcLG2 upsd[1380]: mainloop: Interrupted system call
jan 28 03:31:55 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:31:55 MinipcLG2 upsd[1380]: Signal 15: exiting
jan 28 03:31:55 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:31:55 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:31:55 MinipcLG2 systemd[1]: nut-server.service: Consumed 11.213s CPU time, 1.9M memory peak, 0B memory swap peak.
jan 28 03:31:55 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:31:55 MinipcLG2 nut-server[323161]: Network UPS Tools upsd 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:31:55 MinipcLG2 nut-server[323161]: listening on 0.0.0.0 port 3493
jan 28 03:31:55 MinipcLG2 upsd[323161]: listening on 0.0.0.0 port 3493
jan 28 03:31:55 MinipcLG2 nut-server[323161]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:31:55 MinipcLG2 nut-server[323161]: Found 1 UPS defined in ups.conf
jan 28 03:31:55 MinipcLG2 upsd[323161]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:31:55 MinipcLG2 upsd[323161]: Found 1 UPS defined in ups.conf
jan 28 03:31:55 MinipcLG2 nut-server[323161]: Running as foreground process, but saving a PID file anyway
jan 28 03:31:55 MinipcLG2 upsd[323161]: Running as foreground process, but saving a PID file anyway
jan 28 03:31:55 MinipcLG2 nut-server[323161]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:31:55 MinipcLG2 upsd[323161]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:31:55 MinipcLG2 nut-server[323164]: Limit                     Soft Limit           Hard Limit           Units
jan 28 03:31:55 MinipcLG2 nut-server[323164]: Max open files            1048576              1048576              files
jan 28 03:31:55 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:35:48 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:35:48 MinipcLG2 upsd[323161]: mainloop: Interrupted system call
jan 28 03:35:48 MinipcLG2 nut-server[323161]: mainloop: Interrupted system call
jan 28 03:35:48 MinipcLG2 nut-server[323161]: Signal 15: exiting
jan 28 03:35:48 MinipcLG2 upsd[323161]: Signal 15: exiting
jan 28 03:35:48 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:35:48 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:35:48 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:35:48 MinipcLG2 nut-server[347384]: Network UPS Tools upsd 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:35:48 MinipcLG2 upsd[347384]: listening on 0.0.0.0 port 3493
jan 28 03:35:48 MinipcLG2 nut-server[347384]: listening on 0.0.0.0 port 3493
jan 28 03:35:48 MinipcLG2 nut-server[347384]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:35:48 MinipcLG2 upsd[347384]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:35:48 MinipcLG2 nut-server[347384]: Found 1 UPS defined in ups.conf
jan 28 03:35:48 MinipcLG2 upsd[347384]: Found 1 UPS defined in ups.conf
jan 28 03:35:48 MinipcLG2 nut-server[347384]: Running as foreground process, but saving a PID file anyway
jan 28 03:35:48 MinipcLG2 upsd[347384]: Running as foreground process, but saving a PID file anyway
jan 28 03:35:48 MinipcLG2 upsd[347384]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:35:49 MinipcLG2 nut-server[347384]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:35:49 MinipcLG2 nut-server[347406]: Limit                     Soft Limit           Hard Limit           Units
jan 28 03:35:49 MinipcLG2 nut-server[347406]: Max open files            1048576              1048576              files
jan 28 03:36:08 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:36:08 MinipcLG2 upsd[347384]: mainloop: Interrupted system call
jan 28 03:36:08 MinipcLG2 nut-server[347384]: mainloop: Interrupted system call
jan 28 03:36:08 MinipcLG2 nut-server[347384]: Signal 15: exiting
jan 28 03:36:08 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:36:08 MinipcLG2 upsd[347384]: Signal 15: exiting
jan 28 03:36:08 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:36:08 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:36:08 MinipcLG2 nut-server[348080]: Network UPS Tools upsd 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:36:08 MinipcLG2 nut-server[348080]: listening on 0.0.0.0 port 3493
jan 28 03:36:08 MinipcLG2 upsd[348080]: listening on 0.0.0.0 port 3493
jan 28 03:36:08 MinipcLG2 nut-server[348080]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:36:08 MinipcLG2 nut-server[348080]: Found 1 UPS defined in ups.conf
jan 28 03:36:08 MinipcLG2 upsd[348080]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:36:08 MinipcLG2 upsd[348080]: Found 1 UPS defined in ups.conf
jan 28 03:36:08 MinipcLG2 nut-server[348080]: Running as foreground process, but saving a PID file anyway
jan 28 03:36:08 MinipcLG2 upsd[348080]: Running as foreground process, but saving a PID file anyway
jan 28 03:36:08 MinipcLG2 nut-server[348080]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:36:08 MinipcLG2 upsd[348080]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:36:08 MinipcLG2 nut-server[348099]: Limit                     Soft Limit           Hard Limit           Units
jan 28 03:36:08 MinipcLG2 nut-server[348099]: Max open files            1048576              1048576              files
jan 28 03:36:08 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:38:56 MinipcLG2 upsd[348080]: mainloop: Interrupted system call
jan 28 03:38:56 MinipcLG2 nut-server[348080]: mainloop: Interrupted system call
jan 28 03:38:56 MinipcLG2 nut-server[348080]: Signal 15: exiting
jan 28 03:38:56 MinipcLG2 upsd[348080]: Signal 15: exiting
jan 28 03:38:56 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:38:56 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:38:56 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
-- Boot dc5ceb7b5c364a9ea8aa21ee26fe9a76 --
jan 28 03:39:34 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Network UPS Tools upsd 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:39:34 MinipcLG2 nut-server[1400]: listening on 0.0.0.0 port 3493
jan 28 03:39:34 MinipcLG2 upsd[1400]: listening on 0.0.0.0 port 3493
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Found 1 UPS defined in ups.conf
jan 28 03:39:34 MinipcLG2 upsd[1400]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:39:34 MinipcLG2 upsd[1400]: Found 1 UPS defined in ups.conf
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Running as foreground process, but saving a PID file anyway
jan 28 03:39:34 MinipcLG2 upsd[1400]: Running as foreground process, but saving a PID file anyway
jan 28 03:39:34 MinipcLG2 nut-server[1400]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:39:34 MinipcLG2 upsd[1400]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:39:34 MinipcLG2 nut-server[1418]: Limit                     Soft Limit           Hard Limit           Units
jan 28 03:39:34 MinipcLG2 nut-server[1418]: Max open files            1048576              1048576              files
jan 28 03:39:34 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:39:34 MinipcLG2 nut-server[1400]: User [email protected] logged into UPS [apcupskelder]
jan 28 03:39:34 MinipcLG2 upsd[1400]: User [email protected] logged into UPS [apcupskelder]
jan 28 03:39:45 MinipcLG2 nut-server[1400]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 03:39:45 MinipcLG2 upsd[1400]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 03:39:50 MinipcLG2 upsd[1400]: mainloop: Interrupted system call
jan 28 03:39:50 MinipcLG2 nut-server[1400]: mainloop: Interrupted system call
jan 28 03:39:50 MinipcLG2 nut-server[1400]: Signal 15: exiting
jan 28 03:39:50 MinipcLG2 upsd[1400]: Signal 15: exiting
jan 28 03:39:50 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:39:50 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:39:50 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
-- Boot cd00fe845be0414c8c759e1a18bc4284 --
jan 28 07:49:51 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 07:49:51 MinipcLG2 nut-server[1431]: Network UPS Tools upsd 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 07:49:51 MinipcLG2 nut-server[1431]: listening on 0.0.0.0 port 3493
jan 28 07:49:51 MinipcLG2 upsd[1431]: listening on 0.0.0.0 port 3493
jan 28 07:49:51 MinipcLG2 upsd[1431]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 07:49:51 MinipcLG2 nut-server[1431]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 07:49:51 MinipcLG2 nut-server[1431]: Found 1 UPS defined in ups.conf
jan 28 07:49:51 MinipcLG2 nut-server[1431]: Running as foreground process, but saving a PID file anyway
jan 28 07:49:51 MinipcLG2 upsd[1431]: Found 1 UPS defined in ups.conf
jan 28 07:49:51 MinipcLG2 upsd[1431]: Running as foreground process, but saving a PID file anyway
jan 28 07:49:51 MinipcLG2 nut-server[1431]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 07:49:51 MinipcLG2 upsd[1431]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 07:49:51 MinipcLG2 nut-server[1461]: Limit                     Soft Limit           Hard Limit           Units
jan 28 07:49:51 MinipcLG2 nut-server[1461]: Max open files            1048576              1048576              files
jan 28 07:49:51 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 07:49:52 MinipcLG2 nut-server[1431]: User [email protected] logged into UPS [apcupskelder]
jan 28 07:49:52 MinipcLG2 upsd[1431]: User [email protected] logged into UPS [apcupskelder]
jan 28 09:00:52 MinipcLG2 nut-server[1431]: User [email protected] logged out from UPS [apcupskelder]
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Found 1 UPS defined in ups.conf
jan 28 03:39:34 MinipcLG2 upsd[1400]: Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder): No such file or directory
jan 28 03:39:34 MinipcLG2 upsd[1400]: Found 1 UPS defined in ups.conf
jan 28 03:39:34 MinipcLG2 nut-server[1400]: Running as foreground process, but saving a PID file anyway
jan 28 03:39:34 MinipcLG2 upsd[1400]: Running as foreground process, but saving a PID file anyway
jan 28 03:39:34 MinipcLG2 nut-server[1400]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:39:34 MinipcLG2 upsd[1400]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:39:34 MinipcLG2 nut-server[1418]: Limit                     Soft Limit           Hard Limit           Units
jan 28 03:39:34 MinipcLG2 nut-server[1418]: Max open files            1048576              1048576              files
jan 28 03:39:34 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 03:39:34 MinipcLG2 nut-server[1400]: User [email protected] logged into UPS [apcupskelder]
jan 28 03:39:34 MinipcLG2 upsd[1400]: User [email protected] logged into UPS [apcupskelder]
jan 28 03:39:45 MinipcLG2 nut-server[1400]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 03:39:45 MinipcLG2 upsd[1400]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 03:39:50 MinipcLG2 upsd[1400]: mainloop: Interrupted system call
jan 28 03:39:50 MinipcLG2 nut-server[1400]: mainloop: Interrupted system call
jan 28 03:39:50 MinipcLG2 nut-server[1400]: Signal 15: exiting
jan 28 03:39:50 MinipcLG2 upsd[1400]: Signal 15: exiting
jan 28 03:39:50 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 03:39:50 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 03:39:50 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
journalctl -lu nut-monitor
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Scheduled restart job, restart counter is at 4.
jan 26 13:13:14 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
jan 26 13:13:14 MinipcLG2 nut-monitor[1606]: /usr/sbin/upsmon: error while loading shared libraries: libupsclient.so.6: cannot open shared object file: No >
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Main process exited, code=exited, status=127/n/a
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Failed with result 'exit-code'.
jan 26 13:13:14 MinipcLG2 systemd[1]: Failed to start nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Scheduled restart job, restart counter is at 5.
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Start request repeated too quickly.
jan 26 13:13:14 MinipcLG2 systemd[1]: nut-monitor.service: Failed with result 'exit-code'.
jan 26 13:13:14 MinipcLG2 systemd[1]: Failed to start nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
-- Boot dc5ceb7b5c364a9ea8aa21ee26fe9a76 --
jan 28 03:39:34 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: Network UPS Tools upsmon 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: UPS: apcupskelder@localhost (primary) (power value 1)
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: Using power down flag file /etc/nut/killpower
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: Init SSL without certificate database
jan 28 03:39:34 MinipcLG2 systemd[1]: nut-monitor.service: Supervising process 1453 which is not our child. We'll most likely not notice when it exits.
jan 28 03:39:34 MinipcLG2 systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: upsmon: initialized OS integration for sleep inhibitor
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: upsmon: initialized OS integration for sleep/wake monitoring
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: Communications with UPS apcupskelder@localhost lost
jan 28 03:39:39 MinipcLG2 nut-monitor[1453]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 03:39:39 MinipcLG2 nut-monitor[1453]: UPS apcupskelder@localhost is unavailable
jan 28 03:39:40 MinipcLG2 nut-monitor[1803]: Network UPS Tools upsmon 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:39:40 MinipcLG2 nut-monitor[1453]: Signal 10: User requested FSD
jan 28 03:39:42 MinipcLG2 nut-monitor[1561]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 03:39:42 MinipcLG2 upssched[1561]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 03:39:45 MinipcLG2 nut-monitor[1453]: Executing automatic power-fail shutdown
jan 28 03:39:45 MinipcLG2 nut-monitor[1453]: Auto logout and shutdown proceeding
jan 28 03:39:50 MinipcLG2 shutdown[1853]: Shutdown scheduled for Tue 2025-01-28 03:39:50 CET, use 'shutdown -c' to cancel.
jan 28 03:39:50 MinipcLG2 systemd[1]: nut-monitor.service: Deactivated successfully.
-- Boot cd00fe845be0414c8c759e1a18bc4284 --
jan 28 07:49:52 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
jan 28 07:49:52 MinipcLG2 nut-monitor[1479]: Network UPS Tools upsmon 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 07:49:52 MinipcLG2 nut-monitor[1479]: UPS: apcupskelder@localhost (primary) (power value 1)
jan 28 07:49:52 MinipcLG2 nut-monitor[1479]: Using power down flag file /etc/nut/killpower
jan 28 07:49:52 MinipcLG2 nut-monitor[1499]: Init SSL without certificate database
jan 28 07:49:52 MinipcLG2 systemd[1]: nut-monitor.service: Supervising process 1499 which is not our child. We'll most likely not notice when it exits.

I also tried journalctl -lu nut-driver@apcupskelder, but that gave way to much output, and journalctl -lu nut-driver@apcupskelder | grep "jan 28 03" kept "thinking", but didn't give any output - I hit CTRL + C after 5 minutes.

Given localhost, you can comment away the comms triggers - they are primarily for networked racks, where loss of comms may mean the data server died. Or a switch along the way. And did not return after 20 minutes - so likely power is failing and the client (away from UPS) has no way of knowing better.

You mean the below lines in /etc/nut/upssched.conf?

# Starts a timer on communication failure
AT COMMBAD * START-TIMER commbad_timer 1200

# Cancels the communication failure timer when communication is restored
AT COMMOK * CANCEL-TIMER commbad_timer

# Executes shutdown on persistent communication failure
AT NOCOMM * EXECUTE commbad_shutdown

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 28, 2025

erik@MinipcLG2:~/nut-issue-2666$ sudo usbhid-ups -DDDDDD -a apcupskelder -k
sudo: usbhid-ups: opdracht niet gevonden

How is this possible?

erik@MinipcLG2:~/nut-issue-2666$ ps -ef | grep -E 'nut|ups'
nut          973       1  0 09:08 ?        00:00:14 /lib/nut/usbhid-ups -FF -a apcupskelder
root        1357       1  0 09:08 ?        00:00:00 /usr/sbin/cupsd -l
nut         1376       1  0 09:08 ?        00:00:01 /usr/sbin/upsd -FF
root        1437       1  0 09:08 ?        00:00:00 /usr/sbin/upsmon -F
nut         1441    1437  0 09:08 ?        00:00:02 /usr/sbin/upsmon -F
lp          1542    1357  0 09:08 ?        00:00:00 /usr/lib/cups/notifier/dbus dbus://
lp          1544    1357  0 09:08 ?        00:00:00 /usr/lib/cups/notifier/dbus dbus://
lp          1546    1357  0 09:08 ?        00:00:00 /usr/lib/cups/notifier/dbus dbus://
root        1783       1  0 09:08 ?        00:00:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
cups-br+    2499       1  0 09:10 ?        00:00:00 /usr/sbin/cups-browsed
erik        8731    1901  0 10:34 pts/0    00:00:00 grep --color=auto -E nut|ups

erik@MinipcLG2:/lib/nut$ ls -pal | grep upshid
erik@MinipcLG2:/lib/nut$

I realized I first had another git pulled, in directory ~/nut. I now ran sudo make uninstall in that directory, deleted it, and ran sudo make install once again in ~/nut-issue-2666.

Output
erik@MinipcLG2:~/nut$ sudo make uninstall
Making uninstall in include
make[1]: Map '/home/erik/nut/include' wordt binnengegaan
make[1]: Map '/home/erik/nut/include' wordt verlaten
Making uninstall in common
make[1]: Map '/home/erik/nut/common' wordt binnengegaan
make[1]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[1]: Map '/home/erik/nut/common' wordt verlaten
Making uninstall in clients
make[1]: Map '/home/erik/nut/clients' wordt binnengegaan
 ( cd '/usr/bin' && rm -f upsc upslog upsrw upscmd )
 ( cd '/usr/bin' && rm -f upssched-cmd )
 /bin/bash ../libtool   --mode=uninstall rm -f '/usr/lib/libupsclient.la'
 /bin/bash ../libtool   --mode=uninstall rm -f '/usr/lib/libnutclient.la'
 /bin/bash ../libtool   --mode=uninstall rm -f '/usr/lib/libnutclientstub.la'
 ( cd '/usr/sbin' && rm -f upsmon upssched )
make[1]: Map '/home/erik/nut/clients' wordt verlaten
Making uninstall in conf
make[1]: Map '/home/erik/nut/conf' wordt binnengegaan
 ( cd '/etc/nut' && rm -f upsd.conf.sample upsd.users.sample nut.conf.sample ups.conf.sample )
 ( cd '/etc/nut' && rm -f upssched.conf.sample upsmon.conf.sample )
make[1]: Map '/home/erik/nut/conf' wordt verlaten
Making uninstall in data
make[1]: Map '/home/erik/nut/data' wordt binnengegaan
Making uninstall in html
make[2]: Map '/home/erik/nut/data/html' wordt binnengegaan
make[2]: Map '/home/erik/nut/data/html' wordt verlaten
make[2]: Map '/home/erik/nut/data' wordt binnengegaan
 ( cd '/usr/share' && rm -f cmdvartab )
 ( cd '/usr/share' && rm -f driver.list )
make[2]: Map '/home/erik/nut/data' wordt verlaten
make[1]: Map '/home/erik/nut/data' wordt verlaten
Making uninstall in docs
make[1]: Map '/home/erik/nut/docs' wordt binnengegaan
Making uninstall in man
make[2]: Map '/home/erik/nut/docs/man' wordt binnengegaan
 ( cd '/usr/share/man/man5' && rm -f nut.conf.5 ups.conf.5 upsd.conf.5 upsd.users.5 upsmon.conf.5 upssched.conf.5 )
 ( cd '/usr/share/man/man8' && rm -f nutupsdrv.8 nut-driver-enumerator.8 upsc.8 upscmd.8 upsd.8 upsdrvctl.8 upsdrvsvcctl.8 upslog.8 upsmon.8 upsrw.8 upssched.8 nut-scanner.8 nut-recorder.8 nutconf.8 al175.8 apcsmart.8 apcsmart-old.8 bcmxcp.8 belkin.8 belkinunv.8 bestfortress.8 bestuferrups.8 bestups.8 bestfcom.8 bicker_ser.8 blazer_ser.8 clone.8 clone-outlet.8 dummy-ups.8 etapro.8 everups.8 gamatronic.8 genericups.8 isbmex.8 ivtscd.8 liebert.8 liebert-gxe.8 liebert-esp2.8 masterguard.8 metasys.8 mge-shut.8 mge-utalk.8 oneac.8 microdowell.8 microsol-apc.8 nutdrv_siemens_sitop.8 optiups.8 powercom.8 powerpanel.8 rhino.8 riello_ser.8 sms_ser.8 safenet.8 solis.8 tripplite.8 tripplitesu.8 upscode2.8 victronups.8 apcupsd-ups.8 nhs_ser.8 bcmxcp_usb.8 blazer_usb.8 nutdrv_atcl_usb.8 richcomm_usb.8 riello_usb.8 tripplite_usb.8 usbhid-ups.8 nutdrv_qx.8 phoenixcontact_modbus.8 generic_modbus.8 huawei-ups2000.8 socomec_jbus.8 adelsystem_cbi.8 apc_modbus.8 )
make[2]: Map '/home/erik/nut/docs/man' wordt verlaten
Making uninstall in cables
make[2]: Map '/home/erik/nut/docs/cables' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[2]: Map '/home/erik/nut/docs/cables' wordt verlaten
make[2]: Map '/home/erik/nut/docs' wordt binnengegaan
make[2]: Map '/home/erik/nut/docs' wordt verlaten
make[1]: Map '/home/erik/nut/docs' wordt verlaten
Making uninstall in drivers
make[1]: Map '/home/erik/nut/drivers' wordt binnengegaan
 ( cd '/usr/bin' && rm -f dummy-ups clone clone-outlet apcupsd-ups skel al175 bcmxcp belkin belkinunv bestfcom bestfortress bestuferrups bestups etapro everups gamatronic genericups isbmex liebert liebert-esp2 liebert-gxe masterguard metasys mge-utalk microdowell microsol-apc mge-shut oneac optiups powercom rhino safenet nutdrv_siemens-sitop solis tripplite tripplitesu upscode2 victronups powerpanel blazer_ser ivtscd apcsmart apcsmart-old riello_ser sms_ser bicker_ser nhs_ser nutdrv_qx usbhid-ups bcmxcp_usb tripplite_usb blazer_usb richcomm_usb riello_usb nutdrv_atcl_usb phoenixcontact_modbus generic_modbus huawei-ups2000 socomec_jbus adelsystem_cbi apc_modbus )
 ( cd '/usr/sbin' && rm -f upsdrvctl )
make[1]: Map '/home/erik/nut/drivers' wordt verlaten
Making uninstall in tools
make[1]: Map '/home/erik/nut/tools' wordt binnengegaan
Making uninstall in .
make[2]: Map '/home/erik/nut/tools' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall-am'.
make[2]: Map '/home/erik/nut/tools' wordt verlaten
Making uninstall in nut-scanner
make[2]: Map '/home/erik/nut/tools/nut-scanner' wordt binnengegaan
 ( cd '/usr/bin' && rm -f nut-scanner )
 /bin/bash ../../libtool   --mode=uninstall rm -f '/usr/lib/libnutscan.la'
make[2]: Map '/home/erik/nut/tools/nut-scanner' wordt verlaten
Making uninstall in nutconf
make[2]: Map '/home/erik/nut/tools/nutconf' wordt binnengegaan
 ( cd '/usr/bin' && rm -f nutconf )
make[2]: Map '/home/erik/nut/tools/nutconf' wordt verlaten
make[1]: Map '/home/erik/nut/tools' wordt verlaten
Making uninstall in lib
make[1]: Map '/home/erik/nut/lib' wordt binnengegaan
make[1]: Map '/home/erik/nut/lib' wordt verlaten
Making uninstall in scripts
make[1]: Map '/home/erik/nut/scripts' wordt binnengegaan
Making uninstall in augeas
make[2]: Map '/home/erik/nut/scripts/augeas' wordt binnengegaan
 ( cd '/usr/share/augeas/lenses' && rm -f nuthostsconf.aug nutupsconf.aug nutupsdusers.aug nutupsschedconf.aug nutnutconf.aug nutupsdconf.aug nutupsmonconf.aug nutupssetconf.aug )
 ( cd '/usr/share/augeas/lenses/tests' && rm -f test_nut.aug )
make[2]: Map '/home/erik/nut/scripts/augeas' wordt verlaten
Making uninstall in devd
make[2]: Map '/home/erik/nut/scripts/devd' wordt binnengegaan
make[2]: Map '/home/erik/nut/scripts/devd' wordt verlaten
Making uninstall in hotplug
make[2]: Map '/home/erik/nut/scripts/hotplug' wordt binnengegaan
make[2]: Map '/home/erik/nut/scripts/hotplug' wordt verlaten
Making uninstall in installer
make[2]: Map '/home/erik/nut/scripts/installer' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[2]: Map '/home/erik/nut/scripts/installer' wordt verlaten
Making uninstall in python
make[2]: Map '/home/erik/nut/scripts/python' wordt binnengegaan
Making uninstall in module
make[3]: Map '/home/erik/nut/scripts/python/module' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[3]: Map '/home/erik/nut/scripts/python/module' wordt verlaten
make[3]: Map '/home/erik/nut/scripts/python' wordt binnengegaan
 ( cd '/usr/local/lib/python3.12/dist-packages' && rm -f PyNUT.py )
 ( cd '/usr/local/lib/python3.12/dist-packages' && rm -f test_nutclient.py )
make[3]: Map '/home/erik/nut/scripts/python' wordt verlaten
make[2]: Map '/home/erik/nut/scripts/python' wordt verlaten
Making uninstall in systemd
make[2]: Map '/home/erik/nut/scripts/systemd' wordt binnengegaan
 ( cd '/usr/libexec' && rm -f nut-driver-enumerator.sh )
 ( cd '/usr/sbin' && rm -f upsdrvsvcctl )
 ( cd '/usr/lib/systemd/system-shutdown' && rm -f nutshutdown )
 ( cd '/usr/lib/systemd/system' && rm -f nut-driver-enumerator.service nut-driver-enumerator.path nut-driver-enumerator-daemon-activator.path nut-driver-enumerator-daemon-activator.service nut-driver-enumerator-daemon.service [email protected] nut-monitor.service nut-server.service nut-driver.target nut.target nut-sleep.service )
 ( cd '/usr/lib/tmpfiles.d' && rm -f nut-common-tmpfiles.conf )
make[2]: Map '/home/erik/nut/scripts/systemd' wordt verlaten
Making uninstall in udev
make[2]: Map '/home/erik/nut/scripts/udev' wordt binnengegaan
 ( cd '/lib/udev/rules.d' && rm -f 62-nut-usbups.rules )
make[2]: Map '/home/erik/nut/scripts/udev' wordt verlaten
Making uninstall in ufw
make[2]: Map '/home/erik/nut/scripts/ufw' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[2]: Map '/home/erik/nut/scripts/ufw' wordt verlaten
Making uninstall in Solaris
make[2]: Map '/home/erik/nut/scripts/Solaris' wordt binnengegaan
make[2]: Map '/home/erik/nut/scripts/Solaris' wordt verlaten
Making uninstall in Windows
make[2]: Map '/home/erik/nut/scripts/Windows' wordt binnengegaan
make[2]: Map '/home/erik/nut/scripts/Windows' wordt verlaten
Making uninstall in upsdrvsvcctl
make[2]: Map '/home/erik/nut/scripts/upsdrvsvcctl' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[2]: Map '/home/erik/nut/scripts/upsdrvsvcctl' wordt verlaten
make[2]: Map '/home/erik/nut/scripts' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall-am'.
make[2]: Map '/home/erik/nut/scripts' wordt verlaten
make[1]: Map '/home/erik/nut/scripts' wordt verlaten
Making uninstall in server
make[1]: Map '/home/erik/nut/server' wordt binnengegaan
 ( cd '/usr/sbin' && rm -f upsd )
make[1]: Map '/home/erik/nut/server' wordt verlaten
Making uninstall in tests
make[1]: Map '/home/erik/nut/tests' wordt binnengegaan
Making uninstall in .
make[2]: Map '/home/erik/nut/tests' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall-am'.
make[2]: Map '/home/erik/nut/tests' wordt verlaten
Making uninstall in NIT
make[2]: Map '/home/erik/nut/tests/NIT' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'uninstall'.
make[2]: Map '/home/erik/nut/tests/NIT' wordt verlaten
make[1]: Map '/home/erik/nut/tests' wordt verlaten
make[1]: Map '/home/erik/nut' wordt binnengegaan
make[1]: Map '/home/erik/nut' wordt verlaten
erik@MinipcLG2:~/nut$ cd ..
erik@MinipcLG2:~$ sudo rm -r nut
erik@MinipcLG2:~$ ls -pal | grep nut
drwxrwxr-x  20 erik    erik      16384 jan  9 18:42 nut-issue-2666/
erik@MinipcLG2:~$ cd nut-issue-2666
erik@MinipcLG2:~/nut-issue-2666$ sudo make install
Making install in include
make[1]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make  install-am
make[2]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 parseconf.h '/usr/include'
make[3]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
Making install in common
make[1]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make  install-am
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
depbase=`echo parseconf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT parseconf.lo -MD -MP -MF $depbase.Tpo -c -o parseconf.lo parseconf.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c parseconf.c  -fPIC -DPIC -o .libs/parseconf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c parseconf.c -o parseconf.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined  -o libparseconf.la  parseconf.lo
libtool: link: rm -fr  .libs/libparseconf.a .libs/libparseconf.la
libtool: link: /usr/bin/ar cr .libs/libparseconf.a .libs/parseconf.o
libtool: link: ranlib .libs/libparseconf.a
libtool: link: ( cd ".libs" && rm -f "libparseconf.la" && ln -s "../libparseconf.la" "libparseconf.la" )
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-state.lo -MD -MP -MF .deps/libcommon_la-state.Tpo -c -o libcommon_la-state.lo `test -f 'state.c' || echo './'`state.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-state.lo -MD -MP -MF .deps/libcommon_la-state.Tpo -c state.c  -fPIC -DPIC -o .libs/libcommon_la-state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-state.lo -MD -MP -MF .deps/libcommon_la-state.Tpo -c state.c -o libcommon_la-state.o >/dev/null 2>&1
mv -f .deps/libcommon_la-state.Tpo .deps/libcommon_la-state.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-str.lo -MD -MP -MF .deps/libcommon_la-str.Tpo -c -o libcommon_la-str.lo `test -f 'str.c' || echo './'`str.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-str.lo -MD -MP -MF .deps/libcommon_la-str.Tpo -c str.c  -fPIC -DPIC -o .libs/libcommon_la-str.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-str.lo -MD -MP -MF .deps/libcommon_la-str.Tpo -c str.c -o libcommon_la-str.o >/dev/null 2>&1
mv -f .deps/libcommon_la-str.Tpo .deps/libcommon_la-str.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-upsconf.lo -MD -MP -MF .deps/libcommon_la-upsconf.Tpo -c -o libcommon_la-upsconf.lo `test -f 'upsconf.c' || echo './'`upsconf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-upsconf.lo -MD -MP -MF .deps/libcommon_la-upsconf.Tpo -c upsconf.c  -fPIC -DPIC -o .libs/libcommon_la-upsconf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-upsconf.lo -MD -MP -MF .deps/libcommon_la-upsconf.Tpo -c upsconf.c -o libcommon_la-upsconf.o >/dev/null 2>&1
mv -f .deps/libcommon_la-upsconf.Tpo .deps/libcommon_la-upsconf.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-common.lo -MD -MP -MF .deps/libcommon_la-common.Tpo -c -o libcommon_la-common.lo `test -f 'common.c' || echo './'`common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-common.lo -MD -MP -MF .deps/libcommon_la-common.Tpo -c common.c  -fPIC -DPIC -o .libs/libcommon_la-common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommon_la-common.lo -MD -MP -MF .deps/libcommon_la-common.Tpo -c common.c -o libcommon_la-common.o >/dev/null 2>&1
mv -f .deps/libcommon_la-common.Tpo .deps/libcommon_la-common.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I../include   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined  -o libcommon.la  libcommon_la-state.lo libcommon_la-str.lo libcommon_la-upsconf.lo libcommon_la-common.lo       libparseconf.la  -lsystemd
libtool: link: rm -fr  .libs/libcommon.a .libs/libcommon.la
libtool: link: (cd .libs/libcommon.lax/libparseconf.a && /usr/bin/ar x "/home/erik/nut-issue-2666/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cr .libs/libcommon.a .libs/libcommon_la-state.o .libs/libcommon_la-str.o .libs/libcommon_la-upsconf.o .libs/libcommon_la-common.o   .libs/libcommon.lax/libparseconf.a/parseconf.o
libtool: link: ranlib .libs/libcommon.a
libtool: link: rm -fr .libs/libcommon.lax
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" )
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include  -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-state.lo -MD -MP -MF .deps/libcommonclient_la-state.Tpo -c -o libcommonclient_la-state.lo `test -f 'state.c' || echo './'`state.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-state.lo -MD -MP -MF .deps/libcommonclient_la-state.Tpo -c state.c  -fPIC -DPIC -o .libs/libcommonclient_la-state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-state.lo -MD -MP -MF .deps/libcommonclient_la-state.Tpo -c state.c -o libcommonclient_la-state.o >/dev/null 2>&1
mv -f .deps/libcommonclient_la-state.Tpo .deps/libcommonclient_la-state.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include  -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-str.lo -MD -MP -MF .deps/libcommonclient_la-str.Tpo -c -o libcommonclient_la-str.lo `test -f 'str.c' || echo './'`str.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-str.lo -MD -MP -MF .deps/libcommonclient_la-str.Tpo -c str.c  -fPIC -DPIC -o .libs/libcommonclient_la-str.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-str.lo -MD -MP -MF .deps/libcommonclient_la-str.Tpo -c str.c -o libcommonclient_la-str.o >/dev/null 2>&1
mv -f .deps/libcommonclient_la-str.Tpo .deps/libcommonclient_la-str.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include  -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-common.lo -MD -MP -MF .deps/libcommonclient_la-common.Tpo -c -o libcommonclient_la-common.lo `test -f 'common.c' || echo './'`common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-common.lo -MD -MP -MF .deps/libcommonclient_la-common.Tpo -c common.c  -fPIC -DPIC -o .libs/libcommonclient_la-common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonclient_la-common.lo -MD -MP -MF .deps/libcommonclient_la-common.Tpo -c common.c -o libcommonclient_la-common.o >/dev/null 2>&1
mv -f .deps/libcommonclient_la-common.Tpo .deps/libcommonclient_la-common.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I../include  -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined  -o libcommonclient.la  libcommonclient_la-state.lo libcommonclient_la-str.lo libcommonclient_la-common.lo       libparseconf.la
libtool: link: rm -fr  .libs/libcommonclient.a .libs/libcommonclient.la
libtool: link: (cd .libs/libcommonclient.lax/libparseconf.a && /usr/bin/ar x "/home/erik/nut-issue-2666/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cr .libs/libcommonclient.a .libs/libcommonclient_la-state.o .libs/libcommonclient_la-str.o .libs/libcommonclient_la-common.o   .libs/libcommonclient.lax/libparseconf.a/parseconf.o
libtool: link: ranlib .libs/libcommonclient.a
libtool: link: rm -fr .libs/libcommonclient.lax
libtool: link: ( cd ".libs" && rm -f "libcommonclient.la" && ln -s "../libcommonclient.la" "libcommonclient.la" )
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutconf.lo -MD -MP -MF .deps/libnutconf_la-nutconf.Tpo -c -o libnutconf_la-nutconf.lo `test -f 'nutconf.cpp' || echo './'`nutconf.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutconf.lo -MD -MP -MF .deps/libnutconf_la-nutconf.Tpo -c nutconf.cpp  -fPIC -DPIC -o .libs/libnutconf_la-nutconf.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutconf.lo -MD -MP -MF .deps/libnutconf_la-nutconf.Tpo -c nutconf.cpp -o libnutconf_la-nutconf.o >/dev/null 2>&1
mv -f .deps/libnutconf_la-nutconf.Tpo .deps/libnutconf_la-nutconf.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutstream.lo -MD -MP -MF .deps/libnutconf_la-nutstream.Tpo -c -o libnutconf_la-nutstream.lo `test -f 'nutstream.cpp' || echo './'`nutstream.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutstream.lo -MD -MP -MF .deps/libnutconf_la-nutstream.Tpo -c nutstream.cpp  -fPIC -DPIC -o .libs/libnutconf_la-nutstream.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutstream.lo -MD -MP -MF .deps/libnutconf_la-nutstream.Tpo -c nutstream.cpp -o libnutconf_la-nutstream.o >/dev/null 2>&1
mv -f .deps/libnutconf_la-nutstream.Tpo .deps/libnutconf_la-nutstream.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutwriter.lo -MD -MP -MF .deps/libnutconf_la-nutwriter.Tpo -c -o libnutconf_la-nutwriter.lo `test -f 'nutwriter.cpp' || echo './'`nutwriter.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutwriter.lo -MD -MP -MF .deps/libnutconf_la-nutwriter.Tpo -c nutwriter.cpp  -fPIC -DPIC -o .libs/libnutconf_la-nutwriter.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutwriter.lo -MD -MP -MF .deps/libnutconf_la-nutwriter.Tpo -c nutwriter.cpp -o libnutconf_la-nutwriter.o >/dev/null 2>&1
mv -f .deps/libnutconf_la-nutwriter.Tpo .deps/libnutconf_la-nutwriter.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutipc.lo -MD -MP -MF .deps/libnutconf_la-nutipc.Tpo -c -o libnutconf_la-nutipc.lo `test -f 'nutipc.cpp' || echo './'`nutipc.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutipc.lo -MD -MP -MF .deps/libnutconf_la-nutipc.Tpo -c nutipc.cpp  -fPIC -DPIC -o .libs/libnutconf_la-nutipc.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT libnutconf_la-nutipc.lo -MD -MP -MF .deps/libnutconf_la-nutipc.Tpo -c nutipc.cpp -o libnutconf_la-nutipc.o >/dev/null 2>&1
mv -f .deps/libnutconf_la-nutipc.Tpo .deps/libnutconf_la-nutipc.Plo
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -I../include -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -no-undefined  -o libnutconf.la  libnutconf_la-nutconf.lo libnutconf_la-nutstream.lo libnutconf_la-nutwriter.lo libnutconf_la-nutipc.lo libcommonclient.la
libtool: link: rm -fr  .libs/libnutconf.a .libs/libnutconf.la
libtool: link: (cd .libs/libnutconf.lax/libcommonclient.a && /usr/bin/ar x "/home/erik/nut-issue-2666/common/./.libs/libcommonclient.a")
libtool: link: /usr/bin/ar cr .libs/libnutconf.a .libs/libnutconf_la-nutconf.o .libs/libnutconf_la-nutstream.o .libs/libnutconf_la-nutwriter.o .libs/libnutconf_la-nutipc.o   .libs/libnutconf.lax/libcommonclient.a/libcommonclient_la-common.o .libs/libnutconf.lax/libcommonclient.a/libcommonclient_la-state.o .libs/libnutconf.lax/libcommonclient.a/libcommonclient_la-str.o .libs/libnutconf.lax/libcommonclient.a/parseconf.o
libtool: link: ranlib .libs/libnutconf.a
libtool: link: rm -fr .libs/libnutconf.lax
libtool: link: ( cd ".libs" && rm -f "libnutconf.la" && ln -s "../libnutconf.la" "libnutconf.la" )
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -DWITHOUT_LIBSYSTEMD=1  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-str.lo -MD -MP -MF .deps/libcommonstr_la-str.Tpo -c -o libcommonstr_la-str.lo `test -f 'str.c' || echo './'`str.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-str.lo -MD -MP -MF .deps/libcommonstr_la-str.Tpo -c str.c  -fPIC -DPIC -o .libs/libcommonstr_la-str.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-str.lo -MD -MP -MF .deps/libcommonstr_la-str.Tpo -c str.c -o libcommonstr_la-str.o >/dev/null 2>&1
mv -f .deps/libcommonstr_la-str.Tpo .deps/libcommonstr_la-str.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../include -DWITHOUT_LIBSYSTEMD=1  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-common.lo -MD -MP -MF .deps/libcommonstr_la-common.Tpo -c -o libcommonstr_la-common.lo `test -f 'common.c' || echo './'`common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-common.lo -MD -MP -MF .deps/libcommonstr_la-common.Tpo -c common.c  -fPIC -DPIC -o .libs/libcommonstr_la-common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DWITHOUT_LIBSYSTEMD=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libcommonstr_la-common.lo -MD -MP -MF .deps/libcommonstr_la-common.Tpo -c common.c -o libcommonstr_la-common.o >/dev/null 2>&1
mv -f .deps/libcommonstr_la-common.Tpo .deps/libcommonstr_la-common.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I../include -DWITHOUT_LIBSYSTEMD=1  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined  -o libcommonstr.la  libcommonstr_la-str.lo libcommonstr_la-common.lo
libtool: link: rm -fr  .libs/libcommonstr.a .libs/libcommonstr.la
libtool: link: /usr/bin/ar cr .libs/libcommonstr.a .libs/libcommonstr_la-str.o .libs/libcommonstr_la-common.o
libtool: link: ranlib .libs/libcommonstr.a
libtool: link: ( cd ".libs" && rm -f "libcommonstr.la" && ln -s "../libcommonstr.la" "libcommonstr.la" )
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
Making install in clients
make[1]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
depbase=`echo upsc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsc.o -MD -MP -MF $depbase.Tpo -c -o upsc.o upsc.c &&\
mv -f $depbase.Tpo $depbase.Po
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommonclient.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
depbase=`echo upsclient.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsclient.lo -MD -MP -MF $depbase.Tpo -c -o upsclient.lo upsclient.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c upsclient.c  -fPIC -DPIC -o .libs/upsclient.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c upsclient.c -o upsclient.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -version-info 6:1:0 -export-symbols-regex ^upscli_   -o libupsclient.la -rpath /usr/lib/x86_64-linux-gnu upsclient.lo ../common/libcommonclient.la   -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: rm -fr  .libs/libupsclient.a .libs/libupsclient.exp .libs/libupsclient.la .libs/libupsclient.lai .libs/libupsclient.so .libs/libupsclient.so.6 .libs/libupsclient.so.6.0.1 .libs/libupsclient.ver
libtool: link: /usr/bin/nm -B  .libs/upsclient.o   ../common/.libs/libcommonclient.a | /usr/bin/sed -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[    ][       ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libupsclient.exp
libtool: link: /usr/bin/grep -E -e "^upscli_" ".libs/libupsclient.exp" > ".libs/libupsclient.expT"
libtool: link: mv -f ".libs/libupsclient.expT" ".libs/libupsclient.exp"
libtool: link: echo "{ global:" > .libs/libupsclient.ver
libtool: link:  cat .libs/libupsclient.exp | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libupsclient.ver
libtool: link:  echo "local: *; };" >> .libs/libupsclient.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/upsclient.o  -Wl,--whole-archive ../common/.libs/libcommonclient.a -Wl,--no-whole-archive  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4  -g -O2   -Wl,-soname -Wl,libupsclient.so.6 -Wl,-version-script -Wl,.libs/libupsclient.ver -o .libs/libupsclient.so.6.0.1
libtool: link: (cd ".libs" && rm -f "libupsclient.so.6" && ln -s "libupsclient.so.6.0.1" "libupsclient.so.6")
libtool: link: (cd ".libs" && rm -f "libupsclient.so" && ln -s "libupsclient.so.6.0.1" "libupsclient.so")
libtool: link: (cd .libs/libupsclient.lax/libcommonclient.a && /usr/bin/ar x "/home/erik/nut-issue-2666/clients/../common/.libs/libcommonclient.a")
libtool: link: /usr/bin/ar cr .libs/libupsclient.a  upsclient.o  .libs/libupsclient.lax/libcommonclient.a/libcommonclient_la-common.o .libs/libupsclient.lax/libcommonclient.a/libcommonclient_la-state.o .libs/libupsclient.lax/libcommonclient.a/libcommonclient_la-str.o .libs/libupsclient.lax/libcommonclient.a/parseconf.o
libtool: link: ranlib .libs/libupsclient.a
libtool: link: rm -fr .libs/libupsclient.lax
libtool: link: ( cd ".libs" && rm -f "libupsclient.la" && ln -s "../libupsclient.la" "libupsclient.la" )
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsc upsc.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsc upsc.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upslog.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upslog.o -MD -MP -MF $depbase.Tpo -c -o upslog.o upslog.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upslog upslog.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upslog upslog.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upsrw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsrw.o -MD -MP -MF $depbase.Tpo -c -o upsrw.o upsrw.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsrw upsrw.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsrw upsrw.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upscmd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upscmd.o -MD -MP -MF $depbase.Tpo -c -o upscmd.o upscmd.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upscmd upscmd.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upscmd upscmd.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upsstats.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsstats.o -MD -MP -MF $depbase.Tpo -c -o upsstats.o upsstats.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo cgilib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT cgilib.o -MD -MP -MF $depbase.Tpo -c -o cgilib.o cgilib.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsstats.cgi upsstats.o cgilib.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsstats.cgi upsstats.o cgilib.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upsimage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsimage.o -MD -MP -MF $depbase.Tpo -c -o upsimage.o upsimage.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsimage.cgi upsimage.o cgilib.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4   -lgd
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsimage.cgi upsimage.o cgilib.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lgd
depbase=`echo upsset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsset.o -MD -MP -MF $depbase.Tpo -c -o upsset.o upsset.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsset.cgi upsset.o cgilib.o ../common/libcommonclient.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsset.cgi upsset.o cgilib.o  ../common/.libs/libcommonclient.a ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upsmon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsmon.o -MD -MP -MF $depbase.Tpo -c -o upsmon.o upsmon.c &&\
mv -f $depbase.Tpo $depbase.Po
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsmon upsmon.o ../common/libcommon.la libupsclient.la  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/upsmon upsmon.o  ../common/.libs/libcommon.a -lsystemd ./.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo upssched.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upssched.o -MD -MP -MF $depbase.Tpo -c -o upssched.o upssched.c &&\
mv -f $depbase.Tpo $depbase.Po
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upssched upssched.o ../common/libcommonclient.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o upssched upssched.o  ../common/.libs/libcommonclient.a ../common/.libs/libparseconf.a
depbase=`echo nutclient.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclient.lo -MD -MP -MF $depbase.Tpo -c -o nutclient.lo nutclient.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclient.lo -MD -MP -MF .deps/nutclient.Tpo -c nutclient.cpp  -fPIC -DPIC -o .libs/nutclient.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclient.lo -MD -MP -MF .deps/nutclient.Tpo -c nutclient.cpp -o nutclient.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -version-info 2:2:0   -o libnutclient.la -rpath /usr/lib/x86_64-linux-gnu nutclient.lo ../common/libcommonclient.la
libtool: link: rm -fr  .libs/libnutclient.a .libs/libnutclient.la .libs/libnutclient.lai .libs/libnutclient.so .libs/libnutclient.so.2 .libs/libnutclient.so.2.0.2
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o  .libs/nutclient.o  -Wl,--whole-archive ../common/.libs/libcommonclient.a -Wl,--no-whole-archive  -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o  -g -O2   -Wl,-soname -Wl,libnutclient.so.2 -o .libs/libnutclient.so.2.0.2
libtool: link: (cd ".libs" && rm -f "libnutclient.so.2" && ln -s "libnutclient.so.2.0.2" "libnutclient.so.2")
libtool: link: (cd ".libs" && rm -f "libnutclient.so" && ln -s "libnutclient.so.2.0.2" "libnutclient.so")
libtool: link: (cd .libs/libnutclient.lax/libcommonclient.a && /usr/bin/ar x "/home/erik/nut-issue-2666/clients/../common/.libs/libcommonclient.a")
libtool: link: /usr/bin/ar cr .libs/libnutclient.a  nutclient.o  .libs/libnutclient.lax/libcommonclient.a/libcommonclient_la-common.o .libs/libnutclient.lax/libcommonclient.a/libcommonclient_la-state.o .libs/libnutclient.lax/libcommonclient.a/libcommonclient_la-str.o .libs/libnutclient.lax/libcommonclient.a/parseconf.o
libtool: link: ranlib .libs/libnutclient.a
libtool: link: rm -fr .libs/libnutclient.lax
libtool: link: ( cd ".libs" && rm -f "libnutclient.la" && ln -s "../libnutclient.la" "libnutclient.la" )
depbase=`echo nutclientmem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclientmem.lo -MD -MP -MF $depbase.Tpo -c -o nutclientmem.lo nutclientmem.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclientmem.lo -MD -MP -MF .deps/nutclientmem.Tpo -c nutclientmem.cpp  -fPIC -DPIC -o .libs/nutclientmem.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutclientmem.lo -MD -MP -MF .deps/nutclientmem.Tpo -c nutclientmem.cpp -o nutclientmem.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -version-info 1:1:0   -o libnutclientstub.la -rpath /usr/lib/x86_64-linux-gnu nutclientmem.lo libnutclient.la
libtool: link: rm -fr  .libs/libnutclientstub.a .libs/libnutclientstub.la .libs/libnutclientstub.lai .libs/libnutclientstub.so .libs/libnutclientstub.so.1 .libs/libnutclientstub.so.1.0.1 .libs/libnutclientstub.so.1.0.1T
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o  .libs/nutclientmem.o   -Wl,-rpath -Wl,/home/erik/nut-issue-2666/clients/.libs ./.libs/libnutclient.so -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o  -g -O2   -Wl,-soname -Wl,libnutclientstub.so.1 -o .libs/libnutclientstub.so.1.0.1
libtool: link: (cd ".libs" && rm -f "libnutclientstub.so.1" && ln -s "libnutclientstub.so.1.0.1" "libnutclientstub.so.1")
libtool: link: (cd ".libs" && rm -f "libnutclientstub.so" && ln -s "libnutclientstub.so.1.0.1" "libnutclientstub.so")
libtool: link: /usr/bin/ar cr .libs/libnutclientstub.a  nutclientmem.o
libtool: link: ranlib .libs/libnutclientstub.a
libtool: link: ( cd ".libs" && rm -f "libnutclientstub.la" && ln -s "../libnutclientstub.la" "libnutclientstub.la" )
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommonclient.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libupsclient.la libnutclient.la libnutclientstub.la '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libupsclient.so.6.0.1 /usr/lib/x86_64-linux-gnu/libupsclient.so.6.0.1
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libupsclient.so.6.0.1 libupsclient.so.6 || { rm -f libupsclient.so.6 && ln -s libupsclient.so.6.0.1 libupsclient.so.6; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libupsclient.so.6.0.1 libupsclient.so || { rm -f libupsclient.so && ln -s libupsclient.so.6.0.1 libupsclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libupsclient.lai /usr/lib/x86_64-linux-gnu/libupsclient.la
libtool: install: /usr/bin/install -c .libs/libnutclient.so.2.0.2 /usr/lib/x86_64-linux-gnu/libnutclient.so.2.0.2
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclient.so.2.0.2 libnutclient.so.2 || { rm -f libnutclient.so.2 && ln -s libnutclient.so.2.0.2 libnutclient.so.2; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclient.so.2.0.2 libnutclient.so || { rm -f libnutclient.so && ln -s libnutclient.so.2.0.2 libnutclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutclient.lai /usr/lib/x86_64-linux-gnu/libnutclient.la
libtool: warning: relinking 'libnutclientstub.la'
libtool: install: (cd /home/erik/nut-issue-2666/clients; /bin/bash "/home/erik/nut-issue-2666/libtool"  --tag CXX --mode=relink g++ -DHAVE_NUTCOMMON=1 -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -version-info 1:1:0 -o libnutclientstub.la -rpath /usr/lib/x86_64-linux-gnu nutclientmem.lo libnutclient.la )
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o  .libs/nutclientmem.o   -L/usr/lib/x86_64-linux-gnu -lnutclient -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o  -g -O2   -Wl,-soname -Wl,libnutclientstub.so.1 -o .libs/libnutclientstub.so.1.0.1
libtool: install: /usr/bin/install -c .libs/libnutclientstub.so.1.0.1T /usr/lib/x86_64-linux-gnu/libnutclientstub.so.1.0.1
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclientstub.so.1.0.1 libnutclientstub.so.1 || { rm -f libnutclientstub.so.1 && ln -s libnutclientstub.so.1.0.1 libnutclientstub.so.1; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutclientstub.so.1.0.1 libnutclientstub.so || { rm -f libnutclientstub.so && ln -s libnutclientstub.so.1.0.1 libnutclientstub.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutclientstub.lai /usr/lib/x86_64-linux-gnu/libnutclientstub.la
libtool: install: /usr/bin/install -c .libs/libupsclient.a /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libupsclient.a
libtool: install: /usr/bin/install -c .libs/libnutclient.a /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutclient.a
libtool: install: /usr/bin/install -c .libs/libnutclientstub.a /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutclientstub.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsc upslog upsrw upscmd '/usr/bin'
libtool: install: /usr/bin/install -c .libs/upsc /usr/bin/upsc
libtool: install: /usr/bin/install -c .libs/upslog /usr/bin/upslog
libtool: install: /usr/bin/install -c .libs/upsrw /usr/bin/upsrw
libtool: install: /usr/bin/install -c .libs/upscmd /usr/bin/upscmd
 /usr/bin/mkdir -p '/usr/lib/cgi-bin/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsstats.cgi upsimage.cgi upsset.cgi '/usr/lib/cgi-bin/nut'
libtool: install: /usr/bin/install -c .libs/upsstats.cgi /usr/lib/cgi-bin/nut/upsstats.cgi
libtool: install: /usr/bin/install -c .libs/upsimage.cgi /usr/lib/cgi-bin/nut/upsimage.cgi
libtool: install: /usr/bin/install -c .libs/upsset.cgi /usr/lib/cgi-bin/nut/upsset.cgi
 /usr/bin/mkdir -p '/usr/bin'
 /usr/bin/install -c upssched-cmd '/usr/bin'
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsmon upssched '/usr/sbin'
libtool: install: /usr/bin/install -c .libs/upsmon /usr/sbin/upsmon
libtool: install: /usr/bin/install -c upssched /usr/sbin/upssched
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 upsclient.h nutclient.h nutclientmem.h '/usr/include'
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
Making install in conf
make[1]: Map '/home/erik/nut-issue-2666/conf' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/conf' wordt binnengegaan
 /usr/bin/mkdir -p '/etc/nut'
 /usr/bin/install -c -m 644 upsd.conf.sample upsd.users.sample nut.conf.sample ups.conf.sample hosts.conf.sample upsset.conf.sample upsstats.html.sample upsstats-single.html.sample '/etc/nut'
 /usr/bin/mkdir -p '/etc/nut'
 /usr/bin/install -c -m 644 upssched.conf.sample upsmon.conf.sample '/etc/nut'
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/conf' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/conf' wordt verlaten
Making install in data
make[1]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
Making install in html
make[2]: Map '/home/erik/nut-issue-2666/data/html' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/data/html' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/nut/www'
 /usr/bin/install -c -m 644 index.html bottom.html nut-banner.png '/usr/share/nut/www'
 /usr/bin/mkdir -p '/usr/share/nut/www'
 /usr/bin/install -c -m 644 header.html '/usr/share/nut/www'
make[3]: Map '/home/erik/nut-issue-2666/data/html' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data/html' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/data' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/nut'
 /usr/bin/install -c -m 644 cmdvartab '/usr/share/nut'
 /usr/bin/mkdir -p '/usr/share/nut'
 /usr/bin/install -c -m 644 driver.list '/usr/share/nut'
make[3]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/data' wordt verlaten
Making install in docs
make[1]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
Making install in man
make[2]: Map '/home/erik/nut-issue-2666/docs/man' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs/man' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/doc/nut/html-man'
make[3]: Map '/home/erik/nut-issue-2666/docs/man' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs/man' wordt verlaten
Making install in cables
make[2]: Map '/home/erik/nut-issue-2666/docs/cables' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs/cables' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/docs/cables' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs/cables' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/docs' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/docs' wordt verlaten
Making install in drivers
make[1]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -I../clients -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT dummy_ups-dummy-ups.o -MD -MP -MF .deps/dummy_ups-dummy-ups.Tpo -c -o dummy_ups-dummy-ups.o `test -f 'dummy-ups.c' || echo './'`dummy-ups.c
mv -f .deps/dummy_ups-dummy-ups.Tpo .deps/dummy_ups-dummy-ups.Po
depbase=`echo main.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT main.lo -MD -MP -MF $depbase.Tpo -c -o main.lo main.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -fPIC -DPIC -o .libs/main.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -o main.o >/dev/null 2>&1
depbase=`echo dstate.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT dstate.lo -MD -MP -MF $depbase.Tpo -c -o dstate.lo dstate.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT dstate.lo -MD -MP -MF .deps/dstate.Tpo -c dstate.c  -fPIC -DPIC -o .libs/dstate.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT dstate.lo -MD -MP -MF .deps/dstate.Tpo -c dstate.c -o dstate.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined -static  -o libdummy.la  main.lo dstate.lo
libtool: link: rm -fr  .libs/libdummy.a .libs/libdummy.la
libtool: link: /usr/bin/ar cr .libs/libdummy.a  main.o dstate.o
libtool: link: ranlib .libs/libdummy.a
libtool: link: ( cd ".libs" && rm -f "libdummy.la" && ln -s "../libdummy.la" "libdummy.la" )
depbase=`echo upsdrvquery.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsdrvquery.lo -MD -MP -MF $depbase.Tpo -c -o upsdrvquery.lo upsdrvquery.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsdrvquery.lo -MD -MP -MF .deps/upsdrvquery.Tpo -c upsdrvquery.c  -fPIC -DPIC -o .libs/upsdrvquery.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsdrvquery.lo -MD -MP -MF .deps/upsdrvquery.Tpo -c upsdrvquery.c -o upsdrvquery.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined -static  -o libdummy_upsdrvquery.la  upsdrvquery.lo
libtool: link: rm -fr  .libs/libdummy_upsdrvquery.a .libs/libdummy_upsdrvquery.la
libtool: link: /usr/bin/ar cr .libs/libdummy_upsdrvquery.a  upsdrvquery.o
libtool: link: ranlib .libs/libdummy_upsdrvquery.a
libtool: link: ( cd ".libs" && rm -f "libdummy_upsdrvquery.la" && ln -s "../libdummy_upsdrvquery.la" "libdummy_upsdrvquery.la" )
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommonclient.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -I../clients -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error    -o dummy-ups dummy_ups-dummy-ups.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la ../clients/libupsclient.la -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -I../clients -I/usr/include/nss -I/usr/include/nspr -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/dummy-ups dummy_ups-dummy-ups.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a ../clients/.libs/libupsclient.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
depbase=`echo clone.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT clone.o -MD -MP -MF $depbase.Tpo -c -o clone.o clone.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo serial.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT serial.lo -MD -MP -MF $depbase.Tpo -c -o serial.lo serial.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT serial.lo -MD -MP -MF .deps/serial.Tpo -c serial.c  -fPIC -DPIC -o .libs/serial.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT serial.lo -MD -MP -MF .deps/serial.Tpo -c serial.c -o serial.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -no-undefined -static  -o libdummy_serial.la  serial.lo
libtool: link: rm -fr  .libs/libdummy_serial.a .libs/libdummy_serial.la
libtool: link: /usr/bin/ar cr .libs/libdummy_serial.a  serial.o
libtool: link: ranlib .libs/libdummy_serial.a
libtool: link: ( cd ".libs" && rm -f "libdummy_serial.la" && ln -s "../libdummy_serial.la" "libdummy_serial.la" )
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o clone clone.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o clone clone.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo clone-outlet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT clone-outlet.o -MD -MP -MF $depbase.Tpo -c -o clone-outlet.o clone-outlet.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o clone-outlet clone-outlet.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o clone-outlet clone-outlet.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apcupsd_ups-apcupsd-ups.o -MD -MP -MF .deps/apcupsd_ups-apcupsd-ups.Tpo -c -o apcupsd_ups-apcupsd-ups.o `test -f 'apcupsd-ups.c' || echo './'`apcupsd-ups.c
mv -f .deps/apcupsd_ups-apcupsd-ups.Tpo .deps/apcupsd_ups-apcupsd-ups.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o apcupsd-ups apcupsd_ups-apcupsd-ups.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o apcupsd-ups apcupsd_ups-apcupsd-ups.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo skel.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT skel.o -MD -MP -MF $depbase.Tpo -c -o skel.o skel.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o skel skel.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o skel skel.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo al175.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT al175.o -MD -MP -MF $depbase.Tpo -c -o al175.o al175.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o al175 al175.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o al175 al175.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo bcmxcp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bcmxcp.o -MD -MP -MF $depbase.Tpo -c -o bcmxcp.o bcmxcp.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo bcmxcp_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bcmxcp_ser.o -MD -MP -MF $depbase.Tpo -c -o bcmxcp_ser.o bcmxcp_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bcmxcp bcmxcp.o bcmxcp_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bcmxcp bcmxcp.o bcmxcp_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo belkin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT belkin.o -MD -MP -MF $depbase.Tpo -c -o belkin.o belkin.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o belkin belkin.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o belkin belkin.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo belkinunv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT belkinunv.o -MD -MP -MF $depbase.Tpo -c -o belkinunv.o belkinunv.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o belkinunv belkinunv.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o belkinunv belkinunv.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo bestfcom.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bestfcom.o -MD -MP -MF $depbase.Tpo -c -o bestfcom.o bestfcom.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bestfcom bestfcom.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bestfcom bestfcom.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo bestfortress.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bestfortress.o -MD -MP -MF $depbase.Tpo -c -o bestfortress.o bestfortress.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bestfortress bestfortress.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bestfortress bestfortress.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo bestuferrups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bestuferrups.o -MD -MP -MF $depbase.Tpo -c -o bestuferrups.o bestuferrups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bestuferrups bestuferrups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bestuferrups bestuferrups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo bestups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bestups.o -MD -MP -MF $depbase.Tpo -c -o bestups.o bestups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bestups bestups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bestups bestups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo etapro.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT etapro.o -MD -MP -MF $depbase.Tpo -c -o etapro.o etapro.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o etapro etapro.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o etapro etapro.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo everups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT everups.o -MD -MP -MF $depbase.Tpo -c -o everups.o everups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o everups everups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o everups everups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo gamatronic.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT gamatronic.o -MD -MP -MF $depbase.Tpo -c -o gamatronic.o gamatronic.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o gamatronic gamatronic.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o gamatronic gamatronic.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo genericups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT genericups.o -MD -MP -MF $depbase.Tpo -c -o genericups.o genericups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o genericups genericups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o genericups genericups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo isbmex.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT isbmex.o -MD -MP -MF $depbase.Tpo -c -o isbmex.o isbmex.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o isbmex isbmex.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o isbmex isbmex.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo liebert.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT liebert.o -MD -MP -MF $depbase.Tpo -c -o liebert.o liebert.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o liebert liebert.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o liebert liebert.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo liebert-esp2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT liebert-esp2.o -MD -MP -MF $depbase.Tpo -c -o liebert-esp2.o liebert-esp2.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o liebert-esp2 liebert-esp2.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o liebert-esp2 liebert-esp2.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo liebert-gxe.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT liebert-gxe.o -MD -MP -MF $depbase.Tpo -c -o liebert-gxe.o liebert-gxe.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o liebert-gxe liebert-gxe.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o liebert-gxe liebert-gxe.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo masterguard.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT masterguard.o -MD -MP -MF $depbase.Tpo -c -o masterguard.o masterguard.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o masterguard masterguard.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o masterguard masterguard.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo metasys.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT metasys.o -MD -MP -MF $depbase.Tpo -c -o metasys.o metasys.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o metasys metasys.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o metasys metasys.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo mge-utalk.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge-utalk.o -MD -MP -MF $depbase.Tpo -c -o mge-utalk.o mge-utalk.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o mge-utalk mge-utalk.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o mge-utalk mge-utalk.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo microdowell.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT microdowell.o -MD -MP -MF $depbase.Tpo -c -o microdowell.o microdowell.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o microdowell microdowell.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o microdowell microdowell.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo microsol-apc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT microsol-apc.o -MD -MP -MF $depbase.Tpo -c -o microsol-apc.o microsol-apc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo microsol-common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT microsol-common.o -MD -MP -MF $depbase.Tpo -c -o microsol-common.o microsol-common.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o microsol-apc microsol-apc.o microsol-common.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o microsol-apc microsol-apc.o microsol-common.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge_shut-usbhid-ups.o -MD -MP -MF .deps/mge_shut-usbhid-ups.Tpo -c -o mge_shut-usbhid-ups.o `test -f 'usbhid-ups.c' || echo './'`usbhid-ups.c
mv -f .deps/mge_shut-usbhid-ups.Tpo .deps/mge_shut-usbhid-ups.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge_shut-libshut.o -MD -MP -MF .deps/mge_shut-libshut.Tpo -c -o mge_shut-libshut.o `test -f 'libshut.c' || echo './'`libshut.c
mv -f .deps/mge_shut-libshut.Tpo .deps/mge_shut-libshut.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge_shut-libhid.o -MD -MP -MF .deps/mge_shut-libhid.Tpo -c -o mge_shut-libhid.o `test -f 'libhid.c' || echo './'`libhid.c
mv -f .deps/mge_shut-libhid.Tpo .deps/mge_shut-libhid.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge_shut-hidparser.o -MD -MP -MF .deps/mge_shut-hidparser.Tpo -c -o mge_shut-hidparser.o `test -f 'hidparser.c' || echo './'`hidparser.c
mv -f .deps/mge_shut-hidparser.Tpo .deps/mge_shut-hidparser.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge_shut-mge-hid.o -MD -MP -MF .deps/mge_shut-mge-hid.Tpo -c -o mge_shut-mge-hid.o `test -f 'mge-hid.c' || echo './'`mge-hid.c
mv -f .deps/mge_shut-mge-hid.Tpo .deps/mge_shut-mge-hid.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o mge-shut mge_shut-usbhid-ups.o mge_shut-libshut.o mge_shut-libhid.o mge_shut-hidparser.o mge_shut-mge-hid.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -DSHUT_MODE=1 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o mge-shut mge_shut-usbhid-ups.o mge_shut-libshut.o mge_shut-libhid.o mge_shut-hidparser.o mge_shut-mge-hid.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo oneac.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT oneac.o -MD -MP -MF $depbase.Tpo -c -o oneac.o oneac.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o oneac oneac.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o oneac oneac.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo optiups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT optiups.o -MD -MP -MF $depbase.Tpo -c -o optiups.o optiups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o optiups optiups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o optiups optiups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo powercom.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powercom.o -MD -MP -MF $depbase.Tpo -c -o powercom.o powercom.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o powercom powercom.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o powercom powercom.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo rhino.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT rhino.o -MD -MP -MF $depbase.Tpo -c -o rhino.o rhino.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o rhino rhino.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o rhino rhino.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo safenet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT safenet.o -MD -MP -MF $depbase.Tpo -c -o safenet.o safenet.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o safenet safenet.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o safenet safenet.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo nutdrv_siemens_sitop.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_siemens_sitop.o -MD -MP -MF $depbase.Tpo -c -o nutdrv_siemens_sitop.o nutdrv_siemens_sitop.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o nutdrv_siemens-sitop nutdrv_siemens_sitop.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o nutdrv_siemens-sitop nutdrv_siemens_sitop.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo solis.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT solis.o -MD -MP -MF $depbase.Tpo -c -o solis.o solis.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o solis solis.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o solis solis.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo tripplite.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT tripplite.o -MD -MP -MF $depbase.Tpo -c -o tripplite.o tripplite.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o tripplite tripplite.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o tripplite tripplite.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo tripplitesu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT tripplitesu.o -MD -MP -MF $depbase.Tpo -c -o tripplitesu.o tripplitesu.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o tripplitesu tripplitesu.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o tripplitesu tripplitesu.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo upscode2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upscode2.o -MD -MP -MF $depbase.Tpo -c -o upscode2.o upscode2.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upscode2 upscode2.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o upscode2 upscode2.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo victronups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT victronups.o -MD -MP -MF $depbase.Tpo -c -o victronups.o victronups.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o victronups victronups.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o victronups victronups.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo powerpanel.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powerpanel.o -MD -MP -MF $depbase.Tpo -c -o powerpanel.o powerpanel.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo powerp-bin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powerp-bin.o -MD -MP -MF $depbase.Tpo -c -o powerp-bin.o powerp-bin.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo powerp-txt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powerp-txt.o -MD -MP -MF $depbase.Tpo -c -o powerp-txt.o powerp-txt.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o powerpanel powerpanel.o powerp-bin.o powerp-txt.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o powerpanel powerpanel.o powerp-bin.o powerp-txt.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo blazer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT blazer.o -MD -MP -MF $depbase.Tpo -c -o blazer.o blazer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo blazer_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT blazer_ser.o -MD -MP -MF $depbase.Tpo -c -o blazer_ser.o blazer_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o blazer_ser blazer.o blazer_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o blazer_ser blazer.o blazer_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo ivtscd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT ivtscd.o -MD -MP -MF $depbase.Tpo -c -o ivtscd.o ivtscd.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o ivtscd ivtscd.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o ivtscd ivtscd.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo apcsmart.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apcsmart.o -MD -MP -MF $depbase.Tpo -c -o apcsmart.o apcsmart.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo apcsmart_tabs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apcsmart_tabs.o -MD -MP -MF $depbase.Tpo -c -o apcsmart_tabs.o apcsmart_tabs.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o apcsmart apcsmart.o apcsmart_tabs.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o apcsmart apcsmart.o apcsmart_tabs.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo apcsmart-old.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apcsmart-old.o -MD -MP -MF $depbase.Tpo -c -o apcsmart-old.o apcsmart-old.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o apcsmart-old apcsmart-old.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o apcsmart-old apcsmart-old.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
depbase=`echo riello.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT riello.o -MD -MP -MF $depbase.Tpo -c -o riello.o riello.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo riello_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT riello_ser.o -MD -MP -MF $depbase.Tpo -c -o riello_ser.o riello_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o riello_ser riello.o riello_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o riello_ser riello.o riello_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo sms_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT sms_ser.o -MD -MP -MF $depbase.Tpo -c -o sms_ser.o sms_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o sms_ser sms_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o sms_ser sms_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo bicker_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bicker_ser.o -MD -MP -MF $depbase.Tpo -c -o bicker_ser.o bicker_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bicker_ser bicker_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bicker_ser bicker_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
depbase=`echo nhs_ser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nhs_ser.o -MD -MP -MF $depbase.Tpo -c -o nhs_ser.o nhs_ser.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o nhs_ser nhs_ser.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o nhs_ser nhs_ser.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx.Tpo -c -o nutdrv_qx-nutdrv_qx.o `test -f 'nutdrv_qx.c' || echo './'`nutdrv_qx.c
mv -f .deps/nutdrv_qx-nutdrv_qx.Tpo .deps/nutdrv_qx-nutdrv_qx.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-libusb1.o -MD -MP -MF .deps/nutdrv_qx-libusb1.Tpo -c -o nutdrv_qx-libusb1.o `test -f 'libusb1.c' || echo './'`libusb1.c
mv -f .deps/nutdrv_qx-libusb1.Tpo .deps/nutdrv_qx-libusb1.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-usb-common.o -MD -MP -MF .deps/nutdrv_qx-usb-common.Tpo -c -o nutdrv_qx-usb-common.o `test -f 'usb-common.c' || echo './'`usb-common.c
mv -f .deps/nutdrv_qx-usb-common.Tpo .deps/nutdrv_qx-usb-common.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_bestups.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_bestups.Tpo -c -o nutdrv_qx-nutdrv_qx_bestups.o `test -f 'nutdrv_qx_bestups.c' || echo './'`nutdrv_qx_bestups.c
mv -f .deps/nutdrv_qx-nutdrv_qx_bestups.Tpo .deps/nutdrv_qx-nutdrv_qx_bestups.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_blazer-common.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_blazer-common.Tpo -c -o nutdrv_qx-nutdrv_qx_blazer-common.o `test -f 'nutdrv_qx_blazer-common.c' || echo './'`nutdrv_qx_blazer-common.c
mv -f .deps/nutdrv_qx-nutdrv_qx_blazer-common.Tpo .deps/nutdrv_qx-nutdrv_qx_blazer-common.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_innovart31.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_innovart31.Tpo -c -o nutdrv_qx-nutdrv_qx_innovart31.o `test -f 'nutdrv_qx_innovart31.c' || echo './'`nutdrv_qx_innovart31.c
mv -f .deps/nutdrv_qx-nutdrv_qx_innovart31.Tpo .deps/nutdrv_qx-nutdrv_qx_innovart31.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_masterguard.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_masterguard.Tpo -c -o nutdrv_qx-nutdrv_qx_masterguard.o `test -f 'nutdrv_qx_masterguard.c' || echo './'`nutdrv_qx_masterguard.c
mv -f .deps/nutdrv_qx-nutdrv_qx_masterguard.Tpo .deps/nutdrv_qx-nutdrv_qx_masterguard.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_mecer.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_mecer.Tpo -c -o nutdrv_qx-nutdrv_qx_mecer.o `test -f 'nutdrv_qx_mecer.c' || echo './'`nutdrv_qx_mecer.c
mv -f .deps/nutdrv_qx-nutdrv_qx_mecer.Tpo .deps/nutdrv_qx-nutdrv_qx_mecer.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_megatec.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_megatec.Tpo -c -o nutdrv_qx-nutdrv_qx_megatec.o `test -f 'nutdrv_qx_megatec.c' || echo './'`nutdrv_qx_megatec.c
mv -f .deps/nutdrv_qx-nutdrv_qx_megatec.Tpo .deps/nutdrv_qx-nutdrv_qx_megatec.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_megatec-old.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_megatec-old.Tpo -c -o nutdrv_qx-nutdrv_qx_megatec-old.o `test -f 'nutdrv_qx_megatec-old.c' || echo './'`nutdrv_qx_megatec-old.c
mv -f .deps/nutdrv_qx-nutdrv_qx_megatec-old.Tpo .deps/nutdrv_qx-nutdrv_qx_megatec-old.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_mustek.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_mustek.Tpo -c -o nutdrv_qx-nutdrv_qx_mustek.o `test -f 'nutdrv_qx_mustek.c' || echo './'`nutdrv_qx_mustek.c
mv -f .deps/nutdrv_qx-nutdrv_qx_mustek.Tpo .deps/nutdrv_qx-nutdrv_qx_mustek.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_q1.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_q1.Tpo -c -o nutdrv_qx-nutdrv_qx_q1.o `test -f 'nutdrv_qx_q1.c' || echo './'`nutdrv_qx_q1.c
mv -f .deps/nutdrv_qx-nutdrv_qx_q1.Tpo .deps/nutdrv_qx-nutdrv_qx_q1.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_voltronic.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_voltronic.Tpo -c -o nutdrv_qx-nutdrv_qx_voltronic.o `test -f 'nutdrv_qx_voltronic.c' || echo './'`nutdrv_qx_voltronic.c
mv -f .deps/nutdrv_qx-nutdrv_qx_voltronic.Tpo .deps/nutdrv_qx-nutdrv_qx_voltronic.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_voltronic-qs.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_voltronic-qs.Tpo -c -o nutdrv_qx-nutdrv_qx_voltronic-qs.o `test -f 'nutdrv_qx_voltronic-qs.c' || echo './'`nutdrv_qx_voltronic-qs.c
mv -f .deps/nutdrv_qx-nutdrv_qx_voltronic-qs.Tpo .deps/nutdrv_qx-nutdrv_qx_voltronic-qs.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_voltronic-qs-hex.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_voltronic-qs-hex.Tpo -c -o nutdrv_qx-nutdrv_qx_voltronic-qs-hex.o `test -f 'nutdrv_qx_voltronic-qs-hex.c' || echo './'`nutdrv_qx_voltronic-qs-hex.c
mv -f .deps/nutdrv_qx-nutdrv_qx_voltronic-qs-hex.Tpo .deps/nutdrv_qx-nutdrv_qx_voltronic-qs-hex.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_zinto.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_zinto.Tpo -c -o nutdrv_qx-nutdrv_qx_zinto.o `test -f 'nutdrv_qx_zinto.c' || echo './'`nutdrv_qx_zinto.c
mv -f .deps/nutdrv_qx-nutdrv_qx_zinto.Tpo .deps/nutdrv_qx-nutdrv_qx_zinto.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_hunnox.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_hunnox.Tpo -c -o nutdrv_qx-nutdrv_qx_hunnox.o `test -f 'nutdrv_qx_hunnox.c' || echo './'`nutdrv_qx_hunnox.c
mv -f .deps/nutdrv_qx-nutdrv_qx_hunnox.Tpo .deps/nutdrv_qx-nutdrv_qx_hunnox.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_qx-nutdrv_qx_ablerex.o -MD -MP -MF .deps/nutdrv_qx-nutdrv_qx_ablerex.Tpo -c -o nutdrv_qx-nutdrv_qx_ablerex.o `test -f 'nutdrv_qx_ablerex.c' || echo './'`nutdrv_qx_ablerex.c
mv -f .deps/nutdrv_qx-nutdrv_qx_ablerex.Tpo .deps/nutdrv_qx-nutdrv_qx_ablerex.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o nutdrv_qx nutdrv_qx-nutdrv_qx.o nutdrv_qx-libusb1.o nutdrv_qx-usb-common.o nutdrv_qx-nutdrv_qx_bestups.o nutdrv_qx-nutdrv_qx_blazer-common.o nutdrv_qx-nutdrv_qx_innovart31.o nutdrv_qx-nutdrv_qx_masterguard.o nutdrv_qx-nutdrv_qx_mecer.o nutdrv_qx-nutdrv_qx_megatec.o nutdrv_qx-nutdrv_qx_megatec-old.o nutdrv_qx-nutdrv_qx_mustek.o nutdrv_qx-nutdrv_qx_q1.o nutdrv_qx-nutdrv_qx_voltronic.o nutdrv_qx-nutdrv_qx_voltronic-qs.o nutdrv_qx-nutdrv_qx_voltronic-qs-hex.o nutdrv_qx-nutdrv_qx_zinto.o nutdrv_qx-nutdrv_qx_hunnox.o nutdrv_qx-nutdrv_qx_ablerex.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lm libdummy_serial.la  -lusb-1.0
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -DQX_SERIAL -DQX_USB -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o nutdrv_qx nutdrv_qx-nutdrv_qx.o nutdrv_qx-libusb1.o nutdrv_qx-usb-common.o nutdrv_qx-nutdrv_qx_bestups.o nutdrv_qx-nutdrv_qx_blazer-common.o nutdrv_qx-nutdrv_qx_innovart31.o nutdrv_qx-nutdrv_qx_masterguard.o nutdrv_qx-nutdrv_qx_mecer.o nutdrv_qx-nutdrv_qx_megatec.o nutdrv_qx-nutdrv_qx_megatec-old.o nutdrv_qx-nutdrv_qx_mustek.o nutdrv_qx-nutdrv_qx_q1.o nutdrv_qx-nutdrv_qx_voltronic.o nutdrv_qx-nutdrv_qx_voltronic-qs.o nutdrv_qx-nutdrv_qx_voltronic-qs-hex.o nutdrv_qx-nutdrv_qx_zinto.o nutdrv_qx-nutdrv_qx_hunnox.o nutdrv_qx-nutdrv_qx_ablerex.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lm ./.libs/libdummy_serial.a -lusb-1.0
depbase=`echo usbhid-ups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT usbhid-ups.o -MD -MP -MF $depbase.Tpo -c -o usbhid-ups.o usbhid-ups.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo libhid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libhid.o -MD -MP -MF $depbase.Tpo -c -o libhid.o libhid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo libusb1.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libusb1.o -MD -MP -MF $depbase.Tpo -c -o libusb1.o libusb1.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hidparser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT hidparser.o -MD -MP -MF $depbase.Tpo -c -o hidparser.o hidparser.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo usb-common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT usb-common.o -MD -MP -MF $depbase.Tpo -c -o usb-common.o usb-common.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo apc-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apc-hid.o -MD -MP -MF $depbase.Tpo -c -o apc-hid.o apc-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo arduino-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT arduino-hid.o -MD -MP -MF $depbase.Tpo -c -o arduino-hid.o arduino-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo belkin-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT belkin-hid.o -MD -MP -MF $depbase.Tpo -c -o belkin-hid.o belkin-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo cps-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT cps-hid.o -MD -MP -MF $depbase.Tpo -c -o cps-hid.o cps-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo explore-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT explore-hid.o -MD -MP -MF $depbase.Tpo -c -o explore-hid.o explore-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo liebert-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT liebert-hid.o -MD -MP -MF $depbase.Tpo -c -o liebert-hid.o liebert-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo mge-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT mge-hid.o -MD -MP -MF $depbase.Tpo -c -o mge-hid.o mge-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo powercom-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powercom-hid.o -MD -MP -MF $depbase.Tpo -c -o powercom-hid.o powercom-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tripplite-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT tripplite-hid.o -MD -MP -MF $depbase.Tpo -c -o tripplite-hid.o tripplite-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo idowell-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT idowell-hid.o -MD -MP -MF $depbase.Tpo -c -o idowell-hid.o idowell-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo openups-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT openups-hid.o -MD -MP -MF $depbase.Tpo -c -o openups-hid.o openups-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo powervar-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT powervar-hid.o -MD -MP -MF $depbase.Tpo -c -o powervar-hid.o powervar-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo delta_ups-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT delta_ups-hid.o -MD -MP -MF $depbase.Tpo -c -o delta_ups-hid.o delta_ups-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ever-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT ever-hid.o -MD -MP -MF $depbase.Tpo -c -o ever-hid.o ever-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo legrand-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT legrand-hid.o -MD -MP -MF $depbase.Tpo -c -o legrand-hid.o legrand-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo salicru-hid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT salicru-hid.o -MD -MP -MF $depbase.Tpo -c -o salicru-hid.o salicru-hid.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o usbhid-ups usbhid-ups.o libhid.o libusb1.o hidparser.o usb-common.o apc-hid.o arduino-hid.o belkin-hid.o cps-hid.o explore-hid.o liebert-hid.o mge-hid.o powercom-hid.o tripplite-hid.o idowell-hid.o openups-hid.o powervar-hid.o delta_ups-hid.o ever-hid.o legrand-hid.o salicru-hid.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o usbhid-ups usbhid-ups.o libhid.o libusb1.o hidparser.o usb-common.o apc-hid.o arduino-hid.o belkin-hid.o cps-hid.o explore-hid.o liebert-hid.o mge-hid.o powercom-hid.o tripplite-hid.o idowell-hid.o openups-hid.o powervar-hid.o delta_ups-hid.o ever-hid.o legrand-hid.o salicru-hid.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0 -lm
depbase=`echo bcmxcp_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT bcmxcp_usb.o -MD -MP -MF $depbase.Tpo -c -o bcmxcp_usb.o bcmxcp_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o bcmxcp_usb bcmxcp_usb.o bcmxcp.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o bcmxcp_usb bcmxcp_usb.o bcmxcp.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0 -lm
depbase=`echo tripplite_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT tripplite_usb.o -MD -MP -MF $depbase.Tpo -c -o tripplite_usb.o tripplite_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o tripplite_usb tripplite_usb.o libusb1.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o tripplite_usb tripplite_usb.o libusb1.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0 -lm
depbase=`echo blazer_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT blazer_usb.o -MD -MP -MF $depbase.Tpo -c -o blazer_usb.o blazer_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o blazer_usb blazer.o blazer_usb.o libusb1.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o blazer_usb blazer.o blazer_usb.o libusb1.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0 -lm
depbase=`echo richcomm_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT richcomm_usb.o -MD -MP -MF $depbase.Tpo -c -o richcomm_usb.o richcomm_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o richcomm_usb richcomm_usb.o libusb1.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o richcomm_usb richcomm_usb.o libusb1.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0
depbase=`echo riello_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT riello_usb.o -MD -MP -MF $depbase.Tpo -c -o riello_usb.o riello_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o riello_usb riello.o riello_usb.o libusb1.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0  -lm
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o riello_usb riello.o riello_usb.o libusb1.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0 -lm
depbase=`echo nutdrv_atcl_usb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nutdrv_atcl_usb.o -MD -MP -MF $depbase.Tpo -c -o nutdrv_atcl_usb.o nutdrv_atcl_usb.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o nutdrv_atcl_usb nutdrv_atcl_usb.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -lusb-1.0
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o nutdrv_atcl_usb nutdrv_atcl_usb.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lusb-1.0
depbase=`echo phoenixcontact_modbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT phoenixcontact_modbus.o -MD -MP -MF $depbase.Tpo -c -o phoenixcontact_modbus.o phoenixcontact_modbus.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o phoenixcontact_modbus phoenixcontact_modbus.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -L/usr/local/lib -lmodbus
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o phoenixcontact_modbus phoenixcontact_modbus.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo generic_modbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT generic_modbus.o -MD -MP -MF $depbase.Tpo -c -o generic_modbus.o generic_modbus.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o generic_modbus generic_modbus.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -L/usr/local/lib -lmodbus
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o generic_modbus generic_modbus.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo huawei-ups2000.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT huawei-ups2000.o -MD -MP -MF $depbase.Tpo -c -o huawei-ups2000.o huawei-ups2000.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o huawei-ups2000 huawei-ups2000.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -L/usr/local/lib -lmodbus
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o huawei-ups2000 huawei-ups2000.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo socomec_jbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT socomec_jbus.o -MD -MP -MF $depbase.Tpo -c -o socomec_jbus.o socomec_jbus.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o socomec_jbus socomec_jbus.o libdummy_serial.la libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la  -L/usr/local/lib -lmodbus
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o socomec_jbus socomec_jbus.o  ./.libs/libdummy_serial.a ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo adelsystem_cbi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT adelsystem_cbi.o -MD -MP -MF $depbase.Tpo -c -o adelsystem_cbi.o adelsystem_cbi.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o adelsystem_cbi adelsystem_cbi.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -L/usr/local/lib -lmodbus
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o adelsystem_cbi adelsystem_cbi.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo apc_modbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT apc_modbus.o -MD -MP -MF $depbase.Tpo -c -o apc_modbus.o apc_modbus.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o apc_modbus apc_modbus.o libusb1.o hidparser.o usb-common.o libdummy.la libdummy_upsdrvquery.la ../common/libcommon.la ../common/libparseconf.la -L/usr/local/lib -lmodbus  -lusb-1.0
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o apc_modbus apc_modbus.o libusb1.o hidparser.o usb-common.o  ./.libs/libdummy.a ./.libs/libdummy_upsdrvquery.a ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libmodbus.a -lusb-1.0
depbase=`echo upsdrvctl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsdrvctl.o -MD -MP -MF $depbase.Tpo -c -o upsdrvctl.o upsdrvctl.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o upsdrvctl upsdrvctl.o ../common/libcommon.la ../common/libparseconf.la libdummy_upsdrvquery.la
libtool: link: gcc -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o upsdrvctl upsdrvctl.o  ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a ./.libs/libdummy_upsdrvquery.a
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-serial.lo -MD -MP -MF .deps/libserial_nutscan_la-serial.Tpo -c -o libserial_nutscan_la-serial.lo `test -f 'serial.c' || echo './'`serial.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-serial.lo -MD -MP -MF .deps/libserial_nutscan_la-serial.Tpo -c serial.c  -fPIC -DPIC -o .libs/libserial_nutscan_la-serial.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-serial.lo -MD -MP -MF .deps/libserial_nutscan_la-serial.Tpo -c serial.c -o libserial_nutscan_la-serial.o >/dev/null 2>&1
mv -f .deps/libserial_nutscan_la-serial.Tpo .deps/libserial_nutscan_la-serial.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-bcmxcp_ser.lo -MD -MP -MF .deps/libserial_nutscan_la-bcmxcp_ser.Tpo -c -o libserial_nutscan_la-bcmxcp_ser.lo `test -f 'bcmxcp_ser.c' || echo './'`bcmxcp_ser.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-bcmxcp_ser.lo -MD -MP -MF .deps/libserial_nutscan_la-bcmxcp_ser.Tpo -c bcmxcp_ser.c  -fPIC -DPIC -o .libs/libserial_nutscan_la-bcmxcp_ser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libusb-1.0 -I/usr/local/include/modbus -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libserial_nutscan_la-bcmxcp_ser.lo -MD -MP -MF .deps/libserial_nutscan_la-bcmxcp_ser.Tpo -c bcmxcp_ser.c -o libserial_nutscan_la-bcmxcp_ser.o >/dev/null 2>&1
mv -f .deps/libserial_nutscan_la-bcmxcp_ser.Tpo .deps/libserial_nutscan_la-bcmxcp_ser.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I/usr/include/libusb-1.0      -I/usr/local/include/modbus   -I../clients -I../include -I../drivers -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o libserial-nutscan.la  libserial_nutscan_la-serial.lo libserial_nutscan_la-bcmxcp_ser.lo
libtool: link: rm -fr  .libs/libserial-nutscan.a .libs/libserial-nutscan.la
libtool: link: /usr/bin/ar cr .libs/libserial-nutscan.a .libs/libserial_nutscan_la-serial.o .libs/libserial_nutscan_la-bcmxcp_ser.o
libtool: link: ranlib .libs/libserial-nutscan.a
libtool: link: ( cd ".libs" && rm -f "libserial-nutscan.la" && ln -s "../libserial-nutscan.la" "libserial-nutscan.la" )
make[2]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonclient.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
 /usr/bin/mkdir -p '/lib/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c dummy-ups clone clone-outlet apcupsd-ups skel al175 bcmxcp belkin belkinunv bestfcom bestfortress bestuferrups bestups etapro everups gamatronic genericups isbmex liebert liebert-esp2 liebert-gxe masterguard metasys mge-utalk microdowell microsol-apc mge-shut oneac optiups powercom rhino safenet nutdrv_siemens-sitop solis tripplite tripplitesu upscode2 victronups powerpanel blazer_ser ivtscd apcsmart apcsmart-old riello_ser sms_ser bicker_ser nhs_ser nutdrv_qx usbhid-ups bcmxcp_usb tripplite_usb blazer_usb richcomm_usb riello_usb nutdrv_atcl_usb phoenixcontact_modbus generic_modbus huawei-ups2000 socomec_jbus adelsystem_cbi apc_modbus '/lib/nut'
libtool: install: /usr/bin/install -c .libs/dummy-ups /lib/nut/dummy-ups
libtool: install: /usr/bin/install -c clone /lib/nut/clone
libtool: install: /usr/bin/install -c clone-outlet /lib/nut/clone-outlet
libtool: install: /usr/bin/install -c apcupsd-ups /lib/nut/apcupsd-ups
libtool: install: /usr/bin/install -c skel /lib/nut/skel
libtool: install: /usr/bin/install -c al175 /lib/nut/al175
libtool: install: /usr/bin/install -c bcmxcp /lib/nut/bcmxcp
libtool: install: /usr/bin/install -c belkin /lib/nut/belkin
libtool: install: /usr/bin/install -c belkinunv /lib/nut/belkinunv
libtool: install: /usr/bin/install -c bestfcom /lib/nut/bestfcom
libtool: install: /usr/bin/install -c bestfortress /lib/nut/bestfortress
libtool: install: /usr/bin/install -c bestuferrups /lib/nut/bestuferrups
libtool: install: /usr/bin/install -c bestups /lib/nut/bestups
libtool: install: /usr/bin/install -c etapro /lib/nut/etapro
libtool: install: /usr/bin/install -c everups /lib/nut/everups
libtool: install: /usr/bin/install -c gamatronic /lib/nut/gamatronic
libtool: install: /usr/bin/install -c genericups /lib/nut/genericups
libtool: install: /usr/bin/install -c isbmex /lib/nut/isbmex
libtool: install: /usr/bin/install -c liebert /lib/nut/liebert
libtool: install: /usr/bin/install -c liebert-esp2 /lib/nut/liebert-esp2
libtool: install: /usr/bin/install -c liebert-gxe /lib/nut/liebert-gxe
libtool: install: /usr/bin/install -c masterguard /lib/nut/masterguard
libtool: install: /usr/bin/install -c metasys /lib/nut/metasys
libtool: install: /usr/bin/install -c mge-utalk /lib/nut/mge-utalk
libtool: install: /usr/bin/install -c microdowell /lib/nut/microdowell
libtool: install: /usr/bin/install -c microsol-apc /lib/nut/microsol-apc
libtool: install: /usr/bin/install -c mge-shut /lib/nut/mge-shut
libtool: install: /usr/bin/install -c oneac /lib/nut/oneac
libtool: install: /usr/bin/install -c optiups /lib/nut/optiups
libtool: install: /usr/bin/install -c powercom /lib/nut/powercom
libtool: install: /usr/bin/install -c rhino /lib/nut/rhino
libtool: install: /usr/bin/install -c safenet /lib/nut/safenet
libtool: install: /usr/bin/install -c nutdrv_siemens-sitop /lib/nut/nutdrv_siemens-sitop
libtool: install: /usr/bin/install -c solis /lib/nut/solis
libtool: install: /usr/bin/install -c tripplite /lib/nut/tripplite
libtool: install: /usr/bin/install -c tripplitesu /lib/nut/tripplitesu
libtool: install: /usr/bin/install -c upscode2 /lib/nut/upscode2
libtool: install: /usr/bin/install -c victronups /lib/nut/victronups
libtool: install: /usr/bin/install -c powerpanel /lib/nut/powerpanel
libtool: install: /usr/bin/install -c blazer_ser /lib/nut/blazer_ser
libtool: install: /usr/bin/install -c ivtscd /lib/nut/ivtscd
libtool: install: /usr/bin/install -c apcsmart /lib/nut/apcsmart
libtool: install: /usr/bin/install -c apcsmart-old /lib/nut/apcsmart-old
libtool: install: /usr/bin/install -c riello_ser /lib/nut/riello_ser
libtool: install: /usr/bin/install -c sms_ser /lib/nut/sms_ser
libtool: install: /usr/bin/install -c bicker_ser /lib/nut/bicker_ser
libtool: install: /usr/bin/install -c nhs_ser /lib/nut/nhs_ser
libtool: install: /usr/bin/install -c nutdrv_qx /lib/nut/nutdrv_qx
libtool: install: /usr/bin/install -c usbhid-ups /lib/nut/usbhid-ups
libtool: install: /usr/bin/install -c bcmxcp_usb /lib/nut/bcmxcp_usb
libtool: install: /usr/bin/install -c tripplite_usb /lib/nut/tripplite_usb
libtool: install: /usr/bin/install -c blazer_usb /lib/nut/blazer_usb
libtool: install: /usr/bin/install -c richcomm_usb /lib/nut/richcomm_usb
libtool: install: /usr/bin/install -c riello_usb /lib/nut/riello_usb
libtool: install: /usr/bin/install -c nutdrv_atcl_usb /lib/nut/nutdrv_atcl_usb
libtool: install: /usr/bin/install -c phoenixcontact_modbus /lib/nut/phoenixcontact_modbus
libtool: install: /usr/bin/install -c generic_modbus /lib/nut/generic_modbus
libtool: install: /usr/bin/install -c huawei-ups2000 /lib/nut/huawei-ups2000
libtool: install: /usr/bin/install -c socomec_jbus /lib/nut/socomec_jbus
libtool: install: /usr/bin/install -c adelsystem_cbi /lib/nut/adelsystem_cbi
libtool: install: /usr/bin/install -c apc_modbus /lib/nut/apc_modbus
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsdrvctl '/usr/sbin'
libtool: install: /usr/bin/install -c upsdrvctl /usr/sbin/upsdrvctl
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
Making install in tools
make[1]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
Making install in .
make[2]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
Making install in nut-scanner
make[2]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[3]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make  install-am
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make[4]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT nut_scanner-nut-scanner.o -MD -MP -MF .deps/nut_scanner-nut-scanner.Tpo -c -o nut_scanner-nut-scanner.o `test -f 'nut-scanner.c' || echo './'`nut-scanner.c
mv -f .deps/nut_scanner-nut-scanner.Tpo .deps/nut_scanner-nut-scanner.Po
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut.lo -MD -MP -MF .deps/libnutscan_la-scan_nut.Tpo -c -o libnutscan_la-scan_nut.lo `test -f 'scan_nut.c' || echo './'`scan_nut.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut.lo -MD -MP -MF .deps/libnutscan_la-scan_nut.Tpo -c scan_nut.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_nut.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut.lo -MD -MP -MF .deps/libnutscan_la-scan_nut.Tpo -c scan_nut.c -o libnutscan_la-scan_nut.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_nut.Tpo .deps/libnutscan_la-scan_nut.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut_simulation.lo -MD -MP -MF .deps/libnutscan_la-scan_nut_simulation.Tpo -c -o libnutscan_la-scan_nut_simulation.lo `test -f 'scan_nut_simulation.c' || echo './'`scan_nut_simulation.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut_simulation.lo -MD -MP -MF .deps/libnutscan_la-scan_nut_simulation.Tpo -c scan_nut_simulation.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_nut_simulation.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_nut_simulation.lo -MD -MP -MF .deps/libnutscan_la-scan_nut_simulation.Tpo -c scan_nut_simulation.c -o libnutscan_la-scan_nut_simulation.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_nut_simulation.Tpo .deps/libnutscan_la-scan_nut_simulation.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_ipmi.lo -MD -MP -MF .deps/libnutscan_la-scan_ipmi.Tpo -c -o libnutscan_la-scan_ipmi.lo `test -f 'scan_ipmi.c' || echo './'`scan_ipmi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_ipmi.lo -MD -MP -MF .deps/libnutscan_la-scan_ipmi.Tpo -c scan_ipmi.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_ipmi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_ipmi.lo -MD -MP -MF .deps/libnutscan_la-scan_ipmi.Tpo -c scan_ipmi.c -o libnutscan_la-scan_ipmi.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_ipmi.Tpo .deps/libnutscan_la-scan_ipmi.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-device.lo -MD -MP -MF .deps/libnutscan_la-nutscan-device.Tpo -c -o libnutscan_la-nutscan-device.lo `test -f 'nutscan-device.c' || echo './'`nutscan-device.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-device.lo -MD -MP -MF .deps/libnutscan_la-nutscan-device.Tpo -c nutscan-device.c  -fPIC -DPIC -o .libs/libnutscan_la-nutscan-device.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-device.lo -MD -MP -MF .deps/libnutscan_la-nutscan-device.Tpo -c nutscan-device.c -o libnutscan_la-nutscan-device.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-nutscan-device.Tpo .deps/libnutscan_la-nutscan-device.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-ip.lo -MD -MP -MF .deps/libnutscan_la-nutscan-ip.Tpo -c -o libnutscan_la-nutscan-ip.lo `test -f 'nutscan-ip.c' || echo './'`nutscan-ip.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-ip.lo -MD -MP -MF .deps/libnutscan_la-nutscan-ip.Tpo -c nutscan-ip.c  -fPIC -DPIC -o .libs/libnutscan_la-nutscan-ip.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-ip.lo -MD -MP -MF .deps/libnutscan_la-nutscan-ip.Tpo -c nutscan-ip.c -o libnutscan_la-nutscan-ip.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-nutscan-ip.Tpo .deps/libnutscan_la-nutscan-ip.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-display.lo -MD -MP -MF .deps/libnutscan_la-nutscan-display.Tpo -c -o libnutscan_la-nutscan-display.lo `test -f 'nutscan-display.c' || echo './'`nutscan-display.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-display.lo -MD -MP -MF .deps/libnutscan_la-nutscan-display.Tpo -c nutscan-display.c  -fPIC -DPIC -o .libs/libnutscan_la-nutscan-display.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-display.lo -MD -MP -MF .deps/libnutscan_la-nutscan-display.Tpo -c nutscan-display.c -o libnutscan_la-nutscan-display.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-nutscan-display.Tpo .deps/libnutscan_la-nutscan-display.Plo
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonclient.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-init.lo -MD -MP -MF .deps/libnutscan_la-nutscan-init.Tpo -c -o libnutscan_la-nutscan-init.lo `test -f 'nutscan-init.c' || echo './'`nutscan-init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-init.lo -MD -MP -MF .deps/libnutscan_la-nutscan-init.Tpo -c nutscan-init.c  -fPIC -DPIC -o .libs/libnutscan_la-nutscan-init.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-init.lo -MD -MP -MF .deps/libnutscan_la-nutscan-init.Tpo -c nutscan-init.c -o libnutscan_la-nutscan-init.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-nutscan-init.Tpo .deps/libnutscan_la-nutscan-init.Plo
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c -o libnutscan_la-scan_usb.lo `test -f 'scan_usb.c' || echo './'`scan_usb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c scan_usb.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_usb.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c scan_usb.c -o libnutscan_la-scan_usb.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_usb.Tpo .deps/libnutscan_la-scan_usb.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_snmp.lo -MD -MP -MF .deps/libnutscan_la-scan_snmp.Tpo -c -o libnutscan_la-scan_snmp.lo `test -f 'scan_snmp.c' || echo './'`scan_snmp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_snmp.lo -MD -MP -MF .deps/libnutscan_la-scan_snmp.Tpo -c scan_snmp.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_snmp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_snmp.lo -MD -MP -MF .deps/libnutscan_la-scan_snmp.Tpo -c scan_snmp.c -o libnutscan_la-scan_snmp.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_snmp.Tpo .deps/libnutscan_la-scan_snmp.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_xml_http.lo -MD -MP -MF .deps/libnutscan_la-scan_xml_http.Tpo -c -o libnutscan_la-scan_xml_http.lo `test -f 'scan_xml_http.c' || echo './'`scan_xml_http.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_xml_http.lo -MD -MP -MF .deps/libnutscan_la-scan_xml_http.Tpo -c scan_xml_http.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_xml_http.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_xml_http.lo -MD -MP -MF .deps/libnutscan_la-scan_xml_http.Tpo -c scan_xml_http.c -o libnutscan_la-scan_xml_http.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_xml_http.Tpo .deps/libnutscan_la-scan_xml_http.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_avahi.lo -MD -MP -MF .deps/libnutscan_la-scan_avahi.Tpo -c -o libnutscan_la-scan_avahi.lo `test -f 'scan_avahi.c' || echo './'`scan_avahi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_avahi.lo -MD -MP -MF .deps/libnutscan_la-scan_avahi.Tpo -c scan_avahi.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_avahi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_avahi.lo -MD -MP -MF .deps/libnutscan_la-scan_avahi.Tpo -c scan_avahi.c -o libnutscan_la-scan_avahi.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_avahi.Tpo .deps/libnutscan_la-scan_avahi.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_eaton_serial.lo -MD -MP -MF .deps/libnutscan_la-scan_eaton_serial.Tpo -c -o libnutscan_la-scan_eaton_serial.lo `test -f 'scan_eaton_serial.c' || echo './'`scan_eaton_serial.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_eaton_serial.lo -MD -MP -MF .deps/libnutscan_la-scan_eaton_serial.Tpo -c scan_eaton_serial.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_eaton_serial.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-scan_eaton_serial.lo -MD -MP -MF .deps/libnutscan_la-scan_eaton_serial.Tpo -c scan_eaton_serial.c -o libnutscan_la-scan_eaton_serial.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-scan_eaton_serial.Tpo .deps/libnutscan_la-scan_eaton_serial.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-serial.lo -MD -MP -MF .deps/libnutscan_la-nutscan-serial.Tpo -c -o libnutscan_la-nutscan-serial.lo `test -f 'nutscan-serial.c' || echo './'`nutscan-serial.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-serial.lo -MD -MP -MF .deps/libnutscan_la-nutscan-serial.Tpo -c nutscan-serial.c  -fPIC -DPIC -o .libs/libnutscan_la-nutscan-serial.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../clients -I../../include -I../../include -I../../drivers -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libnutscan_la-nutscan-serial.lo -MD -MP -MF .deps/libnutscan_la-nutscan-serial.Tpo -c nutscan-serial.c -o libnutscan_la-nutscan-serial.o >/dev/null 2>&1
mv -f .deps/libnutscan_la-nutscan-serial.Tpo .deps/libnutscan_la-nutscan-serial.Plo
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[4]: 'libserial-nutscan.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonstr.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../clients -I../../clients -I../../include -I../../include  -I../../drivers -I/usr/include/nss -I/usr/include/nspr  -I/usr/include/libusb-1.0        -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error  -version-info 2:6:0 -export-symbols-regex '^(nutscan_|nut_debug_level|s_upsdebug|fatalx|fatal_with_errno|xcalloc|xbasename|snprintfcat|max_threads|curr_threads|nut_report_config_flags|upsdebugx_report_search_paths|nut_prepare_search_paths|print_banner_once|suggest_doc_links)'   -o libnutscan.la -rpath /usr/lib/x86_64-linux-gnu libnutscan_la-scan_nut.lo libnutscan_la-scan_nut_simulation.lo libnutscan_la-scan_ipmi.lo libnutscan_la-nutscan-device.lo libnutscan_la-nutscan-ip.lo libnutscan_la-nutscan-display.lo libnutscan_la-nutscan-init.lo libnutscan_la-scan_usb.lo libnutscan_la-scan_snmp.lo libnutscan_la-scan_xml_http.lo libnutscan_la-scan_avahi.lo libnutscan_la-scan_eaton_serial.lo libnutscan_la-nutscan-serial.lo  ../../drivers/libserial-nutscan.la -lltdl      ../../common/libcommonstr.la -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: rm -fr  .libs/libnutscan.a .libs/libnutscan.exp .libs/libnutscan.la .libs/libnutscan.lai .libs/libnutscan.so .libs/libnutscan.so.2 .libs/libnutscan.so.2.0.6 .libs/libnutscan.ver
libtool: link: /usr/bin/nm -B  .libs/libnutscan_la-scan_nut.o .libs/libnutscan_la-scan_nut_simulation.o .libs/libnutscan_la-scan_ipmi.o .libs/libnutscan_la-nutscan-device.o .libs/libnutscan_la-nutscan-ip.o .libs/libnutscan_la-nutscan-display.o .libs/libnutscan_la-nutscan-init.o .libs/libnutscan_la-scan_usb.o .libs/libnutscan_la-scan_snmp.o .libs/libnutscan_la-scan_xml_http.o .libs/libnutscan_la-scan_avahi.o .libs/libnutscan_la-scan_eaton_serial.o .libs/libnutscan_la-nutscan-serial.o   ../../drivers/.libs/libserial-nutscan.a ../../common/.libs/libcommonstr.a | /usr/bin/sed -n -e 's/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libnutscan.exp
libtool: link: /usr/bin/grep -E -e "^(nutscan_|nut_debug_level|s_upsdebug|fatalx|fatal_with_errno|xcalloc|xbasename|snprintfcat|max_threads|curr_threads|nut_report_config_flags|upsdebugx_report_search_paths|nut_prepare_search_paths|print_banner_once|suggest_doc_links)" ".libs/libnutscan.exp" > ".libs/libnutscan.expT"
libtool: link: mv -f ".libs/libnutscan.expT" ".libs/libnutscan.exp"
libtool: link: echo "{ global:" > .libs/libnutscan.ver
libtool: link:  cat .libs/libnutscan.exp | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libnutscan.ver
libtool: link:  echo "local: *; };" >> .libs/libnutscan.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/libnutscan_la-scan_nut.o .libs/libnutscan_la-scan_nut_simulation.o .libs/libnutscan_la-scan_ipmi.o .libs/libnutscan_la-nutscan-device.o .libs/libnutscan_la-nutscan-ip.o .libs/libnutscan_la-nutscan-display.o .libs/libnutscan_la-nutscan-init.o .libs/libnutscan_la-scan_usb.o .libs/libnutscan_la-scan_snmp.o .libs/libnutscan_la-scan_xml_http.o .libs/libnutscan_la-scan_avahi.o .libs/libnutscan_la-scan_eaton_serial.o .libs/libnutscan_la-nutscan-serial.o  -Wl,--whole-archive ../../drivers/.libs/libserial-nutscan.a ../../common/.libs/libcommonstr.a -Wl,--no-whole-archive  -lltdl -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4  -g -O2   -Wl,-soname -Wl,libnutscan.so.2 -Wl,-version-script -Wl,.libs/libnutscan.ver -o .libs/libnutscan.so.2.0.6
libtool: link: (cd ".libs" && rm -f "libnutscan.so.2" && ln -s "libnutscan.so.2.0.6" "libnutscan.so.2")
libtool: link: (cd ".libs" && rm -f "libnutscan.so" && ln -s "libnutscan.so.2.0.6" "libnutscan.so")
libtool: link: (cd .libs/libnutscan.lax/libserial-nutscan.a && /usr/bin/ar x "/home/erik/nut-issue-2666/tools/nut-scanner/../../drivers/.libs/libserial-nutscan.a")
libtool: link: (cd .libs/libnutscan.lax/libcommonstr.a && /usr/bin/ar x "/home/erik/nut-issue-2666/tools/nut-scanner/../../common/.libs/libcommonstr.a")
libtool: link: /usr/bin/ar cr .libs/libnutscan.a  libnutscan_la-scan_nut.o libnutscan_la-scan_nut_simulation.o libnutscan_la-scan_ipmi.o libnutscan_la-nutscan-device.o libnutscan_la-nutscan-ip.o libnutscan_la-nutscan-display.o libnutscan_la-nutscan-init.o libnutscan_la-scan_usb.o libnutscan_la-scan_snmp.o libnutscan_la-scan_xml_http.o libnutscan_la-scan_avahi.o libnutscan_la-scan_eaton_serial.o libnutscan_la-nutscan-serial.o  .libs/libnutscan.lax/libserial-nutscan.a/libserial_nutscan_la-bcmxcp_ser.o .libs/libnutscan.lax/libserial-nutscan.a/libserial_nutscan_la-serial.o  .libs/libnutscan.lax/libcommonstr.a/libcommonstr_la-common.o .libs/libnutscan.lax/libcommonstr.a/libcommonstr_la-str.o
libtool: link: ranlib .libs/libnutscan.a
libtool: link: rm -fr .libs/libnutscan.lax
libtool: link: ( cd ".libs" && rm -f "libnutscan.la" && ln -s "../libnutscan.la" "libnutscan.la" )
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../clients -I../../clients -I../../include -I../../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error    -o nut-scanner nut_scanner-nut-scanner.o libnutscan.la
libtool: link: gcc -I../../clients -I../../clients -I../../include -I../../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o .libs/nut-scanner nut_scanner-nut-scanner.o  ./.libs/libnutscan.so
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/include' wordt binnengegaan
SEMVER=2.7.4; TRUNK='origin/master'; BASE='4e9eb9ad15f2cd6b12dfe359c8b9d496dd33b0c5'; DESC='v2.7.4-11108-g788888094' => TAG='v2.7.4' + SUFFIX='-11108-g788888094' => VER5='2.7.4.11052.56' => VER50='2.7.4.11052.56' => DESC50='2.7.4.11052.56-11108-g788888094'
NUT_VERSION: "2.7.4.11052.56-11108-g788888094"  NUT_VERSION_IS_RELEASE:false  NUT_VERSION_SEMVER: "2.7.4"
test -f "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
cmp -s "nut_version.h.tmp" "nut_version.h" || cp "nut_version.h.tmp" "nut_version.h"
rm -f "nut_version.h.tmp"
make[5]: Map '/home/erik/nut-issue-2666/include' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[6]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[6]: 'libcommonclient.la' is up-to-date.
make[6]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[5]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[5]: 'libserial-nutscan.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonstr.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libnutscan.la '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libnutscan.so.2.0.6 /usr/lib/x86_64-linux-gnu/libnutscan.so.2.0.6
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutscan.so.2.0.6 libnutscan.so.2 || { rm -f libnutscan.so.2 && ln -s libnutscan.so.2.0.6 libnutscan.so.2; }; })
libtool: install: (cd /usr/lib/x86_64-linux-gnu && { ln -s -f libnutscan.so.2.0.6 libnutscan.so || { rm -f libnutscan.so && ln -s libnutscan.so.2.0.6 libnutscan.so; }; })
libtool: install: /usr/bin/install -c .libs/libnutscan.lai /usr/lib/x86_64-linux-gnu/libnutscan.la
libtool: install: /usr/bin/install -c .libs/libnutscan.a /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: install: chmod 644 /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: install: ranlib /usr/lib/x86_64-linux-gnu/libnutscan.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c nut-scanner '/usr/bin'
libtool: install: /usr/bin/install -c .libs/nut-scanner /usr/bin/nut-scanner
 /usr/bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 nut-scan.h nutscan-device.h nutscan-ip.h nutscan-init.h nutscan-serial.h '/usr/include'
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
Making install in nutconf
make[2]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt binnengegaan
g++ -DHAVE_CONFIG_H -I. -I../../include    -I../../include -I../../include -DWITH_NUTSCANNER -I../../tools/nut-scanner -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -MT nutconf-nutconf-cli.o -MD -MP -MF .deps/nutconf-nutconf-cli.Tpo -c -o nutconf-nutconf-cli.o `test -f 'nutconf-cli.cpp' || echo './'`nutconf-cli.cpp
mv -f .deps/nutconf-nutconf-cli.Tpo .deps/nutconf-nutconf-cli.Po
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libnutconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonclient.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[4]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[4]: 'libserial-nutscan.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommonstr.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -I../../include -I../../include -DWITH_NUTSCANNER -I../../tools/nut-scanner -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error   -o nutconf nutconf-nutconf-cli.o ../../common/libcommon.la ../../common/libnutconf.la ../../tools/nut-scanner/libnutscan.la
libtool: link: g++ -I../../include -I../../include -DWITH_NUTSCANNER -I../../tools/nut-scanner -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error -o .libs/nutconf nutconf-nutconf-cli.o  ../../common/.libs/libcommon.a -lsystemd ../../common/.libs/libnutconf.a ../../tools/nut-scanner/.libs/libnutscan.so
make[3]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libcommon.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[4]: 'libnutconf.la' is up-to-date.
make[4]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt binnengegaan
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt binnengegaan
make[6]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[6]: 'libcommonclient.la' is up-to-date.
make[6]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/clients' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt binnengegaan
make[5]: Er hoeft niets gedaan te worden voor 'nut-scanner-deps'.
make[5]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt binnengegaan
make[5]: 'libserial-nutscan.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/drivers' wordt verlaten
make[5]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[5]: 'libcommonstr.la' is up-to-date.
make[5]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[4]: Map '/home/erik/nut-issue-2666/tools/nut-scanner' wordt verlaten
 /usr/bin/mkdir -p '/usr/bin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c nutconf '/usr/bin'
libtool: install: /usr/bin/install -c .libs/nutconf /usr/bin/nutconf
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tools/nutconf' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/tools' wordt verlaten
Making install in lib
make[1]: Map '/home/erik/nut-issue-2666/lib' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666/lib' wordt binnengegaan
 /usr/bin/mkdir -p '/usr/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 libupsclient.pc libnutscan.pc libnutclient.pc libnutclientstub.pc '/usr/lib/x86_64-linux-gnu/pkgconfig'
make[2]: Map '/home/erik/nut-issue-2666/lib' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/lib' wordt verlaten
Making install in scripts
make[1]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
Making install in augeas
make[2]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/augeas/lenses'
 /usr/bin/install -c -m 644 nuthostsconf.aug nutupsconf.aug nutupsdusers.aug nutupsschedconf.aug nutnutconf.aug nutupsdconf.aug nutupsmonconf.aug nutupssetconf.aug '/usr/share/augeas/lenses'
 /usr/bin/mkdir -p '/usr/share/augeas/lenses/tests'
 /usr/bin/install -c -m 644 tests/test_nut.aug '/usr/share/augeas/lenses/tests'
make[3]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/augeas' wordt verlaten
Making install in devd
make[2]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/devd' wordt verlaten
Making install in hotplug
make[2]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/hotplug' wordt verlaten
Making install in installer
make[2]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/installer' wordt verlaten
Making install in python
make[2]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
Making install in module
make[3]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python/module' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/scripts/python' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/install -c -m 644 module/PyNUT.py '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/mkdir -p '/usr/local/lib/python3.12/dist-packages'
 /usr/bin/install -c module/test_nutclient.py '/usr/local/lib/python3.12/dist-packages'
make[4]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/python' wordt verlaten
Making install in systemd
make[2]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt binnengegaan
 /usr/bin/mkdir -p '/usr/lib/nut'
 /usr/bin/install -c ../upsdrvsvcctl/nut-driver-enumerator.sh '/usr/lib/nut'
 /usr/bin/mkdir -p '/usr/sbin'
 /usr/bin/install -c ../upsdrvsvcctl/upsdrvsvcctl '/usr/sbin'
 /usr/bin/mkdir -p '/usr/lib/systemd/system-shutdown'
 /usr/bin/install -c nutshutdown '/usr/lib/systemd/system-shutdown'
 /usr/bin/mkdir -p '/usr/lib/systemd/system-preset'
 /usr/bin/install -c -m 644 nut-systemd.preset '/usr/lib/systemd/system-preset'
 /usr/bin/mkdir -p '/lib/systemd/system'
 /usr/bin/install -c -m 644 nut-driver-enumerator.service nut-driver-enumerator.path nut-driver-enumerator-daemon-activator.path nut-driver-enumerator-daemon-activator.service nut-driver-enumerator-daemon.service [email protected] nut-logger.service nut-monitor.service nut-server.service nut-driver.target nut.target '/lib/systemd/system'
 /usr/bin/mkdir -p '/usr/lib/tmpfiles.d'
 /usr/bin/install -c -m 644 nut-common-tmpfiles.conf '/usr/lib/tmpfiles.d'
make[3]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/systemd' wordt verlaten
Making install in udev
make[2]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
 /usr/bin/mkdir -p '/lib/udev/rules.d'
 /usr/bin/install -c -m 644 62-nut-usbups.rules '/lib/udev/rules.d'
make[3]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/udev' wordt verlaten
Making install in ufw
make[2]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/ufw' wordt verlaten
Making install in Solaris
make[2]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/Solaris' wordt verlaten
Making install in Windows
make[2]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/Windows' wordt verlaten
Making install in upsdrvsvcctl
make[2]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts/upsdrvsvcctl' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/scripts' wordt binnengegaan
make[3]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[3]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[3]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/scripts' wordt verlaten
Making install in server
make[1]: Map '/home/erik/nut-issue-2666/server' wordt binnengegaan
depbase=`echo sockdebug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT sockdebug.o -MD -MP -MF $depbase.Tpo -c -o sockdebug.o sockdebug.c &&\
mv -f $depbase.Tpo $depbase.Po
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libcommon.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[2]: 'libparseconf.la' is up-to-date.
make[2]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o sockdebug sockdebug.o ../common/libcommon.la ../common/libparseconf.la
libtool: link: gcc -I../include -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o sockdebug sockdebug.o  ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-upsd.o -MD -MP -MF .deps/upsd-upsd.Tpo -c -o upsd-upsd.o `test -f 'upsd.c' || echo './'`upsd.c
mv -f .deps/upsd-upsd.Tpo .deps/upsd-upsd.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-user.o -MD -MP -MF .deps/upsd-user.Tpo -c -o upsd-user.o `test -f 'user.c' || echo './'`user.c
mv -f .deps/upsd-user.Tpo .deps/upsd-user.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-conf.o -MD -MP -MF .deps/upsd-conf.Tpo -c -o upsd-conf.o `test -f 'conf.c' || echo './'`conf.c
mv -f .deps/upsd-conf.Tpo .deps/upsd-conf.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netssl.o -MD -MP -MF .deps/upsd-netssl.Tpo -c -o upsd-netssl.o `test -f 'netssl.c' || echo './'`netssl.c
mv -f .deps/upsd-netssl.Tpo .deps/upsd-netssl.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-sstate.o -MD -MP -MF .deps/upsd-sstate.Tpo -c -o upsd-sstate.o `test -f 'sstate.c' || echo './'`sstate.c
mv -f .deps/upsd-sstate.Tpo .deps/upsd-sstate.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-desc.o -MD -MP -MF .deps/upsd-desc.Tpo -c -o upsd-desc.o `test -f 'desc.c' || echo './'`desc.c
mv -f .deps/upsd-desc.Tpo .deps/upsd-desc.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netget.o -MD -MP -MF .deps/upsd-netget.Tpo -c -o upsd-netget.o `test -f 'netget.c' || echo './'`netget.c
mv -f .deps/upsd-netget.Tpo .deps/upsd-netget.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netmisc.o -MD -MP -MF .deps/upsd-netmisc.Tpo -c -o upsd-netmisc.o `test -f 'netmisc.c' || echo './'`netmisc.c
mv -f .deps/upsd-netmisc.Tpo .deps/upsd-netmisc.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netlist.o -MD -MP -MF .deps/upsd-netlist.Tpo -c -o upsd-netlist.o `test -f 'netlist.c' || echo './'`netlist.c
mv -f .deps/upsd-netlist.Tpo .deps/upsd-netlist.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netuser.o -MD -MP -MF .deps/upsd-netuser.Tpo -c -o upsd-netuser.o `test -f 'netuser.c' || echo './'`netuser.c
mv -f .deps/upsd-netuser.Tpo .deps/upsd-netuser.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netset.o -MD -MP -MF .deps/upsd-netset.Tpo -c -o upsd-netset.o `test -f 'netset.c' || echo './'`netset.c
mv -f .deps/upsd-netset.Tpo .deps/upsd-netset.Po
gcc -DHAVE_CONFIG_H -I. -I../include    -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT upsd-netinstcmd.o -MD -MP -MF .deps/upsd-netinstcmd.Tpo -c -o upsd-netinstcmd.o `test -f 'netinstcmd.c' || echo './'`netinstcmd.c
mv -f .deps/upsd-netinstcmd.Tpo .deps/upsd-netinstcmd.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include  -I/usr/include/nss -I/usr/include/nspr  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error    -o upsd upsd-upsd.o upsd-user.o upsd-conf.o upsd-netssl.o upsd-sstate.o upsd-desc.o upsd-netget.o upsd-netmisc.o upsd-netlist.o upsd-netuser.o upsd-netset.o upsd-netinstcmd.o ../common/libcommon.la ../common/libparseconf.la   -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
libtool: link: gcc -I../include -I/usr/include/nss -I/usr/include/nspr -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -o upsd upsd-upsd.o upsd-user.o upsd-conf.o upsd-netssl.o upsd-sstate.o upsd-desc.o upsd-netget.o upsd-netmisc.o upsd-netlist.o upsd-netuser.o upsd-netset.o upsd-netinstcmd.o  ../common/.libs/libcommon.a -lsystemd ../common/.libs/libparseconf.a -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
make[2]: Map '/home/erik/nut-issue-2666/server' wordt binnengegaan
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libcommon.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/common' wordt binnengegaan
make[3]: 'libparseconf.la' is up-to-date.
make[3]: Map '/home/erik/nut-issue-2666/common' wordt verlaten
 /usr/bin/mkdir -p '/usr/lib/nut'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c sockdebug '/usr/lib/nut'
libtool: install: /usr/bin/install -c sockdebug /usr/lib/nut/sockdebug
 /usr/bin/mkdir -p '/usr/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c upsd '/usr/sbin'
libtool: install: /usr/bin/install -c upsd /usr/sbin/upsd
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/erik/nut-issue-2666/server' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/server' wordt verlaten
Making install in tests
make[1]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
make  install-recursive
make[2]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
Making install in .
make[3]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../drivers -I/usr/include/libusb-1.0  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libdriverstubusb_la-driver-stub-usb.lo -MD -MP -MF .deps/libdriverstubusb_la-driver-stub-usb.Tpo -c -o libdriverstubusb_la-driver-stub-usb.lo `test -f 'driver-stub-usb.c' || echo './'`driver-stub-usb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../drivers -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libdriverstubusb_la-driver-stub-usb.lo -MD -MP -MF .deps/libdriverstubusb_la-driver-stub-usb.Tpo -c driver-stub-usb.c  -fPIC -DPIC -o .libs/libdriverstubusb_la-driver-stub-usb.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../drivers -I/usr/include/libusb-1.0 -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -MT libdriverstubusb_la-driver-stub-usb.lo -MD -MP -MF .deps/libdriverstubusb_la-driver-stub-usb.Tpo -c driver-stub-usb.c -o libdriverstubusb_la-driver-stub-usb.o >/dev/null 2>&1
mv -f .deps/libdriverstubusb_la-driver-stub-usb.Tpo .deps/libdriverstubusb_la-driver-stub-usb.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -I../drivers -I/usr/include/libusb-1.0  -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error   -o libdriverstubusb.la  libdriverstubusb_la-driver-stub-usb.lo
libtool: link: rm -fr  .libs/libdriverstubusb.a .libs/libdriverstubusb.la
libtool: link: /usr/bin/ar cr .libs/libdriverstubusb.a .libs/libdriverstubusb_la-driver-stub-usb.o
libtool: link: ranlib .libs/libdriverstubusb.a
libtool: link: ( cd ".libs" && rm -f "libdriverstubusb.la" && ln -s "../libdriverstubusb.la" "libdriverstubusb.la" )
make[4]: Map '/home/erik/nut-issue-2666/tests' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
Making install in NIT
make[3]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt binnengegaan
make[4]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[4]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[4]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt verlaten
make[3]: Map '/home/erik/nut-issue-2666/tests/NIT' wordt verlaten
make[2]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666/tests' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666' wordt binnengegaan
make[2]: Map '/home/erik/nut-issue-2666' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Map '/home/erik/nut-issue-2666' wordt verlaten
make[1]: Map '/home/erik/nut-issue-2666' wordt verlaten

Alas (even after a reboot):

erik@MinipcLG2:~/nut-issue-2666$ sudo usbhid-ups -DDDDDD -a apcupskelder -k
sudo: usbhid-ups: opdracht niet gevonden

Maybe I should sudo make uninstall, also remove ~/nut-issue-2666, and then start over from scratch?

@jimklimov
Copy link
Member

Regarding the earlier log post, it seems "Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder)" happened for at least 2 hours before nut-server.service got a SIGTERM and was restarted... several times (03:31:55, 03:35:48, 03:38:56...)

For that matter, after a reboot at 03:39:34 it started and was stopped after a few seconds, so reasonably the nut-client could not talk to it; a subsequent reboot however was 4 hours later.

The log copy is a bit messy in terms of monotonously growing time, but it seems between 07:49:51 and 09:00:52 communications of driver, upsd and upsmon were okay.

In the upsmon (nut-monitor) journal, this part seems wrong for the settings you posted earlier (with 1200 sec timeouts for events):

jan 28 03:39:34 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: Network UPS Tools upsmon 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: UPS: apcupskelder@localhost (primary) (power value 1)
jan 28 03:39:34 MinipcLG2 nut-monitor[1441]: Using power down flag file /etc/nut/killpower
...
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 03:39:34 MinipcLG2 nut-monitor[1453]: Communications with UPS apcupskelder@localhost lost
jan 28 03:39:39 MinipcLG2 nut-monitor[1453]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 03:39:39 MinipcLG2 nut-monitor[1453]: UPS apcupskelder@localhost is unavailable
jan 28 03:39:40 MinipcLG2 nut-monitor[1803]: Network UPS Tools upsmon 2.7.4.11052.56-11108-g788888094 (development iteration after 2.7.4)
jan 28 03:39:40 MinipcLG2 nut-monitor[1453]: Signal 10: User requested FSD
jan 28 03:39:42 MinipcLG2 nut-monitor[1561]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 03:39:42 MinipcLG2 upssched[1561]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 03:39:45 MinipcLG2 nut-monitor[1453]: Executing automatic power-fail shutdown
jan 28 03:39:45 MinipcLG2 nut-monitor[1453]: Auto logout and shutdown proceeding
jan 28 03:39:50 MinipcLG2 shutdown[1853]: Shutdown scheduled for Tue 2025-01-28 03:39:50 CET, use 'shutdown -c' to cancel.
jan 28 03:39:50 MinipcLG2 systemd[1]: nut-monitor.service: Deactivated successfully.

So it missed 2 beats in 5 seconds, and went for FSD, which I don't think it should have. Such behavior may be possible when the UPS is last-known (to client) as on battery, and then if the connection is lost, power situation is assumed critical and immediate shutdown happens. But here in the nut-server log, upsd also started at 03:39:34 and logged that it Can't connect to UPS [apcupskelder] (usbhid-ups-apcupskelder) as the driver did not (yet) start for whatever reason.

As an off-topic bit, it is a bit odd and messy to see both nut-server (unit) and upsd (syslog) messages present, with same info. I think I addressed that last year, that when running as a unit, NUT daemons should only emit one type of log, so it got me worried the fix did not work. Seems it was made optional - if NUT_DEBUG_SYSLOG setting is used in e.g. nut.conf.

@jimklimov
Copy link
Member

jimklimov commented Jan 28, 2025

Now looking at next post :)

$ sudo usbhid-ups -DDDDDD -a apcupskelder -k
sudo: usbhid-ups: opdracht niet gevonden

How is this possible?

and per ps,

nut          973       1  0 09:08 ?        00:00:14 /lib/nut/usbhid-ups -FF -a apcupskelder

I assume /lib/nut is not in your PATH (usually isn't), so you'd need fully-qualified names e.g. sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k

Also noted that your sudo make install ran quite a few compilations too. Generally should not be a problem for NUT buiding/testing per se, but note that parts of your workspace are now owned by root so it can complicate later git pull, make clean, etc. operations done as the non-root user. That;s why the wiki docs recommended a chain to the effect of make && sudo make install -- with building done as simple user, and only installation as root.

@jimklimov
Copy link
Member

Maybe I should sudo make uninstall, also remove ~/nut-issue-2666, and then start over from scratch?

Given the complications above, and worse - their unknown nature - this may be a reasonable way to proceed.

The many hours I've spent trying to troubleshoot this strange situation of something that should pass without blinking twice are hours by which the next NUT release gets delayed :-D

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 28, 2025

The many hours I've spent trying to troubleshoot this strange situation of something that should pass without blinking twice are hours by which the next NUT release gets delayed :-D

:| Hopefully, some insight comes out of it, in the end ;)

Maybe I should sudo make uninstall, also remove ~/nut-issue-2666, and then start over from scratch?

Given the complications above, and worse - their unknown nature - this may be a reasonable way to proceed.

erik@MinipcLG2:~$ git clone https://github.com/jimklimov/nut -b issue-2666 nut-issue-2666
Cloning into 'nut-issue-2666'...
fatal: Remote branch issue-2666 not found in upstream origin

What am I doing wrong here? It looks like I used this exact command before? Edit: it looks like that branch has been removed. Which branch do you recommend I clone?

@jimklimov
Copy link
Member

Seems the PR was merged and branch deleted -- use master not issue-2666 now.

@ErikDB87
Copy link
Author

For the output of the reinstallation: see attachment: Reinstall-output.txt

After a reboot:

erik@MinipcLG2:~/nut20250128$ usbhid-ups -DDDDDD -a apcupskelder -k
usbhid-ups: opdracht niet gevonden
erik@MinipcLG2:~/nut20250128$ sudo usbhid-ups -DDDDDD -a apcupskelder -k
sudo: usbhid-ups: opdracht niet gevonden
erik@MinipcLG2:~/nut20250128$ sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k
   0.000009     [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) - Generic HID driver 0.60
USB communication driver (libusb 1.0) 0.50
   0.000158     [D1] upsdrv_makevartable...
   0.000258     [D5] send_to_all: SETINFO driver.version.usb "libusb-1.0.27 (API: 0x0100010A)"
   0.000280     [D1] Using USB implementation: libusb-1.0.27 (API: 0x0100010A)
   0.000386     [D5] do_upsconf_args: confupsname=(null), var=pollinterval, val=1
   0.000409     [D5] do_upsconf_args: call do_global_args()
   0.000428     [D3] do_global_args: var='pollinterval' val='1'
   0.000461     [D6] testval_reloadable: var=pollinterval, oldval=2, newval=1, reloadable=1, reload_flag=0
   0.000485     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '1' vs. '2'
   0.000509     [D6] testval_reloadable: verdict for (re)loading var=pollinterval value: 1
   0.000534     [D5] do_upsconf_args: confupsname=(null), var=maxretry, val=3
   0.000553     [D5] do_upsconf_args: call do_global_args()
   0.000573     [D3] do_global_args: var='maxretry' val='3'
   0.000595     [D5] do_upsconf_args: confupsname=(null), var=debug_min, val=6
   0.000613     [D5] do_upsconf_args: call do_global_args()
   0.000632     [D3] do_global_args: var='debug_min' val='6'
   0.000666     [D5] do_upsconf_args: confupsname=apcupskelder, var=driver, val=usbhid-ups
   0.000686     [D5] do_upsconf_args: call main_arg()
   0.000704     [D3] main_arg: var='driver' val='usbhid-ups'
   0.000724     [D5] do_upsconf_args: not a main_arg()
   0.000746     [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
   0.000766     [D6] testval_reloadable: var=driver, oldval=usbhid-ups, newval=usbhid-ups, reloadable=0, reload_flag=0
   0.000789     [D6] testval_reloadable: verdict for (re)loading var=driver value: -1
   0.000807     [D5] do_upsconf_args: 'driver' setting already applied with this value
   0.000832     [D5] do_upsconf_args: confupsname=apcupskelder, var=port, val=auto
   0.000850     [D5] do_upsconf_args: call main_arg()
   0.000868     [D3] main_arg: var='port' val='auto'
   0.000887     [D6] testinfo_reloadable: var=port, infoname=driver.parameter.port, newval=auto, reloadable=0, reload_flag=0
   0.000907     [D6] testinfo_reloadable: verdict for (re)loading var=port value: 1
   0.000935     [D5] send_to_all: SETINFO driver.parameter.port "auto"
   0.001015     [D5] do_upsconf_args: confupsname=apcupskelder, var=desc, val=Back-UPS BX750MI  FW:295202G -302202G
   0.001037     [D5] do_upsconf_args: call main_arg()
   0.001058     [D3] main_arg: var='desc' val='Back-UPS BX750MI  FW:295202G -302202G'
   0.001081     [D5] do_upsconf_args: confupsname=apcupskelder, var=vendorid, val=051d
   0.001102     [D5] do_upsconf_args: call main_arg()
   0.001119     [D3] main_arg: var='vendorid' val='051d'
   0.001136     [D5] do_upsconf_args: not a main_arg()
   0.001153     [D5] do_upsconf_args: process as value
   0.001168     [D6] testvar_reloadable: searching for var=vendorid, vartype=2, reload_flag=0
   0.001224     [D6] testvar_reloadable: found var=vendorid, val='(null)' => '051d', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001265     [D6] testvar_reloadable: verdict for (re)loading var=vendorid value: 1
   0.001296     [D5] send_to_all: SETINFO driver.parameter.vendorid "051d"
   0.001325     [D5] do_upsconf_args: confupsname=apcupskelder, var=productid, val=0002
   0.001350     [D5] do_upsconf_args: call main_arg()
   0.001367     [D3] main_arg: var='productid' val='0002'
   0.001387     [D5] do_upsconf_args: not a main_arg()
   0.001407     [D5] do_upsconf_args: process as value
   0.001424     [D6] testvar_reloadable: searching for var=productid, vartype=2, reload_flag=0
   0.001449     [D6] testvar_reloadable: found var=productid, val='(null)' => '0002', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001488     [D6] testvar_reloadable: verdict for (re)loading var=productid value: 1
   0.001517     [D5] send_to_all: SETINFO driver.parameter.productid "0002"
   0.001544     [D5] do_upsconf_args: confupsname=apcupskelder, var=serial, val=9B2416A22014
   0.001563     [D5] do_upsconf_args: call main_arg()
   0.001600     [D3] main_arg: var='serial' val='9B2416A22014'
   0.001619     [D5] do_upsconf_args: not a main_arg()
   0.001639     [D5] do_upsconf_args: process as value
   0.001661     [D6] testvar_reloadable: searching for var=serial, vartype=2, reload_flag=0
   0.001683     [D6] testvar_reloadable: found var=serial, val='(null)' => '9B2416A22014', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001717     [D6] testvar_reloadable: verdict for (re)loading var=serial value: 1
   0.001747     [D5] send_to_all: SETINFO driver.parameter.serial "9B2416A22014"
   0.001809     [D1] Network UPS Tools version 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) built with gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 and configured with flags: --prefix=/usr --sbindir=/usr/sbin --with-libsystemd --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var --libexecdir=/usr/lib/nut --srcdir=. --enable-maintainer-mode --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --with-ssl --with-nss --with-cgi --with-dev --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system
   0.001927     [D1] debug level is '6'
   0.001970     [D5] send_to_all: SETINFO driver.debug "6"
   0.001995     [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
   0.004577     [D1] Succeeded to become_user(nut): now UID=121 GID=130
   0.004658     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   0.004685     [D5] upsdrvquery_write: write to driver socket: PING

   0.004708     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   0.004724     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   0.004983     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   0.005009     [D5] upsdrvquery_prepare: got expected PONG
   0.005021     [D5] upsdrvquery_prepare: ready for tracked commands
   0.005043     [D5] upsdrvquery_write: write to driver socket: SET driver.flag.allow_killpower 1 TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263

   0.005090     [D5] upsdrvquery_request: will wait up to 15.000000 sec for response to SET driver.flag.allow_killpower 1

   0.005107     [D5] upsdrvquery_read_timeout: tv={sec=15, usec=000000}
   0.005426     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263 0

   0.005531     [D5] upsdrvquery_request: parsed out command status: 0
   0.005546     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   0.005558     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   0.005714     [D5] upsdrvquery_close: okay
   1.006222     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   1.006282     [D5] upsdrvquery_write: write to driver socket: PING

   1.006390     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   1.006416     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.006466     [D5] upsdrvquery_read_timeout: received 34 bytes from driver socket: SETINFO driver.state "updateinfo"

   1.006501     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.009745     [D5] upsdrvquery_read_timeout: received 29 bytes from driver socket: SETINFO driver.state "quiet"

   1.009796     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.010077     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   1.010127     [D5] upsdrvquery_prepare: got expected PONG
   1.010152     [D5] upsdrvquery_prepare: ready for tracked commands
   1.010195     [D5] upsdrvquery_write: write to driver socket: INSTCMD driver.killpower TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63

   1.010253     [D1] upsdrvquery_request: will wait indefinitely for response to INSTCMD driver.killpower

   1.010280     [D5] upsdrvquery_read_timeout: tv={sec=-1, usec=-00001} (unlimited timeout)
   1.011640     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63 0

   1.011703     [D5] upsdrvquery_request: parsed out command status: 0
   1.011724     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   1.011744     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   1.011783     [D5] upsdrvquery_close: okay
   2.012019     Request to killpower via running driver returned code 0
   2.012060     [D5] send_to_all: SETINFO driver.state "cleanup.exit"
   2.012075     upsnotify: notify about state NOTIFY_STATE_STOPPING with libsystemd: was requested, but not running as a service unit now, will not spam more about it
   2.012095     [D1] On systems without service units, consider `export NUT_QUIET_INIT_UPSNOTIFY=true`
   2.012112     upsnotify: failed to notify about state NOTIFY_STATE_STOPPING: no notification tech defined, will not spam more about it

The UPS didn't shut down/power cycle...

I assume /lib/nut is not in your PATH (usually isn't), so you'd need fully-qualified names e.g. sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k

Fair enough, but the command worked before...

@ErikDB87
Copy link
Author

I now unplugged the UPS from the wall power. The Linux machine doesn't seem to be shutdown, even after 5 minutes, so that's good. The battery.runtime property seems to go down at a reasonable pace.

Plugging the UPS back in didn't cause a power cycle, but it shouldn't of course.

But finally, where making some progress:
Running sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k with the UPS not plugged in, shut down the Linux machine, and also the UPS! (It took a minute or two after the end of the output, though. But that's probably by design.)

erik@MinipcLG2:~/nut20250128$ sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k
   0.000003     [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) - Generic HID driver 0.60
USB communication driver (libusb 1.0) 0.50
   0.000055     [D1] upsdrv_makevartable...
   0.000087     [D5] send_to_all: SETINFO driver.version.usb "libusb-1.0.27 (API: 0x0100010A)"
   0.000096     [D1] Using USB implementation: libusb-1.0.27 (API: 0x0100010A)
   0.000137     [D5] do_upsconf_args: confupsname=(null), var=pollinterval, val=1
   0.000143     [D5] do_upsconf_args: call do_global_args()
   0.000150     [D3] do_global_args: var='pollinterval' val='1'
   0.000163     [D6] testval_reloadable: var=pollinterval, oldval=2, newval=1, reloadable=1, reload_flag=0
   0.000171     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '1' vs. '2'
   0.000179     [D6] testval_reloadable: verdict for (re)loading var=pollinterval value: 1
   0.000191     [D5] do_upsconf_args: confupsname=(null), var=maxretry, val=3
   0.000198     [D5] do_upsconf_args: call do_global_args()
   0.000205     [D3] do_global_args: var='maxretry' val='3'
   0.000214     [D5] do_upsconf_args: confupsname=(null), var=debug_min, val=6
   0.000219     [D5] do_upsconf_args: call do_global_args()
   0.000226     [D3] do_global_args: var='debug_min' val='6'
   0.000245     [D5] do_upsconf_args: confupsname=apcupskelder, var=driver, val=usbhid-ups
   0.000252     [D5] do_upsconf_args: call main_arg()
   0.000258     [D3] main_arg: var='driver' val='usbhid-ups'
   0.000270     [D5] do_upsconf_args: not a main_arg()
   0.000277     [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
   0.000287     [D6] testval_reloadable: var=driver, oldval=usbhid-ups, newval=usbhid-ups, reloadable=0, reload_flag=0
   0.000294     [D6] testval_reloadable: verdict for (re)loading var=driver value: -1
   0.000300     [D5] do_upsconf_args: 'driver' setting already applied with this value
   0.000308     [D5] do_upsconf_args: confupsname=apcupskelder, var=port, val=auto
   0.000315     [D5] do_upsconf_args: call main_arg()
   0.000322     [D3] main_arg: var='port' val='auto'
   0.000328     [D6] testinfo_reloadable: var=port, infoname=driver.parameter.port, newval=auto, reloadable=0, reload_flag=0
   0.000335     [D6] testinfo_reloadable: verdict for (re)loading var=port value: 1
   0.000345     [D5] send_to_all: SETINFO driver.parameter.port "auto"
   0.000360     [D5] do_upsconf_args: confupsname=apcupskelder, var=desc, val=Back-UPS BX750MI  FW:295202G -302202G
   0.000367     [D5] do_upsconf_args: call main_arg()
   0.000374     [D3] main_arg: var='desc' val='Back-UPS BX750MI  FW:295202G -302202G'
   0.000382     [D5] do_upsconf_args: confupsname=apcupskelder, var=vendorid, val=051d
   0.000389     [D5] do_upsconf_args: call main_arg()
   0.000396     [D3] main_arg: var='vendorid' val='051d'
   0.000407     [D5] do_upsconf_args: not a main_arg()
   0.000419     [D5] do_upsconf_args: process as value
   0.000427     [D6] testvar_reloadable: searching for var=vendorid, vartype=2, reload_flag=0
   0.000435     [D6] testvar_reloadable: found var=vendorid, val='(null)' => '051d', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.000447     [D6] testvar_reloadable: verdict for (re)loading var=vendorid value: 1
   0.000457     [D5] send_to_all: SETINFO driver.parameter.vendorid "051d"
   0.000466     [D5] do_upsconf_args: confupsname=apcupskelder, var=productid, val=0002
   0.000473     [D5] do_upsconf_args: call main_arg()
   0.000479     [D3] main_arg: var='productid' val='0002'
   0.000485     [D5] do_upsconf_args: not a main_arg()
   0.000492     [D5] do_upsconf_args: process as value
   0.000498     [D6] testvar_reloadable: searching for var=productid, vartype=2, reload_flag=0
   0.000506     [D6] testvar_reloadable: found var=productid, val='(null)' => '0002', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.000516     [D6] testvar_reloadable: verdict for (re)loading var=productid value: 1
   0.000525     [D5] send_to_all: SETINFO driver.parameter.productid "0002"
   0.000534     [D5] do_upsconf_args: confupsname=apcupskelder, var=serial, val=9B2416A22014
   0.000540     [D5] do_upsconf_args: call main_arg()
   0.000547     [D3] main_arg: var='serial' val='9B2416A22014'
   0.000553     [D5] do_upsconf_args: not a main_arg()
   0.000560     [D5] do_upsconf_args: process as value
   0.000566     [D6] testvar_reloadable: searching for var=serial, vartype=2, reload_flag=0
   0.000574     [D6] testvar_reloadable: found var=serial, val='(null)' => '9B2416A22014', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.000585     [D6] testvar_reloadable: verdict for (re)loading var=serial value: 1
   0.000595     [D5] send_to_all: SETINFO driver.parameter.serial "9B2416A22014"
   0.000613     [D1] Network UPS Tools version 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) built with gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 and configured with flags: --prefix=/usr --sbindir=/usr/sbin --with-libsystemd --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var --libexecdir=/usr/lib/nut --srcdir=. --enable-maintainer-mode --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --with-ssl --with-nss --with-cgi --with-dev --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system
   0.000652     [D1] debug level is '6'
   0.000660     [D5] send_to_all: SETINFO driver.debug "6"
   0.000669     [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
   0.001673     [D1] Succeeded to become_user(nut): now UID=121 GID=130
   0.001714     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   0.001725     [D5] upsdrvquery_write: write to driver socket: PING

   0.001734     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   0.001746     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   0.001850     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   0.001862     [D5] upsdrvquery_prepare: got expected PONG
   0.001870     [D5] upsdrvquery_prepare: ready for tracked commands
   0.001881     [D5] upsdrvquery_write: write to driver socket: SET driver.flag.allow_killpower 1 TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263

   0.001903     [D5] upsdrvquery_request: will wait up to 15.000000 sec for response to SET driver.flag.allow_killpower 1

   0.001909     [D5] upsdrvquery_read_timeout: tv={sec=15, usec=000000}
   0.002025     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263 0

   0.002053     [D5] upsdrvquery_request: parsed out command status: 0
   0.002063     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   0.002070     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   0.002133     [D5] upsdrvquery_close: okay
   1.002307     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   1.002328     [D5] upsdrvquery_write: write to driver socket: PING

   1.002335     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   1.002339     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.002366     [D5] upsdrvquery_read_timeout: received 34 bytes from driver socket: SETINFO driver.state "updateinfo"

   1.002376     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.142509     [D5] upsdrvquery_read_timeout: received 29 bytes from driver socket: SETINFO driver.state "quiet"

   1.142557     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.142744     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   1.142782     [D5] upsdrvquery_prepare: got expected PONG
   1.142810     [D5] upsdrvquery_prepare: ready for tracked commands
   1.142848     [D5] upsdrvquery_write: write to driver socket: INSTCMD driver.killpower TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63

   1.142895     [D1] upsdrvquery_request: will wait indefinitely for response to INSTCMD driver.killpower

   1.142915     [D5] upsdrvquery_read_timeout: tv={sec=-1, usec=-00001} (unlimited timeout)
   1.144046     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63 0

   1.144289     [D5] upsdrvquery_request: parsed out command status: 0
   1.144309     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   1.144322     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   1.144352     [D5] upsdrvquery_close: okay
   2.144637     Request to killpower via running driver returned code 0
   2.144683     [D5] send_to_all: SETINFO driver.state "cleanup.exit"
   2.144710     upsnotify: notify about state NOTIFY_STATE_STOPPING with libsystemd: was requested, but not running as a service unit now, will not spam more about it
   2.144738     [D1] On systems without service units, consider `export NUT_QUIET_INIT_UPSNOTIFY=true`
   2.144760     upsnotify: failed to notify about state NOTIFY_STATE_STOPPING: no notification tech defined, will not spam more about it

After reboot:

erik@MinipcLG2:~$ sudo journalctl -b -1 -ex
[sudo] wachtwoord voor erik:
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit final.target has finished successfully.
░░
░░ The job identifier is 2390.
jan 28 12:08:09 MinipcLG2 systemd[1]: systemd-poweroff.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit systemd-poweroff.service has successfully entered the 'dead' state.
jan 28 12:08:09 MinipcLG2 systemd[1]: Finished systemd-poweroff.service - System Power Off.
░░ Subject: A start job for unit systemd-poweroff.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit systemd-poweroff.service has finished successfully.
░░
░░ The job identifier is 2356.
jan 28 12:08:09 MinipcLG2 systemd[1]: Reached target poweroff.target - System Power Off.
░░ Subject: A start job for unit poweroff.target has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit poweroff.target has finished successfully.
░░
░░ The job identifier is 2355.
jan 28 12:08:09 MinipcLG2 systemd[1]: Shutting down.
jan 28 12:08:09 MinipcLG2 systemd-coredump[5819]: Failed to connect to coredump service: Connection refused
jan 28 12:08:10 MinipcLG2 systemd-shutdown[1]: Syncing filesystems and block devices.
jan 28 12:08:10 MinipcLG2 systemd-shutdown[1]: Sending SIGTERM to remaining processes...
jan 28 12:08:10 MinipcLG2 systemd-journald[303]: Received SIGTERM from PID 1 (systemd-shutdow).
jan 28 12:08:10 MinipcLG2 dnsmasq[1585]: exiting on receipt of SIGTERM
jan 28 12:08:10 MinipcLG2 systemd-journald[303]: Journal stopped
░░ Subject: The journal has been stopped
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The system journal process has shut down and closed all currently
░░ active journal files.
lines 4106-4145/4145 (END)


erik@MinipcLG2:~$ journalctl -lu nut-server
-- Boot 8af6326bd70b403db15aa01b83d54034 --
jan 28 11:43:44 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 11:43:44 MinipcLG2 nut-server[1364]: Network UPS Tools upsd 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4)
jan 28 11:43:44 MinipcLG2 nut-server[1364]: listening on 0.0.0.0 port 3493
jan 28 11:43:44 MinipcLG2 upsd[1364]: listening on 0.0.0.0 port 3493
jan 28 11:43:44 MinipcLG2 nut-server[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 11:43:44 MinipcLG2 nut-server[1364]: Found 1 UPS defined in ups.conf
jan 28 11:43:44 MinipcLG2 upsd[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 11:43:44 MinipcLG2 upsd[1364]: Found 1 UPS defined in ups.conf
jan 28 11:43:44 MinipcLG2 upsd[1364]: Running as foreground process, but saving a PID file anyway
jan 28 11:43:44 MinipcLG2 nut-server[1364]: Running as foreground process, but saving a PID file anyway
jan 28 11:43:44 MinipcLG2 upsd[1364]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 11:43:44 MinipcLG2 nut-server[1364]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 11:43:44 MinipcLG2 nut-server[1388]: Limit                     Soft Limit           Hard Limit           Units
jan 28 11:43:44 MinipcLG2 nut-server[1388]: Max open files            1048576              1048576              files
jan 28 11:43:44 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 11:43:44 MinipcLG2 nut-server[1364]: User [email protected] logged into UPS [apcupskelder]
jan 28 11:43:44 MinipcLG2 upsd[1364]: User [email protected] logged into UPS [apcupskelder]
jan 28 11:57:48 MinipcLG2 nut-server[1364]: Can't connect to UPS [apcupskelder] (/run/nut/usbhid-ups-apcupskelder): No such file or directory
jan 28 11:57:48 MinipcLG2 upsd[1364]: Can't connect to UPS [apcupskelder] (/run/nut/usbhid-ups-apcupskelder): No such file or directory
jan 28 11:58:04 MinipcLG2 nut-server[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 11:58:04 MinipcLG2 upsd[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 12:07:39 MinipcLG2 nut-server[1364]: Can't connect to UPS [apcupskelder] (/run/nut/usbhid-ups-apcupskelder): No such file or directory
jan 28 12:07:39 MinipcLG2 upsd[1364]: Can't connect to UPS [apcupskelder] (/run/nut/usbhid-ups-apcupskelder): No such file or directory
jan 28 12:07:54 MinipcLG2 nut-server[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 12:07:54 MinipcLG2 nut-server[1364]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 12:07:54 MinipcLG2 upsd[1364]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 12:07:54 MinipcLG2 upsd[1364]: Client [email protected] set FSD on UPS [apcupskelder]
jan 28 12:08:00 MinipcLG2 upsd[1364]: mainloop: Interrupted system call
jan 28 12:08:00 MinipcLG2 nut-server[1364]: mainloop: Interrupted system call
jan 28 12:08:00 MinipcLG2 nut-server[1364]: Signal 15: exiting
jan 28 12:08:00 MinipcLG2 systemd[1]: Stopping nut-server.service - Network UPS Tools - power devices information server...
jan 28 12:08:00 MinipcLG2 upsd[1364]: Signal 15: exiting
jan 28 12:08:00 MinipcLG2 systemd[1]: nut-server.service: Deactivated successfully.
jan 28 12:08:00 MinipcLG2 systemd[1]: Stopped nut-server.service - Network UPS Tools - power devices information server.
-- Boot 233b34e657f64f0e98679d6b16742827 --
jan 28 12:11:19 MinipcLG2 systemd[1]: Starting nut-server.service - Network UPS Tools - power devices information server...
jan 28 12:11:19 MinipcLG2 nut-server[1379]: Network UPS Tools upsd 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4)
jan 28 12:11:19 MinipcLG2 nut-server[1379]: listening on 0.0.0.0 port 3493
jan 28 12:11:19 MinipcLG2 upsd[1379]: listening on 0.0.0.0 port 3493
jan 28 12:11:19 MinipcLG2 nut-server[1379]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 12:11:19 MinipcLG2 upsd[1379]: Connected to UPS [apcupskelder]: usbhid-ups-apcupskelder
jan 28 12:11:19 MinipcLG2 nut-server[1379]: Found 1 UPS defined in ups.conf
jan 28 12:11:19 MinipcLG2 upsd[1379]: Found 1 UPS defined in ups.conf
jan 28 12:11:19 MinipcLG2 nut-server[1379]: Running as foreground process, but saving a PID file anyway
jan 28 12:11:19 MinipcLG2 upsd[1379]: Running as foreground process, but saving a PID file anyway
jan 28 12:11:19 MinipcLG2 nut-server[1379]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 12:11:19 MinipcLG2 upsd[1379]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
jan 28 12:11:19 MinipcLG2 nut-server[1411]: Limit                     Soft Limit           Hard Limit           Units
jan 28 12:11:19 MinipcLG2 nut-server[1411]: Max open files            1048576              1048576              files
jan 28 12:11:19 MinipcLG2 systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.
jan 28 12:11:19 MinipcLG2 nut-server[1379]: User [email protected] logged into UPS [apcupskelder]
jan 28 12:11:19 MinipcLG2 upsd[1379]: User [email protected] logged into UPS [apcupskelder]


erik@MinipcLG2:~$ journalctl -lu nut-monitor
jan 28 12:02:02 MinipcLG2 nut-monitor[1419]: upsmon-logger: UPS apcupskelder@localhost on battery
jan 28 12:02:10 MinipcLG2 nut-monitor[4875]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:02:10 MinipcLG2 upssched[4875]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:06:36 MinipcLG2 nut-monitor[1419]: upsmon-logger: UPS apcupskelder@localhost on line power
jan 28 12:07:26 MinipcLG2 nut-monitor[1419]: upsmon-logger: UPS apcupskelder@localhost on battery
jan 28 12:07:34 MinipcLG2 nut-monitor[5171]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:07:34 MinipcLG2 upssched[5171]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:07:39 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:39 MinipcLG2 nut-monitor[1419]: upsmon-logger: Communications with UPS apcupskelder@localhost lost
jan 28 12:07:40 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:41 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:42 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:43 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:44 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:45 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:46 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:47 MinipcLG2 nut-monitor[5196]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:07:47 MinipcLG2 upssched[5196]: Failed to connect to parent and failed to create parent: No such file or directory
jan 28 12:07:47 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:48 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:49 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:50 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:51 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:52 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:53 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:54 MinipcLG2 nut-monitor[1419]: Poll UPS [apcupskelder@localhost] failed - Driver not connected
jan 28 12:07:54 MinipcLG2 nut-monitor[1419]: Executing automatic power-fail shutdown
jan 28 12:07:54 MinipcLG2 nut-monitor[1419]: upsmon-logger: Auto logout and shutdown proceeding
jan 28 12:07:59 MinipcLG2 shutdown[5241]: Shutdown scheduled for Tue 2025-01-28 12:07:59 CET, use 'shutdown -c' to cancel.
jan 28 12:07:59 MinipcLG2 systemd[1]: nut-monitor.service: Deactivated successfully.
-- Boot 233b34e657f64f0e98679d6b16742827 --
jan 28 12:11:19 MinipcLG2 systemd[1]: Starting nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller...
jan 28 12:11:19 MinipcLG2 nut-monitor[1419]: Network UPS Tools upsmon 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4)
jan 28 12:11:19 MinipcLG2 nut-monitor[1419]: UPS: apcupskelder@localhost (primary) (power value 1)
jan 28 12:11:19 MinipcLG2 nut-monitor[1419]: Using power down flag file /etc/nut/killpower
jan 28 12:11:19 MinipcLG2 nut-monitor[1425]: Init SSL without certificate database
jan 28 12:11:19 MinipcLG2 systemd[1]: nut-monitor.service: Supervising process 1425 which is not our child. We'll most likely not notice when it exits.
jan 28 12:11:19 MinipcLG2 systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.
jan 28 12:11:19 MinipcLG2 nut-monitor[1425]: upsmon: initialized OS integration for sleep inhibitor
jan 28 12:11:19 MinipcLG2 nut-monitor[1425]: upsmon: initialized OS integration for sleep/wake monitoring
jan 28 12:11:19 MinipcLG2 nut-monitor[1425]: upsnotify: logged the systemd watchdog situation once, will not spam more about it

I then ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k again, with the UPS plugged in:

erik@MinipcLG2:~$ sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k
   0.000006     [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) - Generic HID driver 0.60
USB communication driver (libusb 1.0) 0.50
   0.000102     [D1] upsdrv_makevartable...
   0.000154     [D5] send_to_all: SETINFO driver.version.usb "libusb-1.0.27 (API: 0x0100010A)"
   0.000167     [D1] Using USB implementation: libusb-1.0.27 (API: 0x0100010A)
   0.000241     [D5] do_upsconf_args: confupsname=(null), var=pollinterval, val=1
   0.000252     [D5] do_upsconf_args: call do_global_args()
   0.000265     [D3] do_global_args: var='pollinterval' val='1'
   0.000298     [D6] testval_reloadable: var=pollinterval, oldval=2, newval=1, reloadable=1, reload_flag=0
   0.000312     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '1' vs. '2'
   0.000326     [D6] testval_reloadable: verdict for (re)loading var=pollinterval value: 1
   0.000342     [D5] do_upsconf_args: confupsname=(null), var=maxretry, val=3
   0.000368     [D5] do_upsconf_args: call do_global_args()
   0.000381     [D3] do_global_args: var='maxretry' val='3'
   0.000398     [D5] do_upsconf_args: confupsname=(null), var=debug_min, val=6
   0.000411     [D5] do_upsconf_args: call do_global_args()
   0.000422     [D3] do_global_args: var='debug_min' val='6'
   0.000447     [D5] do_upsconf_args: confupsname=apcupskelder, var=driver, val=usbhid-ups
   0.000459     [D5] do_upsconf_args: call main_arg()
   0.000472     [D3] main_arg: var='driver' val='usbhid-ups'
   0.000487     [D5] do_upsconf_args: not a main_arg()
   0.000499     [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
   0.000513     [D6] testval_reloadable: var=driver, oldval=usbhid-ups, newval=usbhid-ups, reloadable=0, reload_flag=0
   0.000526     [D6] testval_reloadable: verdict for (re)loading var=driver value: -1
   0.000541     [D5] do_upsconf_args: 'driver' setting already applied with this value
   0.000558     [D5] do_upsconf_args: confupsname=apcupskelder, var=port, val=auto
   0.000570     [D5] do_upsconf_args: call main_arg()
   0.000588     [D3] main_arg: var='port' val='auto'
   0.000661     [D6] testinfo_reloadable: var=port, infoname=driver.parameter.port, newval=auto, reloadable=0, reload_flag=0
   0.000689     [D6] testinfo_reloadable: verdict for (re)loading var=port value: 1
   0.000714     [D5] send_to_all: SETINFO driver.parameter.port "auto"
   0.000736     [D5] do_upsconf_args: confupsname=apcupskelder, var=desc, val=Back-UPS BX750MI  FW:295202G -302202G
   0.000750     [D5] do_upsconf_args: call main_arg()
   0.000764     [D3] main_arg: var='desc' val='Back-UPS BX750MI  FW:295202G -302202G'
   0.000779     [D5] do_upsconf_args: confupsname=apcupskelder, var=vendorid, val=051d
   0.000791     [D5] do_upsconf_args: call main_arg()
   0.000804     [D3] main_arg: var='vendorid' val='051d'
   0.000815     [D5] do_upsconf_args: not a main_arg()
   0.000836     [D5] do_upsconf_args: process as value
   0.000848     [D6] testvar_reloadable: searching for var=vendorid, vartype=2, reload_flag=0
   0.000863     [D6] testvar_reloadable: found var=vendorid, val='(null)' => '051d', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.000915     [D6] testvar_reloadable: verdict for (re)loading var=vendorid value: 1
   0.000936     [D5] send_to_all: SETINFO driver.parameter.vendorid "051d"
   0.000952     [D5] do_upsconf_args: confupsname=apcupskelder, var=productid, val=0002
   0.000963     [D5] do_upsconf_args: call main_arg()
   0.000989     [D3] main_arg: var='productid' val='0002'
   0.001005     [D5] do_upsconf_args: not a main_arg()
   0.001018     [D5] do_upsconf_args: process as value
   0.001030     [D6] testvar_reloadable: searching for var=productid, vartype=2, reload_flag=0
   0.001048     [D6] testvar_reloadable: found var=productid, val='(null)' => '0002', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001070     [D6] testvar_reloadable: verdict for (re)loading var=productid value: 1
   0.001088     [D5] send_to_all: SETINFO driver.parameter.productid "0002"
   0.001105     [D5] do_upsconf_args: confupsname=apcupskelder, var=serial, val=9B2416A22014
   0.001118     [D5] do_upsconf_args: call main_arg()
   0.001131     [D3] main_arg: var='serial' val='9B2416A22014'
   0.001144     [D5] do_upsconf_args: not a main_arg()
   0.001171     [D5] do_upsconf_args: process as value
   0.001182     [D6] testvar_reloadable: searching for var=serial, vartype=2, reload_flag=0
   0.001198     [D6] testvar_reloadable: found var=serial, val='(null)' => '9B2416A22014', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001220     [D6] testvar_reloadable: verdict for (re)loading var=serial value: 1
   0.001237     [D5] send_to_all: SETINFO driver.parameter.serial "9B2416A22014"
   0.001273     [D1] Network UPS Tools version 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) built with gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 and configured with flags: --prefix=/usr --sbindir=/usr/sbin --with-libsystemd --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var --libexecdir=/usr/lib/nut --srcdir=. --enable-maintainer-mode --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --with-ssl --with-nss --with-cgi --with-dev --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system
   0.001350     [D1] debug level is '6'
   0.001368     [D5] send_to_all: SETINFO driver.debug "6"
   0.001384     [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
   0.003483     [D1] Succeeded to become_user(nut): now UID=121 GID=130
   0.003566     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   0.003589     [D5] upsdrvquery_write: write to driver socket: PING

   0.003629     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   0.003650     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   0.003819     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   0.003854     [D5] upsdrvquery_prepare: got expected PONG
   0.003866     [D5] upsdrvquery_prepare: ready for tracked commands
   0.003881     [D5] upsdrvquery_write: write to driver socket: SET driver.flag.allow_killpower 1 TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263

   0.003976     [D5] upsdrvquery_request: will wait up to 15.000000 sec for response to SET driver.flag.allow_killpower 1

   0.003999     [D5] upsdrvquery_read_timeout: tv={sec=15, usec=000000}
   0.004090     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263 0

   0.004122     [D5] upsdrvquery_request: parsed out command status: 0
   0.004131     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   0.004139     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   0.004159     [D5] upsdrvquery_close: okay
   1.004706     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   1.004768     [D5] upsdrvquery_write: write to driver socket: PING

   1.004808     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   1.004832     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.005016     [D5] upsdrvquery_read_timeout: received 34 bytes from driver socket: SETINFO driver.state "updateinfo"

   1.005050     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.056559     [D5] upsdrvquery_read_timeout: received 29 bytes from driver socket: SETINFO driver.state "quiet"

   1.056635     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.056814     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   1.056842     [D5] upsdrvquery_prepare: got expected PONG
   1.056858     [D5] upsdrvquery_prepare: ready for tracked commands
   1.056888     [D5] upsdrvquery_write: write to driver socket: INSTCMD driver.killpower TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63

   1.056937     [D1] upsdrvquery_request: will wait indefinitely for response to INSTCMD driver.killpower

   1.056958     [D5] upsdrvquery_read_timeout: tv={sec=-1, usec=-00001} (unlimited timeout)
   1.057892     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63 0

   1.057942     [D5] upsdrvquery_request: parsed out command status: 0
   1.057960     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   1.058083     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   1.058117     [D5] upsdrvquery_close: okay
   2.058280     Request to killpower via running driver returned code 0
   2.058320     [D5] send_to_all: SETINFO driver.state "cleanup.exit"
   2.058335     upsnotify: notify about state NOTIFY_STATE_STOPPING with libsystemd: was requested, but not running as a service unit now, will not spam more about it
   2.058352     [D1] On systems without service units, consider `export NUT_QUIET_INIT_UPSNOTIFY=true`
   2.058369     upsnotify: failed to notify about state NOTIFY_STATE_STOPPING: no notification tech defined, will not spam more about it

I'll now wait some 10 minutes, and observe...

@ErikDB87
Copy link
Author

ErikDB87 commented Jan 28, 2025

Nothing happened, even after 10 minutes. But since a shutdown or power cycle isn't necessary when there is power coming from the grid, that's not a big problem.

A third test I'll now run, is running sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k when unplugged, and then immediately plugging the UPS back in.

erik@MinipcLG2:~$ sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k
   0.000007     [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) - Generic HID driver 0.60
USB communication driver (libusb 1.0) 0.50
   0.000109     [D1] upsdrv_makevartable...
   0.000187     [D5] send_to_all: SETINFO driver.version.usb "libusb-1.0.27 (API: 0x0100010A)"
   0.000202     [D1] Using USB implementation: libusb-1.0.27 (API: 0x0100010A)
   0.000296     [D5] do_upsconf_args: confupsname=(null), var=pollinterval, val=1
   0.000312     [D5] do_upsconf_args: call do_global_args()
   0.000337     [D3] do_global_args: var='pollinterval' val='1'
   0.000364     [D6] testval_reloadable: var=pollinterval, oldval=2, newval=1, reloadable=1, reload_flag=0
   0.000380     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '1' vs. '2'
   0.000394     [D6] testval_reloadable: verdict for (re)loading var=pollinterval value: 1
   0.000411     [D5] do_upsconf_args: confupsname=(null), var=maxretry, val=3
   0.000425     [D5] do_upsconf_args: call do_global_args()
   0.000454     [D3] do_global_args: var='maxretry' val='3'
   0.000470     [D5] do_upsconf_args: confupsname=(null), var=debug_min, val=6
   0.000485     [D5] do_upsconf_args: call do_global_args()
   0.000499     [D3] do_global_args: var='debug_min' val='6'
   0.000524     [D5] do_upsconf_args: confupsname=apcupskelder, var=driver, val=usbhid-ups
   0.000538     [D5] do_upsconf_args: call main_arg()
   0.000553     [D3] main_arg: var='driver' val='usbhid-ups'
   0.000567     [D5] do_upsconf_args: not a main_arg()
   0.000594     [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
   0.000608     [D6] testval_reloadable: var=driver, oldval=usbhid-ups, newval=usbhid-ups, reloadable=0, reload_flag=0
   0.000623     [D6] testval_reloadable: verdict for (re)loading var=driver value: -1
   0.000636     [D5] do_upsconf_args: 'driver' setting already applied with this value
   0.000652     [D5] do_upsconf_args: confupsname=apcupskelder, var=port, val=auto
   0.000664     [D5] do_upsconf_args: call main_arg()
   0.000685     [D3] main_arg: var='port' val='auto'
   0.000699     [D6] testinfo_reloadable: var=port, infoname=driver.parameter.port, newval=auto, reloadable=0, reload_flag=0
   0.000712     [D6] testinfo_reloadable: verdict for (re)loading var=port value: 1
   0.000731     [D5] send_to_all: SETINFO driver.parameter.port "auto"
   0.000754     [D5] do_upsconf_args: confupsname=apcupskelder, var=desc, val=Back-UPS BX750MI  FW:295202G -302202G
   0.000766     [D5] do_upsconf_args: call main_arg()
   0.000780     [D3] main_arg: var='desc' val='Back-UPS BX750MI  FW:295202G -302202G'
   0.000800     [D5] do_upsconf_args: confupsname=apcupskelder, var=vendorid, val=051d
   0.000813     [D5] do_upsconf_args: call main_arg()
   0.000826     [D3] main_arg: var='vendorid' val='051d'
   0.000839     [D5] do_upsconf_args: not a main_arg()
   0.000854     [D5] do_upsconf_args: process as value
   0.000867     [D6] testvar_reloadable: searching for var=vendorid, vartype=2, reload_flag=0
   0.000885     [D6] testvar_reloadable: found var=vendorid, val='(null)' => '051d', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.000914     [D6] testvar_reloadable: verdict for (re)loading var=vendorid value: 1
   0.000934     [D5] send_to_all: SETINFO driver.parameter.vendorid "051d"
   0.000952     [D5] do_upsconf_args: confupsname=apcupskelder, var=productid, val=0002
   0.000966     [D5] do_upsconf_args: call main_arg()
   0.000979     [D3] main_arg: var='productid' val='0002'
   0.000993     [D5] do_upsconf_args: not a main_arg()
   0.001007     [D5] do_upsconf_args: process as value
   0.001021     [D6] testvar_reloadable: searching for var=productid, vartype=2, reload_flag=0
   0.001037     [D6] testvar_reloadable: found var=productid, val='(null)' => '0002', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001060     [D6] testvar_reloadable: verdict for (re)loading var=productid value: 1
   0.001080     [D5] send_to_all: SETINFO driver.parameter.productid "0002"
   0.001098     [D5] do_upsconf_args: confupsname=apcupskelder, var=serial, val=9B2416A22014
   0.001114     [D5] do_upsconf_args: call main_arg()
   0.001127     [D3] main_arg: var='serial' val='9B2416A22014'
   0.001141     [D5] do_upsconf_args: not a main_arg()
   0.001155     [D5] do_upsconf_args: process as value
   0.001168     [D6] testvar_reloadable: searching for var=serial, vartype=2, reload_flag=0
   0.001184     [D6] testvar_reloadable: found var=serial, val='(null)' => '9B2416A22014', vartype=2 => 2, found=0, reloadable=0, reload_flag=0
   0.001203     [D6] testvar_reloadable: verdict for (re)loading var=serial value: 1
   0.001224     [D5] send_to_all: SETINFO driver.parameter.serial "9B2416A22014"
   0.001264     [D1] Network UPS Tools version 2.7.4.11303-11303-ge3ef649ea (development iteration after 2.7.4) built with gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 and configured with flags: --prefix=/usr --sbindir=/usr/sbin --with-libsystemd --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var --libexecdir=/usr/lib/nut --srcdir=. --enable-maintainer-mode --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --with-ssl --with-nss --with-cgi --with-dev --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system
   0.001382     [D1] debug level is '6'
   0.001417     [D5] send_to_all: SETINFO driver.debug "6"
   0.001434     [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
   0.003569     [D1] Succeeded to become_user(nut): now UID=121 GID=130
   0.003648     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   0.003675     [D5] upsdrvquery_write: write to driver socket: PING

   0.003696     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   0.003714     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   0.003976     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   0.004004     [D5] upsdrvquery_prepare: got expected PONG
   0.004015     [D5] upsdrvquery_prepare: ready for tracked commands
   0.004033     [D5] upsdrvquery_write: write to driver socket: SET driver.flag.allow_killpower 1 TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263

   0.004081     [D5] upsdrvquery_request: will wait up to 15.000000 sec for response to SET driver.flag.allow_killpower 1

   0.004101     [D5] upsdrvquery_read_timeout: tv={sec=15, usec=000000}
   0.004383     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 2DDC5036-F665-4D29-BE4C-0374D091D263 0

   0.004432     [D5] upsdrvquery_request: parsed out command status: 0
   0.004450     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   0.004463     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   0.004501     [D5] upsdrvquery_close: okay
   1.004924     [D5] upsdrvquery_write: write to driver socket: NOBROADCAST

   1.004992     [D5] upsdrvquery_write: write to driver socket: PING

   1.005049     [D5] upsdrvquery_prepare: waiting for a while to flush server messages
   1.005088     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.005242     [D5] upsdrvquery_read_timeout: received 34 bytes from driver socket: SETINFO driver.state "updateinfo"

   1.005271     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.009225     [D5] upsdrvquery_read_timeout: received 29 bytes from driver socket: SETINFO driver.state "quiet"

   1.009273     [D5] upsdrvquery_read_timeout: tv={sec=3, usec=000000}
   1.009631     [D5] upsdrvquery_read_timeout: received 5 bytes from driver socket: PONG

   1.009739     [D5] upsdrvquery_prepare: got expected PONG
   1.009783     [D5] upsdrvquery_prepare: ready for tracked commands
   1.009821     [D5] upsdrvquery_write: write to driver socket: INSTCMD driver.killpower TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63

   1.009884     [D1] upsdrvquery_request: will wait indefinitely for response to INSTCMD driver.killpower

   1.009909     [D5] upsdrvquery_read_timeout: tv={sec=-1, usec=-00001} (unlimited timeout)
   1.010754     [D5] upsdrvquery_read_timeout: received 48 bytes from driver socket: TRACKING 98C489FD-821C-4132-9D93-4F6590B55E63 0

   1.010818     [D5] upsdrvquery_request: parsed out command status: 0
   1.010968     [D5] upsdrvquery_close: closing driver socket, try to say goodbye
   1.010994     [D5] upsdrvquery_write: write to driver socket: LOGOUT

   1.011004     [D5] upsdrvquery_close: okay
   2.011422     Request to killpower via running driver returned code 0
   2.011469     [D5] send_to_all: SETINFO driver.state "cleanup.exit"
   2.011493     upsnotify: notify about state NOTIFY_STATE_STOPPING with libsystemd: was requested, but not running as a service unit now, will not spam more about it
   2.011519     [D1] On systems without service units, consider `export NUT_QUIET_INIT_UPSNOTIFY=true`
   2.011535     upsnotify: failed to notify about state NOTIFY_STATE_STOPPING: no notification tech defined, will not spam more about it

Although the UPS was plugged in again, it kept beeping and blinking. The Linux machine shut down, as with the earlier test.

And then, roughly 1'30" after the command had been given, the UPS power cycled.

HOORAY

Unfortunately, my Linux box didn't start up again, although it should have. I've noticed it not doing so once in a while. Maybe a hardware issue with the Linux box?

Anyway, it looks like finally, NUT is doing what it should! :)

I assume actually letting it drain to its threshold, or putting the threshold higher to speed that up, would be the final test, but I don't want to do the latter, to avoid playing with the settings. But to test the former, I would need to be close to the UPS when it's about to shut down, so I can plug it back in after the Linux box is shut down, and before the UPS is. That seems difficult to time...

@jimklimov
Copy link
Member

Sounds great, thanks for the tests. Especially the latter one - seems to prove that it it UPS's hardware or firmware that may be handling commands from the driver differently based on whether it has wall power at the moment or not.

Probably these tests also confirmed that the driver stopping, when built and running with systemd integration (using NOTIFY_STATE_STOPPING when running as a service instance), does tell systemd that the unit goes down intentionally, so it is not getting revived quickly - and systemd honours that.

In the tests with the driver program, I see that the program you've launched communicates with the running driver (wrapped under the service), which in turn probably sends the shutdown command to the UPS successfully - since in at least some cases it ends up shutting down.

  • maaaybe, if the late-shutdown "hook" did get installed (/usr/bin/install -c nutshutdown '/usr/lib/systemd/system-shutdown' in the log) and is honoured by systemd, so the driver program is called and talks to UPS (again?) then, if the "killpower" flag file exists, and it is this run that actually tells the UPS to change power state successfully,

It may be revealing to systemctl stop nut-driver@apcupskelder before calling usbhid-ups -k, so your new and only instance of the driver is seen talking to the UPS, which command(s) it sends and which driver statuses it sets.

In particular, I am curious how nut-monitor comes to decide about "Executing automatic power-fail shutdown" -- does it get a final status about UPS powering off soon (e.g. does the driver send one)? In your test around "jan 28 12:07:26" it is pretty explicit, the last known UPS state was on battery, driver daemon wrapped as a service (hopefully) talked to the UPS and exited, comms were lost, after a couple of update cycles upsmon began the system shutdown.

In case of the test while the UPS was plugged in, when the UPS did not power off/cycle, did the Linux OS shut down still? Or there was no FSD from upsmon in this case?

Perhaps the drivers' processing of shutdown/off/reboot/etc. commands should also try to report the UPS as powering off via its protocol to the data server and beyond, so this is known before comms go stale. I don't think it was handled previously, this is a rather uncommon use-case.

I also wonder if it is actually correct for the driver program to exit during shutdown command handling, at least on systems with a service management framework. Perhaps it should report administrative-OFF or something, but stay and continue reporting on the device state (so if e.g. this is not the only UPS of a server, and it does power-cycle and state changes, we can eventually report it is online again, without disrupting any services).

Unfortunately, my Linux box didn't start up again, although it should have.

Only the Linux box? So is it correct to say that the UPS did power off and back on, and powered up the load sockets (confirmed by e.g. some lamp, or a laptop fed from the UPS, or LEDs on the server), and just the server's BIOS decided to not start?

  • Is the server's BIOS/UEFI/... configured to be "Always On", does it have a setting for that?
  • Is there an ECO/Smart/... power socket on the UPS, which might be feeding the server? With low power draw, it might have decided to stay down.
  • It may be that a partially discharged UPS first waits to charge until some threshold, configurable or not, and only then powers on the load sockets. This allows to ensure a safe shutdown if power is lost again.

Fair enough, but the command worked before...

IIRC at that time you had NUT programs and drivers all in PATH, /usr/bin maybe?

@ErikDB87
Copy link
Author

That's a lot to digest :)

Sounds great, thanks for the tests. Especially the latter one - seems to prove that it it UPS's hardware or firmware that may be handling commands from the driver differently based on whether it has wall power at the moment or not.

Seems that way, indeed.

Probably these tests also confirmed that the driver stopping, when built and running with systemd integration (using NOTIFY_STATE_STOPPING when running as a service instance), does tell systemd that the unit goes down intentionally, so it is not getting revived quickly - and systemd honours that.

In the tests with the driver program, I see that the program you've launched communicates with the running driver (wrapped under the service), which in turn probably sends the shutdown command to the UPS successfully - since in at least some cases it ends up shutting down.

  • maaaybe, if the late-shutdown "hook" did get installed (/usr/bin/install -c nutshutdown '/usr/lib/systemd/system-shutdown' in the log) and is honoured by systemd, so the driver program is called and talks to UPS (again?) then, if the "killpower" flag file exists, and it is this run that actually tells the UPS to change power state successfully,

I'm afraid this is beyond me. :)

It may be revealing to systemctl stop nut-driver@apcupskelder before calling usbhid-ups -k, so your new and only instance of the driver is seen talking to the UPS, which command(s) it sends and which driver statuses it sets.

I'll try that soon (but possibly only next Tuesday, as that's the day I have the most free time, without people possibly bothering me).

In particular, I am curious how nut-monitor comes to decide about "Executing automatic power-fail shutdown" -- does it get a final status about UPS powering off soon (e.g. does the driver send one)? In your test around "jan 28 12:07:26" it is pretty explicit, the last known UPS state was on battery, driver daemon wrapped as a service (hopefully) talked to the UPS and exited, comms were lost, after a couple of update cycles upsmon began the system shutdown.

How should I best capture that info? Or do you expect it in the output of the usbhid-ups -k command?

In case of the test while the UPS was plugged in, when the UPS did not power off/cycle, did the Linux OS shut down still? Or there was no FSD from upsmon in this case?

Linux OS didn't shutdown. I didn't record this, but I'm 99 % certain, because otherwise I would have been annoyed: without the power cycle, the Linux box would never start up again.

Perhaps the drivers' processing of shutdown/off/reboot/etc. commands should also try to report the UPS as powering off via its protocol to the data server and beyond, so this is known before comms go stale. I don't think it was handled previously, this is a rather uncommon use-case.

I also wonder if it is actually correct for the driver program to exit during shutdown command handling, at least on systems with a service management framework. Perhaps it should report administrative-OFF or something, but stay and continue reporting on the device state (so if e.g. this is not the only UPS of a server, and it does power-cycle and state changes, we can eventually report it is online again, without disrupting any services).

Again: beyond me. :) But if there is any way I can provide insight, I'll gladly follow your instructions!

Unfortunately, my Linux box didn't start up again, although it should have.

Only the Linux box? So is it correct to say that the UPS did power off and back on, and powered up the load sockets (confirmed by e.g. some lamp, or a laptop fed from the UPS, or LEDs on the server), and just the server's BIOS decided to not start?

Another Linux box, as well as my router and modem did restart.

  • Is the server's BIOS/UEFI/... configured to be "Always On", does it have a setting for that?

Yes, and it works 85 % of the time. So I'm not sure where the problem lies.

  • Is there an ECO/Smart/... power socket on the UPS, which might be feeding the server? With low power draw, it might have decided to stay down.

I think all three outlets are identical, but I'm not 100% sure...

  • It may be that a partially discharged UPS first waits to charge until some threshold, configurable or not, and only then powers on the load sockets. This allows to ensure a safe shutdown if power is lost again.

Actually, I've got one "superoutlet" (don't know the English term), in which my two Linux boxes, my router and my modem are plugged. Something like this: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQGu0Q_2cQowo-dczA-sLa79fuikCTW3CWqrg&s. Maybe that's not good practice, and I should make use of the two other outlets...

Do you think that may have an impact?

Fair enough, but the command worked before...

IIRC at that time you had NUT programs and drivers all in PATH, /usr/bin maybe?

Ah, I assume the apt package NUT was still installed then.

@jimklimov
Copy link
Member

How should I best capture that info?

Probably bump up debug_min 6 logging in upsmon.conf, reload or restart the service, and experiment with the shutdown. Hopefully its journal will show the events the daemon received (or didn't over some time), and help figure out the decisions it made.

"superoutlet"

That can go by a number of names.

  • Consumer variant with many sockets is a power strip, maybe enhanced with power button (one or per socket) and/or fuse(s).
  • Rack-mountable like yours becomes at least a PDU (power distribution unit) by fancy name.
  • If it can also be monitored and/or managed, it's an ePDU with further variants (e.g. "metered" if it allows precise accounting of Amps/Watts served per socket - often used in hosting/colocation certified to collect money for units of resource usage). Typically ePDUs are useful for remote reboots of stuck systems :) and to stagger start-up of different systems after power-on, so it is not all one big sudden burst of power draw from zero to a lot instantly, that would blow old fuses.

Using one with UPS should be okay, as long as you fit in the Amp rating of the socket. Can help "against" too-eager ECO sockets by always having someone to feed :)

@ErikDB87
Copy link
Author

Probably bump up debug_min 6 logging in upsmon.conf, reload or restart the service, and experiment with the shutdown. Hopefully its journal will show the events the daemon received (or didn't over some time), and help figure out the decisions it made.

Okay, I already went ahead and did that:

erik@NASLG2:/etc/nut$ sudo cat upsmon.conf
MONITOR apcupskelder@localhost 1 bekijker indUStr*a secondary
DEBUG_MIN 6

But reading the docs, I wonder whether my upsmon.conf shouldn't also contain MINSUPPLIES (1) and POWERDOWNFLAG (no idea which value...)?

@jimklimov
Copy link
Member

see also conf/*.sample files in repo - many start with hints on minimal config, and detail them all

"yes" to minsupplies

"depends" to flag

@ErikDB87
Copy link
Author

"depends" to flag

I didn't quite get on what it depends... Also, reading the docs didn't clear everything up about POWERDOWNFLAG. :) But I put it in anyway:

erik@NASLG2:/etc/nut$ sudo cat upsmon.conf
MONITOR apcupskelder@localhost 1 bekijker indUStr*a secondary
MINSUPPLIES 1
POWERDOWNFLAG /etc/killpower
DEBUG_MIN 6

@jimklimov
Copy link
Member

There's a built-in value for the flag (from configure option or defaults). You might want to not write into persistent /etc but use a tmpfs like /run(/nut) for example. More so with flash storage and limited write cycles.

@ErikDB87
Copy link
Author

Probably bump up debug_min 6 logging in upsmon.conf, reload or restart the service, and experiment with the shutdown. Hopefully its journal will show the events the daemon received (or didn't over some time), and help figure out the decisions it made.

By "journal", I suppose you don't mean the output of the command? But rather something like journalctl -lu with then a parameter?

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 1, 2025

There's a built-in value for the flag (from configure option or defaults). You might want to not write into persistent /etc but use a tmpfs like /run(/nut) for example. More so with flash storage and limited write cycles.

I was looking at the wrong Linux box 🙄😅

erik@MinipcLG2:/etc/nut$ sudo cat upsmon.conf
RUN_AS_USER nut
#MONITOR apcupskelder@localhost 1 admin indUStr*a primary # Deleted 03/01/2025
MONITOR apcupskelder@localhost 1 upsmon indUStr*a primary
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
POLLFREQ 2
POLLFREQALERT 1
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /run/nut/
DEBUG_MIN 6
NOTIFYMSG ONLINE    "upsmon-logger: UPS %s on line power"
NOTIFYMSG ONBATT    "upsmon-logger: UPS %s on battery"
NOTIFYMSG LOWBATT   "upsmon-logger: UPS %s battery is low"
NOTIFYMSG FSD       "upsmon-logger: UPS %s: forced shutdown in progress"
NOTIFYMSG COMMOK    "upsmon-logger: Communications with UPS %s established"
NOTIFYMSG COMMBAD   "upsmon-logger: Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN  "upsmon-logger: Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT  "upsmon-logger: UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM    "upsmon-logger: UPS %s is unavailable"
NOTIFYMSG NOPARENT  "upsmon-logger: upsmon parent process died - shutdown impossible"
NOTIFYFLAG ONLINE   SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT   SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT  SYSLOG+WALL
NOTIFYFLAG FSD      SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK   SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD  SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL
NOTIFYFLAG NOCOMM   SYSLOG+WALL+EXEC
NOTIFYFLAG NOPARENT SYSLOG+WALL
RBWARNTIME 43200
NOCOMMWARNTIME 600
FINALDELAY 5

@jimklimov
Copy link
Member

POWERDOWNFLAG /run/nut/

Should be a file path (name after dir missing).

By "journal", I suppose you don't mean the output of the command? But rather something like journalctl -lu with then a parameter?

...restart the service, and experiment with the shutdown. Hopefully its journal...

"service", "its" :)

So journalctl -lu nut-monitor (or -flu to monitor new log entries in real time).

After a reboot, journalctl -xn executed as root can help interpolate all services' messages and systemd state machine changes, too - to see how it all plays together (maybe something unpredictable but interesting from the USB stack, udev, or whatever). It would help to write on a paper at what time you pull the plug and when actual shutdown begins, just to search logs more easily.

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 3, 2025

POWERDOWNFLAG /run/nut/

Should be a file path (name after dir missing).

erik@MinipcLG2:/etc/nut$ sudo cat upsmon.conf | grep -i powerdown
POWERDOWNFLAG /run/nut/killpower

So journalctl -lu nut-monitor (or -flu to monitor new log entries in real time).
After a reboot, journalctl -xn executed as root can help interpolate all services' messages and systemd state machine changes, too - to see how it all plays together (maybe something unpredictable but interesting from the USB stack, udev, or whatever).

Coming up (tomorrow)! So journalctl -lu nut-monitor should not (necessarily) be run as root?

It would help to write on a paper at what time you pull the plug and when actual shutdown begins, just to search logs more easily.

Good idea.

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 3, 2025

Since the primary looks like it's working, I think I'm going to configure my secondary Linux box as well. But I'm not sure what I should install there. Can I use the package, even though the primary runs on a custom build? And if so, as per the documentation I should install nut. However, I see nut-client listed as well, which sounds like what I need, but this isn't mentioned in the documentation...

@jimklimov
Copy link
Member

Good question. There were some changes to upsmon client during this evolution. I think it's better search for it in NEWS.adoc in sources for release notes and summary of changes, to see if they could benefit you (comparing current code vs. what version your packages have).

Protocol-wise, the different versions of client and server should work well, even about the master/primary and slave/secondary change as part of 2.8.0 release.

As for docs listing third-party packages, gotta check them eventually to modernize the list, maybe add more distributions too. PRs also welcome :)

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 3, 2025

Good question. There were some changes to upsmon client during this evolution. I think it's better search for it in NEWS.adoc in sources for release notes and summary of changes, to see if they could benefit you (comparing current code vs. what version your packages have).

That sounds over my head 😬 Maybe I better build from the master branch again. I suppose a lot of the arguments are unneeded for a secondary?

@jimklimov
Copy link
Member

Would not hurt either, I think. Easier to keep stuff similar.

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 4, 2025

Okay, I don't think the tests had the expected results...

  1. I left the UPS plugged in, and stopped nut-driver. I then ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k. No effect...
    Output: nut-driver stopped + attempt with UPS plugged in.txt

  2. I unplugged the UPS, and stopped nut-driver. I then ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k. I then pluggd the UPS back in. No effect...
    Output: nut-driver stopped + attempt with UPS NOT plugged in.txt

  3. I left the UPS plugged in, and stopped both nut-driver and upsmon. I then ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k. No effect...
    Output: nut-driver and upsmon stopped + attempt with UPS plugged in.txt

  4. I then restarted upsmon and attempted to restart nut-driver@apcupskelder. The latter didn't work, but I think the former put something in action, because all of a sudden, the Linux box shut down. Unfortunately, there was no power cycle, so I had to manually restart the Linux box...
    Output: restarted upsmon.txt

  5. I then rebooted, and immediately rebooted again to double-check the BIOS settings. Maybe that contaminated the logs, apologies... But here they are anyway: journalctl -lu nut-monitor.txt
    journalctl -xn.txt

  6. I ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k without unplugging anything or stopping any services, just for fun. No effect.
    Output: UPS restart attempt without unplugging or stopping services.txt

  7. I unplugged the UPS, ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k without unplugging anything or stopping any services. I then plugged the UPS in immediately, and ran command date. The Linux box shut down, and I ran date in the Windows PowerShell. The UPS kept beeping, and restarted, after which I again ran date in the Windows PowerShell. (Once again, my primary Linux box didn't boot up, but when I then switched the plug from my "superoutlet" to an outlet of the UPS, it did. Maybe the amperage put through to the "superoutlet" isn't high enough, which makes that the Linux box doesn't get "enough" power to start the boot-up process?) At the end, I ran date on the Linux box, immediately logged out and immediately ran date on Windows, so the time difference is included in the logs.
    Output: UPS unplugged, services not stopped, power cycle worked.txt

  8. I then stopped upsmon and nut-driver@apcupskelder, after which I changed my mind, and restarted upsmon. But before I could do anything else, the Linux box shut down. Upon restart, I ran both journalctl commands.
    Output: sudo journalctl -lu nut-monitor - bis.txt
    journalctl -xn - bis.txt
    upsmon stopped - shutdown.txt

  9. I stopped nut-driver@apcupskelder, unplugged the UPS, ran sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k, plugged the UPS back in an ran date. The Linux box didn't shut down gracefully (at least, that's how I interpreted the fact that connection was lost without warning...), but the UPS did run a power cycle. (Now, when plugged in directly to the UPS, my primary Linux box did boot automatically!)
    Output: sudo journalctl -lu upsmon - tris.txt
    sudo journalctl -xn - tris.txt
    sudo journalctl -lu nut-monitor - tris.txt
    nut-driver stopped, unplugged, plugged in, ungraceful shutdown, power cycle.txt

Hopefully, some of this is of use. :)

@ErikDB87
Copy link
Author

ErikDB87 commented Feb 4, 2025

I repeated point 7, but now with journalctl the logs. I ran date right after running sudo /lib/nut/usbhid-ups -DDDDDD -a apcupskelder -k, right after plugging the UPS back in, right after the Linux box disconnected and when the long beep of the UPS (signalling the power cycle) began.
Output: sudo journalctl -lu upsmon - quater.txt
sudo journalctl -xn - quater.txt
UPS unplugged, services not stopped, power cycle worked - bis.txt

Unfortunately, my primary Linux box didn't reboot... Is it possible the power isn't cut long enough on the power cycle...? (Although my secondary Linux box always boots up, maybe it's got more sensitive hardware?) I might need a more complicated workaround with a smart plug or something... :(

(I now synchronized the clock of my Windows machine, which would have made more sense at the beginning of the tests...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APC DDL impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) USB
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

5 participants