[Pkg-ayatana-devel] Bug#895444: Bug#895444: Bug#895444: Uses deprecated NetworkManager.pc
Michael Biebl
biebl at debian.org
Mon Apr 16 17:49:13 BST 2018
Am 16.04.2018 um 11:32 schrieb Mike Gabriel:
> Hi Michael,
>
> On Sa 14 Apr 2018 20:58:01 CEST, Mike Gabriel wrote:
>
>> Hi,
>>
>> On Sa 14 Apr 2018 01:04:15 CEST, Michael Biebl wrote:
>>
>>> Control: severity -1 serious
>>>
>>> Hi,
>>>
>>> I intend to upload a new version of network-manager soonish which will
>>> drop libnm-glib/libnm-util. I'm thus bumping this issue to RC in
>>> preparation for that.
>>>
>>> Regards,
>>> Michael
>>
>> Ouch (libqtdbusmock). I presume that I have to patch this for Debian
>> instead of waiting for upstream to fix this.
>>
>> Noted. Let's see what I can find...
>> Mike
>
> I did the porting work (patch CMakeLists.txt and B-D on libnm-dev).
>
> However, I get a fancy FTBFS, that may be caused by GLib rather then
> libqtdbusmock itself:
>
> ```
> cd
> /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu/src/libqtdbusmock
> && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NO_DEBUG
> -DQT_TESTCASE_BUILDDIR=\"/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu\"
> -DQT_TESTLIB_LIB -Dqtdbusmock_EXPORTS
> -I/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu/src/libqtdbusmock
> -I/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src/libqtdbusmock
> -I/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu/src/libqtdbusmock/qtdbusmock_autogen/include
> -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem
> /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/libqtdbustest-1
> -I/usr/include/libnm -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src
> -I/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu/src -g
> -O2 -fdebug-prefix-map=/<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden
> -fPIC -std=c++11 -fno-permissive -pedantic -Wall -Wextra -fPIC
> -std=gnu++11 -o CMakeFiles/qtdbusmock.dir/DBusMock.cpp.o -c
> /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src/libqtdbusmock/DBusMock.cpp
>
> In file included from
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:49:0,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtDBus/qtdbusglobal.h:44,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtDBus/qdbusconnection.h:44,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtDBus/QDBusConnection:1,
> from
> /usr/include/libqtdbustest-1/libqtdbustest/DBusService.h:22,
> from
> /usr/include/libqtdbustest-1/libqtdbustest/DBusTestRunner.h:19,
> from
> /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src/libqtdbusmock/DBusMock.h:21,
>
> from
> /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src/libqtdbusmock/DBusMock.cpp:19:
>
> /usr/include/glib-2.0/gio/gdbusintrospection.h:155:25: error: expected
> unqualified-id before 'public'
> GDBusSignalInfo **signals;
> ^
> In file included from /usr/include/glib-2.0/gio/gio.h:54:0,
> from /usr/include/libnm/nm-types.h:24,
> from /usr/include/libnm/nm-object.h:29,
> from /usr/include/libnm/nm-access-point.h:29,
> from /usr/include/libnm/NetworkManager.h:26,
> from
> /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/src/libqtdbusmock/DBusMock.cpp:22:
>
> /usr/include/glib-2.0/gio/gdbusintrospection.h:155:24: error: expected
> ';' at end of member declaration
> GDBusSignalInfo **signals;
> ^
> /usr/include/glib-2.0/gio/gdbusintrospection.h:155:32: error: expected
> ':' before ';' token
> GDBusSignalInfo **signals;
> ^
> /usr/include/glib-2.0/gio/gdbusintrospection.h:155:32: warning: extra
> ';' [-Wpedantic]
> ```
>
> Have you seen this before? Any clue on where to look for the cause?
I have indeed. Please have a look at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862883#24 and the
following replies.
Using Q_ macros and -DQT_NO_KEYWORDS you should be able to avoid the
build failure.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20180416/6e0cfb70/attachment.sig>
More information about the Pkg-ayatana-devel
mailing list