Closed jeffrizzo closed 1 month ago
Can you provide your cmake command with arguments you are using? And Alpine version?
@jeffrizzo This is expected - since the code doesn't support Alpine yet when building packages.
https://github.com/analogdevicesinc/libiio/blob/main/cmake/LinuxPackaging.cmake#L23-L33
Since Alpine doesn't use deb or rpm (it uses apk) - I assume you shouldn't build packages, and can just leave that off?
Thanks -Robin
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk add libiio-dev@testing
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/10) Installing dbus-libs (1.14.8-r0)
(2/10) Installing libintl (0.21.1-r7)
(3/10) Installing avahi-libs (0.8-r13)
(4/10) Installing libserialport@testing (0.1.1-r1)
(5/10) Installing libusb (1.0.26-r2)
(6/10) Installing xz-libs (5.4.3-r0)
(7/10) Installing libxml2 (2.11.8-r0)
(8/10) Installing libiio@testing (0.25-r2)
(9/10) Installing pkgconf (1.9.5-r0)
(10/10) Installing libiio-dev@testing (0.25-r2)
Executing busybox-1.36.1-r7.trigger
OK: 10 MiB in 25 packages
tested with 3.18+ alpine
@cz172638 Can we close this issue? Assuming the package works...
i think so, i've put link to apkbuild, so @jeffrizzo can take inspiration and eventually lobby for getting libiio package from testing
to community
When trying to build 0.25 under Docker using Alpine Linux (it built in version 0.23), I got this error, so I'm reporting it as requested: