* [ISSUE] python3 fails to build
@ 2024-02-13 15:55 KaiJan57
2024-02-13 18:21 ` chrysos349
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: KaiJan57 @ 2024-02-13 15:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]
New issue by KaiJan57 on void-packages repository
https://github.com/void-linux/void-packages/issues/48698
Description:
### 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3 fails to build
2024-02-13 15:55 [ISSUE] python3 fails to build KaiJan57
@ 2024-02-13 18:21 ` chrysos349
2024-02-13 18:24 ` chrysos349
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: chrysos349 @ 2024-02-13 18:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48698#issuecomment-1942141261
Comment:
can't reproduce. i built for `x86_64` and `x86_64-musl` (cross).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3 fails to build
2024-02-13 15:55 [ISSUE] python3 fails to build KaiJan57
2024-02-13 18:21 ` chrysos349
@ 2024-02-13 18:24 ` chrysos349
2024-02-13 19:25 ` [ISSUE] [CLOSED] " KaiJan57
2024-02-13 19:25 ` KaiJan57
3 siblings, 0 replies; 5+ messages in thread
From: chrysos349 @ 2024-02-13 18:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48698#issuecomment-1942141261
Comment:
can't reproduce. i built for `x86_64` and `x86_64-musl` (~~cross~~ natively, actually).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] python3 fails to build
2024-02-13 15:55 [ISSUE] python3 fails to build KaiJan57
2024-02-13 18:21 ` chrysos349
2024-02-13 18:24 ` chrysos349
@ 2024-02-13 19:25 ` KaiJan57
2024-02-13 19:25 ` KaiJan57
3 siblings, 0 replies; 5+ messages in thread
From: KaiJan57 @ 2024-02-13 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]
Closed issue by KaiJan57 on void-packages repository
https://github.com/void-linux/void-packages/issues/48698
Description:
### 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:
[https://github.com/void-linux/void-packages/issues/39467](https://github.com/void-linux/void-packages/issues/39467)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3 fails to build
2024-02-13 15:55 [ISSUE] python3 fails to build KaiJan57
` (2 preceding siblings ...)
2024-02-13 19:25 ` [ISSUE] [CLOSED] " KaiJan57
@ 2024-02-13 19:25 ` KaiJan57
3 siblings, 0 replies; 5+ messages in thread
From: KaiJan57 @ 2024-02-13 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by KaiJan57 on void-packages repository
https://github.com/void-linux/void-packages/issues/48698#issuecomment-1942231536
Comment:
Yep, just pulled again and it works now
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-13 19:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 15:55 [ISSUE] python3 fails to build KaiJan57
2024-02-13 18:21 ` chrysos349
2024-02-13 18:24 ` chrysos349
2024-02-13 19:25 ` [ISSUE] [CLOSED] " KaiJan57
2024-02-13 19:25 ` KaiJan57
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).