ahven 2.8-6 FTBFS causing other packages to wait for libahven11-dev

Bug #2000876 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ahven (Ubuntu)
Fix Released
Undecided
Unassigned
anet (Ubuntu)
Fix Released
Undecided
Unassigned
dbusada (Ubuntu)
Fix Released
Undecided
Unassigned
libalog (Ubuntu)
Fix Released
Undecided
Unassigned
pcscada (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

ahven 2.8-6 recently synced to Ubuntu Lunar [1] fails to build on amd64 and arm64 with core dumps:
x86_64-linux-gnu-gcc-12 perf_tester.o b__perf_tester.o /<<PKGBUILDDIR>>/obj-dynamic/obj/test/simple_listener.o /<<PKGBUILDDIR>>/obj-dynamic/obj/test/performance_tests.o -L/<<PKGBUILDDIR>>/obj-dynamic/stage/usr/lib/x86_64-linux-gnu/ -lahven -g -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined -Wl,--no-copy-dt-needed-entries -Wl,--no-allow-shlib-undefined -L/<<PKGBUILDDIR>>/obj-dynamic/obj/test/ -L/<<PKGBUILDDIR>>/obj-dynamic/obj/test/ -L/<<PKGBUILDDIR>>/obj-dynamic/stage/usr/lib/x86_64-linux-gnu/ada/adalib/ahven/ -L/usr/lib/gcc/x86_64-linux-gnu/12/adalib/ -static-libgcc -lgnarl -lgnat -lrt -lpthread -ldl -Wl,-rpath-link,/usr/lib/gcc/x86_64-linux-gnu/12//adalib -o /<<PKGBUILDDIR>>/obj-dynamic//perf_tester
./tester -c
make[3]: *** [/<<PKGBUILDDIR>>/gnat_linux/Makefile:29: check] Aborted (core dumped)

(https://launchpadlibrarian.net/643728866/buildlog_ubuntu-lunar-amd64.ahven_2.8-6_BUILDING.txt.gz)

This in turn cause other packages to wait for libahven11-dev which is the new name of the dev package available in the latest version. (Mainly filed to keep track of the affected packages to see when the issue is resolved)

I tried reproducing the issue on Debian Sid without problems, so I don't know what's causing the core dump and if it is related to the gnat-transition.

[1] https://launchpad.net/ubuntu/+source/ahven/2.8-6

Tags: ftbfs lunar
Revision history for this message
Simon Chopin (schopin) wrote :
Download full text (3.7 KiB)

To add a new breadcrumb to this investigation, I get the following stack trace:

#0 0x00007ffff795326b in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff78fcc46 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff78e37fc in abort () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x0000555555564ac4 in _Unwind_SetGR.cold ()
#4 0x000055555557a52b in __gcc_personality_v0 ()
#5 0x00007ffff78b7c64 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#6 0x00007ffff78b8321 in _Unwind_RaiseException () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#7 0x00007ffff7c3cc54 in ada.exceptions.exception_propagation.propagate_gcc_exception () from /lib/x86_64-linux-gnu/libgnat-12.so
#8 0x00007ffff7c3cc85 in ada.exceptions.exception_propagation.propagate_exception () from /lib/x86_64-linux-gnu/libgnat-12.so
#9 0x00007ffff7c3d763 in ada.exceptions.complete_and_propagate_occurrence () from /lib/x86_64-linux-gnu/libgnat-12.so
#10 0x00007ffff7c3d7b0 in __gnat_raise_exception () from /lib/x86_64-linux-gnu/libgnat-12.so
#11 0x00007ffff7faa651 in ahven.assert (condition=<optimized out>, message=...) at /usr/src/ahven-2.8-6/src/ahven.adb:26
#12 0x0000555555575486 in assertion_tests.assert_int_equal.constprop (actual=2, message=..., expected=1) at /usr/src/ahven-2.8-6/src/ahven.adb:33
#13 0x00005555555675fa in assertion_tests.test_assert_equal () at /usr/src/ahven-2.8-6/test/assertion_tests.adb:51
#14 0x00007ffff7f9ee0b in ahven.framework.run (command=..., t=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:806
#15 0x00007ffff7f9eece in ahven.framework.run_command.run_a_command () at /usr/src/ahven-2.8-6/src/ahven-framework.adb:371
#16 0x00007ffff7fa26ca in ahven.framework.run_command (command=..., info=..., timeout=0, listener=..., t=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:419
#17 0x00007ffff7fa35cd in ahven.framework.run_internal (t=..., listener=..., command=..., test_name=..., routine_name=..., timeout=0) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:485
#18 0x00007ffff7fa3a0a in ahven.framework.run.exec (<cmdO>=false, cmd=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:513
#19 ahven.framework.run.run_all (target=...) at /usr/src/ahven-2.8-6/src/ahven-slist.adb:100
#20 ahven.framework.run (t=..., listener=..., timeout=0) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:524
#21 0x00007ffff7fa10a3 in ahven.framework.execute.run_impl () at /usr/src/ahven-2.8-6/src/ahven-framework.adb:227
#22 ahven.framework.execute.execute_impl (test_object=..., listener_object=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:203
#23 0x00007ffff7fa1484 in ahven.framework.execute (t=..., listener=..., timeout=timeout@entry=0) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:232
#24 0x00007ffff7fa1554 in ahven.framework.run.execute_test (current=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:643
#25 ahven.framework.run.execute_static_cases (target=...) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:116
#26 ahven.framework.run (t=..., listener=..., timeout=0) at /usr/src/ahven-2.8-6/src/ahven-framework.adb:657
#27 0x00007ffff7fa10a3 in ahven.framework.execute.run_impl () at /usr/src/ahven-2.8-6/src/ahven-framework.adb:227
#28 ahve...

Read more...

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Based on the changelog, turns out to be an LTO issue https://bugs.launchpad.net/ubuntu/+source/ahven/2.8-6ubuntu1

Changed in ahven (Ubuntu):
status: New → Fix Committed
Changed in anet (Ubuntu):
status: New → Fix Committed
Changed in dbusada (Ubuntu):
status: New → Fix Committed
Changed in libalog (Ubuntu):
status: New → Fix Committed
Changed in pcscada (Ubuntu):
status: New → Fix Committed
Changed in ahven (Ubuntu):
status: Fix Committed → Fix Released
Changed in anet (Ubuntu):
status: Fix Committed → Fix Released
Changed in dbusada (Ubuntu):
status: Fix Committed → Fix Released
Changed in libalog (Ubuntu):
status: Fix Committed → Fix Released
Changed in pcscada (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.