Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731906 - sci-electronics/iverilog-10.3 calls nm directly
Summary: sci-electronics/iverilog-10.3 calls nm directly
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: tc-directly
  Show dependency tree
 
Reported: 2020-07-09 11:58 UTC by Agostino Sarubbo
Modified: 2022-04-27 13:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,92.42 KB, text/plain)
2020-07-09 11:58 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,250 bytes, application/x-bzip-compressed-tar)
2020-07-09 11:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-09 11:58:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/iverilog calls nm directly.
Discovered on: amd64  (internal ref: tinderbox)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different NM implementation (like llvm-nm). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the NM variable to x86_64-pc-linux-gnu-nm.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-09 11:58:11 UTC
Created attachment 648556 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-09 11:58:14 UTC
Created attachment 648558 [details]
other.tar.bz2

other logs
Comment 3 vowstar 2020-07-25 05:00:58 UTC
I commited a PR to upstream https://github.com/steveicarus/iverilog to fix this problem
Comment 4 vowstar 2022-04-25 11:24:49 UTC
sci-electronics/iverilog-11 use the latest code so issue fixed, backport fix to sci-electronics/iverilog-10.3 by https://github.com/gentoo/gentoo/pull/25191
Comment 5 Larry the Git Cow gentoo-dev 2022-04-27 13:19:00 UTC
The bug has been closed via 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(-)