Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888561 - app-text/crwx-ng-0.2.0-r1 fails to compile (MUSL-SYSTEM): cr3.cpp:351:31: error: cannot convert std::nullptr_t to lInt16 {aka short int}
Summary: app-text/crwx-ng-0.2.0-r1 fails to compile (MUSL-SYSTEM): cr3.cpp:351:31: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 21:48 UTC by Agostino Sarubbo
Modified: 2023-01-03 10:46 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,70.45 KB, text/plain)
2022-12-26 21:48 UTC, Agostino Sarubbo
Details
Fix compile error (0001-Compile-error-warn-fixed.patch,3.42 KB, patch)
2022-12-27 06:14 UTC, Aleksey Chernov
Details | Diff

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

Issue: app-text/crwx-ng-0.2.0-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-26 21:48:22 UTC
Created attachment 845021 [details]
build.log

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


FAILED: src/CMakeFiles/crwx.dir/cr3.cpp.o 
/var/tmp/portage/app-text/crwx-ng-0.2.0-r1/work/crwx-ng-0.2.0/src/cr3.cpp:351:31: error: cannot convert 'std::nullptr_t' to 'lInt16' {aka 'short int'}
Comment 3 Aleksey Chernov 2022-12-27 06:14:17 UTC
Created attachment 845107 [details, diff]
Fix compile error

it's ok with this patch?
Comment 4 Larry the Git Cow gentoo-dev 2023-01-03 10:46:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fec602e63cd09995570cc551bb073ffd68252e1

commit 1fec602e63cd09995570cc551bb073ffd68252e1
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2023-01-03 10:46:11 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2023-01-03 10:46:11 +0000

    app-text/crwx-ng: compilation fixes
    
    Closes: https://bugs.gentoo.org/888561
    Closes: https://bugs.gentoo.org/888551
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/crwx-ng/crwx-ng-0.2.0-r2.ebuild   | 23 +++++++++++
 app-text/crwx-ng/files/crwx-ng-0.2.0.patch | 62 ++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)