qTox build failure

  • Open
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Reza Alizadeh Majd
Owner
unassigned
Submitted by
Reza Alizadeh Majd
Severity
normal
R
R
Reza Alizadeh Majd wrote on 14 Jun 2020 13:01
(address . bug-guix@gnu.org)
20200614153110.17ca8601@pantherx.org
Hello,

Trying to build `qTox`, I receive following errors:

Toggle snippet (5 lines)
/gnu/store/7aq38bbvgx69788bkx3r5gsyjha17l0y-gtk+-2.24.32/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
void gtk_type_init (GTypeDebugFlags debug_flags);


Toggle snippet (4 lines)
/gnu/store/7aq38bbvgx69788bkx3r5gsyjha17l0y-gtk+-2.24.32/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
GTimeVal last_popdown;

I also check the build status of `qTox` on substitute server, and it
seems that the build is also failed there:

--
Reza Alizadeh Majd
PantherX Team
R
R
Reza Alizadeh Majd wrote on 14 Jun 2020 13:06
(address . 41847@debbugs.gnu.org)
20200614153630.5657e60e@pantherx.org
as another try, I updated the `qTox` package version from `0.16.3` to
`0.17.2`, but two of tests fails during package build:

Toggle snippet (97 lines)
1/14 Test #1: test_core ........................***Failed 91.08 sec
********* Start testing of TestCore *********
Config: Using QtTest library 5.12.7, Qt 5.12.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0)
PASS : TestCore::initTestCase()
QWARN : TestCore::startup_without_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
FAIL! : TestCore::startup_without_proxy() 'spyCore.wait(timeout)' returned FALSE. ()
Loc: [/tmp/guix-build-qtox-1.17.2.drv-0/qTox-1.17.2/test/core/core_test.cpp(118)]
QWARN : TestCore::startup_with_invalid_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_with_invalid_proxy() using proxy "Test" : 9985
QDEBUG : TestCore::startup_with_invalid_proxy() Proxy and UDP enabled, this is a security risk, forcing TCP only
QSYSTEM: TestCore::startup_with_invalid_proxy() bad proxy, error code: 5
QWARN : TestCore::startup_with_invalid_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_with_invalid_proxy() using proxy "Test" : 9985
QDEBUG : TestCore::startup_with_invalid_proxy() Proxy and UDP enabled, this is a security risk, forcing TCP only
QSYSTEM: TestCore::startup_with_invalid_proxy() bad proxy, error code: 5
PASS : TestCore::startup_with_invalid_proxy()
PASS : TestCore::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 90235ms
********* Finished testing of TestCore *********

Toggle snippet (12 lines)
6/14 Test #6: test_bsu .........................***Failed 0.04 sec
********* Start testing of TestBootstrapNodesUpdater *********
Config: Using QtTest library 5.12.7, Qt 5.12.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0)
PASS : TestBootstrapNodesUpdater::initTestCase()
FAIL! : TestBootstrapNodesUpdater::testOnline() 'result.size() > 0' returned FALSE. ()
Loc: [/tmp/guix-build-qtox-1.17.2.drv-0/qTox-1.17.2/test/net/bsu_test.cpp(58)]
PASS : TestBootstrapNodesUpdater::testLocal()
PASS : TestBootstrapNodesUpdater::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 7ms
********* Finished testing of TestBootstrapNodesUpdater *********

is it acceptable to bypass these two tests and submit a patch with
updated version of `qTox` ?


--
Reza Alizadeh Majd
PantherX Team
E
E
Efraim Flashner wrote on 14 Jun 2020 13:30
(name . Reza Alizadeh Majd)(address . r.majd@pantherx.org)(address . 41847@debbugs.gnu.org)
20200614113056.GB1990@E5400
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7mCm0ACgkQQarn3Mo9
g1ENxQ//YUWwMdfBLx3LCUP0eoU60xoBhIAZFs2CxJMVo1KmLiR1pE3RSTepjrbY
lNEAD+ur+Kj8r3q57A+Dkyhrhs3YVwW6VxwyVv/n3pForjc052WaT43stIO29rrt
PV4Z4XxyhnCyH2XVdYCYtgQD/+umFI7ZAU6iWiVERykg9CjOB0FE8+NrT+jZtQHN
8e0MgYDsQQOQOBWBCsXiQNzIRzLmtLldR7Zipd0pJfyRLZijIz4j9xF3p1uwkKNY
shy/YpQ/dMOZ194jIh2gnq2V/k8OUF9YuGhSv02MXdKkEeIKoWHf6/RSNWqpMV5f
KAQgKk2MClu8b5r/V4gQj1m9xfgQEYcNUj8IninxgPYATvsJcEG3gxfjo4ruWVPy
NZOMIEMni+p/m3ru0HRWouoO8hgi0WY0Ixw2YPerGtOH3Knd85BwALvmARm83xZD
xMe+AV83CFWNslozVhLFtwLtlcD4XcEffd/OhXH3ygD1wnpmUm914B7Ob3UAi57c
fy9+/PxxrXhgsjSNZ9RTl/ummIjm5VYsoWr7syLNHUd/fZgsZPxv1Ui6bIqlcsZu
grMKppCuiZOXwESOQeVb6MDprcx9smUo6L8iigtIIQ+F9dirDKgdoAwR1zl0Bai/
NIW4HDOKQJz0kRMZ69yjgEgNZy/v5tR5wO+MWW529x8eX8BowJg=
=AHZW
-----END PGP SIGNATURE-----


R
R
Reza Alizadeh Majd wrote on 14 Jun 2020 15:44
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 41847@debbugs.gnu.org)
20200614181434.5db0df31@pantherx.org
On Sun, 14 Jun 2020 14:30:56 +0300
Efraim Flashner <efraim@flashner.co.il> wrote:

Toggle quote (9 lines)
>
> It looks like both tests that fail expect to have network
> connectivity. Since there's no network inside the container then
> disabling those tests is the best option.
>
> If you want you can suggest upstream that they test for network
> connectivity before running those tests.
>

Thanks, yes I also assumed that these failed tests were related to
network conectivity issues, so I just submitted the regarding patches:


--
Reza Alizadeh Majd
PantherX Team
?