The install fails when building cups with slibtool. MAKEFLAGS='LIBTOOL=rlibtool' emerge -av net-print/cups This because the backend/Makefile file has bogus libtool commands which GNU libtool silently consumes, but more strict implementations like slibtool will print an error instead. rlibtool: error: --mode must be specified. This is easily resolved by removing libtool from the problematic commands as done in this upstream PR which has been ignored. https://github.com/apple/cups/pull/5827 However cups has been forked by the previous maintainer which did merge this patch. https://github.com/OpenPrinting/cups/pull/11
Created attachment 683104 [details] build log
Created attachment 683107 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68545919747ad7b6ac2ca7681255f1371d0ed357 commit 68545919747ad7b6ac2ca7681255f1371d0ed357 Author: Ørjan Malde <red@foxi.me> AuthorDate: 2021-01-15 17:58:35 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-16 11:53:15 +0000 net-print/cups: drop bogus libtool install invocations Closes: https://bugs.gentoo.org/765583 Signed-off-by: Ørjan Malde <red@foxi.me> Closes: https://github.com/gentoo/gentoo/pull/19069 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-print/cups/cups-2.3.3-r1.ebuild | 1 + net-print/cups/files/cups-2.3.3-no-libtool.patch | 25 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+)
The OpenPrinting repo where this fix has already been merged has taken over cups development for Linux/BSD/etc and the apple repo is now only for macOS as described in this comment. https://github.com/apple/cups/pull/5827#issuecomment-796837736