Project

General

Profile

Actions

Développement #114287

closed

Packaging cassé sur passage à Trixie

Added by Nicolas Roche about 1 month ago. Updated about 1 month ago.

Status:
Rejeté
Priority:
Normal
Assignee:
Target version:
-
Start date:
02 February 2026
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Suite de #114266.

https://jenkins.entrouvert.org/job/gitea/job/django-journal/job/main/10/console
15:26:28  + sudo -H -u eobuilder /usr/local/bin/eobuilder -d bookworm django-journal
...
15:26:35  dh clean --with python3 --buildsystem=pybuild
15:26:35     dh_auto_clean -O--buildsystem=pybuild
15:26:36  E: pybuild pybuild:128: cannot detect build system, please use --system option or set PYBUILD_SYSTEM env. variable

Actions #1

Updated by Nicolas Roche about 1 month ago

J'imagine parce que Jenkinsfile ne mentionne pas trixie (mais bookworm).

                    if (env.GIT_BRANCH == 'main' || env.GIT_BRANCH == 'origin/main') {
                        sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bookworm ${SHORT_JOB_NAME}" 
                    } else if (env.GIT_BRANCH.startsWith('hotfix/')) {
                        sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bookworm --branch ${env.GIT_BRANCH} --hotfix ${SHORT_JOB_NAME}" 

édit : non, le packaging fonctionne indépendamment de la version de Jenkins (via des VMs).

Actions #2

Updated by Nicolas Roche about 1 month ago

  • Status changed from Nouveau to Solution proposée
  • Assignee set to Nicolas Roche

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #3

Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Solution proposée to Solution validée
Actions #4

Updated by Nicolas Roche about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)

🤖 Pull request fusionnée :

Actions #5

Updated by Nicolas Roche about 1 month ago

  • Status changed from Résolu (à déployer) to Rejeté

Ça n'ai fait que repousser l'erreur :
https://jenkins.entrouvert.org/job/django-journal/2488/console

03:15:21  python3.11: can't open file '/var/tmp/eobuilder/django-journal-785680/django-journal-4.0.post2+g20fb3f3/setup.py': [Errno 2] No such file or directory

D'autant plus que distutils est à déprécier (#92574).
Je revert :

commit ed1eccd5946ce0d81806fe31ad4cad0e85bde11a (HEAD -> main)
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Feb 6 16:40:08 2026 +0100

    Revert "ci: force pbuilder to use distutils build system (#114287)" 

    This reverts commit 20fb3f3c90da6d3939d3b5bf348dc0c9531767f5.

Actions

Also available in: Atom PDF