GNOME Bugzilla – Bug 628084
gdbus-peer fails with assertion
Last modified: 2010-08-27 14:52:03 UTC
When testing glib-2.25.14 tarball (with sys-apps/dbus-1.2.24-r1, Gentoo), I ran into following issue: TEST: gdbus-peer... (pid=24883) /gdbus/peer-to-peer: ** ERROR:gdbus-peer.c:700:test_peer: assertion failed (buf == buf2): ("# /etc/hosts: Local Host Database\n#\n# This file describes a number of aliases-to-address mappings for the for \n# local hosts that share this file.\n#\n# In the presence of the domain name service or NIS, this file may not be \n# consulted at all; see /etc/host.conf for the resolution order.\n#\n\n# IPv4 and IPv6 localhost aliases\n127.0.0.1\tlocalhost\n::1\t\tlocalhost\n\n#\n# Imaginary network.\n#10.0.0.2 myname\n#10.0.0.3 myfriend\n#\n# According to RFC 1918, you can use the following IP networks for private \n# nets which will never be connected to the Internet:\n#\n# 10.0.0.0 - 10.255.255.255\n# 172.16.0.0 - 172.31.255.255\n# 192.168.0.0 - 192.168.255.255\n#\n# In case you want to be able to connect directly to the Internet (i.e. not \n# behind a NAT, ADSL router, etc...), you need real official assigned \n# numbers. Do not try to invent your own network numbers but instead get one \n# from your network provider (if any) or from your regional registry (ARIN, \n# AP" == "# /etc/hosts: Local Host Database\n#\n# This file describes a number of aliases-to-address mappings for the for \n# local hosts that share this file.\n#\n# In the presence of the domain name service or NIS, this file may not be \n# consulted at all; see /etc/host.conf for the resolution order.\n#\n\n# IPv4 and IPv6 localhost aliases\n127.0.0.1\tlocalhost\n::1\t\tlocalhost\n\n#\n# Imaginary network.\n#10.0.0.2 myname\n#10.0.0.3 myfriend\n#\n# According to RFC 1918, you can use the following IP networks for private \n# nets which will never be connected to the Internet:\n#\n# 10.0.0.0 - 10.255.255.255\n# 172.16.0.0 - 172.31.255.255\n# 192.168.0.0 - 192.168.255.255\n#\n# In case you want to be able to connect directly to the Internet (i.e. not \n# behind a NAT, ADSL router, etc...), you need real official assigned \n# numbers. Do not try to invent your own network numbers but instead get one \n# from your network provider (if any) or from your regional registry (ARIN, \n# APN") FAIL
Created attachment 168853 [details] build.log
*** Bug 628085 has been marked as a duplicate of this bug. ***
Let me guess - your /etc/hosts file is bigger than 1024 bytes? I'll work on a fix
Yes, 1116 bytes ;) $ wc /etc/hosts 32 181 1116 /etc/hosts
OK, fixed with this commit http://git.gnome.org/browse/glib/commit/?id=1e7243ad7b48d833ef6eec8fa305f25487f640b0 Thanks.