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

Bug 883131

Summary: app-text/xmlstarlet-1.6.1 - src/xml_elem.c: error: incompatible function pointer types passing void
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/xmlstar/code/merge-requests/6/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=927838
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-text:xmlstarlet-1.6.1:20221126-091418.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-26 10:23:32 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I.  -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -pedantic -ansi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/xml_edit.o src/xml_edit.c
clang -DHAVE_CONFIG_H -I.  -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -pedantic -ansi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/xml_elem.o src/xml_elem.c
clang -DHAVE_CONFIG_H -I.  -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -pedantic -ansi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/xml_escape.o src/xml_escape.c
clang -DHAVE_CONFIG_H -I.  -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -pedantic -ansi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/xml_format.o src/xml_format.c
src/xml_elem.c:271:27: error: incompatible function pointer types passing 'void
      (void *, void *, xmlChar *)'
      (aka 'void (void *, void *, unsigned char *)') to parameter of type

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221125-110004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
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.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 6a20d47f98c4b5b0cfa7c83464579057e43a6a7b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 06:48:51 2022 +0000

    2022-11-26 06:48:51 UTC

emerge -qpvO app-text/xmlstarlet
[ebuild  N    ] app-text/xmlstarlet-1.6.1
Comment 1 Toralf Förster gentoo-dev 2022-11-26 10:23:34 UTC
Created attachment 837019 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-26 10:23:35 UTC
Created attachment 837021 [details]
app-text:xmlstarlet-1.6.1:20221126-091418.log
Comment 3 Toralf Förster gentoo-dev 2022-11-26 10:23:36 UTC
Created attachment 837023 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-26 10:23:38 UTC
Created attachment 837025 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-26 10:23:39 UTC
Created attachment 837027 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-26 10:23:40 UTC
Created attachment 837029 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-26 10:23:41 UTC
Created attachment 837031 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-26 10:23:42 UTC
Created attachment 837033 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-26 10:23:43 UTC
Created attachment 837035 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-05-12 14:03:57 UTC
The bug has been closed via the following commit(s):

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

commit 0f0ba1c7b1f617b17eb0b946a5f63e92b3320a01
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2023-05-12 14:01:33 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2023-05-12 14:01:33 +0000

    app-text/xmlstarlet: EAPI 8 + Clang 16 fixes
    
    Closes: https://bugs.gentoo.org/883131
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 .../files/xmlstarlet-1.6.1-clang16.patch           | 32 ++++++++++++
 app-text/xmlstarlet/xmlstarlet-1.6.1-r1.ebuild     | 59 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)