Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742761 - x11-misc/xplanet-1.3.1-r1 fails to compile
Summary: x11-misc/xplanet-1.3.1-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-09-16 06:43 UTC by Agostino Sarubbo
Modified: 2021-12-21 09:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,41.40 KB, text/plain)
2020-09-16 06:43 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 2020-09-16 06:43:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/xplanet-1.3.1-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-16 06:43:09 UTC
Created attachment 660501 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-16 06:43:10 UTC
Possible context of error(s):

readConfig.cpp:52:44: error: non-constant-expression cannot be narrowed from
Comment 3 Jonas Stein gentoo-dev 2020-11-25 23:59:16 UTC
Informed upstream.
Comment 4 Jonas Stein gentoo-dev 2020-11-27 16:28:11 UTC
Got quick response from upstream today: "thanks for the bug report.  I will check into it."
Comment 5 Jonas Stein gentoo-dev 2020-11-28 18:30:49 UTC
Upstream fixed it yesterday in SVN revision 223.
https://sourceforge.net/p/xplanet/code/223/
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-12 07:39:19 UTC
(In reply to Jonas Stein from comment #5)
> Upstream fixed it yesterday in SVN revision 223.
> https://sourceforge.net/p/xplanet/code/223/

Apply it? :)
Comment 7 Bernard Cafarelli gentoo-dev 2021-12-21 09:09:17 UTC
Revision 222 actually for the narrowing conversion fix, applying to tree
Comment 8 Larry the Git Cow gentoo-dev 2021-12-21 09:10:47 UTC
The bug has been closed via the following commit(s):

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

commit ce2c932b8a8af3e40d0ed68289b5b10525ef3668
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2021-12-21 09:10:23 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-12-21 09:10:23 +0000

    x11-misc/xplanet: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/742761
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/xplanet-1.3.1-narrowing_conversion.patch | 87 ++++++++++++++++++++++
 x11-misc/xplanet/xplanet-1.3.1-r2.ebuild           |  1 +
 2 files changed, 88 insertions(+)