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

Bug 925439

Summary: media-sound/lash-0.5.4-r5 - /.../lash.c: error: implicit declaration of function printf [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
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.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-sound:lash-0.5.4-r5:20240224-180135.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-02-24 18:25:24 UTC
too long lines were shrinked:

make[3]: Entering directory '/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4-abi_x86_64.amd64/clients/synth'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth -I../..  -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4  -DLASH_BUILD -DHAVE_LASH    -D_POSIX_PTHREAD_SEMANTICS -O2 -pipe -march=native -fno-diagnostics-color -c -o la
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth -I../..  -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4  -DLASH_BUILD -DHAVE_LASH    -D_POSIX_PTHREAD_SEMANTICS -O2 -pipe -march=native -fno-diagnostics-color -c -o la
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth -I../..  -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4  -DLASH_BUILD -DHAVE_LASH    -D_POSIX_PTHREAD_SEMANTICS -O2 -pipe -march=native -fno-diagnostics-color -c -o la
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth -I../..  -I/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4  -DLASH_BUILD -DHAVE_LASH    -D_POSIX_PTHREAD_SEMANTICS -O2 -pipe -march=native -fno-diagnostics-color -c -o la
/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth/lash.c: In function lash_main:
/var/tmp/portage/media-sound/lash-0.5.4-r5/work/lash-0.5.4/clients/synth/lash.c:155:25: error: implicit declaration of function printf [-Wimplicit-function-declaration]
  155 |                         printf("%s: receieved unknown LASH event of type %d",
      |                         ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240223-194139

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit f72018bb8ea41248e3443b07f376b5d13d53428c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 24 17:04:01 2024 +0000

    2024-02-24 17:04:01 UTC

emerge -qpvO media-sound/lash
[ebuild  N    ] media-sound/lash-0.5.4-r5  USE="alsa python -debug -gtk -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-02-24 18:25:25 UTC
Created attachment 885895 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-24 18:25:26 UTC
Created attachment 885896 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-24 18:25:28 UTC
Created attachment 885897 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-24 18:25:29 UTC
Created attachment 885898 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-24 18:25:30 UTC
Created attachment 885899 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-24 18:25:31 UTC
Created attachment 885900 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-24 18:25:32 UTC
Created attachment 885901 [details]
media-sound:lash-0.5.4-r5:20240224-180135.log
Comment 8 Toralf Förster gentoo-dev 2024-02-24 18:25:33 UTC
Created attachment 885902 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-02-24 18:25:34 UTC
Created attachment 885903 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-05-06 06:42:11 UTC
The bug has been closed via the following commit(s):

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

commit 636c3a8d7825a736967e41fce6bdef1ca12992c0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-06 06:40:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-06 06:40:41 +0000

    media-sound/lash: update EAPI 7 -> 8, fix bashism in configure, fix modern C
    
    Not that I could reproduce the modern C issue but it's obvious.
    
    Closes: https://bugs.gentoo.org/925439
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/lash/files/lash-0.5.4-autotools.patch |  32 ++++++
 media-sound/lash/files/lash-0.5.4-c99.patch       |  11 ++
 media-sound/lash/lash-0.5.4-r6.ebuild             | 126 ++++++++++++++++++++++
 3 files changed, 169 insertions(+)