GNU bug report logs - #53347
Compilation error on package Papi 5.5.1

Previous Next

Package: guix;

Reported by: Clement Barthelemy <clement.barthelemy <at> inria.fr>

Date: Tue, 18 Jan 2022 16:04:01 UTC

Severity: normal

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53347 in the body.
You can then email your comments to 53347 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#53347; Package guix. (Tue, 18 Jan 2022 16:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Clement Barthelemy <clement.barthelemy <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 18 Jan 2022 16:04:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clement Barthelemy <clement.barthelemy <at> inria.fr>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Compilation error on package Papi 5.5.1
Date: Tue, 18 Jan 2022 11:58:03 +0100 (CET)
Hi,

The package papi <at> 5.5.1 does not compile. It fails with an error during the build phase :

‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]

While this is a problem in the application itself, GCC started diagnosing these problems in version 7.1¹ and expanded coverage in version 8², so a change in the compiler version probably triggered the problem.

Also, I believe this is fixed in newer releases of PAPI³ but I don't know if updating the version would be acceptable.


Clément


1. https://gcc.gnu.org/gcc-7/changes.html section -Wformat-truncation=level
2. https://gcc.gnu.org/gcc-8/changes.html
3. https://bitbucket.org/icl/papi/issues/51/build-failed-using-gcc-810




Reply sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
You have taken responsibility. (Tue, 18 Jan 2022 17:51:02 GMT) Full text and rfc822 format available.

Notification sent to Clement Barthelemy <clement.barthelemy <at> inria.fr>:
bug acknowledged by developer. (Tue, 18 Jan 2022 17:51:02 GMT) Full text and rfc822 format available.

Message #10 received at 53347-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Clement Barthelemy <clement.barthelemy <at> inria.fr>
Cc: 53347-done <at> debbugs.gnu.org
Subject: Re: bug#53347: Compilation error on package Papi 5.5.1
Date: Tue, 18 Jan 2022 18:50:08 +0100
Hi,

Clement Barthelemy <clement.barthelemy <at> inria.fr> skribis:

> The package papi <at> 5.5.1 does not compile. It fails with an error during the build phase :
>
> ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]

Indeed, and that was in a bundled library.

Fixed with the upgrade in 775203e52083235a067e7a737a75b24eae375afb.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Feb 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.