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

Bug 919182

Summary: media-sound/gstreamripper-0.2 - main.c: error: implicit declaration of function loadPrefs [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36080
Whiteboard: fixed in 0.2-r1
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-sound:gstreamripper-0.2:20231204-151646.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 18:39:13 UTC
  241 | void     gtk_notebook_set_scrollable       (GtkNotebook     *notebook,
      |                                             ~~~~~~~~~~~~~~~~~^~~~~~~~
interface.c:43:16: warning: unused variable window1_icon_pixbuf [-Wunused-variable]
   43 |     GdkPixbuf *window1_icon_pixbuf;
      |                ^~~~~~~~~~~~~~~~~~~
main.c: In function main:
main.c:32:3: error: implicit declaration of function loadPrefs [-Wimplicit-function-declaration]
   32 |   loadPrefs();
      |   ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 9fbac9a87a3f54ee750529d7650d1bab53f12910
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 14:16:57 2023 +0000

    2023-12-04 14:16:56 UTC

emerge -qpvO media-sound/gstreamripper
[ebuild  N    ] media-sound/gstreamripper-0.2
Comment 1 Toralf Förster gentoo-dev 2023-12-04 18:39:14 UTC
Created attachment 876774 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 18:39:16 UTC
Created attachment 876775 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 18:39:17 UTC
Created attachment 876776 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 18:39:18 UTC
Created attachment 876777 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 18:39:19 UTC
Created attachment 876778 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 18:39:20 UTC
Created attachment 876779 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 18:39:21 UTC
Created attachment 876780 [details]
media-sound:gstreamripper-0.2:20231204-151646.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 18:39:22 UTC
Created attachment 876781 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 18:39:23 UTC
Created attachment 876782 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-06-29 10:16:35 UTC
The bug has been closed via the following commit(s):

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

commit 455ca0943d2c4594dcc8d79b1781cb41bb059d8d
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-03 17:08:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-29 10:14:45 +0000

    media-sound/gstreamripper: Fix C99 errors; update EAPI 7 -> 8
    
    There was a number of implicit declarations and wrongs made with
    pointer assignments. Patch fixes them, also supercedes previous
    pull request with wrongly made casts by correct functions from
    glib.
    
    Closes:https://bugs.gentoo.org/871012
    Closes:https://bugs.gentoo.org/919182
    Closes:https://bugs.gentoo.org/885531
    Closes:#30057
    
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36080
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../files/gstreamripper-0.2-C99-fixes.patch        | 85 ++++++++++++++++++++++
 ...pper-0.2.ebuild => gstreamripper-0.2-r1.ebuild} |  6 +-
 2 files changed, 90 insertions(+), 1 deletion(-)