#1152568 ppft: FTBFS: AttributeError: 'code' object has no attribute 'co_lnotab'. Did you mean '.co_linetable' instead of '.co_lnotab'?

Package:
src:ppft
Source:
src:ppft
Submitter:
Santiago Vila
Date:
2026-10-30 11:24:02 UTC
Severity:
normal
Tags:
#1152568#5
Date:
2026-10-30 11:23:01 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ppft, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    f(self, obj)  # Call unbound method with explicit self
    ~^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dill/_dill.py", line 1191, in save_code
    obj.co_lnotab, # for < python 3.10 [not counted in args]
    ^^^^^^^^^^^^^
AttributeError: 'code' object has no attribute 'co_lnotab'. Did you mean '.co_linetable' instead of '.co_lnotab'?
when serializing tuple item 0
when serializing function reconstructor arguments
when serializing dict item '__init__'
when serializing tuple item 3
when serializing type reconstructor arguments
when serializing PartialSum class
when serializing PartialSum object
when serializing tuple item 0
F
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_ppft/build; {interpreter} -m ppft.tests
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ppft/build; python3.14 -m ppft.tests
Usage: python sum_primes.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system
Starting pp with 2 workers
Sum of primes below 100 is 1060
Sum of primes below 100000 is 454396537
Sum of primes below 100100 is 454996777
Sum of primes below 100200 is 455898156
Sum of primes below 100300 is 456700218
Sum of primes below 100400 is 457603451
Sum of primes below 100500 is 458407033
Sum of primes below 100600 is 459412387
Sum of primes below 100700 is 460217613
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
         9 |        100.00 |       0.7660 |     0.085107 | local
Time elapsed since server creation 0.3890414237976074
0 active tasks, 2 cores

.Usage: python reverse_md5.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system

Starting ppft with 2 workers
hash = 48ae4d2d384dcc470e471f4169daa96a
Reverse md5 for 48ae4d2d384dcc470e471f4169daa96a is 1829182
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
       120 |        100.00 |       1.2052 |     0.010043 | local
Time elapsed since server creation 0.6219265460968018
2 active tasks, 2 cores

.Usage: python dynamic_ncpus.py

Starting pp with 1 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  1.055776834487915 s

Starting pp with 2 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  0.5781733989715576 s

Starting pp with 4 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  0.5333738327026367 s

Starting pp with 8 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  0.5310804843902588 s

Starting pp with 16 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  0.536895751953125 s

Starting pp with 1 workers
Partial sum is 0.693147205559988 | diff = -2.5000042702671976e-08
Time elapsed:  1.0665621757507324 s

Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
       384 |        100.00 |      16.6950 |     0.043476 | local
Time elapsed since server creation 5.038665533065796
0 active tasks, 1 cores

.Usage: python sum_primes.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system

Starting pp with 2 workers
Sum of primes below 100 is 1060
Sum of primes below 100000 is 454396537
Sum of primes below 100100 is 454996777
Sum of primes below 100200 is 455898156
Sum of primes below 100300 is 456700218
Sum of primes below 100400 is 457603451
Sum of primes below 100500 is 458407033
Sum of primes below 100600 is 459412387
Sum of primes below 100700 is 460217613
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
         9 |        100.00 |       0.7368 |     0.081868 | local
Time elapsed since server creation 0.3760054111480713
0 active tasks, 2 cores

.Usage: python callback.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system

Starting pp with 2 workers
Partial sum is 0.6931472055599898 | diff = -2.5000044479028816e-08
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
       128 |        100.00 |       1.1884 |     0.009284 | local
Time elapsed since server creation 0.6190457344055176
0 active tasks, 2 cores

.Usage: python quicksort.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system

Starting pp with 2 workers
first 30 numbers in increasing order: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
        32 |        100.00 |       2.6811 |     0.083784 | local
Time elapsed since server creation 1.6824471950531006
0 active tasks, 2 cores

.Usage: python auto_diff.py [ncpus]
    [ncpus] - the number of workers to run in parallel,
    if omitted it will be set to the number of processors in the system

Starting pp with 2 workers
t_log(1.000000) = 0.000000, t_log'(1.000000) = 1.000000
t_log(1.031250) = 0.030772, t_log'(1.031250) = 0.969697
t_log(1.062500) = 0.060625, t_log'(1.062500) = 0.941176
t_log(1.093750) = 0.089612, t_log'(1.093750) = 0.914286
t_log(1.125000) = 0.117783, t_log'(1.125000) = 0.888889
t_log(1.156250) = 0.145182, t_log'(1.156250) = 0.864865
t_log(1.187500) = 0.171850, t_log'(1.187500) = 0.842105
t_log(1.218750) = 0.197826, t_log'(1.218750) = 0.820513
t_log(1.250000) = 0.223144, t_log'(1.250000) = 0.800000
t_log(1.281250) = 0.247836, t_log'(1.281250) = 0.780488
t_log(1.312500) = 0.271934, t_log'(1.312500) = 0.761905
t_log(1.343750) = 0.295464, t_log'(1.343750) = 0.744186
t_log(1.375000) = 0.318454, t_log'(1.375000) = 0.727273
t_log(1.406250) = 0.340927, t_log'(1.406250) = 0.711111
t_log(1.437500) = 0.362905, t_log'(1.437500) = 0.695652
t_log(1.468750) = 0.384412, t_log'(1.468750) = 0.680851
t_log(1.500000) = 0.405465, t_log'(1.500000) = 0.666667
t_log(1.531250) = 0.426084, t_log'(1.531250) = 0.653061
t_log(1.562500) = 0.446287, t_log'(1.562500) = 0.640000
t_log(1.593750) = 0.466090, t_log'(1.593750) = 0.627451
t_log(1.625000) = 0.485508, t_log'(1.625000) = 0.615385
t_log(1.656250) = 0.504556, t_log'(1.656250) = 0.603774
t_log(1.687500) = 0.523248, t_log'(1.687500) = 0.592593
t_log(1.718750) = 0.541597, t_log'(1.718750) = 0.581818
t_log(1.750000) = 0.559616, t_log'(1.750000) = 0.571429
t_log(1.781250) = 0.577315, t_log'(1.781250) = 0.561404
t_log(1.812500) = 0.594707, t_log'(1.812500) = 0.551724
t_log(1.843750) = 0.611802, t_log'(1.843750) = 0.542373
t_log(1.875000) = 0.628609, t_log'(1.875000) = 0.533333
t_log(1.906250) = 0.645138, t_log'(1.906250) = 0.524590
t_log(1.937500) = 0.661398, t_log'(1.937500) = 0.516129
t_log(1.968750) = 0.677399, t_log'(1.968750) = 0.507937
Job execution statistics:
 job count | % of all jobs | job time sum | time per job | job server
        32 |        100.00 |       0.7833 |     0.024477 | local
Time elapsed since server creation 0.4082014560699463
0 active tasks, 2 cores

.
dh_auto_test: error: pybuild --test -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------