Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912310 - sys-libs/libselinux-3.5-r1 - selinux_restorecon.c: error: storage size of sb isnt known
Summary: sys-libs/libselinux-3.5-r1 - selinux_restorecon.c: error: storage size of sb ...
Status: RESOLVED DUPLICATE of bug 905711
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-15 17:21 UTC by Toralf Förster
Modified: 2023-12-08 12:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.27 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.49 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
environment (environment,116.45 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,900 bytes, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.76 KB, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
sys-libs:libselinux-3.5-r1:20230815-114756.log (sys-libs:libselinux-3.5-r1:20230815-114756.log,15.84 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.45 KB, application/x-xz)
2023-08-15 17:21 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 2023-08-15 17:21:41 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-semantic-interposition -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY  -c -o selinux_internal.o selinux_internal.c
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-semantic-interposition -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY  -c -o selinux_restorecon.o selinux_restorecon.c
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-semantic-interposition -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY  -c -o sestatus.o sestatus.c
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-semantic-interposition -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY  -c -o setenforce.o setenforce.c
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-semantic-interposition -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY  -c -o setexecfilecon.o setexecfilecon.c
selinux_restorecon.c: In function 'filespec_add':
selinux_restorecon.c:440:23: error: storage size of 'sb' isn't known
  440 |         struct stat64 sb;
      |                       ^~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 70ebcb7fe91ed1c365fff70523d7e696ee984b24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 15 10:01:35 2023 +0000

    2023-08-15 10:01:34 UTC

emerge -qpvO sys-libs/libselinux
[ebuild  N    ] sys-libs/libselinux-3.5-r1  USE="-python -ruby -static-libs" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" RUBY_TARGETS="ruby31 -ruby30 -ruby32"
Comment 1 Toralf Förster gentoo-dev 2023-08-15 17:21:42 UTC
Created attachment 867878 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-15 17:21:43 UTC
Created attachment 867879 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-15 17:21:44 UTC
Created attachment 867880 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-15 17:21:45 UTC
Created attachment 867881 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-15 17:21:46 UTC
Created attachment 867882 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-15 17:21:47 UTC
Created attachment 867883 [details]
sys-libs:libselinux-3.5-r1:20230815-114756.log
Comment 7 Toralf Förster gentoo-dev 2023-08-15 17:21:48 UTC
Created attachment 867884 [details]
temp.tar.xz
Comment 8 Guillermo D. H. 2023-12-08 12:00:35 UTC
I think that this is a duplicate of bug #905711.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-08 12:01:09 UTC

*** This bug has been marked as a duplicate of bug 905711 ***