Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711342 - sys-libs/libfaketime-0.9.7 : [TEST] timetest.c: error: ftime is deprecated [-Werror=deprecated-declarations]
Summary: sys-libs/libfaketime-0.9.7 : [TEST] timetest.c: error: ftime is deprecated [-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 17:36 UTC by Toralf Förster
Modified: 2020-03-03 00:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.05 KB, text/plain)
2020-03-02 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,70.32 KB, text/plain)
2020-03-02 17:36 UTC, Toralf Förster
Details
environment (environment,63.20 KB, text/plain)
2020-03-02 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.21 KB, application/x-bzip)
2020-03-02 17:36 UTC, Toralf Förster
Details
sys-libs:libfaketime-0.9.7:20200302-155926.log (sys-libs:libfaketime-0.9.7:20200302-155926.log,10.93 KB, text/plain)
2020-03-02 17:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.41 KB, application/x-bzip)
2020-03-02 17:36 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 2020-03-02 17:36:30 UTC
gcc -c -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra timetest.c
timetest.c: In function main:
timetest.c:143:5: error: ftime is deprecated [-Werror=deprecated-declarations]
  143 |     ftime(&tb);
      |     ^~~~~
In file included from timetest.c:25:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-test-20200228-231731

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.1 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 02 Mar 2020 14:37:23 +0000

emerge -qpvO sys-libs/libfaketime
[ebuild  N    ] sys-libs/libfaketime-0.9.7  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-03-02 17:36:33 UTC
Created attachment 616798 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-02 17:36:35 UTC
Created attachment 616800 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-02 17:36:38 UTC
Created attachment 616802 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-02 17:36:41 UTC
Created attachment 616804 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-02 17:36:44 UTC
Created attachment 616806 [details]
sys-libs:libfaketime-0.9.7:20200302-155926.log
Comment 6 Toralf Förster gentoo-dev 2020-03-02 17:36:47 UTC
Created attachment 616808 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-03 00:03:20 UTC
The bug has been closed via the following commit(s):

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

commit 5dae2868a47e01217e76ec8d5b3735d5066a28c8
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-02 23:46:27 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-03 00:03:03 +0000

    sys-libs/libfaketime: Remove -Werror for tests
    
    Closes: https://bugs.gentoo.org/711342
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild | 2 ++
 sys-libs/libfaketime/libfaketime-0.9.7.ebuild    | 2 ++
 2 files changed, 4 insertions(+)