Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874477 - sci-biology/trnascan-se-1.31-r2 - trnascan.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: sci-biology/trnascan-se-1.31-r2 - trnascan.c: error: type specifier missing, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:01 UTC by Toralf Förster
Modified: 2022-10-19 09:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.54 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,143.58 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
environment (environment,71.56 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.31 KB, application/x-bzip)
2022-10-03 08:01 UTC, Toralf Förster
Details
sci-biology:trnascan-se-1.31-r2:20221003-005245.log (sci-biology:trnascan-se-1.31-r2:20221003-005245.log,3.73 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.06 KB, application/x-bzip)
2022-10-03 08:01 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-03 08:01:21 UTC
clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -DTSCANDIR=\"/usr/share/trnascan-se\" -o trnascan-1.4 trnascan.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int   -c align.c		
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int   -c dbviterbi.c		
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int   -c debug.c		
trnascan.c:335:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main(int argc, char **argv)

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

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

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

gcc-config -l:
 [1] 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]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	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-17 
  [2]   openjdk-bin-8 
  [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 fe7eba2440ca1d8c58a70134dd4847f6301befb4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 00:31:59 2022 +0000

    2022-10-03 00:31:59 UTC

emerge -qpvO sci-biology/trnascan-se
[ebuild  N    ] sci-biology/trnascan-se-1.31-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:01:22 UTC
Created attachment 816802 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:01:24 UTC
Created attachment 816808 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:01:26 UTC
Created attachment 816814 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:01:27 UTC
Created attachment 816817 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:01:28 UTC
Created attachment 816820 [details]
sci-biology:trnascan-se-1.31-r2:20221003-005245.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:01:29 UTC
Created attachment 816823 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-19 09:21:58 UTC
The bug has been closed via the following commit(s):

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

commit ec69f56bc3a7550b3c5018017b762e109ff19e5a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-19 08:57:37 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-19 09:21:44 +0000

    sci-biology/trnascan-se: fix build w/ clang16, pass -std=gnu89
    
    Closes: https://bugs.gentoo.org/874477
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/trnascan-se-1.31-clang16.patch           | 62 ++++++++++++++++++++++
 ...e-1.31-r2.ebuild => trnascan-se-1.31-r3.ebuild} |  4 +-
 2 files changed, 65 insertions(+), 1 deletion(-)