Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874543 - sci-astronomy/pyephem-4.1.3 - extensions/_libastro.c: error: incompatible pointer to integer conversion initializing Py_ssize_t (a
Summary: sci-astronomy/pyephem-4.1.3 - extensions/_libastro.c: error: incompatible poi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:13 UTC by Toralf Förster
Modified: 2022-10-04 05:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.63 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.00 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
environment (environment,136.65 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.35 KB, application/x-bzip)
2022-10-03 08:13 UTC, Toralf Förster
Details
sci-astronomy:pyephem-4.1.3:20221003-051942.log (sci-astronomy:pyephem-4.1.3:20221003-051942.log,6.93 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.49 KB, application/x-bzip)
2022-10-03 08:13 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 2022-10-03 08:13:07 UTC
^
/usr/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
extensions/_libastro.c:375:6: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'int (PyObject *, FILE *, int)' (aka 'int (struct _object *, struct _IO_FILE *, int)') [-Wint-conversion]
     Angle_print,               /* tp_print */
     ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221001-190003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit cb11f0c4e39a603e9eec43df773fb171c8aa9264
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 04:18:56 2022 +0000

    2022-10-03 04:18:56 UTC

emerge -qpvO sci-astronomy/pyephem
[ebuild  N    ] sci-astronomy/pyephem-4.1.3  USE="-doc -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:13:08 UTC
Created attachment 817234 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:13:09 UTC
Created attachment 817237 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:13:11 UTC
Created attachment 817240 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:13:12 UTC
Created attachment 817243 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:13:13 UTC
Created attachment 817246 [details]
sci-astronomy:pyephem-4.1.3:20221003-051942.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:13:14 UTC
Created attachment 817249 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-03 08:37:07 UTC
Fix will be like patiencediff.
Comment 8 Larry the Git Cow gentoo-dev 2022-10-04 05:07:22 UTC
The bug has been closed via the following commit(s):

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

commit c68f538f24f98e5d2dc496d32f5e0bb5aa0be313
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-04 04:44:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-04 05:06:49 +0000

    sci-astronomy/pyephem: fix build w/ Clang 15
    
    Closes: https://bugs.gentoo.org/874543
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pyephem/files/pyephem-4.1.3-clang-15.patch     | 36 ++++++++++++++++++++++
 sci-astronomy/pyephem/pyephem-4.1.3.ebuild         |  4 +++
 2 files changed, 40 insertions(+)