Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863074 - sys-block/spindown-0.4.0-r5 - src/disk.h: error: time_t does not name a type
Summary: sys-block/spindown-0.4.0-r5 - src/disk.h: error: time_t does not name a type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-08-02 14:48 UTC by Toralf Förster
Modified: 2023-01-23 02:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.04 KB, text/plain)
2022-08-02 14:48 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,65.21 KB, application/x-bzip)
2022-08-02 14:48 UTC, Toralf Förster
Details
environment (environment,21.24 KB, text/plain)
2022-08-02 14:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.08 KB, application/x-bzip)
2022-08-02 14:48 UTC, Toralf Förster
Details
sys-block:spindown-0.4.0-r5:20220802-132649.log (sys-block:spindown-0.4.0-r5:20220802-132649.log,2.58 KB, text/plain)
2022-08-02 14:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,7.79 KB, application/x-bzip)
2022-08-02 14:48 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 2022-08-02 14:48:38 UTC
g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c src/diskset.cpp
g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c src/disk.cpp
g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c src/spindown.cpp
In file included from src/diskset.cpp:27:
src/disk.h:202:5: error: 'time_t' does not name a type; did you mean 'size_t'?
  202 |     time_t lastActive;
      |     ^~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1
  [2]   rust-1.62.1 *
php cli:

  HEAD of ::gentoo
commit 5a81e2bd7c94f7d12090228ad6f510963db326f0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 2 12:02:00 2022 +0000

    2022-08-02 12:02:00 UTC

emerge -qpvO sys-block/spindown
[ebuild  N    ] sys-block/spindown-0.4.0-r5
Comment 1 Toralf Förster gentoo-dev 2022-08-02 14:48:39 UTC
Created attachment 796933 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-02 14:48:40 UTC
Created attachment 796936 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-02 14:48:41 UTC
Created attachment 796939 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-02 14:48:42 UTC
Created attachment 796942 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-02 14:48:43 UTC
Created attachment 796945 [details]
sys-block:spindown-0.4.0-r5:20220802-132649.log
Comment 6 Toralf Förster gentoo-dev 2022-08-02 14:48:44 UTC
Created attachment 796948 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2023-01-23 02:40:07 UTC
The bug has been closed via the following commit(s):

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

commit 787c9cc8064dcb021a01a51e2fc0217b927a9111
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-23 02:20:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-23 02:32:54 +0000

    sys-block/spindown: EAPI 8, respect CXX, fix musl build
    
    Closes: https://bugs.gentoo.org/863074
    Closes: https://bugs.gentoo.org/725760
    Signed-off-by: Sam James <sam@gentoo.org>

 .../spindown/files/spindown-0.4.0-Makefile.patch   | 55 ++++++++++++++++++++++
 .../files/spindown-0.4.0-musl-time-include.patch   | 11 +++++
 sys-block/spindown/spindown-0.4.0-r5.ebuild        | 26 +++++-----
 3 files changed, 80 insertions(+), 12 deletions(-)