Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898128 - sci-calculators/bc-gh-6.2.6 fails to compile (MUSL-CLANG-SYSTEM): safe-install.sh: line 28: bc: command not found
Summary: sci-calculators/bc-gh-6.2.6 fails to compile (MUSL-CLANG-SYSTEM): safe-instal...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gavin D. Howard
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-02-27 10:18 UTC by Agostino Sarubbo
Modified: 2023-02-28 05:34 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,67.95 KB, text/plain)
2023-02-27 10:18 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 2023-02-27 10:18:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-calculators/bc-gh-6.2.6 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-27 10:18:10 UTC
Created attachment 854986 [details]
build.log

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


 * 	./scripts/safe-install.sh: line 28: bc: command not found
 * QA Notice: command not found:
./scripts/safe-install.sh: line 28: bc: command not found
Comment 3 Gavin D. Howard 2023-02-27 15:08:17 UTC
This is a known issue [1] that was caused by me making a change for which I did not think through the ramifications.

It has a fix [2] [3], and the fix is in a release [4].

I was going to update the package, but I also found another bug [5] for which I'm going to be making another release in a week or less.

If you need another release before then, let me know, and I'll update the package to the release with the fix as soon as I can reach a computer after your reply.

[1]: https://github.com/gavinhoward/bc/issues/63
[2]: https://github.com/gavinhoward/bc/commit/349cd801d5a7f4ab
[3]: https://github.com/gavinhoward/bc/commit/313738df7f6d6587
[4]: https://github.com/gavinhoward/bc/releases/tag/6.3.1
[5]: https://github.com/gavinhoward/bc/commit/2555a5e66dc3e804
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 04:11:34 UTC
(In reply to Gavin D. Howard from comment #3)
> If you need another release before then, let me know, and I'll update the
> package to the release with the fix as soon as I can reach a computer after
> your reply.

Yes please, if you can.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 04:11:49 UTC
(In reply to Sam James from comment #4)
> (In reply to Gavin D. Howard from comment #3)
> > If you need another release before then, let me know, and I'll update the
> > package to the release with the fix as soon as I can reach a computer after
> > your reply.
> 
> Yes please, if you can.

... or cherry-pick the patch in gentoo, whichever is easier
Comment 6 Larry the Git Cow gentoo-dev 2023-02-28 05:34:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b403eab876706d31aaf5acb67cce0768b4cc0b

commit 59b403eab876706d31aaf5acb67cce0768b4cc0b
Author:     Gavin D. Howard <gavin@gavinhoward.com>
AuthorDate: 2023-02-28 04:47:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-28 05:31:47 +0000

    sci-calculators/bc-gh: Bump to 6.3.1
    
    Closes: https://bugs.gentoo.org/898128
    Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
    Closes: https://github.com/gentoo/gentoo/pull/29849
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-calculators/bc-gh/Manifest           |  1 +
 sci-calculators/bc-gh/bc-gh-6.3.1.ebuild | 75 ++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)