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


Groups > linux.debian.maint.python > #14605 > unrolled thread

Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command

Started byHelmut Grohne <helmut@subdivi.de>
First post2022-11-05 11:30 +0100
Last post2022-11-19 09:30 +0100
Articles 5 — 5 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command Helmut Grohne <helmut@subdivi.de> - 2022-11-05 11:30 +0100
    Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command Stefano Rivera <stefanor@debian.org> - 2022-11-13 09:10 +0100
      Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command Adrian Bunk <bunk@debian.org> - 2022-11-19 01:10 +0100
        Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command Bo YU <tsu.yubo@gmail.com> - 2022-11-19 06:10 +0100
          Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command stefanor@debian.org - 2022-11-19 09:30 +0100

#14605 — Bug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command

FromHelmut Grohne <helmut@subdivi.de>
Date2022-11-05 11:30 +0100
SubjectBug#1022526: python-ssdeep: FTBFS: distutils.errors.DistutilsClassError: command class <class '__main__.CFFIBuild'> must subclass Command
Message-ID<Foorn-1yeJ-3@gated-at.bofh.it>
Control: tags -1 + upstream

On Sun, Oct 23, 2022 at 03:37:36PM +0200, Lucas Nussbaum wrote:
> Source: python-ssdeep
> Version: 3.1+dfsg-3
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas@debian.org
> Usertags: ftbfs-20221023 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

At the time when I introduced python-ssdeep to Debian, fuzzy hashing was
not a thing. tlsh didn't exist. Now it is there and tlsh seems
technically supperior albeit incompatible. So unless there is some
compatibility reason for keeping ssdeep, I think it should be RoQAed.

And no, updating it to 3.4 does not fix the ftbfs.

Would someone handle dnstwist, which is the only remaining dependency?

Helmut

[toc] | [next] | [standalone]


#14621

FromStefano Rivera <stefanor@debian.org>
Date2022-11-13 09:10 +0100
Message-ID<FrgdY-3ou4-3@gated-at.bofh.it>
In reply to#14605
Hi Helmut (2022.11.04_11:36:41_+0200)
> And no, updating it to 3.4 does not fix the ftbfs.

Updating it to 3.4.1 might. It includes this commit:
https://github.com/DinoTools/python-ssdeep/commit/fce02106c07ff56a84097dec0df02fb00ef69dc7
which moves the setuptools import above the first distutils import,
which should resolve this issue.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [next] | [standalone]


#14625

FromAdrian Bunk <bunk@debian.org>
Date2022-11-19 01:10 +0100
Message-ID<FtjAJ-4HnU-7@gated-at.bofh.it>
In reply to#14621
Control: tags -1 fixed-upstream

On Sun, Nov 13, 2022 at 10:04:04AM +0200, Stefano Rivera wrote:
> Hi Helmut (2022.11.04_11:36:41_+0200)
> > And no, updating it to 3.4 does not fix the ftbfs.
> 
> Updating it to 3.4.1 might. It includes this commit:
> https://github.com/DinoTools/python-ssdeep/commit/fce02106c07ff56a84097dec0df02fb00ef69dc7
> which moves the setuptools import above the first distutils import,
> which should resolve this issue.

I can confirm that 3.4.1 does fix the build
(but I am reluctant to update it myself).

> SR

cu
Adrian

[toc] | [prev] | [next] | [standalone]


#14626

FromBo YU <tsu.yubo@gmail.com>
Date2022-11-19 06:10 +0100
Message-ID<Ftoh3-4KpL-1@gated-at.bofh.it>
In reply to#14625

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

Hi,
On Sat, Nov 19, 2022 at 02:06:04AM +0200, Adrian Bunk wrote:
>Control: tags -1 fixed-upstream
>
>On Sun, Nov 13, 2022 at 10:04:04AM +0200, Stefano Rivera wrote:
>> Hi Helmut (2022.11.04_11:36:41_+0200)
>> > And no, updating it to 3.4 does not fix the ftbfs.
>>
>> Updating it to 3.4.1 might. It includes this commit:
>> https://github.com/DinoTools/python-ssdeep/commit/fce02106c07ff56a84097dec0df02fb00ef69dc7
>> which moves the setuptools import above the first distutils import,
>> which should resolve this issue.
>
>I can confirm that 3.4.1 does fix the build
>(but I am reluctant to update it myself).

Is it ok to update for me?
I have built it based on 3.4.1:
https://salsa.debian.org/python-team/packages/python-ssdeep/-/tree/debian/main/

One question:
If I put the packahe under Debian Python team, should to change
maintainer to DPT from QA team?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952840


-- 
Regards,
--
   Bo YU

[toc] | [prev] | [next] | [standalone]


#14627

Fromstefanor@debian.org
Date2022-11-19 09:30 +0100
Message-ID<FtreV-4Msr-1@gated-at.bofh.it>
In reply to#14626
Hi Bo (2022.11.19_05:05:19_+0000)
> One question:
> If I put the packahe under Debian Python team, should to change
> maintainer to DPT from QA team?

Yes.
And if it's in the Python Team it needs a human maintainer/uploader too.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web