Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871063 - net-misc/wol-0.7.1-r3 - xmalloc.c: error: call to undeclared library function exit with type
Summary: net-misc/wol-0.7.1-r3 - xmalloc.c: error: call to undeclared library function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:47 UTC by Toralf Förster
Modified: 2022-10-03 11:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2022-09-17 19:47 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,32.04 KB, application/x-bzip)
2022-09-17 19:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.78 KB, text/plain)
2022-09-17 19:47 UTC, Toralf Förster
Details
environment (environment,60.92 KB, text/plain)
2022-09-17 19:47 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.14 KB, application/x-bzip)
2022-09-17 19:47 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.21 KB, application/x-bzip)
2022-09-17 19:47 UTC, Toralf Förster
Details
net-misc:wol-0.7.1-r3:20220917-193459.log (net-misc:wol-0.7.1-r3:20220917-193459.log,16.28 KB, text/plain)
2022-09-17 19:47 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,49.53 KB, application/x-bzip)
2022-09-17 19:47 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-17 19:47:14 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getopt.c' || echo './'`getopt.c
clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'usleep.c' || echo './'`usleep.c
clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'xmalloc.c' || echo './'`xmalloc.c
clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getstr.c' || echo './'`getstr.c
xmalloc.c:77:3: error: call to undeclared library function 'exit' with type
      'void (int) __attribute__((noreturn))'; ISO C99 and later do not support
      implicit function declarations [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit cae144bf93fd795deac860e17b464cefe0130eee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 18:46:59 2022 +0000

    2022-09-17 18:46:59 UTC

emerge -qpvO net-misc/wol
[ebuild  N    ] net-misc/wol-0.7.1-r3  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:47:15 UTC
Created attachment 809575 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:47:16 UTC
Created attachment 809578 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:47:17 UTC
Created attachment 809581 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:47:19 UTC
Created attachment 809584 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:47:20 UTC
Created attachment 809587 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:47:21 UTC
Created attachment 809590 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:47:22 UTC
Created attachment 809593 [details]
net-misc:wol-0.7.1-r3:20220917-193459.log
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:47:23 UTC
Created attachment 809596 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-02 19:57:23 UTC
The bug has been closed via the following commit(s):

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

commit ff409022a3100125e4345db345746061a7e887a5
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-02 19:56:53 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-02 19:56:53 +0000

    net-misc/wol: fix -Wimplicit-function-declaration
    
    Closes: https://bugs.gentoo.org/871063
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-misc/wol/files/wol-0.7.1-musl.patch | 45 +++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
Comment 10 Conrad Kostecki gentoo-dev 2022-10-03 11:04:56 UTC
Thank you! :-)