Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730096 - sci-electronics/iverilog-10.3-r1 fails to compile: make[1]: *** No rule to make target '1', needed by 'va_math.vpi'. Stop.
Summary: sci-electronics/iverilog-10.3-r1 fails to compile: make[1]: *** No rule to ma...
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-06-29 06:14 UTC by Agostino Sarubbo
Modified: 2022-04-27 13:19 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,78.14 KB, text/plain)
2020-06-29 06:14 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,252 bytes, application/x-bzip-compressed-tar)
2020-06-29 06:14 UTC, Agostino Sarubbo
Details
success build log (build_log.txt,141.85 KB, text/plain)
2020-06-30 04:17 UTC, vowstar
Details
my emerge info (emerge_info.txt,5.23 KB, text/plain)
2020-06-30 04:18 UTC, vowstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-29 06:14:33 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: sci-electronics/iverilog fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-29 06:14:38 UTC
Created attachment 647040 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-29 06:14:41 UTC
Created attachment 647042 [details]
other.tar.bz2

other logs
Comment 3 vowstar 2020-06-30 04:06:21 UTC
Comment on attachment 647040 [details]
build.log

I tried to reproduce this problem in my environment and virtual machine but failed, it's too weird
Comment 4 vowstar 2020-06-30 04:17:41 UTC
Created attachment 647118 [details]
success build log

The success build log, I tried to reproduce this problem but failed, it's too weird.
Comment 5 vowstar 2020-06-30 04:18:15 UTC
Created attachment 647120 [details]
my emerge info
Comment 6 Felix Neumärker 2020-09-04 17:00:51 UTC
The problem is relate to the MAKEOPTS="-j4 V=1" enviroment variable which collides with a prerequisites variable named `V` (vpi/Makefile.in:74 V = va_math.o)

Possible fixes:
    1. Remove V=1 from MAKEOPTS
    2. patch Makefile use e.g. override (`override V = va_math.o`)
       or other variable name.
Comment 7 vowstar 2020-09-05 07:52:22 UTC
(In reply to Felix Neumärker from comment #6)
> The problem is relate to the MAKEOPTS="-j4 V=1" enviroment variable which
> collides with a prerequisites variable named `V` (vpi/Makefile.in:74 V =
> va_math.o)
> 
> Possible fixes:
>     1. Remove V=1 from MAKEOPTS
>     2. patch Makefile use e.g. override (`override V = va_math.o`)
>        or other variable name.

Thank you for remind! I understand what happend.
Comment 8 Larry the Git Cow gentoo-dev 2022-04-27 13:19:02 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(-)