[Pkg-ayatana-devel] Bug#895444: Bug#895444: Bug#895444: Uses deprecated NetworkManager.pc

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Mon Apr 16 10:32:24 BST 2018


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?

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20180416/fd6b44d2/attachment.sig>


More information about the Pkg-ayatana-devel mailing list