Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871588 - media-libs/libcuefile-477-r2 - cue_parse.y: error: call to undeclared function cue_delete_buffer; ISO C99 and later do not support
Summary: media-libs/libcuefile-477-r2 - cue_parse.y: error: call to undeclared functio...
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-18 20:15 UTC by Toralf Förster
Modified: 2023-04-28 06:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.50 KB, text/plain)
2022-09-18 20:15 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.62 KB, application/x-bzip)
2022-09-18 20:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,250.29 KB, text/plain)
2022-09-18 20:15 UTC, Toralf Förster
Details
environment (environment,97.68 KB, text/plain)
2022-09-18 20:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.60 KB, application/x-bzip)
2022-09-18 20:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.06 KB, application/x-bzip)
2022-09-18 20:15 UTC, Toralf Förster
Details
media-libs:libcuefile-477-r2:20220918-193958.log (media-libs:libcuefile-477-r2:20220918-193958.log,12.13 KB, text/plain)
2022-09-18 20:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.16 KB, application/x-bzip)
2022-09-18 20:15 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-18 20:15:14 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/12] /var/tmp/portage/media-libs/libcuefile-477-r2/temp/clang -DYY_NEVER_INTERACTIVE -Dcuefile_shared_EXPORTS -I/var/tmp/portage/media-libs/libcuefile-477-r2/work/libcuefile-477/include  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC
FAILED: src/CMakeFiles/cuefile-shared.dir/cue_parse.o 
/var/tmp/portage/media-libs/libcuefile-477-r2/temp/clang -DYY_NEVER_INTERACTIVE -Dcuefile_shared_EXPORTS -I/var/tmp/portage/media-libs/libcuefile-477-r2/work/libcuefile-477/include  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -MD -M
cue_parse.y:116:2: error: call to undeclared function 'cue_delete_buffer'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
        cue_delete_buffer();
        ^

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

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

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

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):
  [1]   php8.1 *
GNU Make 4.3.90

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

    2022-09-18 19:16:49 UTC

emerge -qpvO media-libs/libcuefile
[ebuild  N    ] media-libs/libcuefile-477-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-18 20:15:15 UTC
Created attachment 812425 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 20:15:16 UTC
Created attachment 812428 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 20:15:17 UTC
Created attachment 812431 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 20:15:19 UTC
Created attachment 812434 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 20:15:19 UTC
Created attachment 812437 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 20:15:20 UTC
Created attachment 812440 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 20:15:21 UTC
Created attachment 812443 [details]
media-libs:libcuefile-477-r2:20220918-193958.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 20:15:22 UTC
Created attachment 812446 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-28 06:05:11 UTC
The bug has been closed via the following commit(s):

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

commit 32fa31740cf48c8aaac92fdabbef28b5454cc62d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-28 05:57:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-28 06:04:13 +0000

    media-libs/libcuefile: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/871588
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libcuefile/files/libcuefile-477-clang16.patch   | 14 ++++++++++++++
 .../{libcuefile-477-r2.ebuild => libcuefile-477-r3.ebuild} |  7 +++++--
 2 files changed, 19 insertions(+), 2 deletions(-)