Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921739 - [guru] app-text/klogg-22.06.0.1289 fails to compile (GCC-14-SYSTEM): memory_info.cpp:103:5: error: FILE was not declared in this scope
Summary: [guru] app-text/klogg-22.06.0.1289 fails to compile (GCC-14-SYSTEM): memory_i...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anton Filimonov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 07:49 UTC by Agostino Sarubbo
Modified: 2024-03-14 10:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,373.65 KB, text/plain)
2024-01-11 07: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 2024-01-11 07:49:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/klogg-22.06.0.1289 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-11 07:50:00 UTC
Created attachment 881890 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-11 07:50:00 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/crash_handler/CMakeFiles/klogg_crash_handler.dir/src/memory_info.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/app-text/klogg-22.06.0.1289/work/klogg-22.06.0.1289/src/crash_handler/src/memory_info.cpp:103:5: error: ‘FILE’ was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2024-03-14 10:19:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96cee1499ed4784aed28043cf74ae803bdb73ee7

commit 96cee1499ed4784aed28043cf74ae803bdb73ee7
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-03-13 16:36:56 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-03-13 16:44:37 +0000

    app-text/klogg: Add missing include
    
    The cstdio header is not included indirectly with some compilers, e.g.
    GCC 14, therefore it needs to be included explicitly. The patch is
    adapted from upstream commit.
    
    Closes: https://bugs.gentoo.org/921739
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../files/klogg-22.06.0.1289-missing-include.patch   | 20 ++++++++++++++++++++
 app-text/klogg/klogg-22.06.0.1289.ebuild             |  4 ++++
 2 files changed, 24 insertions(+)