Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1271042 > unrolled thread
| Started by | Luke Yasuda <jing@jing.rocks> |
|---|---|
| First post | 2025-11-21 13:10 +0100 |
| Last post | 2025-11-21 22:20 +0100 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1121121: python-pip: causes other packages to FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 13:10 +0100
Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 13:40 +0100
Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 14:30 +0100
Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 14:30 +0100
Bug#1121121: python-pip: causes other packages to FTBFS Stefano Rivera <stefanor@debian.org> - 2025-11-21 22:20 +0100
| From | Luke Yasuda <jing@jing.rocks> |
|---|---|
| Date | 2025-11-21 13:10 +0100 |
| Subject | Bug#1121121: python-pip: causes other packages to FTBFS |
| Message-ID | <LTy7F-eD5e-79@gated-at.bofh.it> |
Source: python-pip
Version: 25.3+dfsg-1
Severity: important
Tags: ftbfs
Hi!
python-pip 25.3+dfsg-1 is causing other packages to FTBFS, if they build-depends on python3-pip. 25.2+dfsg-1 was good.
It seems that pip keeps trying to connect to the internet even though sbuild won't allow it. Then pip will just fail, throwing "could not find a version that satisfies the requirement xxxxxxxx", even though the correct debian packages were installed.
E.g., libselinux, FTBFS now as of 2025-11-21 with python-pip 25.3+dfsg-1 (but was fine with 25.2+dfsg-1):
make[2]: Leaving directory '/build/reproducible-path/libselinux-3.9'
CFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libselinux-3.9=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-semantic-interposition -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY -DHAVE_REALLOCARRAY -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations" python3.13 -m pip install --prefix=/usr `test -n "/build/reproducible-path/libselinux-3.9/debian/tmp" && echo --root /build/reproducible-path/libselinux-3.9/debian/tmp --ignore-installed --no-deps` .
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Processing /build/reproducible-path/libselinux-3.9/src
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error
× installing build dependencies did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe291825940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe291a020d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe291a02350>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe291a025d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe291a02850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///build/reproducible-path/libselinux-3.9/src' when installing build dependencies
make[3]: *** [Makefile:201: install-pywrap] Error 1
make[3]: Leaving directory '/build/reproducible-path/libselinux-3.9/src'
make[2]: *** [Makefile:68: install-pywrap] Error 2
make[2]: Leaving directory '/build/reproducible-path/libselinux-3.9'
make[1]: *** [debian/rules:73: install-python-3.13] Error 2
make[1]: Leaving directory '/build/reproducible-path/libselinux-3.9'
make: *** [debian/rules:44: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
-- System Information:
Debian Release: 13.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.48+deb13-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
[toc] | [next] | [standalone]
| From | Luke Yasuda <jing@jing.rocks> |
|---|---|
| Date | 2025-11-21 13:40 +0100 |
| Subject | Bug#1121121: python-pip: causes other packages FTBFS |
| Message-ID | <LTyAF-eDff-1@gated-at.bofh.it> |
| In reply to | #1271042 |
Control: affects -1 1119155 + libselinux
[toc] | [prev] | [next] | [standalone]
| From | Luke Yasuda <jing@jing.rocks> |
|---|---|
| Date | 2025-11-21 14:30 +0100 |
| Subject | Bug#1121121: python-pip: causes other packages FTBFS |
| Message-ID | <LTzn3-eDMZ-9@gated-at.bofh.it> |
| In reply to | #1271046 |
Control: affects libselinux
[toc] | [prev] | [next] | [standalone]
| From | Luke Yasuda <jing@jing.rocks> |
|---|---|
| Date | 2025-11-21 14:30 +0100 |
| Subject | Bug#1121121: python-pip: causes other packages FTBFS |
| Message-ID | <LTzn3-eDMZ-15@gated-at.bofh.it> |
| In reply to | #1271046 |
Control: affects -1 = libselinux
[toc] | [prev] | [next] | [standalone]
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2025-11-21 22:20 +0100 |
| Message-ID | <LTGHU-eIBC-13@gated-at.bofh.it> |
| In reply to | #1271042 |
Control: reassign -1 src:libselinux Hi Luke (2025.11.21_12:07:21_+0000) I'm afraid this is because you are using a deprecated mode of pip. I don't think pip is particularly suited to the use that libselinux has for it. It's meant as an end-user package installer, not a build tool. These days there is a separate build tool, "build" that we use for our Python packaging. My recommendation would be to use that (via pybuild) wherever possible. If you look at your last build, you'll see: > DEPRECATION: Building 'selinux' using the legacy setup.py > bdist_wheel mechanism, which will be removed in a future version. > pip 25.3 will enforce this behaviour change. A possible replacement > is to use the standardized build interface by setting the > `--use-pep517` option, (possibly combined with > `--no-build-isolation`), or adding a `pyproject.toml` file to the > source tree of 'selinux'. Discussion can be found at > https://github.com/pypa/pip/issues/6334 That's the deprecation that was enacted now. If you want to continue to use pip, you can explicitly specify --use-pep517. You'll need --no-build-isolation too, to be able to do this without downloading code from the Internet. But... as I said, this isn't the recommended path. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web