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

Bug 871534

Summary: media-video/tcmplex-panteltje-0.4.7-r1 - params.c: error: implicit declaration of function tolower [-Werror=implicit-function-decl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
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
environment
etc.portage.tar.bz2
media-video:tcmplex-panteltje-0.4.7-r1:20220918-175600.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 18:36:07 UTC
gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c timecode.c
gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c bits.c
gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c params.c
params.c: In function bb_set_profile:
params.c:1911:11: error: implicit declaration of function tolower [-Werror=implicit-function-declaration]
 1911 |   switch (tolower(ref_type))
      |           ^~~~~~~

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

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

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

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.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:
  [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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit a7e7287f75fee342aa34265e7a40d1f54731f3ea
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 16:46:56 2022 +0000

    2022-09-18 16:46:56 UTC

emerge -qpvO media-video/tcmplex-panteltje
[ebuild  N    ] media-video/tcmplex-panteltje-0.4.7-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-18 18:36:07 UTC
Created attachment 812209 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 18:36:09 UTC
Created attachment 812212 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-18 18:36:10 UTC
Created attachment 812215 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-18 18:36:11 UTC
Created attachment 812218 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-18 18:36:12 UTC
Created attachment 812221 [details]
media-video:tcmplex-panteltje-0.4.7-r1:20220918-175600.log
Comment 6 Toralf Förster gentoo-dev 2022-09-18 18:36:13 UTC
Created attachment 812224 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-14 03:19:56 UTC
The bug has been closed via the following commit(s):

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

commit fdbb9179c2657bc867f33f5918df8914c787c41a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-14 02:23:26 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-14 03:19:44 +0000

    media-video/tcmplex-panteltje: EAPI6->8, fix direct CC, clang16
    
    Also:
    * pass -std=gnu89 (broken with clang -std=c2x)
    * add CPPFLAGS to the old sed
    * GPL-2 -> GPL-2+
    
    Closes: https://bugs.gentoo.org/724824
    Closes: https://bugs.gentoo.org/871534
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/tcmplex-panteltje-0.4.7-clang16.patch    |  7 ++++++
 ...r1.ebuild => tcmplex-panteltje-0.4.7-r2.ebuild} | 26 ++++++++++++++++------
 2 files changed, 26 insertions(+), 7 deletions(-)