Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828916 - net-misc/sysrepo-2.0.53 - /.../plugins_notification.h: error: unknown type name mode_t
Summary: net-misc/sysrepo-2.0.53 - /.../plugins_notification.h: error: unknown type na...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2021-12-11 12:34 UTC by Toralf Förster
Modified: 2021-12-12 17:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.63 KB, text/plain)
2021-12-11 12:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,87.89 KB, text/plain)
2021-12-11 12:34 UTC, Toralf Förster
Details
environment (environment,85.33 KB, text/plain)
2021-12-11 12:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.61 KB, application/x-bzip)
2021-12-11 12:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.30 KB, application/x-bzip)
2021-12-11 12:34 UTC, Toralf Förster
Details
net-misc:sysrepo-2.0.53:20211211-122537.log (net-misc:sysrepo-2.0.53:20211211-122537.log,21.26 KB, text/plain)
2021-12-11 12:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.15 KB, application/x-bzip)
2021-12-11 12:34 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-11 12:34:50 UTC
too long lines were shrinked:

[15/50] /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53_build/compat -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53/src -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53_build  -pipe -march=native -fno-diagnostics-col
FAILED: CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o 
/usr/bin/x86_64-gentoo-linux-musl-gcc  -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53_build/compat -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53/src -I/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53_build  -pipe -march=native -fno-diagnostics-color -O2 -
In file included from /var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53/src/plugins/ntf_lyb.c:19:
/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53/src/plugins_notification.h:102:101: error: unknown type name 'mode_t'
  102 | typedef int (*srntf_access_set)(const struct lys_module *mod, const char *owner, const char *group, mode_t perm);
      |                                                                                                     ^~~~~~
/var/tmp/portage/net-misc/sysrepo-2.0.53/work/sysrepo-2.0.53/src/plugins_notification.h:114:91: error: unknown type name 'mode_t'
  114 | typedef int (*srntf_access_get)(const struct lys_module *mod, char **owner, char **group, mode_t *perm);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211210-222208

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 1da5c2d756075e4e5a7656b44f83c9b9f3213f98
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 11 11:51:50 2021 +0000

    2021-12-11 11:51:48 UTC

emerge -qpvO net-misc/sysrepo
[ebuild  N    ] net-misc/sysrepo-2.0.53  USE="-doc -test"
Comment 1 Toralf Förster gentoo-dev 2021-12-11 12:34:51 UTC
Created attachment 758488 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-11 12:34:52 UTC
Created attachment 758489 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-11 12:34:54 UTC
Created attachment 758490 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-11 12:34:55 UTC
Created attachment 758491 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-11 12:34:56 UTC
Created attachment 758492 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-11 12:34:57 UTC
Created attachment 758493 [details]
net-misc:sysrepo-2.0.53:20211211-122537.log
Comment 7 Toralf Förster gentoo-dev 2021-12-11 12:34:58 UTC
Created attachment 758494 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-12 17:57:32 UTC
The bug has been closed via the following commit(s):

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

commit 677f04204506a16005a725f3ff57175059635ea9
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-12-12 17:57:24 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-12-12 17:57:24 +0000

    net-misc/sysrepo: Add missing sys/stat.h include for musl
    
    Closes: https://bugs.gentoo.org/828916
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-misc/sysrepo/files/sysrepo-2.0.53-musl.patch | 11 +++++++++++
 net-misc/sysrepo/sysrepo-2.0.53.ebuild           |  4 ++++
 2 files changed, 15 insertions(+)