Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679944 - net-misc/dahdi-2.11.1-r1 : /.../oct612x-user.c:38:2: error: implicit declaration of function do_gettimeofday
Summary: net-misc/dahdi-2.11.1-r1 : /.../oct612x-user.c:38:2: error: implicit declarat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-10 15:20 UTC by Toralf Förster
Modified: 2020-01-10 05:43 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.19 KB, text/plain)
2019-03-10 15:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.41 KB, text/plain)
2019-03-10 15:20 UTC, Toralf Förster
Details
environment (environment,128.84 KB, text/plain)
2019-03-10 15:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.92 KB, application/x-bzip)
2019-03-10 15:20 UTC, Toralf Förster
Details
net-misc:dahdi-2.11.1-r1:20190310-114232.log (net-misc:dahdi-2.11.1-r1:20190310-114232.log,75.12 KB, text/plain)
2019-03-10 15:20 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.05 KB, application/x-bzip)
2019-03-10 15:20 UTC, Toralf Förster
Details
dahdi fix for kernel 5.X.X (dahdi_patches_kernel-5.x.x.tar.gz,4.75 KB, patch)
2019-04-12 10:09 UTC, Ivan
Details | Diff
dahdi fix for kernel 5.X.X (dahdi_patches_kernel-5.x.x.tar.gz,4.75 KB, application/gzip)
2019-04-12 10:14 UTC, Ivan
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-10 15:20:08 UTC
/var/tmp/portage/net-misc/dahdi-2.11.1-r1/work/dahdi-linux-2.11.1/drivers/dahdi/oct612x/oct612x-user.c: In function ‘Oct6100UserGetTime’:
/var/tmp/portage/net-misc/dahdi-2.11.1-r1/work/dahdi-linux-2.11.1/drivers/dahdi/oct612x/oct612x-user.c:38: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.1-desktop_libressl_20190307-214324

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   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 net-misc/dahdi
[ebuild  N    ] net-misc/dahdi-2.11.1-r1  USE="-flash"
Comment 1 Toralf Förster gentoo-dev 2019-03-10 15:20:11 UTC
Created attachment 568412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-10 15:20:14 UTC
Created attachment 568414 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-10 15:20:16 UTC
Created attachment 568416 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-10 15:20:19 UTC
Created attachment 568418 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-10 15:20:22 UTC
Created attachment 568420 [details]
net-misc:dahdi-2.11.1-r1:20190310-114232.log
Comment 6 Toralf Förster gentoo-dev 2019-03-10 15:20:25 UTC
Created attachment 568422 [details]
temp.tbz2
Comment 7 Ivan 2019-04-12 10:09:10 UTC
Created attachment 572546 [details, diff]
dahdi fix for kernel 5.X.X

I've wrote several patches for dahdi. I am not professional programmer, but it works fine for me)
Comment 8 Ivan 2019-04-12 10:14:47 UTC
Created attachment 572548 [details]
dahdi fix for kernel 5.X.X

Extract these files to a patch directory
Comment 9 Larry the Git Cow gentoo-dev 2020-01-10 05:43:34 UTC
The bug has been closed via the following commit(s):

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

commit dcbd5551044f0b23942cdf57265a724c5e5a0fa6
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2019-12-06 17:27:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-10 05:15:26 +0000

    net-misc/dahdi: version bump to 3.1.0
    
    Fixes various build issues due to old kernels.
    
    Unfortunately drops support for some cards previously maintained by
    tzafrir (https://notabug.org/tzafrir/dahdi-linux-extra).  Unfortunately
    by his own admission these are really old, and looks like he dropped
    support for most of those cards as well.
    
    If required, please file a bug against me and I'll see what can be done.
    
    Closes: https://bugs.gentoo.org/661782
    Closes: https://bugs.gentoo.org/661894
    Closes: https://bugs.gentoo.org/679212
    Closes: https://bugs.gentoo.org/679944
    Closes: https://bugs.gentoo.org/701504
    Closes: https://bugs.gentoo.org/701612
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/dahdi/Manifest           |   2 +
 net-misc/dahdi/dahdi-3.1.0.ebuild | 104 ++++++++++++++++++++++++++++++++++++++
 net-misc/dahdi/metadata.xml       |   1 +
 3 files changed, 107 insertions(+)