[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1054757: blends: FTBFS: make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1



Hi Andreas,

yes: the tests for the Python package fail because they depend on which packages are in the astro-education task. Specifically, the "starplot" package was removed from Debian after Bookworm.

I now updated the debian-astro Blends package to reflect the package changes after Bookworm. It needs to migrate to testing (because the "testing" list is used in the tests, as the whole blends machinery is based on "testing"), and then I will upload a blends-dev package with the tests fixed.

astro-education evolves rather slowly, that's why I have chosen this one for the test.

Cheers

Ole

On 01.11.23 10:29, Andreas Tille wrote:
Hi,

any idea what might be wrong here?

Kind regards
     Andreas.

Am Fri, Oct 27, 2023 at 09:29:30PM +0200 schrieb Lucas Nussbaum:
Source: blends
Version: 0.7.5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pytest-3 --doctest-modules
============================= test session starts ==============================
platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
collected 8 items

blends.py ....F..F                                                       [100%]

=================================== FAILURES ===================================
____________________ [doctest] blends.Task.fix_dependencies ____________________
469         celestia-gnome | celestia-glut
470         starplot
471         gravit
472         >>> for dep in task.suggests:
473         ...     print(dep.rawstr)
474         sunclock
475         xtide
476         >>> task += apt.Cache()
477         >>> missing = task.fix_dependencies()
478         >>> for dep in task.recommends:
Expected:
     starplot
     gravit
Got:
     gravit

/<<PKGBUILDDIR>>/blends.py:478: DocTestFailure
_________________________ [doctest] blends.Task.update _________________________
434         Instead of using ``update()``, also the ``+=`` operator can be used:
435
436         >>> import apt
437         >>> with open('education') as fp:
438         ...     task = Task('debian-astro', 'education', fp)
439         >>> dep = task.recommends[1][0]
440         >>> print(dep.name + ": ", dep.summary)
441         starplot:  None
442         >>> task += apt.Cache()
443         >>> print(dep.name + ": ", dep.summary)
Expected:
     starplot:  3-dimensional perspective star map viewer
Got:
     starplot:  None

/<<PKGBUILDDIR>>/blends.py:443: DocTestFailure
=========================== short test summary info ============================
FAILED blends.py::blends.Task.fix_dependencies
FAILED blends.py::blends.Task.update
========================= 2 failed, 6 passed in 0.95s ==========================
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/blends_0.7.5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.





Reply to: