Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922755 - dev-libs/dynolog-0.3.1_p20230126-r1 fails to compile (MUSL-SYSTEM): Utils.h:14:13: error: pid_t was not declared in this scope
Summary: dev-libs/dynolog-0.3.1_p20230126-r1 fails to compile (MUSL-SYSTEM): Utils.h:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 08:34 UTC by Agostino Sarubbo
Modified: 2024-02-25 21:32 UTC (History)
0 users

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


Attachments
build.log (build.log,124.64 KB, text/plain)
2024-01-23 08:34 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-23 08:34:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/dynolog-0.3.1_p20230126-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-23 08:34:34 UTC
Created attachment 882947 [details]
build.log

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


FAILED: dynolog/src/gpumon/CMakeFiles/dynolog_dcgm_lib.dir/Utils.cpp.o 
FAILED: hbt/src/common/CMakeFiles/System.dir/System.cpp.o 
FAILED: hbt/src/intel_pt/CMakeFiles/IptEventBuilder.dir/IptEventBuilder.cpp.o 
FAILED: hbt/src/intel_pt/tests/CMakeFiles/IptCapChecker.dir/IptCapChecker.cpp.o 
FAILED: hbt/src/perf_event/CMakeFiles/AmdEvents.dir/AmdEvents.cpp.o 
FAILED: hbt/src/perf_event/CMakeFiles/BuiltinMetrics.dir/BuiltinMetrics.cpp.o 
FAILED: hbt/src/perf_event/CMakeFiles/Metrics.dir/Metrics.cpp.o 
FAILED: hbt/src/perf_event/CMakeFiles/PmuDevices.dir/PmuDevices.cpp.o 
FAILED: hbt/src/perf_event/CMakeFiles/PmuEvent.dir/PmuEvent.cpp.o 
FAILED: hbt/src/perf_event/json_events/generated/intel/CMakeFiles/JsonEvents.dir/broadwell_core.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/dev-libs/dynolog-0.3.1_p20230126-r1/work/dynolog-0.3.1_p20230126/./dynolog/src/gpumon/Utils.h:14:13: error: 'pid_t' was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2024-02-25 21:32:40 UTC
The bug has been closed via the following commit(s):

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

commit c622b082e9aaef6d827d0743951f5117731e1188
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-02-25 21:31:54 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-02-25 21:32:25 +0000

    dev-libs/dynolog: fix pid_t not found
    
    Closes: https://bugs.gentoo.org/922755
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild |  1 +
 .../files/dynolog-0.3.1_p20230126-musl.patch       | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)