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

Bug 713398

Summary: sys-apps/qingy-1.0.0-r6 : misc.h: error: unknown type name time_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
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-apps:qingy-1.0.0-r4:20200319-010236.log
temp.tbz2
adding #include <time.h> to src/libraries/misc.h

Description Toralf Förster gentoo-dev 2020-03-19 11:13:14 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -DSETTINGS_DIR=\/etc/qingy\ -DSBINDIR=\/sbin/\ -pipe -W -Wall -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c parse_settings.c  -fPIC -DPIC -o .libs/parse_settings.o
In file included from parse_settings.y:35:
misc.h:74:38: error: unknown type name time_t; did you mean size_t?
   74 | int get_session_idle_time(char *tty, time_t *start_time, int is_x_session, int x_offset);
      |                                      ^~~~~~
      |                                      size_t

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

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.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO sys-apps/qingy
[ebuild  N    ] sys-apps/qingy-1.0.0-r4  USE="crypt pam -X -consolekit -emacs -gpm -opensslcrypt -static"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:13:16 UTC
Created attachment 622296 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:13:19 UTC
Created attachment 622298 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:13:22 UTC
Created attachment 622300 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:13:25 UTC
Created attachment 622302 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:13:28 UTC
Created attachment 622304 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:13:30 UTC
Created attachment 622306 [details]
sys-apps:qingy-1.0.0-r4:20200319-010236.log
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:13:33 UTC
Created attachment 622308 [details]
temp.tbz2
Comment 8 Kenny Cheng 2020-06-09 08:34:27 UTC
Created attachment 644092 [details, diff]
adding #include <time.h> to src/libraries/misc.h

After adding #include <time.h> to src/libraries/misc.h, there are compilation errors regarding to stdin,stdout,stderr redirection.
Comment 9 Agostino Sarubbo gentoo-dev 2022-10-04 06:55:00 UTC
tinderbox_musl has reproduced this issue with version 1.0.0-r5 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2023-06-16 08:06:17 UTC
tinderbox_musl has reproduced this issue with version 1.0.0-r6 - Updating summary.