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

Bug 871384

Summary: app-text/rarian-0.8.1-r3 - rarian-example.c: error: type specifier missing, defaults to int; ISO C99
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
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
app-text:rarian-0.8.1-r3:20220918-120247.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 13:19:44 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I.. -I./../librarian    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rarian-example.o rarian-example.c
clang++ -DHAVE_CONFIG_H -I. -I.. -I./../librarian    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -c -o rarian-sk-migrate.o rarian-sk-migrate.cpp
clang -DHAVE_CONFIG_H -I. -I.. -I./../librarian    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rarian-reg-full.o `test -f '../librarian/rarian-reg-full.c' || echo './'`../librarian/rarian-reg-full.c
clang++ -DHAVE_CONFIG_H -I. -I.. -I./../librarian    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -c -o rarian-sk-preinstall.o rarian-sk-preinstall.cpp
rarian-example.c:80:1: error: type specifier missing, defaults to 'int'; ISO C99
      and later do not support implicit int [-Werror,-Wimplicit-int]
info_for_each (RrnInfoEntry *entry, void *data)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
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)	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 e8176b4c385fc022aa4f3bd9744cd6ec4632c400
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 11:16:47 2022 +0000

    2022-09-18 11:16:46 UTC

emerge -qpvO app-text/rarian
[ebuild  N    ] app-text/rarian-0.8.1-r3  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 13:19:45 UTC
Created attachment 811327 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 13:19:46 UTC
Created attachment 811330 [details]
app-text:rarian-0.8.1-r3:20220918-120247.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 13:19:47 UTC
Created attachment 811333 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 13:19:48 UTC
Created attachment 811336 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 13:19:50 UTC
Created attachment 811339 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 13:19:51 UTC
Created attachment 811342 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 13:19:52 UTC
Created attachment 811345 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 13:19:53 UTC
Created attachment 811348 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-02 19:57:21 UTC
The bug has been closed via the following commit(s):

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

commit 19017fe505e44514ecc113ddc42ab331e849f81e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-02 19:56:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-02 19:56:51 +0000

    app-text/rarian: add patch for -Wimplicit-int
    
    Closes: https://bugs.gentoo.org/871384
    Signed-off-by: David Seifert <soap@gentoo.org>

 app-text/rarian/Manifest               | 2 +-
 app-text/rarian/rarian-0.8.1-r3.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)