FTBFS gitsome 0.8.0+ds-9 fails to build without python3-six

Bug #2067196 reported by Hans Joachim Desserud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitsome (Ubuntu)
New
Undecided
Unassigned

Bug Description

gitsome 0.8.0+ds-9 was synced from Debian to Ubuntu Oracular but fails to build with the following error message:

ModuleNotFoundError: No module named 'six'

(https://launchpadlibrarian.net/730825470/buildlog_ubuntu-oracular-amd64.gitsome_0.8.0+ds-9_BUILDING.txt.gz)

Interestingly enough, the same package builds successfully in Debian Sid. One notable difference is that python3-six is installed as part of the build:
Get: 102 http://deb.debian.org/debian unstable/main amd64 python3-six all 1.16.0-6 [16.3 kB]
(https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gitsome.html)

I could not find a corresponding line in the build log for Ubuntu. I am not sure why, but adding the build dependency manually fixes the build.

The question is how to address this. I will add a debdiff below which resolves the issue to make gitsome build successfully. Normally the patch should be forwarded or applied to Debian, though for now this only seems to be a problem in Ubuntu. Also, it looks Debian is pulling in python3-six as a transitive dependency but I don't know how to drill down where it comes from to see the actual delta between Debian and Ubuntu causing this issue.

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: gitsome (not installed)
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun May 26 10:47:19 2024
InstallationDate: Installed on 2024-04-26 (30 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gitsome
UpgradeStatus: Upgraded to oracular on 2024-05-26 (0 days ago)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :
tags: added: ftbfs patch
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ftbfs.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

Revision history for this message
Miriam España Acebal (mirespace) wrote :

Hi Hans,

I recently fixed a similar issue for python-chemspipy package [1]. Sharing here in case it helps.

Yes, the needed fix is adding python3-six as you did. Why?

Summarizing, the key is python3-urllib3: we're syncing it from experimental, not from sid/trixie, and this latest version from experimental doesn't have the six module embedded as it was used to have (check changelog [2]).

python3-urllib3 comes from python3-request that comes from python3-pytest (as Build dependency in gitsome/d/control).

[1] https://code.launchpad.net/~mirespace/ubuntu/+source/python-chemspipy/+git/python-chemspipy/+merge/466962
[2] https://launchpad.net/ubuntu/+source/python-urllib3/2.0.7-1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.