Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923108 - media-libs/hamlib-4.5.5-r1 - memload.c: error: implicit declaration of function exit [-Wimplicit-function-declaration]
Summary: media-libs/hamlib-4.5.5-r1 - memload.c: error: implicit declaration of functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-28 09:52 UTC by Toralf Förster
Modified: 2024-04-03 22:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.31 KB, text/plain)
2024-01-28 09:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.86 KB, text/plain)
2024-01-28 09:52 UTC, Toralf Förster
Details
environment (environment,111.76 KB, text/plain)
2024-01-28 09:52 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-28 09:52 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.37 KB, application/x-xz)
2024-01-28 09:52 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,15.88 KB, application/x-xz)
2024-01-28 09:52 UTC, Toralf Förster
Details
media-libs:hamlib-4.5.5-r1:20240128-021314.log.xz (media-libs:hamlib-4.5.5-r1:20240128-021314.log.xz,16.95 KB, application/x-xz)
2024-01-28 09:52 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,48.05 KB, application/x-xz)
2024-01-28 09:52 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,43.98 KB, application/x-xz)
2024-01-28 09:52 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 2024-01-28 09:52:10 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/hamlib  -DIN_HAMLIB -I../include -I../src -I../lib -I../include  -Wall -pthread -I../src -I../security -O3 -pipe -march=native -fno-diagnostics-color -c -o rigctld-rigctl_parse.o `test -f 'rigctl_parse.c' || echo './'`rigctl_parse.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/hamlib  -DIN_HAMLIB -I../include -I../src -I../lib -I../include  -Wall -pthread -I../src -I../security -O3 -pipe -march=native -fno-diagnostics-color -c -o rigctld-dumpcaps.o `test -f 'dumpcaps.c' || echo './'`dumpcaps.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/hamlib  -DIN_HAMLIB -I../include -I../src -I../lib -I../include  -Wall -I/usr/include/libxml2 -I../src -O3 -pipe -march=native -fno-diagnostics-color -c -o rigmem-rigmem.o `test -f 'rigmem.c' || echo './'`rigmem.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/hamlib  -DIN_HAMLIB -I../include -I../src -I../lib -I../include  -Wall -I/usr/include/libxml2 -I../src -O3 -pipe -march=native -fno-diagnostics-color -c -o rigmem-memsave.o `test -f 'memsave.c' || echo './'`memsave.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/hamlib  -DIN_HAMLIB -I../include -I../src -I../lib -I../include  -Wall -I/usr/include/libxml2 -I../src -O3 -pipe -march=native -fno-diagnostics-color -c -o rigmem-memload.o `test -f 'memload.c' || echo './'`memload.c
memload.c: In function xml_load:
memload.c:47:9: error: implicit declaration of function exit [-Wimplicit-function-declaration]
   47 |         exit(2);
      |         ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20240125-143002

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

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

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

  HEAD of ::gentoo
commit f2c4ce5f26b48678253a798ddaabf99d01297b86
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 27 23:03:19 2024 +0000

    2024-01-27 23:03:18 UTC

emerge -qpvO media-libs/hamlib
[ebuild  N    ] media-libs/hamlib-4.5.5-r1  USE="-doc -perl -python -tcl" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-01-28 09:52:11 UTC
Created attachment 883390 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-28 09:52:13 UTC
Created attachment 883391 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-28 09:52:14 UTC
Created attachment 883392 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-28 09:52:16 UTC
Created attachment 883393 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-28 09:52:17 UTC
Created attachment 883394 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-28 09:52:18 UTC
Created attachment 883395 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-28 09:52:19 UTC
Created attachment 883396 [details]
media-libs:hamlib-4.5.5-r1:20240128-021314.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-28 09:52:20 UTC
Created attachment 883397 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-28 09:52:21 UTC
Created attachment 883398 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-01-30 11:43:51 UTC
The bug has been closed via the following commit(s):

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

commit f7eb6f486c17ac0a57e021a0b8ede3fd4c9ef6cc
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-01-29 16:44:57 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-01-30 11:43:09 +0000

    media-libs/hamlib: Fix implicit declaration of function exit
    
    Closes: https://bugs.gentoo.org/923108
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://bugs.gentoo.org/923108
    Closes: https://github.com/gentoo/gentoo/pull/35077
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 .../hamlib/files/hamlib-4.5.5-gcc14-fix.patch      |  12 +++
 media-libs/hamlib/hamlib-4.5.5-r2.ebuild           | 101 +++++++++++++++++++++
 2 files changed, 113 insertions(+)

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

commit f7eb6f486c17ac0a57e021a0b8ede3fd4c9ef6cc
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-01-29 16:44:57 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-01-30 11:43:09 +0000

    media-libs/hamlib: Fix implicit declaration of function exit
    
    Closes: https://bugs.gentoo.org/923108
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://bugs.gentoo.org/923108
    Closes: https://github.com/gentoo/gentoo/pull/35077
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 .../hamlib/files/hamlib-4.5.5-gcc14-fix.patch      |  12 +++
 media-libs/hamlib/hamlib-4.5.5-r2.ebuild           | 101 +++++++++++++++++++++
 2 files changed, 113 insertions(+)