Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 875500

Summary: app-admin/hardinfo-0.6_alpha_pre20201116-r1 - /.../boots.c: error: implicit declaration of function scan_os [-Werror=implicit-func
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28260
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-admin:hardinfo-0.6_alpha_pre20201116-r1:20221005-171937.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-05 18:15:35 UTC
too long lines were shrinked:

[2/108] /usr/bin/x86_64-pc-linux-gnu-gcc -DGTK_DISABLE_SINGLE_INCLUDES -DLOCALEDIR=\"/usr/share/locale\" -Dcomputer_EXPORTS -I/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre20201116-r1/work/hardinfo-54b2e307af763ce87bc8c88e80785d8114bf38dd -I/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre2020111
FAILED: CMakeFiles/computer.dir/modules/computer/boots.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DGTK_DISABLE_SINGLE_INCLUDES -DLOCALEDIR=\"/usr/share/locale\" -Dcomputer_EXPORTS -I/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre20201116-r1/work/hardinfo-54b2e307af763ce87bc8c88e80785d8114bf38dd -I/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre20201116-r1/wor
/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre20201116-r1/work/hardinfo-54b2e307af763ce87bc8c88e80785d8114bf38dd/modules/computer/boots.c: In function scan_boots_real:
/var/tmp/portage/app-admin/hardinfo-0.6_alpha_pre20201116-r1/work/hardinfo-54b2e307af763ce87bc8c88e80785d8114bf38dd/modules/computer/boots.c:31:5: error: implicit declaration of function scan_os [-Werror=implicit-function-declaration]
   31 |     scan_os(FALSE);
      |     ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 6f6c428a48fa244afc99865a8904c6020960703f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 16:19:00 2022 +0000

    2022-10-05 16:18:59 UTC

emerge -qpvO app-admin/hardinfo
[ebuild  N    ] app-admin/hardinfo-0.6_alpha_pre20201116-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:15:36 UTC
Created attachment 821524 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:15:37 UTC
Created attachment 821527 [details]
app-admin:hardinfo-0.6_alpha_pre20201116-r1:20221005-171937.log
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:15:38 UTC
Created attachment 821530 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:15:40 UTC
Created attachment 821533 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:15:41 UTC
Created attachment 821536 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:15:42 UTC
Created attachment 821539 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:15:43 UTC
Created attachment 821542 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-15 02:45:08 UTC
The bug has been closed via the following commit(s):

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

commit e7ea37be474e6c1847b56036f9109b1b3fe48f1e
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-13 23:16:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 02:42:55 +0000

    app-admin/hardinfo: fix build for clang16
    
    Closes: https://bugs.gentoo.org/875500
    Closes: https://bugs.gentoo.org/756823
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28260
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/hardinfo/Manifest                        |   1 +
 .../hardinfo-0.6-fix-function-declarations.patch   | 226 +++++++++++++++++++++
 .../hardinfo/hardinfo-0.6_alpha_pre20221113.ebuild |  38 ++++
 3 files changed, 265 insertions(+)