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

Bug 870493

Summary: x11-misc/xdaliclock-2.44:0 - conftest.c:8:2: error: return type defaults to 'int' [-Werror=implicit-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
x11-misc:xdaliclock-2.44:20220916-182513.log

Description Toralf Förster gentoo-dev 2022-09-16 19:32:41 UTC
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether the compiler works on ANSI C... no
configure: error: Couldn't build even a trivial ANSI C program: check CC.

!!! 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_systemd-j4-20220913-120004

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

gcc-config -l:
 [1] 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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
4)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	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]   icedtea-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8  system-vm
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17 
  [6]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit e5cd60aa15289f27c42e8230065d3f4c599234a6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 17:46:46 2022 +0000

    2022-09-16 17:46:45 UTC

emerge -qpvO x11-misc/xdaliclock
[ebuild  N    ] x11-misc/xdaliclock-2.44
Comment 1 Toralf Förster gentoo-dev 2022-09-16 19:32:42 UTC
Created attachment 806194 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:32:43 UTC
Created attachment 806197 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:32:44 UTC
Created attachment 806200 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:32:45 UTC
Created attachment 806203 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:32:46 UTC
Created attachment 806206 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:32:47 UTC
Created attachment 806209 [details]
x11-misc:xdaliclock-2.44:20220916-182513.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 00:17:32 UTC
configure:2933: checking whether the compiler works on ANSI C
configure:2954: x86_64-pc-linux-gnu-gcc -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  >&5
conftest.c:8:2: error: return type defaults to 'int' [-Werror=implicit-int]
    8 |  main(int ac, char **av) { return 0; }
      |  ^~~~
cc1: some warnings being treated as errors
configure:2958: $? = 1
configure: program exited with status 1
configure: failed program was:

Legit.
Comment 8 Larry the Git Cow gentoo-dev 2022-09-17 01:19:51 UTC
The bug has been closed via the following commit(s):

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

commit 240f0dedd2b1c28e233cb12310cd5757357b0112
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-17 01:14:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-17 01:14:38 +0000

    x11-misc/xdaliclock: add 2.47
    
    Closes: https://bugs.gentoo.org/870493
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xdaliclock/Manifest                       |  1 +
 .../xdaliclock/files/xdaliclock-2.47-DESTDIR.patch | 59 ++++++++++++++++++++++
 x11-misc/xdaliclock/xdaliclock-2.47.ebuild         | 59 ++++++++++++++++++++++
 3 files changed, 119 insertions(+)