Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680478 - sys-block/rts_pstor-1.10_p20160103 : /.../rtsx.h:178:2: error: implicit declaration of function do_gettimeofday
Summary: sys-block/rts_pstor-1.10_p20160103 : /.../rtsx.h:178:2: error: implicit decla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-03-15 17:29 UTC by Toralf Förster
Modified: 2019-04-09 12:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.41 KB, text/plain)
2019-03-15 17:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.23 KB, text/plain)
2019-03-15 17:30 UTC, Toralf Förster
Details
environment (environment,88.88 KB, text/plain)
2019-03-15 17:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.24 KB, application/x-bzip)
2019-03-15 17:30 UTC, Toralf Förster
Details
sys-block:rts_pstor-1.10_p20160103:20190315-120053.log (sys-block:rts_pstor-1.10_p20160103:20190315-120053.log,8.67 KB, text/plain)
2019-03-15 17:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.78 KB, application/x-bzip)
2019-03-15 17:30 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 2019-03-15 17:29:55 UTC
In file included from /var/tmp/portage/sys-block/rts_pstor-1.10_p20160103/work/RTS5209-linux-driver-c8313abffe083ac63bf76d2cc90d3edf5b2d1188/rtsx.c:29:
/var/tmp/portage/sys-block/rts_pstor-1.10_p20160103/work/RTS5209-linux-driver-c8313abffe083ac63bf76d2cc90d3edf5b2d1188/rtsx.h: In function ‘get_current_time’:
/var/tmp/portage/sys-block/rts_pstor-1.10_p20160103/work/RTS5209-linux-driver-c8313abffe083ac63bf76d2cc90d3edf5b2d1188/rtsx.h:178:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
  do_gettimeofday(&tv);
  ^~~~~~~~~~~~~~~
  do_settimeofday64

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20190312-112053

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.32.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sys-block/rts_pstor
[ebuild  N    ] sys-block/rts_pstor-1.10_p20160103
Comment 1 Toralf Förster gentoo-dev 2019-03-15 17:29:58 UTC
Created attachment 569180 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-15 17:30:00 UTC
Created attachment 569182 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-15 17:30:03 UTC
Created attachment 569184 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-15 17:30:06 UTC
Created attachment 569186 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-15 17:30:09 UTC
Created attachment 569188 [details]
sys-block:rts_pstor-1.10_p20160103:20190315-120053.log
Comment 6 Toralf Förster gentoo-dev 2019-03-15 17:30:12 UTC
Created attachment 569190 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-04-09 12:06:15 UTC
The bug has been closed via the following commit(s):

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

commit e435be88f7d4567f89a3f2158b62336cda0801a5
Author:     Martin Dummer <martin.dummer@ts.fujitsu.com>
AuthorDate: 2019-03-24 10:36:22 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2019-04-09 12:06:03 +0000

    sys-block/rts_pstor: fix compilation issue.
    
    fix compile issue with kernel >=5.0.
    
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Closes: https://bugs.gentoo.org/680478
    Closes: https://github.com/gentoo/gentoo/pull/11476
    Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 .../rts_pstor/files/fix-compile-kernel-5.0.0.patch | 36 ++++++++++++++++++++++
 .../rts_pstor/rts_pstor-1.10_p20160103.ebuild      |  3 +-
 2 files changed, 38 insertions(+), 1 deletion(-)