Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 716052

Summary: sys-libs/libstatgrab-0.91 : /.../disk_stats.c: error: VALID_FS_TYPES undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=730510
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-libs:libstatgrab-0.91:20200403-183053.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-03 18:35:28 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab -I../.. -DBUILD_LIBSTATGRAB -D_GNU_SOURCE -O2 -pipe -march=native -c /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c  -fPIC -DPIC -o .libs/disk_stats.o
/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c: In function init_valid_fs_types:
/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c:534:31: error: VALID_FS_TYPES undeclared (first use in this function)
  534 |  const char *int_valid_fs[] = VALID_FS_TYPES;
      |                               ^~~~~~~~~~~~~~
/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c:534:31: note: each undeclared identifier is reported only once for each function it appears in

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr  3 17:37:46 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO sys-libs/libstatgrab
[ebuild  N    ] sys-libs/libstatgrab-0.91  USE="-doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-04-03 18:35:31 UTC
Created attachment 629480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 18:35:34 UTC
Created attachment 629482 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 18:35:36 UTC
Created attachment 629484 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 18:35:39 UTC
Created attachment 629486 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 18:35:42 UTC
Created attachment 629488 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 18:35:45 UTC
Created attachment 629490 [details]
sys-libs:libstatgrab-0.91:20200403-183053.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 18:35:47 UTC
Created attachment 629492 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-27 01:00:27 UTC
The bug has been closed via the following commit(s):

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

commit a5bf629d70f6aa132a3b0b3740e8461b52a1d1d4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 00:50:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 01:00:17 +0000

    sys-libs/libstatgrab: bump to 0.92
    
    Closes: https://bugs.gentoo.org/730510
    Closes: https://bugs.gentoo.org/716052
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libstatgrab/Manifest                |  1 +
 sys-libs/libstatgrab/libstatgrab-0.92.ebuild | 43 ++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)