Source: khal
Version: 1:0.10.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230113 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p debian/tmp/locale/
> localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
> localedef -f UTF-8 -i de_DE ./debian/tmp/locale/de_DE.UTF-8/
> localedef -f UTF-8 -i cs_CZ ./debian/tmp/locale/cs_CZ.UTF-8/
> localedef -f UTF-8 -i el_GR ./debian/tmp/locale/el_GR.UTF-8/
> LOCPATH=/<<PKGBUILDDIR>>/debian/tmp/locale/ LC_ALL=en_US.UTF-8 dh_auto_test
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_khal/build;
> python3.10 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 310 items
>
> tests/backend_test.py .............................. [
> 9%]
> tests/cal_display_test.py ........x [
> 12%]
> tests/cli_test.py ..........xX.X........................... [
> 25%]
> tests/configwizard_test.py . [
> 26%]
> tests/controller_test.py ............ [
> 30%]
> tests/event_test.py ...............................F.................... [
> 46%]
> ... [
> 47%]
> tests/icalendar_test.py ...... [
> 49%]
> tests/khalendar_test.py ............................. [
> 59%]
> tests/khalendar_utils_test.py ......................................... [
> 72%]
> tests/parse_datetime_test.py ........................................... [
> 86%]
> ..... [
> 87%]
> tests/settings_test.py ............ [
> 91%]
> tests/terminal_test.py ... [
> 92%]
> tests/utils_test.py ........ [
> 95%]
> tests/vdir_test.py xx.. [
> 96%]
> tests/vtimezone_test.py ..F [
> 97%]
> tests/ui/test_calendarwidget.py ... [
> 98%]
> tests/ui/test_editor.py .... [
> 99%]
> tests/ui/test_widgets.py .
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________________ test_event_no_dst
> _______________________________
>
> def test_event_no_dst():
> """test the creation of a corect VTIMEZONE for timezones with no
> dst"""
> event_no_dst = _get_text('event_no_dst')
> cal_no_dst = _get_text('cal_no_dst')
> event = Event.fromString(event_no_dst, calendar='foobar',
> locale=LOCALE_BOGOTA)
> if version.parse(pytz.__version__) > version.Version('2017.1'):
> cal_no_dst = cal_no_dst.replace(
> 'TZNAME:COT',
> 'RDATE:20380118T221407\r\nTZNAME:-05'
> )
>
> > assert normalize_component(event.raw) ==
> > normalize_component(cal_no_dst)
> E AssertionError: assert ('VCALENDAR',...enset())}))})) ==
> ('VCALENDAR',...enset())}))}))
> E At index 2 diff: frozenset({('VTIMEZONE',
> b'BEGIN:VTIMEZONE\r\nTZID:America/Bogota\r\nEND:VTIMEZONE\r\n',
> frozenset({('STANDARD',
> b'BEGIN:STANDARD\r\nDTSTART;VALUE=DATE-TIME:19930206T230000\r\nRDATE:20380118T221407\r\nTZNAME:-05\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\n',
> frozenset())})), ('VEVENT', b'BEGIN:VEVENT\r\nSUMMARY:An
> Event\r\nDTSTART;TZID=America/Bogota;VALUE=DATE-TIME:20140409T093000\r\nDTEND;TZID=America/Bogota;VALUE=DATE-TIME:20140409T103000\r\nDTSTAMP;VALUE=DATE-TIME:20140401T234817Z\r\nUID:event_no_dst\r\nEND:VEVENT\r\n',
> frozenset())...
> E
> E ...Full output truncated (2 lines hidden), use '-vv' to show
>
> tests/event_test.py:354: AssertionError
> _________________________________ test_bogota
> __________________________________
>
> def test_bogota():
> vbogota = [b'BEGIN:VTIMEZONE',
> b'TZID:America/Bogota',
> b'BEGIN:STANDARD',
> b'DTSTART;VALUE=DATE-TIME:19930403T230000',
> b'TZNAME:COT',
> b'TZOFFSETFROM:-0400',
> b'TZOFFSETTO:-0500',
> b'END:STANDARD',
> b'END:VTIMEZONE',
> b'']
> if version.parse(pytz.__version__) > version.Version('2017.1'):
> vbogota[4] = b'TZNAME:-05'
> vbogota.insert(4, b'RDATE:20380118T221407')
>
> > assert create_timezone(bogota, atime, atime).to_ical().split(b'\r\n')
> > == vbogota
> E AssertionError: assert [b'BEGIN:VTIM...AME:-05', ...] ==
> [b'BEGIN:VTIM...AME:-05', ...]
> E At index 3 diff: b'DTSTART;VALUE=DATE-TIME:19930206T230000' !=
> b'DTSTART;VALUE=DATE-TIME:19930403T230000'
> E Use -v to get more diff
>
> tests/vtimezone_test.py:82: AssertionError
> =========================== short test summary info
> ============================
> FAILED tests/event_test.py::test_event_no_dst - AssertionError: assert
> ('VCAL...
> FAILED tests/vtimezone_test.py::test_bogota - AssertionError: assert
> [b'BEGIN...
> ============= 2 failed, 302 passed, 4 xfailed, 2 xpassed in 6.21s
> ==============
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_khal/build; python3.10 -m pytest tests
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_khal/build;
> python3.11 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 310 items
>
> tests/backend_test.py .............................. [
> 9%]
> tests/cal_display_test.py ........x [
> 12%]
> tests/cli_test.py ..........xX.X........................... [
> 25%]
> tests/configwizard_test.py . [
> 26%]
> tests/controller_test.py ............ [
> 30%]
> tests/event_test.py ...............................F.................... [
> 46%]
> ... [
> 47%]
> tests/icalendar_test.py ...... [
> 49%]
> tests/khalendar_test.py ............................. [
> 59%]
> tests/khalendar_utils_test.py ......................................... [
> 72%]
> tests/parse_datetime_test.py ........................................... [
> 86%]
> ..... [
> 87%]
> tests/settings_test.py ............ [
> 91%]
> tests/terminal_test.py ... [
> 92%]
> tests/utils_test.py ........ [
> 95%]
> tests/vdir_test.py xx.. [
> 96%]
> tests/vtimezone_test.py ..F [
> 97%]
> tests/ui/test_calendarwidget.py ... [
> 98%]
> tests/ui/test_editor.py .... [
> 99%]
> tests/ui/test_widgets.py .
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________________ test_event_no_dst
> _______________________________
>
> def test_event_no_dst():
> """test the creation of a corect VTIMEZONE for timezones with no
> dst"""
> event_no_dst = _get_text('event_no_dst')
> cal_no_dst = _get_text('cal_no_dst')
> event = Event.fromString(event_no_dst, calendar='foobar',
> locale=LOCALE_BOGOTA)
> if version.parse(pytz.__version__) > version.Version('2017.1'):
> cal_no_dst = cal_no_dst.replace(
> 'TZNAME:COT',
> 'RDATE:20380118T221407\r\nTZNAME:-05'
> )
>
> > assert normalize_component(event.raw) ==
> > normalize_component(cal_no_dst)
> E AssertionError: assert ('VCALENDAR',...enset())}))})) ==
> ('VCALENDAR',...enset())}))}))
> E At index 2 diff: frozenset({('VTIMEZONE',
> b'BEGIN:VTIMEZONE\r\nTZID:America/Bogota\r\nEND:VTIMEZONE\r\n',
> frozenset({('STANDARD',
> b'BEGIN:STANDARD\r\nDTSTART;VALUE=DATE-TIME:19930206T230000\r\nRDATE:20380118T221407\r\nTZNAME:-05\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\n',
> frozenset())})), ('VEVENT', b'BEGIN:VEVENT\r\nSUMMARY:An
> Event\r\nDTSTART;TZID=America/Bogota;VALUE=DATE-TIME:20140409T093000\r\nDTEND;TZID=America/Bogota;VALUE=DATE-TIME:20140409T103000\r\nDTSTAMP;VALUE=DATE-TIME:20140401T234817Z\r\nUID:event_no_dst\r\nEND:VEVENT\r\n',
> frozenset())...
> E
> E ...Full output truncated (2 lines hidden), use '-vv' to show
>
> tests/event_test.py:354: AssertionError
> _________________________________ test_bogota
> __________________________________
>
> def test_bogota():
> vbogota = [b'BEGIN:VTIMEZONE',
> b'TZID:America/Bogota',
> b'BEGIN:STANDARD',
> b'DTSTART;VALUE=DATE-TIME:19930403T230000',
> b'TZNAME:COT',
> b'TZOFFSETFROM:-0400',
> b'TZOFFSETTO:-0500',
> b'END:STANDARD',
> b'END:VTIMEZONE',
> b'']
> if version.parse(pytz.__version__) > version.Version('2017.1'):
> vbogota[4] = b'TZNAME:-05'
> vbogota.insert(4, b'RDATE:20380118T221407')
>
> > assert create_timezone(bogota, atime, atime).to_ical().split(b'\r\n')
> > == vbogota
> E AssertionError: assert [b'BEGIN:VTIM...AME:-05', ...] ==
> [b'BEGIN:VTIM...AME:-05', ...]
> E At index 3 diff: b'DTSTART;VALUE=DATE-TIME:19930206T230000' !=
> b'DTSTART;VALUE=DATE-TIME:19930403T230000'
> E Use -v to get more diff
>
> tests/vtimezone_test.py:82: AssertionError
> =========================== short test summary info
> ============================
> FAILED tests/event_test.py::test_event_no_dst - AssertionError: assert
> ('VCAL...
> FAILED tests/vtimezone_test.py::test_bogota - AssertionError: assert
> [b'BEGIN...
> ============= 2 failed, 302 passed, 4 xfailed, 2 xpassed in 5.80s
> ==============
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_khal/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/khal_0.10.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&[email protected]&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.