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

Bug 874906

Summary: games-engines/xzip-1.8.2-r3 - osdepend.c: error: implicit declaration of function xio_bell [-Werror=implicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
games-engines:xzip-1.8.2-r3:20221003-224653.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:25:23 UTC
   16 | #include <time.h>
  +++ |+#include <math.h>
   17 | 
osdepend.c: In function sound:
osdepend.c:351:9: error: implicit declaration of function xio_bell [-Werror=implicit-function-declaration]
  351 |         xio_bell();    /* --zarf */
      |         ^~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.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):
GNU Make 4.3

  HEAD of ::gentoo
commit 8318ba983519dd04bce35f854effe0132f7a7aae
Merge: cd2643822f1a fc004d0bd212
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 21:01:50 2022 +0000

    Merge updates from master

emerge -qpvO games-engines/xzip
[ebuild  N    ] games-engines/xzip-1.8.2-r3
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:25:24 UTC
Created attachment 818623 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:25:25 UTC
Created attachment 818626 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:25:27 UTC
Created attachment 818629 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:25:28 UTC
Created attachment 818632 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:25:29 UTC
Created attachment 818635 [details]
games-engines:xzip-1.8.2-r3:20221003-224653.log
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:25:30 UTC
Created attachment 818638 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:32:12 UTC
*** Bug 882219 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2022-11-21 00:20:52 UTC
The bug has been closed via the following commit(s):

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

commit c519615b50883fa073847cdace575e98252fd3b1
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-21 00:18:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-21 00:19:01 +0000

    games-engines/xzip: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/874906
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-engines/xzip/files/xzip-1.8.2-clang16.patch                | 9 +++++++++
 .../xzip/{xzip-1.8.2-r3.ebuild => xzip-1.8.2-r4.ebuild}          | 4 ++++
 2 files changed, 13 insertions(+)