Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875059 - x11-misc/xbattbar-1.4.9 - xbattbar.c: error: return type defaults to int [-Werror=implicit-int]
Summary: x11-misc/xbattbar-1.4.9 - xbattbar.c: error: return type defaults to int [-We...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:40 UTC by Toralf Förster
Modified: 2022-11-28 23:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.52 KB, text/plain)
2022-10-04 16:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.14 KB, text/plain)
2022-10-04 16:40 UTC, Toralf Förster
Details
environment (environment,80.81 KB, text/plain)
2022-10-04 16:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.95 KB, application/x-bzip)
2022-10-04 16:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.61 KB, application/x-bzip)
2022-10-04 16:40 UTC, Toralf Förster
Details
x11-misc:xbattbar-1.4.9:20221004-111722.log (x11-misc:xbattbar-1.4.9:20221004-111722.log,2.56 KB, text/plain)
2022-10-04 16:40 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 2022-10-04 16:40:23 UTC
mkdir obj
touch obj/stamp
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Dlinux -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -MMD -o obj/xbattbar.o -c xbattbar.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Dlinux -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -MMD -Dlinux -o obj/xbattbar-check-apm.o -c xbattbar-check-apm.c
xbattbar.c:235:1: error: return type defaults to int [-Werror=implicit-int]
  235 | main(int argc, char **argv)
      | ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
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)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   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 cd609aed892ae21b8aeaad22f834f51cf83e50dd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 10:47:53 2022 +0000

    2022-10-04 10:47:52 UTC

emerge -qpvO x11-misc/xbattbar
[ebuild  N    ] x11-misc/xbattbar-1.4.9
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:40:24 UTC
Created attachment 819637 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:40:26 UTC
Created attachment 819640 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:40:27 UTC
Created attachment 819643 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:40:28 UTC
Created attachment 819646 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:40:29 UTC
Created attachment 819649 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:40:30 UTC
Created attachment 819652 [details]
x11-misc:xbattbar-1.4.9:20221004-111722.log
Comment 7 Larry the Git Cow gentoo-dev 2022-11-28 23:59:57 UTC
The bug has been closed via the following commit(s):

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

commit 0d2ce1ced242c7c6c73b41172a95c6289d0f4abe
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-28 23:57:57 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-28 23:59:39 +0000

    x11-misc/xbattbar: EAPI7->8, fix w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/875059
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/xbattbar/files/xbattbar-1.4.9-implicit-int.patch |  8 ++++++++
 x11-misc/xbattbar/xbattbar-1.4.9.ebuild                   | 15 +++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)