Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906972 - sys-cluster/pmix-4.2.2-r1: adds -Werror (fails to compile : pmix_if.c:93:13: error: strcmp reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread])
Summary: sys-cluster/pmix-4.2.2-r1: adds -Werror (fails to compile : pmix_if.c:93:13: ...
Status: RESOLVED DUPLICATE of bug 892023
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PATCH
: 908551 (view as bug list)
Depends on:
Blocks: werror gcc-13
  Show dependency tree
 
Reported: 2023-05-23 06:50 UTC by Agostino Sarubbo
Modified: 2024-07-03 21:25 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,130.20 KB, text/plain)
2023-05-23 06:50 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-05-23 06:50:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/pmix-4.2.2-r1 fails to compile .
Discovered on: amd64 (internal ref: hardened_tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-23 06:50:51 UTC
Created attachment 862255 [details]
build.log

build log and emerge --info
Comment 3 NHO 2024-03-24 16:23:56 UTC
Fixed upstream in next minor release. Minor release is in tree.
sys-cluster/pmix-4.2.8 builds on my machine successfully with
cc --version
cc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210

Suggestion: Drop 4.2.2-r1, add 4.2.9 and 5.0.2 as latest at the moment.
Close the bug afterwards.
Comment 4 Eli Schwartz gentoo-dev 2024-07-01 01:50:06 UTC
This is actually just -Werror, as far as I can tell.

Also I added 5.0.2 to the tree, so it's resolved either way.

*** This bug has been marked as a duplicate of bug 892023 ***
Comment 5 Eli Schwartz gentoo-dev 2024-07-01 01:51:31 UTC
*** Bug 908551 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2024-07-03 21:25:16 UTC
The bug has been referenced in the following commit(s):

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

commit 3cb521ed1eda151aaf605d6da3fc49b128816ccc
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-07-01 00:31:16 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-03 21:24:57 +0000

    sys-cluster/pmix: stop enabling -Werror via ./configure
    
    The aptly-named --enable-werror flag provided by upstream will carefully
    enable -Werror in CI builds, even if you pass --disable-werror or
    --enable-werror=no. This excellent diagnostics pass brought to you by
    the world's most intuitive string validation and checking library, GNU
    autoconf.
    
    It is unclear to me why "sys-cluster/pmix: add 4.2.2" entailed adding
    this configure option. The option was new in that version bump but
    refraining from passing the option would do the correct thing...
    
    Fixes: 8ad34c5cb767676d6cb5e9249565d2e4c17d838e
    Bug: https://bugs.gentoo.org/906972
    Bug: https://bugs.gentoo.org/908551
    Closes: https://bugs.gentoo.org/892023
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 sys-cluster/pmix/pmix-4.2.2-r1.ebuild | 3 +--
 sys-cluster/pmix/pmix-4.2.8.ebuild    | 1 -
 sys-cluster/pmix/pmix-5.0.2.ebuild    | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)