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

Bug 884043

Summary: sci-chemistry/molmol-2k_p2-r8 - MotOGLDump.c: error: incompatible function pointer types passing void
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: CONFIRMED ---    
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.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sci-chemistry:molmol-2k_p2-r6:20221202-173524.log

Description Toralf Förster gentoo-dev 2022-12-02 17:37:12 UTC
too long lines were shrinked:

make[4]: Entering directory '/var/tmp/portage/sci-chemistry/molmol-2k_p2-r6/work/src/motogl'
clang  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -pipe -march=native -fno-diagnostics-color -O2  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT  -c -o MotOGLDev.
clang  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -pipe -march=native -fno-diagnostics-color -O2  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT  -c -o MotOGL.o M
clang  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -pipe -march=native -fno-diagnostics-color -O2  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT  -c -o MotOGLDump
MotOGLDump.c:347:8: error: incompatible function pointer types passing 'void
      (png_structp, char *)' (aka 'void (struct png_struct_def *, char *)') to
      parameter of type 'png_error_ptr' (aka 'void (*)(struct png_struct_def *,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20221202-020004

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
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.6
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 07bfa8e9b940ed0d466b6b67928a78c5999de17f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 2 16:16:49 2022 +0000

    2022-12-02 16:16:48 UTC

emerge -qpvO sci-chemistry/molmol
[ebuild  N    ] sci-chemistry/molmol-2k_p2-r6
Comment 1 Toralf Förster gentoo-dev 2022-12-02 17:37:13 UTC
Created attachment 839077 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-02 17:37:14 UTC
Created attachment 839079 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-02 17:37:16 UTC
Created attachment 839081 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-02 17:37:17 UTC
Created attachment 839083 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-02 17:37:18 UTC
Created attachment 839085 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-02 17:37:19 UTC
Created attachment 839087 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-02 17:37:20 UTC
Created attachment 839089 [details]
sci-chemistry:molmol-2k_p2-r6:20221202-173524.log
Comment 8 Agostino Sarubbo gentoo-dev 2024-01-04 10:14:14 UTC
gcc14_tinderbox has reproduced this issue with version 2k_p2-r8 - Updating summary.