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

Bug 870571

Summary: x11-misc/xsetleds-0.1.3-r2:0 - configure:1060:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
x11-misc:xsetleds-0.1.3-r2:20220916-215631.log

Description Toralf Förster gentoo-dev 2022-09-16 22:05:06 UTC
checking for strerror in -lcposix... no
checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c
checking for gcc... clang
checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! Please attach the following file when seeking support:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220912-150005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	OpenJDK 8.345_p01 [openjdk-8]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit b55dcb6d332b428b7641d5af234af72a26d98b03
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 21:01:52 2022 +0000

    2022-09-16 21:01:52 UTC

emerge -qpvO x11-misc/xsetleds
[ebuild  N    ] x11-misc/xsetleds-0.1.3-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-16 22:05:07 UTC
Created attachment 806722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 22:05:09 UTC
Created attachment 806725 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-16 22:05:10 UTC
Created attachment 806728 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 22:05:11 UTC
Created attachment 806731 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 22:05:12 UTC
Created attachment 806734 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 22:05:13 UTC
Created attachment 806737 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-16 22:05:14 UTC
Created attachment 806740 [details]
x11-misc:xsetleds-0.1.3-r2:20220916-215631.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 00:19:32 UTC
configure:934: checking for gcc
configure:1047: checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works
configure:1063: clang -o conftest -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c  1>&5
configure:1060:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
main(){return(0);}
^
int

Legit.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-18 01:34:50 UTC
The bug has been closed via the following commit(s):

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

commit bbb8661765e69f8f978d4894026cf0aff603f586
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-18 01:19:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-18 01:26:04 +0000

    x11-misc/xsetleds: update EAPI 6 -> 8, fix implicit func. declarations
    
    Closes: https://bugs.gentoo.org/870571
    Signed-off-by: Sam James <sam@gentoo.org>

 ...xsetleds-0.1.3-configure-implicit-function-decl.patch | 15 +++++++++++++++
 x11-misc/xsetleds/xsetleds-0.1.3-r2.ebuild               | 16 +++++++++-------
 2 files changed, 24 insertions(+), 7 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2022-09-18 02:15:58 UTC
The bug has been referenced in the following commit(s):

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

commit b285885a1572877bed466f356c9f3f7ce8abb853
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-18 02:10:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-18 02:10:45 +0000

    x11-misc/xsetleds: extra implicit decl. fixes
    
    Bug: https://bugs.gentoo.org/870571
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ds-0.1.3-configure-implicit-function-decl.patch | 60 ++++++++++++++++++++++
 ...ds-0.1.3-r2.ebuild => xsetleds-0.1.3-r3.ebuild} |  0
 2 files changed, 60 insertions(+)