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

Bug 923325

Summary: sci-chemistry/molmol-2k_p2-r8 - MotOGLDump.c: error: passing argument 3 of png_create_write_struct from incompatible pointer type [-Wincompatible-poin
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36093
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
sci-chemistry:molmol-2k_p2-r8:20240130-090333.log

Description Toralf Förster gentoo-dev 2024-01-30 09:42:43 UTC
too long lines were shrinked:

cd motogl; make default
make[4]: Entering directory '/var/tmp/portage/sci-chemistry/molmol-2k_p2-r8/work/src/motogl'
x86_64-pc-linux-gnu-gcc  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -O3 -pipe -march=native -fno-diagnostics-color  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT
x86_64-pc-linux-gnu-gcc  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -O3 -pipe -march=native -fno-diagnostics-color  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT
x86_64-pc-linux-gnu-gcc  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT -O3 -pipe -march=native -fno-diagnostics-color  -I../../tools/include -I../../sg/include -I../../include  -DFUNCPROTO -DTIFF_SUPPORT -DJPEG_SUPPORT -DPNG_SUPPORT
MotOGLDump.c: In function 'writeImg':
MotOGLDump.c:347:15: error: passing argument 3 of 'png_create_write_struct' from incompatible pointer type [-Wincompatible-pointer-types]
  347 |         NULL, pngErrHand, pngErrHand);
      |               ^~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit c652921d5c81cc6d0d9510ccf1d4d9709325f0f1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 30 08:48:13 2024 +0000

    2024-01-30 08:48:12 UTC

emerge -qpvO sci-chemistry/molmol
[ebuild  N    ] sci-chemistry/molmol-2k_p2-r8
Comment 1 Toralf Förster gentoo-dev 2024-01-30 09:42:44 UTC
Created attachment 883701 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-30 09:42:46 UTC
Created attachment 883702 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-30 09:42:47 UTC
Created attachment 883703 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-30 09:42:48 UTC
Created attachment 883704 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-30 09:42:49 UTC
Created attachment 883705 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-30 09:42:49 UTC
Created attachment 883706 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-30 09:42:50 UTC
Created attachment 883707 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-30 09:42:52 UTC
Created attachment 883708 [details]
sci-chemistry:molmol-2k_p2-r8:20240130-090333.log