Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928303 - net-misc/r8125-9.011.01-r1 - /.../r8125_n.c: error: implicit declaration of function strlcpy
Summary: net-misc/r8125-9.011.01-r1 - /.../r8125_n.c: error: implicit declaration of f...
Status: RESOLVED DUPLICATE of bug 928293
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: c99-porting
  Show dependency tree
 
Reported: 2024-03-31 17:34 UTC by Toralf Förster
Modified: 2024-04-18 10:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.10 KB, text/plain)
2024-03-31 17:34 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,95.74 KB, application/x-xz)
2024-03-31 17:34 UTC, Toralf Förster
Details
environment (environment,110.94 KB, text/plain)
2024-03-31 17:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-03-31 17:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,51.74 KB, application/x-xz)
2024-03-31 17:34 UTC, Toralf Förster
Details
net-misc:r8125-9.011.01-r1:20240331-173238.log (net-misc:r8125-9.011.01-r1:20240331-173238.log,20.92 KB, text/plain)
2024-03-31 17:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,95.55 KB, application/x-xz)
2024-03-31 17:34 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 2024-03-31 17:34:04 UTC
 2396 | void ClearEthPhyOcpBit(struct rtl8125_private *tp, u16 addr, u16 mask)
      |      ^~~~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/r8125-9.011.01-r1/work/r8125-9.011.01/src/r8125_n.c:2405:6: warning: no previous prototype for SetEthPhyOcpBit [-Wmissing-prototypes]
 2405 | void SetEthPhyOcpBit(struct rtl8125_private *tp,  u16 addr, u16 mask)
      |      ^~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/r8125-9.011.01-r1/work/r8125-9.011.01/src/r8125_n.c: In function rtl8125_get_drvinfo:
/var/tmp/portage/net-misc/r8125-9.011.01-r1/work/r8125-9.011.01/src/r8125_n.c:4794:17: error: implicit declaration of function strlcpy; did you mean strscpy? [-Werror=implicit-function-declaration]
 4794 |                 strlcpy(info->fw_version, rtl_fw->version,
      |                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_mig17to23_spl2mrged-20240323-143215

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0
  [2]   rust-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 6acb667fc6a29f43f09f0559ecb696f21e9b6e69
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 31 17:04:07 2024 +0000

    2024-03-31 17:04:06 UTC

emerge -qpvO net-misc/r8125
[ebuild  N    ] net-misc/r8125-9.011.01-r1  USE="multi-tx-q rss strip -dist-kernel -modules-compress -modules-sign -ptp -use-firmware"
Comment 1 Toralf Förster gentoo-dev 2024-03-31 17:34:05 UTC
Created attachment 889107 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-31 17:34:06 UTC
Created attachment 889108 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-03-31 17:34:07 UTC
Created attachment 889109 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-03-31 17:34:08 UTC
Created attachment 889110 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-03-31 17:34:09 UTC
Created attachment 889111 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-31 17:34:10 UTC
Created attachment 889112 [details]
net-misc:r8125-9.011.01-r1:20240331-173238.log
Comment 7 Toralf Förster gentoo-dev 2024-03-31 17:34:11 UTC
Created attachment 889113 [details]
qlist-info.txt.xz
Comment 8 Karlson2k 2024-03-31 17:36:55 UTC

*** This bug has been marked as a duplicate of bug 928293 ***
Comment 9 Larry the Git Cow gentoo-dev 2024-04-18 10:53:11 UTC
The bug has been referenced in the following commit(s):

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

commit 82798ecb788646dabc394df2c6066c257cb3a826
Author:     Karlson2k (Evgeny Grin) <k2k@narod.ru>
AuthorDate: 2024-04-16 16:54:32 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-04-18 10:48:30 +0000

    net-misc/r8125: new upstream version 9.013.02
    
    Bug: https://bugs.gentoo.org/928293
    Bug: https://bugs.gentoo.org/928303
    Closes: https://github.com/gentoo/gentoo/pull/36281
    Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 net-misc/r8125/Manifest              |  1 +
 net-misc/r8125/r8125-9.013.02.ebuild | 37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)