Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923325 - sci-chemistry/molmol-2k_p2-r8 - MotOGLDump.c: error: passing argument 3 of png_create_write_struct from incompatible pointer type [-Wincompatible-poin
Summary: sci-chemistry/molmol-2k_p2-r8 - MotOGLDump.c: error: passing argument 3 of pn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard: fixed in 2k_p2-r9
Keywords: PullRequest
: 884043 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-30 09:42 UTC by Toralf Förster
Modified: 2024-10-31 22:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.16 KB, text/plain)
2024-01-30 09:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.77 KB, text/plain)
2024-01-30 09:42 UTC, Toralf Förster
Details
environment (environment,74.21 KB, text/plain)
2024-01-30 09:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-01-30 09:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.99 KB, application/x-xz)
2024-01-30 09:42 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.30 KB, application/x-xz)
2024-01-30 09:42 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,52.47 KB, application/x-xz)
2024-01-30 09:42 UTC, Toralf Förster
Details
sci-chemistry:molmol-2k_p2-r8:20240130-090333.log (sci-chemistry:molmol-2k_p2-r8:20240130-090333.log,66.78 KB, text/plain)
2024-01-30 09:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 9 Larry the Git Cow gentoo-dev 2024-05-18 10:57:39 UTC
The bug has been closed via the following commit(s):

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

commit ee8c3c49423152a5e4d1ab49369fad319031832a
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-04-04 10:14:45 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-05-18 10:51:20 +0000

    sci-chemistry/molmol: Fix passing incompatible pointer type
    
    Closes: https://bugs.gentoo.org/923325
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36093
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../molmol/files/molmol-2k_p2-gcc14-fix.patch      |  12 +++
 sci-chemistry/molmol/molmol-2k_p2-r9.ebuild        | 106 +++++++++++++++++++++
 2 files changed, 118 insertions(+)
Comment 10 Pacho Ramos gentoo-dev 2024-10-17 13:48:47 UTC
*** Bug 884043 has been marked as a duplicate of this bug. ***