Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934801 - dev-libs/libgcrypt-1.11.0 fails to compile with multiple -O? options in CFLAGS
Summary: dev-libs/libgcrypt-1.11.0 fails to compile with multiple -O? options in CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
: 934791 934820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-24 07:05 UTC by Agostino Sarubbo
Modified: 2024-06-24 23:59 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,274.92 KB, text/plain)
2024-06-24 07:05 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 2024-06-24 07:05:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libgcrypt-1.11.0 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-24 07:05:09 UTC
Created attachment 896324 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-24 13:13:53 UTC
*** Bug 934791 has been marked as a duplicate of this bug. ***
Comment 3 Agostino Sarubbo gentoo-dev 2024-06-24 13:15:02 UTC
ftr, the problem comes up because only the first occurrence of -O? gets replaced.
Comment 4 Mike Gilbert gentoo-dev 2024-06-24 14:48:24 UTC
Adding "g" option to the the o_flag_munging sed expression should resolve this.
Comment 5 Mike Gilbert gentoo-dev 2024-06-24 16:00:38 UTC
This needs to be reported upstream by someone with an account on the gnupg bug tracker.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-24 20:40:49 UTC
*** Bug 934820 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2024-06-24 23:59:44 UTC
The bug has been closed via the following commit(s):

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

commit c524911b29b32e916c95608ee62da38c92380231
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-06-24 23:58:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-06-24 23:58:39 +0000

    dev-libs/libgcrypt: fix o-flag-munging
    
    Closes: https://bugs.gentoo.org/934801
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../files/libgcrypt-1.11.0-o-flag-munging.patch    | 53 ++++++++++++++++++++++
 dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild         |  1 +
 2 files changed, 54 insertions(+)