Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908645 - net-misc/r8125-9.011.01 - /.../r8125_ptp.c: error: const struct ptp_clock_info has no member named adjfreq
Summary: net-misc/r8125-9.011.01 - /.../r8125_ptp.c: error: const struct ptp_clock_inf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Karlson2k
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-17 07:44 UTC by Toralf Förster
Modified: 2023-08-17 06:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.26 KB, text/plain)
2023-06-17 07:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,81.10 KB, text/plain)
2023-06-17 07:44 UTC, Toralf Förster
Details
environment (environment,94.68 KB, text/plain)
2023-06-17 07:44 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,984 bytes, application/x-xz)
2023-06-17 07:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.13 KB, application/x-xz)
2023-06-17 07:44 UTC, Toralf Förster
Details
net-misc:r8125-9.011.01:20230617-020040.log (net-misc:r8125-9.011.01:20230617-020040.log,7.17 KB, text/plain)
2023-06-17 07:45 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 2023-06-17 07:44:55 UTC
  You are using:           x86_64-pc-linux-gnu-gcc (Gentoo 13.1.1_p20230527 p3) 13.1.1 20230527
  CC [M]  /var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/r8125_n.o
  CC [M]  /var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/rtl_eeprom.o
  CC [M]  /var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/rtltool.o
  CC [M]  /var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/r8125_ptp.o
  CC [M]  /var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/r8125_rss.o
/var/tmp/portage/net-misc/r8125-9.011.01/work/r8125-9.011.01/src/r8125_ptp.c:299:10: error: const struct ptp_clock_info has no member named adjfreq
  299 |         .adjfreq    = rtl8125_phc_adjfreq,
      |          ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20230616-044442

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit dcb4a2e0799d95740203309a800b943d364f4621
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 16 23:02:01 2023 +0000

    2023-06-16 23:02:00 UTC

emerge -qpvO net-misc/r8125
[ebuild  N    ] net-misc/r8125-9.011.01  USE="multi-tx-q ptp rss -dist-kernel -use-firmware"
Comment 1 Toralf Förster gentoo-dev 2023-06-17 07:44:55 UTC
Created attachment 864004 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-17 07:44:57 UTC
Created attachment 864005 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-17 07:44:58 UTC
Created attachment 864006 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-17 07:44:58 UTC
Created attachment 864007 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-17 07:44:59 UTC
Created attachment 864008 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-17 07:45:00 UTC
Created attachment 864009 [details]
net-misc:r8125-9.011.01:20230617-020040.log
Comment 7 Larry the Git Cow gentoo-dev 2023-07-20 19:07:16 UTC
The bug has been referenced in the following commit(s):

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

commit 3ac79141575343cbbde2a1e97ad29b6c20c4956e
Author:     Karlson2k (Evgeny Grin) <k2k@narod.ru>
AuthorDate: 2023-06-27 14:31:09 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-07-20 18:57:38 +0000

    net-misc/r8125: fix build with PTP for Linux >=6.2
    
    Bug: https://bugs.gentoo.org/908645
    Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../r8125/files/r8125-9.011.01-linux-6.2.patch     | 42 ++++++++++++++++++++++
 net-misc/r8125/r8125-9.008.00.ebuild               |  1 +
 net-misc/r8125/r8125-9.009.01.ebuild               |  1 +
 net-misc/r8125/r8125-9.009.02.ebuild               |  1 +
 net-misc/r8125/r8125-9.011.01.ebuild               |  7 +++-
 5 files changed, 51 insertions(+), 1 deletion(-)