Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843638 - net-print/cups-2.3.3_p2-r3: rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Summary: net-print/cups-2.3.3_p2-r3: rdlibtool: error logged in slbt_lconf_open(), lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool rlibtool
  Show dependency tree
 
Reported: 2022-05-11 00:40 UTC by orbea
Modified: 2022-07-27 20:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2022-05-11 00:40:29 UTC
The build fails when LIBTOOL=rdlibtool is set in make.conf.

Reproducible: Always

Steps to Reproduce:
1. Install sys-devel/slibtool
2. Set LIBTOOL=rdlibtool in make.conf
3. Build net-print/cups
Actual Results:  
rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_get_lconf_flags(), line 639.
make[1]: *** [../Makedefs:271: raster-interstub.o] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.3.3_p2-r3/work/cups-2.3.3op2-abi_x86_64.amd64/cups'
make: *** [Makefile:43: all] Error 1
Comment 1 orbea 2022-05-11 00:41:04 UTC
Upstream PR: https://github.com/OpenPrinting/cups/pull/392
Comment 2 Larry the Git Cow gentoo-dev 2022-07-27 20:09:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0

commit 1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-10 22:20:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-27 20:07:33 +0000

    net-print/cups: Don't use libtool
    
    When building cups with LIBTOOL=rlibtool exported in make.conf the
    build will fail. This happens because slibtool can't determine build
    information from the generated libtool script that doesn't exist.
    
    Its better to just not use libtool at all in this build system.
    
    Bug: https://bugs.gentoo.org/843638
    Upstream-PR: https://github.com/OpenPrinting/cups/pull/394
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25431
    Signed-off-by: Sam James <sam@gentoo.org>

 net-print/cups/cups-2.4.2-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)