Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765583 - net-print/cups-2.3.3-r1: Install fails when built with sys-devel/slibtool
Summary: net-print/cups-2.3.3-r1: Install fails when built with sys-devel/slibtool
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-01-16 00:08 UTC by orbea
Modified: 2021-04-07 16:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build log (build.log,234.28 KB, text/x-log)
2021-01-16 00:10 UTC, orbea
emerge --info (emerge-info.txt,5.47 KB, text/plain)
2021-01-16 00:10 UTC, orbea

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2021-01-16 00:08:39 UTC
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.

However cups has been forked by the previous maintainer which did merge this patch.
Comment 1 orbea 2021-01-16 00:10:19 UTC
Created attachment 683104 [details]
build log
Comment 2 orbea 2021-01-16 00:10:35 UTC
Created attachment 683107 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2021-01-16 11:53:18 UTC
The bug has been closed via the following commit(s):

commit 68545919747ad7b6ac2ca7681255f1371d0ed357
Author:     Ørjan Malde <>
AuthorDate: 2021-01-15 17:58:35 +0000
Commit:     Lars Wendler <>
CommitDate: 2021-01-16 11:53:15 +0000

    net-print/cups: drop bogus libtool install invocations
    Signed-off-by: Ørjan Malde <>
    Signed-off-by: Lars Wendler <>

 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(+)
Comment 4 orbea 2021-03-11 16:14:55 UTC
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.