Closed issue by klarasm on void-packages repository https://github.com/void-linux/void-packages/issues/21662 Description: I discovered this when trying to set up a print server on a Raspberry PI 1 model B. Cups complains of `unknown device: cups` It seems that ghostscript is not built with cups device support, as can be seen below. Using `xbps-query ghostscript` on my x86_64 desktop system shlib-requires include `libcups.so.2` which is not included on the Raspberry Pi. I compiled ghostscript for x86_64, x86_64-musl, armv6l, armv6l-musl, aarch64, aarch64-musl and only the x86_64 version seems to link to `libcups.so.2`. I have posted the results of xbps-query on ghostscript for the targets below. I also included the build log for armv6l-musl and the log for the failed cups job. ### System * xuname: `Void 4.19.115_1 armv6l-musl Unknown uptodate rrnFFF` * package: ghostscript-9.52_1 cups-2.3.1_1 (indirectly) ### Expected behavior Executed on a x86_64 desktop: ``` $ gs -h | grep cups chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet $ echo $? 0 $ ``` ### Actual behavior Executed on a Raspberry Pi 1 model B ``` $ gs -h | grep cups $ echo $? 1 $ ``` ### Steps to reproduce the behavior Install ghostscript and execute `gs -h | grep cups` on Raspberry Pi 1 model B. ### Attached files ``` $ for i in x86_64 x86_64-musl armv6l armv6l-musl aarch64 aarch64-musl; do XBPS_ARCH=$i xbps-query -Ri --repository=. ghostscript; done ``` [xbps-query-ghostscript.txt](https://github.com/void-linux/void-packages/files/4583308/xbps-query-ghostscript.txt) ``` $ ./xbps-src -a armv6l-musl pkg ghostscript 2>&1 > build-ghostcript_armv6-musl.log ``` [build-ghostscript_armv6l-musl.log](https://github.com/void-linux/void-packages/files/4594138/build-ghostscript_armv6l-musl.log) ``` # cat error_log | grep Job\ 6 ``` [cups-error.log](https://github.com/void-linux/void-packages/files/4583416/cups-error.log) EDIT: corrected the cross-compiled build log for armv6l-musl