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

Bug 881345

Summary: x11-misc/xcb-2.4-r1 - xcb.c: error: type specifier missing, defaults to int; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31981
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
temp.tar.bz2
x11-misc:xcb-2.4-r1:20221114-221307.log

Description Toralf Förster gentoo-dev 2022-11-14 22:26:49 UTC
      in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
init (argc, argv)
^
xcb.c:1353:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main (argc, argv)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221114-100928

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 3042f98559a078766c7c27ce22340aabf7d4b32b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 21:46:52 2022 +0000

    2022-11-14 21:46:51 UTC

emerge -qpvO x11-misc/xcb
[ebuild  N    ] x11-misc/xcb-2.4-r1  USE="-motif"
Comment 1 Toralf Förster gentoo-dev 2022-11-14 22:26:50 UTC
Created attachment 832739 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 22:26:51 UTC
Created attachment 832741 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-14 22:26:52 UTC
Created attachment 832743 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 22:26:53 UTC
Created attachment 832745 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 22:26:54 UTC
Created attachment 832747 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 22:26:55 UTC
Created attachment 832749 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 22:26:56 UTC
Created attachment 832751 [details]
x11-misc:xcb-2.4-r1:20221114-221307.log
Comment 8 Larry the Git Cow gentoo-dev 2023-10-01 07:55:11 UTC
The bug has been closed via the following commit(s):

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

commit 05f0782540f8a9755197414f9da9c19bc472afe1
Author:     x7upLime <andrew@andrewdomain.com>
AuthorDate: 2023-07-20 23:20:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-01 07:53:49 +0000

    x11-misc/xcb: Ports to clang-16
    
    Closes: https://bugs.gentoo.org/881345
    Signed-off-by: Andrei Corduneanu <andrew@andrewdomain.com>
    Closes: https://github.com/gentoo/gentoo/pull/31981
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xcb/files/xcb-modern-c-porting.patch | 342 ++++++++++++++++++++++++++
 x11-misc/xcb/xcb-2.4-r2.ebuild                |  58 +++++
 2 files changed, 400 insertions(+)