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

python3 fails to build #48698

Closed
KaiJan57 opened this issue Feb 13, 2024 · 2 comments
Closed

python3 fails to build #48698

KaiJan57 opened this issue Feb 13, 2024 · 2 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@KaiJan57
Copy link

KaiJan57 commented Feb 13, 2024

Is this a new report?

Yes

System Info

Void 6.6.16_1 x86_64-musl GenuineIntel uptodate rFFF

Package(s) Affected

python3

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

xbps-src builds python3

Actual behaviour

python3 build fails with clean masterdir, hostdir; error message:

gcc -shared -Wl,-z,relro -Wl,-z,now -Wl,--as-needed     -Wl,-z,relro -Wl,-z,now -Wl,--as-needed     -fno-semantic-interposition -fprofile-generate  Modules/zlibmodule.o -L/usr/lib -lz  -o Modules/zlib.cpython-312-x86_64-linux-musl.so
/usr/bin/ld: /usr/lib/libz.a(zutil.o): warning: relocation against `z_errmsg' in read-only section `.text'
/usr/bin/ld: /usr/lib/libz.a(deflate.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value

Steps to reproduce

  1. clone void-packages
  2. run xbps-src binary-bootstrap
  3. run xbps-src pkg python3
  4. it fails, even if masterdir and hostdir are cleaned

Probably related:

#39467

@KaiJan57 KaiJan57 added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Feb 13, 2024
@chrysos349
Copy link
Contributor

chrysos349 commented Feb 13, 2024

can't reproduce. i built for x86_64 and x86_64-musl (cross natively, actually).

@KaiJan57
Copy link
Author

Yep, just pulled again and it works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

2 participants