Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713398 - sys-apps/qingy-1.0.0-r6 : misc.h: error: unknown type name time_t
Summary: sys-apps/qingy-1.0.0-r6 : misc.h: error: unknown type name time_t
Status: CONFIRMED
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: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-19 11:13 UTC by Toralf Förster
Modified: 2023-06-16 08:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2020-03-19 11:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.04 KB, text/plain)
2020-03-19 11:13 UTC, Toralf Förster
Details
environment (environment,125.48 KB, text/plain)
2020-03-19 11:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.59 KB, application/x-bzip)
2020-03-19 11:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,20.37 KB, application/x-bzip)
2020-03-19 11:13 UTC, Toralf Förster
Details
sys-apps:qingy-1.0.0-r4:20200319-010236.log (sys-apps:qingy-1.0.0-r4:20200319-010236.log,16.69 KB, text/plain)
2020-03-19 11:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.23 KB, application/x-bzip)
2020-03-19 11:13 UTC, Toralf Förster
Details
adding #include <time.h> to src/libraries/misc.h (qingy-1.0.0-musl-time.patch,247 bytes, patch)
2020-06-09 08:34 UTC, Kenny Cheng
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.