Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732214 - sys-cluster/charliecloud fails to compile
Summary: sys-cluster/charliecloud fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-07-11 14:01 UTC by Agostino Sarubbo
Modified: 2020-07-11 17:05 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,10.53 KB, text/plain)
2020-07-11 14:01 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,4.89 KB, application/x-bzip-compressed-tar)
2020-07-11 14:01 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-07-11 14:01:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/charliecloud 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 isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-11 14:01:37 UTC
Created attachment 648898 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-11 14:01:39 UTC
Created attachment 648900 [details]
other.tar.bz2

other logs
Comment 3 Oliver Freyermuth 2020-07-11 15:40:40 UTC
Thanks for reporting! 

This (currently) indeed happens with clang only, since clang includes -Wformat as part of -Wall. But the real issue is that I did not patch out -Werror as I should have done. So it's not really "clang only". 

So I'll proceed as follows:
- Patch out -Werror. This should be done anyways, and will fix this issue. 
- Open an issue with upstream that configure fails with any compiler including -Wformat in -Wall.
Comment 4 Oliver Freyermuth 2020-07-11 16:20:26 UTC
For reference, here's the upstream bug report:
https://github.com/hpc/charliecloud/issues/798

The PR which should fix things on Gentoo was linked by the repo bot just now.
Comment 5 Larry the Git Cow gentoo-dev 2020-07-11 17:05:56 UTC
The bug has been closed via the following commit(s):

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

commit 330bc351e015dfe7c28bb2f3a9c944aabc1d68b7
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2020-07-11 16:10:32 +0000
Commit:     Christoph Junghans <junghans@gentoo.org>
CommitDate: 2020-07-11 17:05:30 +0000

    sys-cluster/charliecloud: Patch out -Werror.
    
    Closes: https://bugs.gentoo.org/732214
    Closes: https://github.com/gentoo/gentoo/pull/16666
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Signed-off-by: Christoph Junghans <junghans@gentoo.org>

 sys-cluster/charliecloud/charliecloud-0.15.ebuild | 1 +
 sys-cluster/charliecloud/charliecloud-0.16.ebuild | 1 +
 sys-cluster/charliecloud/charliecloud-9999.ebuild | 1 +
 3 files changed, 3 insertions(+)