Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928306 - app-emulation/vendor-reset-0.1.1_pre20221205-r1 - /.../atom.c: error: implicit declaration of function strlcpy
Summary: app-emulation/vendor-reset-0.1.1_pre20221205-r1 - /.../atom.c: error: implici...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick Sarnie
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-03-31 19:42 UTC by Toralf Förster
Modified: 2024-04-29 17:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.37 KB, text/plain)
2024-03-31 19:42 UTC, Toralf Förster
Details
app-emulation:vendor-reset-0.1.1_pre20221205-r1:20240331-183948.log (app-emulation:vendor-reset-0.1.1_pre20221205-r1:20240331-183948.log,231.12 KB, text/plain)
2024-03-31 19:43 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,81.51 KB, application/x-xz)
2024-03-31 19:43 UTC, Toralf Förster
Details
environment (environment,110.85 KB, text/plain)
2024-03-31 19:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.34 KB, application/x-xz)
2024-03-31 19:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,85.16 KB, application/x-xz)
2024-03-31 19:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.80 KB, application/x-xz)
2024-03-31 19:43 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 19:42:58 UTC
too long lines were shrinked:

/var/tmp/portage/app-emulation/vendor-reset-0.1.1_pre20221205-r1/work/vendor-reset-4b466e92a2d9f76ce1082cde982c7be0be91e248/src/amd/amdgpu/amdgpu_bios.c:156:6: warning: no previous prototype for amdgpu_get_bios [-Wmissing-prototypes]
  156 | bool amdgpu_get_bios(struct amd_fake_dev *adev)
      |      ^~~~~~~~~~~~~~~
# CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.1_pre20221205-r1/work/vendor-reset-4b466e92a2d9f76ce1082cde982c7be0be91e248/src/amd/amdgpu/navi10_reg_init.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/app-emulation/vendor-reset-0.1.1_pre20221205-r1/work/vendor-reset-4b466e92a2d9f76ce1082cde982c7be0be91e248/src/amd/amdgpu/.navi10_reg_init.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/inclu
/var/tmp/portage/app-emulation/vendor-reset-0.1.1_pre20221205-r1/work/vendor-reset-4b466e92a2d9f76ce1082cde982c7be0be91e248/src/amd/amdgpu/atom.c: In function amdgpu_atom_parse:
/var/tmp/portage/app-emulation/vendor-reset-0.1.1_pre20221205-r1/work/vendor-reset-4b466e92a2d9f76ce1082cde982c7be0be91e248/src/amd/amdgpu/atom.c:1427:17: error: implicit declaration of function strlcpy; did you mean strscpy? [-Werror=implicit-function-declaration]
 1427 |                 strlcpy(ctx->vbios_version, str, sizeof(ctx->vbios_version));
      |                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240327-092004

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

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

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 776ba1172916904ea6a7b14b671b6d56bf02f2b1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 31 18:34:06 2024 +0000

    2024-03-31 18:34:05 UTC

emerge -qpvO app-emulation/vendor-reset
[ebuild  N    ] app-emulation/vendor-reset-0.1.1_pre20221205-r1  USE="strip -dist-kernel -modules-compress -modules-sign"
Comment 1 Toralf Förster gentoo-dev 2024-03-31 19:42:59 UTC
Created attachment 889125 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-31 19:43:00 UTC
Created attachment 889126 [details]
app-emulation:vendor-reset-0.1.1_pre20221205-r1:20240331-183948.log
Comment 3 Toralf Förster gentoo-dev 2024-03-31 19:43:01 UTC
Created attachment 889127 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-03-31 19:43:03 UTC
Created attachment 889128 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-31 19:43:04 UTC
Created attachment 889129 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-31 19:43:05 UTC
Created attachment 889130 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-31 19:43:06 UTC
Created attachment 889131 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-04-29 17:13:15 UTC
The bug has been closed via the following commit(s):

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

commit 3ee6246a9878a2852a8978a69e39a7ee5aa81b7d
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-04-29 13:11:58 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2024-04-29 17:12:49 +0000

    app-emulation/vendor-reset: Fix implicit declaration of function strlcpy
    
    Pulling C99 patches from upstream
    
    Closes: https://bugs.gentoo.org/928306
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36481
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 ....1.1-allow-correct-compilation-with-clang.patch | 23 +++++++++++
 ...endor-reset-0.1.1-fix-build-on-kernel-6.8.patch | 35 +++++++++++++++++
 .../vendor-reset-0.1.1_pre20221205-r2.ebuild       | 44 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)