Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925166 - sci-libs/openlibm-0.8.3 fails to compile: make: No rule to make target Make.files
Summary: sci-libs/openlibm-0.8.3 fails to compile: make: No rule to make target Make.f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-21 11:12 UTC by Agostino Sarubbo
Modified: 2025-02-23 02:00 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,41.16 KB, text/plain)
2024-02-21 11:12 UTC, Agostino Sarubbo
Details
openlibm-x86.patch (openlibm.patch,299 bytes, patch)
2025-02-09 00:50 UTC, David Davidson
Details | Diff

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

Issue: sci-libs/openlibm-0.8.0 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-21 11:12:51 UTC
Created attachment 885603 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-21 11:12:52 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Makefile:26: x86/Make.files: No such file or directory
make: *** No rule to make target 'x86/Make.files'.  Stop.
Comment 3 Agostino Sarubbo gentoo-dev 2024-09-24 06:58:14 UTC
tinderbox_x86 has reproduced this issue with version 0.8.3 - Updating summary.
Comment 4 David Davidson 2025-02-09 00:50:49 UTC
Created attachment 918337 [details, diff]
openlibm-x86.patch

It's a simple one line fix:

--- a/openlibm-0.8.3.ebuild     2025-01-07 12:34:31.474869697 -0600
+++ b/openlibm-0.8.3.ebuild     2025-02-08 18:42:43.491101970 -0600
@@ -33,6 +33,7 @@ src_compile() {
        case "${ARCH}" in
                loong) export ARCH=loongarch64 ;;
                riscv) export ARCH=riscv64 ;;
+               x86) export ARCH=i387 ;;
        esac
 
        emake \
Comment 5 tdr 2025-02-23 01:53:48 UTC
Hit this today and the one line ebuild patch allowed it to build.
Comment 6 Larry the Git Cow gentoo-dev 2025-02-23 02:00:47 UTC
The bug has been closed via the following commit(s):

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

commit 3fb8269b8533a2606613c4691c69d569b9201783
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-23 01:57:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-23 01:57:07 +0000

    sci-libs/openlibm: fix build on x86
    
    Closes: https://bugs.gentoo.org/925166
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/openlibm/openlibm-0.8.3.ebuild | 1 +
 1 file changed, 1 insertion(+)