Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912925 - [guru] dev-lang/cc65-2.19-r3 fails to compile: strftime.s(494): Error: Illegal addressing mode
Summary: [guru] dev-lang/cc65-2.19-r3 fails to compile: strftime.s(494): Error: Illega...
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Seth M. Price
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-24 06:44 UTC by Agostino Sarubbo
Modified: 2024-11-22 18:51 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,892.17 KB, text/plain)
2023-08-24 06:44 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-08-24 06:44:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/cc65-2.19-r2 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-24 06:44:40 UTC
Created attachment 868585 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-11 07:54:24 UTC
guru_tinderbox has reproduced this issue with version 2.19-r3 - Updating summary.
Comment 3 Seth M. Price 2024-11-21 21:22:44 UTC
Reported upstream at: <https://github.com/cc65/cc65/issues/2543>
Comment 4 Seth M. Price 2024-11-21 22:08:23 UTC
Agostino, can you see if the build still fails without `-j56'?
Upstream reports that using `make -j' leads to trouble with cc65,
although I don't personally have trouble with `make -j8'.
See the above linked GitHub issue for the ongoing conversation.
Comment 5 Larry the Git Cow gentoo-dev 2024-11-22 08:49:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6d8b28d7aa1a334a2bee45429a1672bab116f88

commit d6d8b28d7aa1a334a2bee45429a1672bab116f88
Author:     Seth M. Price <sprice623@aol.com>
AuthorDate: 2024-11-21 22:24:15 +0000
Commit:     Seth M. Price <sprice623@aol.com>
CommitDate: 2024-11-21 22:24:15 +0000

    dev-lang/cc65: add warning about parallel make
    
    Added warning about parallel make jobs potentially
    causing “random” build failure.
    
    Build revision not bumped due to trivial change.
    (I think this is what I’m supposed to do here.)
    
    Bug: https://bugs.gentoo.org/912925
    Closes: https://github.com/cc65/cc65/issues/2543
    Signed-off-by: Seth M. Price <sprice623@aol.com>

 dev-lang/cc65/cc65-2.19-r3.ebuild | 5 +++++
 dev-lang/cc65/cc65-9999-r1.ebuild | 5 +++++
 2 files changed, 10 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-22 18:51:52 UTC
> 
>     dev-lang/cc65: add warning about parallel make
>     
>     Added warning about parallel make jobs potentially
>     causing “random” build failure.

You should force -j1 in this case, not add a warning. You can either do: MAKEOPTS+=" -j1", or you can pass -j1 to emake.
>     
>     Build revision not bumped due to trivial change.
>     (I think this is what I’m supposed to do here.)

If it's a build-time-only fix, then BDEPEND is okay unless it's very invasive.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-22 18:51:58 UTC
(In reply to Sam James from comment #6)
> > 
> >     dev-lang/cc65: add warning about parallel make
> >     
> >     Added warning about parallel make jobs potentially
> >     causing “random” build failure.
> 
> You should force -j1 in this case, not add a warning. You can either do:
> MAKEOPTS+=" -j1", or you can pass -j1 to emake.
> >     
> >     Build revision not bumped due to trivial change.
> >     (I think this is what I’m supposed to do here.)
> 
> If it's a build-time-only fix, then BDEPEND is okay unless it's very
> invasive.

s/BDEPEND/no revbump/