Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 843638

Summary: net-print/cups-2.3.3_p2-r3: rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Product: Gentoo Linux Reporter: orbea <orbea>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/25431
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709, 779364    

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(+)