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

Bug 871132

Summary: app-misc/mx5000tools-0.1.2-r2 - test-info.c: error: call to undeclared function close; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27811
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-misc:mx5000tools-0.1.2-r2:20220917-212823.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 21:34:08 UTC
Making all in tests
make[2]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/tests'
clang -DHAVE_CONFIG_H -I. -I..  -I..   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000_test-mx5000-test.o `test -f 'mx5000-test.c' || echo './'`mx5000-test.c
clang -DHAVE_CONFIG_H -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o test-info.o test-info.c
test-info.c:128:3: error: call to undeclared function 'close'; 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-j4-20220915-203738

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

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

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

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

    2022-09-17 19:46:47 UTC

emerge -qpvO app-misc/mx5000tools
[ebuild  N    ] app-misc/mx5000tools-0.1.2-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-17 21:34:09 UTC
Created attachment 810028 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 21:34:10 UTC
Created attachment 810031 [details]
app-misc:mx5000tools-0.1.2-r2:20220917-212823.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 21:34:11 UTC
Created attachment 810034 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 21:34:12 UTC
Created attachment 810037 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 21:34:13 UTC
Created attachment 810040 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 21:34:15 UTC
Created attachment 810043 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 21:34:16 UTC
Created attachment 810046 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 21:34:17 UTC
Created attachment 810049 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-17 03:17:29 UTC
The bug has been closed via the following commit(s):

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

commit d4da57e779c25a4716fef0f57dd2a8a5e22a16c8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-16 19:04:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 03:15:33 +0000

    app-misc/mx5000tools: add 0.1.2_p20190613 (fork)
    
    Closes: https://bugs.gentoo.org/871132
    Closes: https://github.com/gentoo/gentoo/pull/27811
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/mx5000tools/Manifest                      |  1 +
 .../mx5000tools/mx5000tools-0.1.2_p20190613.ebuild | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)