Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: python312.pkgs.gensim #352593

Open
lblasc opened this issue Oct 31, 2024 · 0 comments
Open

Build failure: python312.pkgs.gensim #352593

lblasc opened this issue Oct 31, 2024 · 0 comments
Labels
0.kind: build failure A package fails to build

Comments

@lblasc
Copy link
Contributor

lblasc commented Oct 31, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build -A python312.pkgs.gensim

Build log

gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_PY_LONG_LONG’:
gensim/models/word2vec_inner.c:12812:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
12812 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c:12867:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
12867 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_int’:
gensim/models/word2vec_inner.c:13046:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13046 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c:13101:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13101 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_unsigned_PY_LONG_LONG’:
gensim/models/word2vec_inner.c:13242:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13242 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c:13297:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13297 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_npy_uint32’:
gensim/models/word2vec_inner.c:13438:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13438 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c:13493:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13493 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_long’:
gensim/models/word2vec_inner.c:13634:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13634 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c:13689:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
13689 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                     ^~
gensim/models/word2vec_inner.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
gensim/models/word2vec_inner.c:14208:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
14208 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
      |                                             ^~
error: command '/nix/store/hgw57m0jh2w10jsv8x86ng267pm5sla8-gcc-wrapper-13.3.0/bin/gcc' failed with exit code 1

Additional context

Build failed on latest master.

Notify maintainers

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.15.0-113-generic, NixOS, 24.05 (Uakari), 24.05pre-git
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.2
  • channels(root): "nixos-23.05.20230202.006c3bd"
  • nixpkgs: /etc/nix/inputs/nixpkgs

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant