Package: src:dbusada
Followup-For: Bug #897736

Hello.

Please consider the attached patches for dbusada.

You may want to make an upstream release including some of the Debian
patches.

The package currently fails during the test step with the following error.
I have already encountered a similar problem, and I am quite sure that
the cause is that ahven now uses Library_Interface.
The problem becomes visible with the '-z defs' linker option.
The build seems correct with DEB_BUILD_OPTIONS=nocheck.

gnatgcc runner.o b__runner.o DIR/obj/tests/arguments_tests.o 
DIR/obj/tests/service_tests.o DIR/obj/tests/types_tests.o DIR/obj/tests/utils.o 
DIR/obj/tests/config.o DIR/obj/tests/arguments_basic_tests.o 
DIR/obj/tests/arguments_container_tests.o DIR/lib/static/libdbusada.a 
-L/usr/lib/x86_64-linux-gnu/ -lahven -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 
-Wl,-z,defs -ldbus-1 -ldbus-glib-1 -lglib-2.0 -LDIR/obj/tests/ -LDIR/obj/tests/ 
-L/usr/lib/x86_64-linux-gnu/ada/adalib/ahven/ -LDIR/lib/static/ 
-L/usr/lib/gcc/x86_64-linux-gnu/8/adalib/ -shared-libgcc -lgnarl-8 -lgnat-8 
-lpthread -lrt -ldl -o runner
/usr/bin/ld: b__runner.o: in function `adainit':
./obj/tests/b__runner.adb:513: undefined reference to `ahven_compat_E'
/usr/bin/ld: ./obj/tests/b__runner.adb:513: undefined reference to 
`ahven_compat_E'
collect2: error: ld returned 1 exit status

Attachment: dbusada1.tar.gz
Description: application/gzip

Reply via email to