Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721022 - sci-electronics/iverilog-10.3 should depend on sys-libs/readline:=
Summary: sci-electronics/iverilog-10.3 should depend on sys-libs/readline:=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: vowstar
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-05 04:54 UTC by Daniel M. Weeks
Modified: 2022-04-27 13:19 UTC (History)
3 users (show)

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 Daniel M. Weeks 2020-05-05 04:54:58 UTC
>>> package: sys-libs/readline-8.0_p4
 *  - /lib64/libhistory.so.7
 *  - /lib64/libhistory.so.7.0
 *      used by /usr/bin/vvp (sci-electronics/iverilog-10.3)

Reproducible: Always
Comment 1 vowstar 2020-05-08 12:27:08 UTC
sys-libs/readline only have slot 0 and sci-electronics/iverilog-10.3 already depend on it.

RDEPEND="
	sys-libs/readline:0
	sys-libs/zlib
"

I don't understand what happend accroding your describe.
Comment 2 Daniel M. Weeks 2020-05-10 01:21:08 UTC
(In reply to vowstar from comment #1)
> sys-libs/readline only have slot 0 and sci-electronics/iverilog-10.3 already
> depend on it.
> 
> RDEPEND="
> 	sys-libs/readline:0
> 	sys-libs/zlib
> "
> 

It needs to depend on the *subslot*. readline soname changes between version 7 and 8 so the runtime link is broken unless the iverilog ebuild depends on the subslot so portage knows to trigger a rebuild.
Comment 3 vowstar 2020-05-12 03:43:38 UTC
(In reply to Daniel M. Weeks from comment #2)
> (In reply to vowstar from comment #1)
> > sys-libs/readline only have slot 0 and sci-electronics/iverilog-10.3 already
> > depend on it.
> > 
> > RDEPEND="
> > 	sys-libs/readline:0
> > 	sys-libs/zlib
> > "
> > 
> 
> It needs to depend on the *subslot*. readline soname changes between version
> 7 and 8 so the runtime link is broken unless the iverilog ebuild depends on
> the subslot so portage knows to trigger a rebuild.

Thank you for your reply! I understand what happened.
Comment 4 Larry the Git Cow gentoo-dev 2020-06-18 12:08:08 UTC
The bug has been closed via the following commit(s):

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

commit 32fa008a2d71310fe7b9004aaf5e9192a5e2b12c
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2020-05-19 01:46:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-18 12:07:56 +0000

    sci-electronics/iverilog: optimize RDEPEND sys-libs/readline
    
    Change sys-libs/readline:0 to sys-libs/readline:=
    Readline soname changes between version 7 and 8 so
    the runtime link is broken unless the iverilog
    ebuild depends on the subslot so portage knows to
    trigger a rebuild.
    
    It requires a revbump, so dropped x86 and amd64 stable.
    
    Closes: https://bugs.gentoo.org/721022
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-electronics/iverilog/iverilog-10.3-r1.ebuild | 75 ++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-04-27 13:19:04 UTC
The bug has been referenced in the following commit(s):

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

commit 15bc4ddeb0d78cf15632d7d9247532f295943602
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2022-04-25 11:04:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-04-27 13:18:57 +0000

    sci-electronics/iverilog: backport fix compile bug
    
    EAPI: update EAPI 7 -> 8
    fix parse.cc fatal error
    fix calls nm directly
    fix can't find configure.in
    fix depend on sys-libs/readline:=
    
    Bug: https://bugs.gentoo.org/721022
    Bug: https://bugs.gentoo.org/734760
    Bug: https://bugs.gentoo.org/426262
    Closes: https://bugs.gentoo.org/731906
    Closes: https://bugs.gentoo.org/730096
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/25191
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../iverilog/files/iverilog-10.3-call-nm.patch     | 67 +++++++++++++++
 .../files/iverilog-10.3-configure-ac.patch         | 12 +++
 .../files/iverilog-10.3-gen-bison-header.patch     | 97 ++++++++++++++++++++++
 .../files/iverilog-10.3-override-var.patch         | 12 +++
 sci-electronics/iverilog/iverilog-10.3.ebuild      | 23 +++--
 5 files changed, 202 insertions(+), 9 deletions(-)