Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832391 - dev-util/ragel-7.0.4-r1 libtool: error: cannot find the library '/usr/lib64/libfsm.la' or unhandled argument '/usr/lib64/libfsm.la'
Summary: dev-util/ragel-7.0.4-r1 libtool: error: cannot find the library '/usr/lib64...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 879635 (view as bug list)
Depends on:
Blocks: 839048
  Show dependency tree
 
Reported: 2022-01-30 16:58 UTC by Alessandro Barbieri
Modified: 2022-12-12 19:33 UTC (History)
4 users (show)

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


Attachments
emerge_info (emerge_info,35.67 KB, text/plain)
2022-01-30 16:58 UTC, Alessandro Barbieri
Details
ragel-7.0.4-r1:20220130-165159.log (ragel-7.0.4-r1:20220130-165159.log,23.61 KB, text/plain)
2022-01-30 16:58 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2022-01-30 16:58:23 UTC
This package fails to build on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2022-01-30 16:58:29 UTC
Created attachment 764003 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2022-01-30 16:58:30 UTC
Created attachment 764004 [details]
ragel-7.0.4-r1:20220130-165159.log

build log
Comment 3 Alessandro Barbieri 2022-01-30 17:02:32 UTC
The patch doesn't seem to work
Comment 4 Edgar Dragon 2022-04-19 02:16:40 UTC
Still an issue, current workaround is to package.mask:

dev-util/ragel-7.0.4
dev-util/ragel-7.0.4-r1

Only the dev-util/ragel-0.13.0.7 compiles. Maybe suggestion to make above version unstable.
Comment 5 Edgar Dragon 2022-04-19 02:18:44 UTC
(In reply to Edgar Dragon from comment #4)
> Only the dev-util/ragel-0.13.0.7 compiles. Maybe suggestion to make above
> version unstable.

I meant dev-util/ragel-7.0.0.12
Comment 6 Larry the Git Cow gentoo-dev 2022-04-19 18:34:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2755bc7ab5c1ea2292211b1f55c05fdba63f2874

commit 2755bc7ab5c1ea2292211b1f55c05fdba63f2874
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-19 18:34:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-19 18:34:28 +0000

    dev-util/colm: destabilize 0.14.7-r1
    
    Bug: https://bugs.gentoo.org/832391
    Bug: https://bugs.gentoo.org/839048
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/colm/colm-0.14.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4d79bb2ad134d5e06dae1f3ea32d303ece8d91

commit 4f4d79bb2ad134d5e06dae1f3ea32d303ece8d91
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-19 18:34:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-19 18:34:27 +0000

    dev-util/ragel: destabilize 7.0.4-r1
    
    Bug: https://bugs.gentoo.org/832391
    Bug: https://bugs.gentoo.org/839048
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/ragel/ragel-7.0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Alessandro Barbieri 2022-04-19 18:46:07 UTC
The issue is here:
AC_ARG_WITH(colm,
	[AC_HELP_STRING([--with-colm], [location of colm install])],
	[
		COLM="$withval/bin/colm"
		COLM_WRAP="$withval/bin/colm-wrap"
		CPPFLAGS="-I$withval/include ${CPPFLAGS}"
		CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}"
		LDFLAGS="-L$withval/lib ${LDFLAGS}"
		LIBCOLM_LA="$withval/lib/libcolm.la"
		LIBFSM_LA="$withval/lib/libfsm.la"
		COLM_SHARE="$withval/share/colm"
	],
	[]
)

the patch will add something in the "else" part (inside [] ) but the issue is still there in the "if" part (linking to foo.la libraries instead of using -lfoo)
Comment 8 Alessandro Barbieri 2022-04-19 18:47:39 UTC
relevant PR https://github.com/gentoo/gentoo/pull/22203
Comment 9 Larry the Git Cow gentoo-dev 2022-05-05 04:06:36 UTC
The bug has been closed via the following commit(s):

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

commit e155af013558a4a3164fb9867ef1d65d34c6ed3a
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-04 17:48:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-05 04:05:48 +0000

    dev-util/ragel: Fix patch for slibtool
    
    Upstream-PR: https://github.com/adrian-thurston/ragel/pull/85
    Bug: https://bugs.gentoo.org/820260
    Bug: https://bugs.gentoo.org/839048
    Closes: https://bugs.gentoo.org/832391
    Closes: https://github.com/gentoo/gentoo/pull/25322
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/ragel-7.0.4-r2-link-colm-properly.patch  | 64 +++++++++++++++++++++
 dev-util/ragel/ragel-7.0.4-r2.ebuild               | 66 ++++++++++++++++++++++
 2 files changed, 130 insertions(+)
Comment 10 Fabian Groffen gentoo-dev 2022-12-12 19:33:46 UTC
*** Bug 879635 has been marked as a duplicate of this bug. ***