Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871549 - x11-misc/xdock-0.3.0 - network.c: error: call to undeclared function close; ISO C99 and later
Summary: x11-misc/xdock-0.3.0 - network.c: error: call to undeclared function close; I...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 18:37 UTC by Toralf Förster
Modified: 2024-10-27 18:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.46 KB, text/plain)
2022-09-18 18:37 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.54 KB, application/x-bzip)
2022-09-18 18:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.62 KB, text/plain)
2022-09-18 18:37 UTC, Toralf Förster
Details
environment (environment,76.42 KB, text/plain)
2022-09-18 18:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.54 KB, application/x-bzip)
2022-09-18 18:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.15 KB, application/x-bzip)
2022-09-18 18:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.45 KB, application/x-bzip)
2022-09-18 18:37 UTC, Toralf Förster
Details
x11-misc:xdock-0.3.0:20220918-183318.log (x11-misc:xdock-0.3.0:20220918-183318.log,9.60 KB, text/plain)
2022-09-18 18:37 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-18 18:37:04 UTC
too long lines were shrinked:

/bin/sh ../../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I../..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libxdock.lo libxdock.c
/bin/sh ../../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I../..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o network.lo network.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c network.c  -fPIC -DPIC -o .libs/network.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c libxdock.c  -fPIC -DPIC -o .libs/libxdock.o
network.c:146:5: 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 7ae0f0c2af645cc04d30025016d9b097e7836ed3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 18:17:00 2022 +0000

    2022-09-18 18:16:59 UTC

emerge -qpvO x11-misc/xdock
[ebuild  N    ] x11-misc/xdock-0.3.0
Comment 1 Toralf Förster gentoo-dev 2022-09-18 18:37:05 UTC
Created attachment 812314 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 18:37:06 UTC
Created attachment 812317 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 18:37:08 UTC
Created attachment 812320 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 18:37:09 UTC
Created attachment 812323 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 18:37:10 UTC
Created attachment 812326 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 18:37:11 UTC
Created attachment 812329 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 18:37:12 UTC
Created attachment 812332 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 18:37:14 UTC
Created attachment 812335 [details]
x11-misc:xdock-0.3.0:20220918-183318.log
Comment 9 Larry the Git Cow gentoo-dev 2022-10-14 03:20:00 UTC
The bug has been closed via the following commit(s):

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

commit 0d73805d6a949a1e222ad8955f35d4931d9a2818
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-14 03:13:48 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-14 03:19:45 +0000

    x11-misc/xdock: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/871549
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/xdock/files/xdock-0.3.0-clang16.patch        | 19 +++++++++++++++++++
 .../{xdock-0.3.0.ebuild => xdock-0.3.0-r1.ebuild}     |  1 +
 2 files changed, 20 insertions(+)