Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944404 - dev-python/fpylll-0.6.1 - [ncurses-6.5] [meson] [libtool] /.../macros.h: error: cysigs was not declared in this scope
Summary: dev-python/fpylll-0.6.1 - [ncurses-6.5] [meson] [libtool] /.../macros.h: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL: https://github.com/sagemath/cysignals...
Whiteboard:
Keywords:
: 944380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-22 08:18 UTC by Toralf Förster
Modified: 2024-12-17 05:54 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.59 KB, text/plain)
2024-11-22 08:18 UTC, Toralf Förster
Details
dev-python:fpylll-0.6.1:20241122-071225.log (dev-python:fpylll-0.6.1:20241122-071225.log,245.18 KB, text/plain)
2024-11-22 08:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.78 KB, text/plain)
2024-11-22 08:18 UTC, Toralf Förster
Details
environment (environment,165.36 KB, text/plain)
2024-11-22 08:18 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-22 08:18 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.71 KB, application/x-xz)
2024-11-22 08:18 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.18 KB, application/x-xz)
2024-11-22 08:18 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.30 KB, application/x-xz)
2024-11-22 08:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.93 KB, application/x-xz)
2024-11-22 08:19 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-11-22 08:18:51 UTC
too long lines were shrinked:

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
2024-11-22 07:13:20,452 root INFO building 'fpylll.fplll.wrapper' extension
2024-11-22 07:13:20,454 root INFO x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -Isrc/fpylll/fplll -I/usr/lib/python3.12/site-packages/cysignals -I/usr/include -I/usr/lib/python3.12/site-packages/numpy/_core/include -I/usr/include/python3.12 -c build/src/fpyll
In file included from build/src/fpylll/fplll/lll.cpp:1353:
/usr/lib/python3.12/site-packages/cysignals/macros.h: In function int _sig_on_prejmp(const char*, const char*, int):
/usr/lib/python3.12/site-packages/cysignals/macros.h:117:5: error: cysigs was not declared in this scope
  117 |     cysigs.s = message;
      |     ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241117-085002

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-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


  HEAD of ::gentoo
commit b2351d2d8fa278b542345e8a0db281cd5d16dfd2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 22 05:48:40 2024 +0000

    2024-11-22 05:48:39 UTC

emerge -qpvO =dev-python/fpylll-0.6.1
[ebuild  N    ] dev-python/fpylll-0.6.1  USE="-debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-11-22 08:18:52 UTC
Created attachment 911465 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-22 08:18:54 UTC
Created attachment 911466 [details]
dev-python:fpylll-0.6.1:20241122-071225.log
Comment 3 Toralf Förster gentoo-dev 2024-11-22 08:18:55 UTC
Created attachment 911467 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-22 08:18:56 UTC
Created attachment 911468 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-22 08:18:57 UTC
Created attachment 911469 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-22 08:18:58 UTC
Created attachment 911470 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-22 08:18:59 UTC
Created attachment 911471 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-22 08:19:00 UTC
Created attachment 911472 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-22 08:19:01 UTC
Created attachment 911473 [details]
temp.tar.xz
Comment 10 François Bissey 2024-11-22 08:25:21 UTC
Feels like it could be a bug in cysignals-1.12.0.
Comment 11 François Bissey 2024-11-23 02:53:53 UTC
cypari2, pplpy and primecountpy (but not sagemath in the sage-on-gentoo overlay) all fails in this way with cysignals-1.12.0.
Comment 12 Michael Orlitzky gentoo-dev 2024-11-25 04:19:08 UTC
Definitely, I opened an upstream issue at $url but won't have time to investigate for a while. I wonder if I shouldn't just mask 1.12.0.
Comment 13 François Bissey 2024-11-25 06:07:49 UTC
I think masking it is advisable at this point.
Comment 14 Larry the Git Cow gentoo-dev 2024-11-25 14:28:08 UTC
The bug has been referenced in the following commit(s):

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

commit 700ec51f24f099d68a15477f2a78591df051a848
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-11-25 14:21:27 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-11-25 14:27:18 +0000

    profiles: mask =dev-python/cysignals-1.12.0
    
    ...until we can figure out why its consumers are failing to build.
    
    Bug: https://bugs.gentoo.org/944380
    Bug: https://bugs.gentoo.org/944404
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 15 Michael Orlitzky gentoo-dev 2024-11-25 14:31:27 UTC
*** Bug 944380 has been marked as a duplicate of this bug. ***
Comment 16 Larry the Git Cow gentoo-dev 2024-12-17 05:54:51 UTC
The bug has been closed via the following commit(s):

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

commit afd6460346902ca9cb7a7339082df35612336bef
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-12-17 05:27:21 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-12-17 05:27:21 +0000

    dev-python/cysignals: upstream patch to fix building against 1.12.0
    
    Closes: https://bugs.gentoo.org/944404
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 ...ls-1.12.0.ebuild => cysignals-1.12.0-r1.ebuild} |  2 +
 .../cysignals-1.12.0-fix-building-against-me.patch | 74 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)