Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871042 - media-sound/vorbis-tools-1.4.2-r1 - codec_skeleton.c: error: call to undeclared function utf8_decode; ISO
Summary: media-sound/vorbis-tools-1.4.2-r1 - codec_skeleton.c: error: call to undeclar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:45 UTC by Toralf Förster
Modified: 2023-02-09 04:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.61 KB, text/plain)
2022-09-17 19:45 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,17.81 KB, application/x-bzip)
2022-09-17 19:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.69 KB, text/plain)
2022-09-17 19:45 UTC, Toralf Förster
Details
environment (environment,28.69 KB, text/plain)
2022-09-17 19:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.25 KB, application/x-bzip)
2022-09-17 19:45 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.59 KB, application/x-bzip)
2022-09-17 19:45 UTC, Toralf Förster
Details
media-sound:vorbis-tools-1.4.2-r1:20220917-191233.log (media-sound:vorbis-tools-1.4.2-r1:20220917-191233.log,34.47 KB, text/plain)
2022-09-17 19:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.94 KB, application/x-bzip)
2022-09-17 19:45 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-09-17 19:45:47 UTC
too long lines were shrinked:

clang -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../include    -I../intl   -O2 -Wall -ffast-math -fsigned-char -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o codec_flac.o codec_flac.c
clang -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../include    -I../intl   -O2 -Wall -ffast-math -fsigned-char -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o codec_skeleton.o codec_skeleton.c
clang -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../include    -I../intl   -O2 -Wall -ffast-math -fsigned-char -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o codec_other.o codec_other.c
clang -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../include    -I../intl   -O2 -Wall -ffast-math -fsigned-char -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o codec_invalid.o codec_invalid.c
codec_skeleton.c:119:9: error: call to undeclared function 'utf8_decode'; ISO
      C99 and later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

  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-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 cae144bf93fd795deac860e17b464cefe0130eee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 18:46:59 2022 +0000

    2022-09-17 18:46:59 UTC

emerge -qpvO media-sound/vorbis-tools
[ebuild  N    ] media-sound/vorbis-tools-1.4.2-r1  USE="nls ogg123 -flac -kate -speex"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:45:48 UTC
Created attachment 809422 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:45:49 UTC
Created attachment 809425 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:45:50 UTC
Created attachment 809428 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:45:51 UTC
Created attachment 809431 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:45:53 UTC
Created attachment 809434 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:45:54 UTC
Created attachment 809437 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:45:55 UTC
Created attachment 809440 [details]
media-sound:vorbis-tools-1.4.2-r1:20220917-191233.log
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:45:56 UTC
Created attachment 809443 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-02-09 04:08:53 UTC
The bug has been closed via the following commit(s):

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

commit 56cd32a30a93c362963c55b4499b6033be7dc0bb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-09 03:59:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-09 03:59:05 +0000

    media-sound/vorbis-tools: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/871042
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/vorbis-tools-1.4.2-clang16.patch         | 22 ++++++++++++++++++++++
 ....4.2-r1.ebuild => vorbis-tools-1.4.2-r2.ebuild} |  9 ++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)