Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1265898

Bug#1116866: python-odmantic: FTBFS with the nocheck build profile

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1116866: python-odmantic: FTBFS with the nocheck build profile
Date 2025-10-13 13:00 +0200
Message-ID <LForv-4ROG-5@gated-at.bofh.it> (permalink)
References <LAJZF-1Jrz-61@gated-at.bofh.it> <LAJZF-1Jrz-61@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

tags 1116866 patch
thanks

Hello. The attached patch would solve this issue.

I would fix it myself via team upload, but I can't even clone the
repository (see below).

I think the underlying problem is that docs/img/usage_fastapi_swagger.png
is not a real file but an external reference using GIT-LFS which still
points to github, probably because the salsa repo was created as a
filesystem snapshot of a lfs-enabled checkout.

I'm not sure this is even DFSG-compliant. Our source code is supposed
to be self-contained. I guess the right fix would involve dowloading
the released tar.gz from github:

https://github.com/art049/odmantic/archive/refs/tags/v1.0.2.tar.gz

where "usage_fastapi_swagger.png" is the real file, and then use
some +ds suffix for the new orig.tar.gz.

Thanks.

-------------------------------------------------------------------------------
$ debcheckout -a python-odmantic 
declared git repository at git@salsa.debian.org:python-team/packages/python-odmantic.git
git clone https://salsa.debian.org/python-team/packages/python-odmantic.git python-odmantic ...
Cloning into 'python-odmantic'...
remote: Enumerating objects: 331, done.
remote: Counting objects: 100% (331/331), done.
remote: Compressing objects: 100% (273/273), done.
remote: Total 331 (delta 61), reused 285 (delta 35), pack-reused 0 (from 0)
Receiving objects: 100% (331/331), 185.99 KiB | 300.00 KiB/s, done.
Resolving deltas: 100% (61/61), done.
Downloading docs/img/usage_fastapi_swagger.png (75 KB)
Error downloading object: docs/img/usage_fastapi_swagger.png (8b4ce24): Smudge error: Error downloading docs/img/usage_fastapi_swagger.png (8b4ce248fa26e05f17accc3bbadf995f5afb973fd0e6b50c2140fbcd49fec1d6): [8b4ce248fa26e05f17accc3bbadf995f5afb973fd0e6b50c2140fbcd49fec1d6] Object does not exist on the server or you don't have permissions to access it: [404] Object does not exist on the server or you don't have permissions to access it

Errors logged to '/tmp/tmp/python-odmantic/.git/lfs/logs/20251013T124014.427877425.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: docs/img/usage_fastapi_swagger.png: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

checkout failed (the command above returned a non-zero exit code)
-------------------------------------------------------------------------------

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-09-30 17:00 +0200
  Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-10-13 13:00 +0200
    Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Colin Watson <cjwatson@debian.org> - 2025-10-13 14:40 +0200
  Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Colin Watson <cjwatson@debian.org> - 2025-10-13 17:10 +0200
    Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-10-13 17:20 +0200

csiph-web