<20211125014254.166522-1-wolf@wolfsden.cz>
--- Under 3.15 apcupsd fails to start unless libusb package is manually installed: # rc-service apcupsd start * Starting APC UPS daemon ... /sbin/apcupsd: error while loading libusb-1.0.so.0 from libusb-0.1.so.4: Error loading shared library libusb-1.0.so.0: No such file or directory * start-stop-daemon: failed to start `/sbin/apcupsd' [ !! ] * ERROR: apcupsd failed to start This should probably be backported to 3.15 as well. No idea how to send patches against that. main/apcupsd/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD index fda125aa29..dbf8562b24 100644 --- a/main/apcupsd/APKBUILD +++ b/main/apcupsd/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=apcupsd pkgver=3.14.14 -pkgrel=2 +pkgrel=3 pkgdesc="A Daemon to control APC UPSes" subpackages="$pkgname-doc $pkgname-webif $pkgname-openrc" url="http://www.apcupsd.org" arch="all" license="GPL-2.0-only" -depends="util-linux" +depends="util-linux libusb" makedepends="net-snmp-dev linux-headers gd-dev libusb-compat-dev" options="!check" # no test suite included source="https://sourceforge.net/projects/apcupsd/files/apcupsd%20-%20Stable/$pkgver/apcupsd-$pkgver.tar.gz -- 2.33.1
<163782146162.14324.14127433992653302399.gitlab.27747.4847c41ea88baa9666b971fbeaafc3696bba2389@listserv.local>
<20211125014254.166522-1-wolf@wolfsden.cz>
(view parent)
does requirement on usb not depend on the config file? i.e. only the system handling the actual ups needs this not all slave systems connecting over the network? also serial ups's does not need usb. -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_194247
<20211125102009.fyhp732fiqk73eea@mail.wolfsden.cz>
<163782146162.14324.14127433992653302399.gitlab.27747.4847c41ea88baa9666b971fbeaafc3696bba2389@listserv.local>
(view parent)
Hi, On 2021-11-25 06:24:21 -0000, Henrik Riomar wrote: > does requirement on usb not depend on the config file? i.e. only the > system handling the actual ups needs this not all slave systems > connecting over the network? also serial ups's does not need usb. I've changed my configuration file to use net instead and it still refused to start. So I think this is actually necessary, unless I've overlooked something in the configuration file (I mean, that is always a possibility). W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
<163783561677.14324.18429974003248038908.gitlab.27747.4847c41ea88baa9666b971fbeaafc3696bba2389@listserv.local>
<163782146162.14324.14127433992653302399.gitlab.27747.4847c41ea88baa9666b971fbeaafc3696bba2389@listserv.local>
(view parent)
Wolf <wolf@wolfsden.cz> replied via email: ``` Hi, On 2021-11-25 06:24:21 -0000, Henrik Riomar wrote: > does requirement on usb not depend on the config file? i.e. only the > system handling the actual ups needs this not all slave systems > connecting over the network? also serial ups's does not need usb. I've changed my configuration file to use net instead and it still refused to start. So I think this is actually necessary, unless I've overlooked something in the configuration file (I mean, that is always a possibility). W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. ``` -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_194282
<163785343175.14324.6421730296184030460.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
<20211125014254.166522-1-wolf@wolfsden.cz>
(view parent)
tested installation on v3.14 of `apcupsd`, the following is pulled ``` Package changes: +apcupsd-3.14.14-r1 +apcupsd-openrc-3.14.14-r1 +blkid-2.37-r0 +cfdisk-2.37-r0 +findmnt-2.37-r0 +flock-2.37-r0 +hexdump-2.37-r0 +libeconf-0.3.8-r1 +libfdisk-2.37-r0 +libusb-1.0.24-r2 +libusb-compat-0.1.5-r4 +logger-2.37-r0 +mcookie-2.37-r0 +partx-2.37-r0 +setpriv-2.37-r0 +sfdisk-2.37-r0 +util-linux-2.37-r0 +util-linux-openrc-2.37-r0 +uuidgen-2.37-r0 ``` `libusb-compat` depends on `libusb` on 3.14: https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/libusb-compat -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_194344
<20211125153044.bfgc6dm3nkeowaun@mail.wolfsden.cz>
<163785343175.14324.6421730296184030460.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
(view parent)
On 2021-11-25 15:17:11 -0000, Henrik Riomar wrote: > > `libusb-compat` depends on `libusb` on 3.14: > https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/libusb-compat It does not in 3.15: https://pkgs.alpinelinux.org/package/v3.15/main/x86_64/libusb-compat So it should probably fixed there, but I'm not sure what the cause is. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
<163785425066.14324.5267974827728205843.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
<163785343175.14324.6421730296184030460.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
(view parent)
Wolf <wolf@wolfsden.cz> replied via email: ``` On 2021-11-25 15:17:11 -0000, Henrik Riomar wrote: > > `libusb-compat` depends on `libusb` on 3.14: > https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/libusb-compat It does not in 3.15: https://pkgs.alpinelinux.org/package/v3.15/main/x86_64/libusb-compat So it should probably fixed there, but I'm not sure what the cause is. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. ``` -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_194357
<20211127231507.4o37wsoa2psicpgu@mail.wolfsden.cz>
<163785425066.14324.5267974827728205843.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
(view parent)
On 2021-11-25 15:30:50 -0000, mailinglist-bot wrote: > Wolf <wolf@wolfsden.cz> replied via email: > > ``` > On 2021-11-25 15:17:11 -0000, Henrik Riomar wrote: > > > > `libusb-compat` depends on `libusb` on 3.14: > > https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/libusb-compat > > It does not in 3.15: > > https://pkgs.alpinelinux.org/package/v3.15/main/x86_64/libusb-compat > > So it should probably fixed there, but I'm not sure what the cause is. This patch can be dropped, I've sent separate one against libusb-compact. W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
<163805491494.14324.16191699468181235981.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
<163785425066.14324.5267974827728205843.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
(view parent)
Wolf <wolf@wolfsden.cz> replied via email: ``` On 2021-11-25 15:30:50 -0000, mailinglist-bot wrote: > Wolf <wolf@wolfsden.cz> replied via email: > > ``` > On 2021-11-25 15:17:11 -0000, Henrik Riomar wrote: > > > > `libusb-compat` depends on `libusb` on 3.14: > > https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/libusb-compat > > It does not in 3.15: > > https://pkgs.alpinelinux.org/package/v3.15/main/x86_64/libusb-compat > > So it should probably fixed there, but I'm not sure what the cause is. This patch can be dropped, I've sent separate one against libusb-compact. W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. ``` -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_194945
<163810728210.14324.14315403871968739554.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
<163805491494.14324.16191699468181235981.gitlab.27747.9ad100d619d1cb80f9be99f9e29a489d2bda844c@listserv.local>
(view parent)
Replaced by !27859 -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27747#note_195039