Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828720 - sys-libs/ldb-2.4.1 - /.../tevent.h: error: unknown type name pid_t
Summary: sys-libs/ldb-2.4.1 - /.../tevent.h: error: unknown type name pid_t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2021-12-10 10:28 UTC by Toralf Förster
Modified: 2022-01-23 14:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.36 KB, text/plain)
2021-12-10 10:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,35.15 KB, text/plain)
2021-12-10 10:28 UTC, Toralf Förster
Details
environment (environment,112.40 KB, text/plain)
2021-12-10 10:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.48 KB, application/x-bzip)
2021-12-10 10:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,78.63 KB, application/x-bzip)
2021-12-10 10:28 UTC, Toralf Förster
Details
sys-libs:ldb-2.3.2:20211210-011204.log (sys-libs:ldb-2.3.2:20211210-011204.log,121.93 KB, text/plain)
2021-12-10 10:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.57 KB, application/x-bzip)
2021-12-10 10:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-10 10:28:29 UTC
too long lines were shrinked:

[ 95/132] Compiling tests/test_ldb_qsort.c
02:12:35 runner ['x86_64-gentoo-linux-musl-gcc', '-pipe', '-march=native', '-fno-diagnostics-color', '-O2', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-D
In file included from ../../include/ldb.h:51,
                 from ../../tests/test_ldb_qsort.c:26:
/usr/include/tevent.h:1440:36: error: unknown type name 'pid_t'
 1440 |                                    pid_t *pid,
      |                                    ^~~~~
/usr/include/tevent.h:1519:36: error: unknown type name 'pid_t'
 1519 |                                    pid_t pid,

  -------------------------------------------------------------------

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4_stable-20211209-194823

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
Python 3.9.9
Available Rust versions:
  [1]   rust-bin-1.56.1 *
php cli:

  HEAD of ::gentoo
commit fcac4407d226ee54f0c57af2d89756b4e26deef0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 10 00:36:44 2021 +0000

    2021-12-10 00:36:41 UTC

emerge -qpvO sys-libs/ldb
[ebuild  N    ] sys-libs/ldb-2.3.2  USE="lmdb -doc -ldap -python -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 10:28:30 UTC
Created attachment 758023 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 10:28:31 UTC
Created attachment 758024 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-10 10:28:33 UTC
Created attachment 758025 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-10 10:28:34 UTC
Created attachment 758026 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-10 10:28:35 UTC
Created attachment 758027 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 10:28:37 UTC
Created attachment 758028 [details]
sys-libs:ldb-2.3.2:20211210-011204.log
Comment 7 Toralf Förster gentoo-dev 2021-12-10 10:28:38 UTC
Created attachment 758029 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-01-11 18:56:41 UTC
tinderbox_musl has reproduced this issue with version 2.4.1 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-01-23 14:26:38 UTC
The bug has been closed via the following commit(s):

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

commit 5036cd55e8dc0287605350486047b58647b9feeb
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-23 14:26:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-23 14:26:32 +0000

    sys-libs/tevent: add missing `#include <sys/types.h>`
    
    Closes: https://bugs.gentoo.org/828720
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-libs/tevent/files/tevent-0.11.0-missing-include.patch | 13 +++++++++++++
 sys-libs/tevent/tevent-0.11.0.ebuild                      |  2 ++
 2 files changed, 15 insertions(+)