Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874954 - app-emacs/mpg123-el-1.61 - id3put.c: error: implicit declaration of function exit [-Werror=implicit-function-declaration]
Summary: app-emacs/mpg123-el-1.61 - id3put.c: error: implicit declaration of function ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard: fixed in 1.61
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:28 UTC by Toralf Förster
Modified: 2024-10-28 13:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.51 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
app-emacs:mpg123-el-1.61:20221004-103302.log (app-emacs:mpg123-el-1.61:20221004-103302.log,4.62 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.59 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
environment (environment,69.51 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.78 KB, application/x-bzip)
2022-10-04 16:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.00 KB, application/x-bzip)
2022-10-04 16:28 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-10-04 16:28:07 UTC
      |                     ^~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-emacs/mpg123-el-1.61/temp/cca8eQsM.o: in function `do_ogg':
tagput.c:(.text+0xe3): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
id3put.c: In function main:
id3put.c:46:7: error: implicit declaration of function exit [-Werror=implicit-function-declaration]
   46 |       exit(1);
      |       ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 9f618b8c2264f1184e219c8eec46be18af4ea9cb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 09:33:57 2022 +0000

    2022-10-04 09:33:56 UTC

emerge -qpvO app-emacs/mpg123-el
[ebuild  N    ] app-emacs/mpg123-el-1.61
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:28:08 UTC
Created attachment 818923 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:28:09 UTC
Created attachment 818926 [details]
app-emacs:mpg123-el-1.61:20221004-103302.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:28:11 UTC
Created attachment 818929 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:28:12 UTC
Created attachment 818932 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:28:13 UTC
Created attachment 818935 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:28:14 UTC
Created attachment 818938 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-05 07:30:59 UTC
The bug has been closed via the following commit(s):

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

commit 64c2c2eef8277357e7ccd6a1069fca8fa2580e7d
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-10-05 07:30:10 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-10-05 07:30:54 +0000

    app-emacs/mpg123-el: Include stdlib.h for exit(3)
    
    Closes: https://bugs.gentoo.org/874954
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch | 10 ++++++++++
 app-emacs/mpg123-el/mpg123-el-1.61.ebuild             |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)