Summary: | net-dialup/freeradius-3.0.21-r1 - rdlibtool: error: --shared is not a synonym for -shared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mjo |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25351 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 765709 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 net-dialup:freeradius-3.0.21-r1:20210427-113330.log temp.tar.bz2 Patch that fixes build with slibtool. |
Description
Toralf Förster
![]() Created attachment 702717 [details]
emerge-info.txt
Created attachment 702720 [details]
emerge-history.txt
Created attachment 702723 [details]
environment
Created attachment 702726 [details]
etc.portage.tar.bz2
Created attachment 702729 [details]
logs.tar.bz2
Created attachment 702732 [details]
net-dialup:freeradius-3.0.21-r1:20210427-113330.log
Created attachment 702735 [details]
temp.tar.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60bc7025606aa2dc4ae7ef342060507d80038eac commit 60bc7025606aa2dc4ae7ef342060507d80038eac Author: orbea <orbea@riseup.net> AuthorDate: 2022-05-06 16:08:05 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-05-06 17:59:13 +0000 net-dialup/freeradius: Fix typo in ebuild It should be -shared and not --shared and this typo causes the build to fail with slibtool. Additionally it needs slibtool-shared and not rlibtool. Bug: https://bugs.gentoo.org/786102 Closes: https://github.com/gentoo/gentoo/pull/25351 Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Matt Turner <mattst88@gentoo.org> net-dialup/freeradius/freeradius-3.0.25-r2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Created attachment 777125 [details, diff]
Patch that fixes build with slibtool.
The build gets farther now, but this is hopeless. Freeradius has its own jlibtool instead of GNU libtool which fails to create the '.libs' directory when using -module which is needed to build the modules with slibtool.
I attached a preliminary patch that fixes it for slibtool, but without also fixing jlibtool itself its hopeless.
*** Bug 914332 has been marked as a duplicate of this bug. *** I don't know WTF is going on here. The scripts/libtool.mk in their git repo looks like jlibtool is optional, and if I do a `git log` on it, nothing has changed in that regard since the file was introduced in 2012. Why is the libtool.mk in the releases completely different? I had some success editing out jlibtool entirely: -override LIBTOOL := ${JLIBTOOL} +LIBTOOL := libtool but there are still a bunch of jlibtool-isms in the Makefiles that you have to fix after that. |