Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942207 - dev-python/pygit2-1.16.0 - [gcc-15] /.../repository.c: error: passing argument 10 of git_commit_create from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-python/pygit2-1.16.0 - [gcc-15] /.../repository.c: error: passing argumen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-10-26 08:09 UTC by Toralf Förster
Modified: 2024-11-19 14:02 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.18 KB, text/plain)
2024-10-26 08:09 UTC, Toralf Förster
Details
dev-python:pygit2-1.16.0:20241025-235032.log (dev-python:pygit2-1.16.0:20241025-235032.log,29.24 KB, text/plain)
2024-10-26 08:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.76 KB, text/plain)
2024-10-26 08:09 UTC, Toralf Förster
Details
environment (environment,165.46 KB, text/plain)
2024-10-26 08:09 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-26 08:09 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.34 KB, application/x-xz)
2024-10-26 08:09 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.69 KB, application/x-xz)
2024-10-26 08:09 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.79 KB, application/x-xz)
2024-10-26 08:09 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-10-26 08:09:13 UTC
too long lines were shrinked:

2024-10-25 23:50:46,496 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/refdb.c -o /var/tmp/
2024-10-25 23:50:46,767 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/refdb_backend.c -o /
2024-10-25 23:50:47,196 root INFO x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG /var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0-python3_12/build/temp.lin
2024-10-25 23:50:47,449 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/reference.c -o /var/
2024-10-25 23:50:47,988 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/repository.c -o /var
/var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/repository.c: In function Repository_create_commit:
/var/tmp/portage/dev-python/pygit2-1.16.0/work/pygit2-1.16.0/src/repository.c:1068:68: error: passing argument 10 of git_commit_create from incompatible pointer type [-Wincompatible-pointer-types]
 1068 |                             encoding, message, tree, parent_count, parents);
      |                                                                    ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241022-040507

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 0bf4d8333de0450e6464526078eca37ff527b997
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 25 22:50:42 2024 +0000

    2024-10-25 22:50:42 UTC

emerge -qpvO =dev-python/pygit2-1.16.0
[ebuild  N    ] dev-python/pygit2-1.16.0  USE="-debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-10-26 08:09:14 UTC
Created attachment 906783 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-26 08:09:15 UTC
Created attachment 906784 [details]
dev-python:pygit2-1.16.0:20241025-235032.log
Comment 3 Toralf Förster gentoo-dev 2024-10-26 08:09:16 UTC
Created attachment 906785 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-26 08:09:18 UTC
Created attachment 906786 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-26 08:09:18 UTC
Created attachment 906787 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-26 08:09:19 UTC
Created attachment 906788 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-26 08:09:20 UTC
Created attachment 906789 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-26 08:09:21 UTC
Created attachment 906790 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-19 14:02:31 UTC
The bug has been closed via the following commit(s):

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

commit 1754434f5cb77275b97952e96dee0ed3364fb563
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-11-19 14:02:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-11-19 14:02:28 +0000

    dev-python/pygit2: Backport gcc-14 build fix
    
    Closes: https://bugs.gentoo.org/942207
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch | 37 ++++++++++++++++++++++
 dev-python/pygit2/pygit2-1.16.0.ebuild             |  6 ++++
 2 files changed, 43 insertions(+)