Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920324 - sci-mathematics/yafu-1.34.3-r1 - top/.../soe_util.c: error: assignment to _mpz_struct ( )[1] from incompatible pointer type _mpz_struct [-Wincompatibl
Summary: sci-mathematics/yafu-1.34.3-r1 - top/.../soe_util.c: error: assignment to _mp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-19 14:22 UTC by Toralf Förster
Modified: 2025-02-24 21:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2023-12-19 14:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,186.99 KB, text/plain)
2023-12-19 14:22 UTC, Toralf Förster
Details
environment (environment,76.53 KB, text/plain)
2023-12-19 14:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-19 14:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.18 KB, application/x-xz)
2023-12-19 14:22 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.70 KB, application/x-xz)
2023-12-19 14:22 UTC, Toralf Förster
Details
sci-mathematics:yafu-1.34.3-r1:20231219-140436.log (sci-mathematics:yafu-1.34.3-r1:20231219-140436.log,43.86 KB, text/plain)
2023-12-19 14:22 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.74 KB, application/x-xz)
2023-12-19 14:22 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 2023-12-19 14:22:39 UTC
too long lines were shrinked:

gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o top/eratosthenes/soe.o top/eratosthenes/soe.c
gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o top/eratosthenes/tiny.o top/eratosthenes/tiny.c
gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o top/eratosthenes/worker.o top/eratosthenes/worker.c
gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o top/eratosthenes/soe_util.o top/eratosthenes/soe_util.c
gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o top/eratosthenes/wrapper.o top/eratosthenes/wrapper.c
top/eratosthenes/soe_util.c: In function check_input:
top/eratosthenes/soe_util.c:134:31: error: assignment to __mpz_struct (*)[1] from incompatible pointer type __mpz_struct * [-Wincompatible-pointer-types]
  134 |                 sdata->offset = offset;
      |                               ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

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

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:
  (none found)
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.5 linux/amd64

  HEAD of ::gentoo
commit d893a70c10885e5866c24ff30a0d48b3fa5977b0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 19 12:16:56 2023 +0000

    2023-12-19 12:16:55 UTC

emerge -qpvO sci-mathematics/yafu
[ebuild  N    ] sci-mathematics/yafu-1.34.3-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-19 14:22:40 UTC
Created attachment 879983 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-19 14:22:41 UTC
Created attachment 879984 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-19 14:22:42 UTC
Created attachment 879985 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-19 14:22:43 UTC
Created attachment 879986 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-19 14:22:44 UTC
Created attachment 879987 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-19 14:22:45 UTC
Created attachment 879988 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-19 14:22:46 UTC
Created attachment 879989 [details]
sci-mathematics:yafu-1.34.3-r1:20231219-140436.log
Comment 8 Toralf Förster gentoo-dev 2023-12-19 14:22:47 UTC
Created attachment 879990 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-02-24 21:28:01 UTC
The bug has been closed via the following commit(s):

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

commit ae2dae47a63f016b90020cf24b33e1876b65b429
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-22 19:43:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-24 21:26:09 +0000

    sci-mathematics/yafu: update EAPI 7 -> 8, fix build failure
    
    Tricky problem with openmp types, consolidating seds, old patch and
    fix-up for allowing toolchain functions and system environment into
    one patch file
    
    Closes: https://bugs.gentoo.org/920324
    Closes: https://bugs.gentoo.org/774099
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40707
    Signed-off-by: Sam James <sam@gentoo.org>

 .../yafu/files/yafu-1.34.3-Makefile.patch          | 11 ----
 .../yafu/files/yafu-1.34.3-fix-makefiles.patch     | 75 ++++++++++++++++++++++
 .../yafu/files/yafu-1.34.3-mpz_set.patch           | 14 ++++
 sci-mathematics/yafu/yafu-1.34.3-r1.ebuild         | 57 ----------------
 sci-mathematics/yafu/yafu-1.34.3-r2.ebuild         | 51 +++++++++++++++
 5 files changed, 140 insertions(+), 68 deletions(-)