aurupdater

python2

Build times (auto-updated)


2026-11-04: investigated AUR comment 1088860 re: test_argparse – doesn’t reproduce here

AUR comment 1088860 (boomshalek, 2026-10-22) reported having to add test_argparse to check()’s -x exclusion list to get their build to complete. Investigated rather than blindly applying it (per the project’s general “verify before acting on an AUR report” convention):

  1. Ran test_argparse directly via the already-installed python2 2.7.18-19 on this host (TERM=xterm TZ=UTC python2 -m test.regrtest -v test_argparse) – 1629 subtests, all ok, under a second.
  2. To rule out any host-vs-chroot environment difference, also did a full from-scratch verification build: rsynced arch/maintained/python2/ (PKGBUILD untouched, no edits) into a scratch dir outside /data/INSTALL (/data/INSTALL/python2 already holds a real build, don’t clobber it), then ran the real chroot build directly via arch/scripts/archlinuxaba-x86_64-build (our project’s archbuild wrapper, needed so the openssl-1.1 private-repo dependency resolves) from inside that scratch dir. check() passed in full – test_argparse specifically ran 1630 “… ok” assertions, zero failures, same as the quick check.

Conclusion: does not reproduce in our build environment (chroot or host), on either count. Not adding test_argparse to the exclusion list – the reporter’s failure is almost certainly environment-specific to their own build setup (different libc/toolchain, non-Arch host, or a locale/terminal- width quirk in argparse’s own help-formatting tests), not a real packaging defect here. No PKGBUILD change made. Worth asking the reporter what environment they built in, if a reply is sent.

2026-08-17: arch=() extended to i686 + pentium4

2026-09-11: dead Gentoo-patches URL fixed (pkgrel 17 -> 18)

AUR repeatedly flagged this (2026-08-21, then again 2026-09-07 “Gentoo source is dead”) – source=()’s https://dev.gentoo.org/~mgorny/dist/python/python-gentoo-patches-2.7.18_p16.tar.xz is a real 404 (confirmed via curl -I). Our own builds kept succeeding anyway only because an untracked, already-downloaded copy of that tarball was sitting directly in this pkgdir – makepkg reused the cache and never actually hit the dead URL. That cache’s real sha512 already matched the pinned checksum (I initially mismapped which array index belonged to which source file and thought there was a checksum mismatch too – there wasn’t; sha512sums[2] is mtime-workaround.patch, sha512sums[3] is the gentoo-patches file, and the latter was already correct).

Fix: swapped the URL to the AUR-community-confirmed working mirror, https://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/pub/proj/python/patchsets/2.7/python-gentoo-patches-2.7.18_p16.tar.xz (verified live, byte-identical content – same sha512 as before, no checksum change needed). Pure packaging fix -> pkgrel 17 -> 18, pkgver unchanged. Also proactively ran scripts/update_pgp_key_dir.sh first (exported Benjamin Peterson’s release key to keys/pgp/) since one AUR comment reported an “unknown public key” failure for it, even though this host’s own GPG keyring already had the key – the remote aarch64 board wouldn’t have, so covered that case too.

Rebuilt all 4 archs. x86_64/i686/pentium4 built and published cleanly at pkgrel=18. aarch64 (remote, eurobuild14) failed on an unrelated, pre-existing issue: target not found: openssl-1.1 – that arch’s repo doesn’t carry openssl-1.1 at all, nothing to do with this session’s fix, not investigated further.

Also used this rebuild to verify the new remote-build parallelism labeling (see TOOLING_NOTES.md’s 2026-09-11 entry) – not directly visible here since aarch64 failed before reporting a duration, but confirmed separately via gconf’s rebuild the same session.

2026-09-21: Gentoo patches URL switched to official distfiles.gentoo.org (pkgrel 18 -> 19)

AUR comment 1085901 (ultdev, 2026-09-20) asked to point the Gentoo patches URL at an official Gentoo source instead of the mirrorservice.org mirror adopted 2026-09-11. Verified https://distfiles.gentoo.org/distfiles/2d/python-gentoo-patches-2.7.18_p16.tar.xz returns 200 and is byte-identical (same pinned sha512) to the mirror URL – pure URL swap, no checksum change. pkgrel 18 -> 19, pkgver unchanged.

Rebuilt all 4 archs. x86_64/i686/pentium4 built and published cleanly at pkgrel=19 (the “Failed to build these modules: linuxaudiodev” noise during make is pre-existing/expected – an optional stdlib module Python itself skips when OSS audio headers aren’t present, not a build failure). aarch64 (remote, eurobuild14) failed on infrastructure, not packaging: “NBD server eurobuild3 is not reachable (needed by eurobuild14 for /data)” – a board-storage-dependency issue, unrelated to this fix. Not investigated further this session; retry next time eurobuild14 is used.

No AUR reply posted (this project’s tooling never posts to AUR – check_aur_feedback.sh – so that’s on the user to do manually if desired; suggested reply text: “Switched to the official distfiles.gentoo.org mirror in pkgrel 19, thanks!”).

Re-checked 2026-09-24 (FEEDBACK.txt sweep): no new comments since, ultdev’s report stays resolved by the pkgrel 19 fix above.

2026-09-28: aarch64 finally published (was blocked on infrastructure since 2026-09-11)

First successful aarch64 build/publish for this package – the prior two attempts (2026-09-11, 2026-09-21) both failed on infrastructure, not packaging (see above). This attempt initially failed too: error: target not found: openssl-1.1 even though openssl-1.1 had just been published for aarch64 earlier the same session – the known stale-local-sync-db pattern (TOOLING_NOTES.md’s 2026-09-06 entry). Fixed with ssh build@eurobuild14 sudo pacman -Sy, then retried clean.

Full build (with PGO run_profile_task, hence the ~1h duration at MAKEFLAGS=-j1 on a weak board) completed and published at the existing pkgrel=19, x86_64/i686/pentium4’s version, no rebuild of those needed. The ERROR: ld.so: object 'libfakeroot.so' ... cannot be preloaded lines that show up dozens of times in the build log are harmless noise from Python’s own test suite spawning subprocesses that don’t inherit fakeroot’s LD_PRELOAD – not a real error, build and check() completed and produced a valid package regardless.

All four archs (x86_64/i686/pentium4/aarch64) now published at pkgrel=19 for the first time since arch=() was extended back on 2026-08-17.