After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756477 - gio/gthreadedresolver.c has outdated copy of bionic headers (for android)
gio/gthreadedresolver.c has outdated copy of bionic headers (for android)
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 756850 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-10-13 02:53 UTC by Mike Frysinger
Modified: 2015-10-20 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glib network patch (431 bytes, patch)
2015-10-13 03:29 UTC, Mike Frysinger
none Details | Review

Description Mike Frysinger 2015-10-13 02:53:18 UTC
the gio/gthreadedresolver.c has this large copy & paste:
#ifdef __BIONIC__
/* Copy from bionic/libc/private/arpa_nameser_compat.h
 * and bionic/libc/private/arpa_nameser.h */
... lots of header content duplicated here ...

this breaks starting with the lollipop release (android 5.0) because the headers are no longer in the private namespace:
https://android.googlesource.com/platform/bionic/+/lollipop-release/libc/include/arpa/
Comment 1 Mike Frysinger 2015-10-13 03:29:30 UTC
Created attachment 313164 [details] [review]
glib network patch

this works for me with recent versions
Comment 2 Dan Winship 2015-10-13 13:08:22 UTC
thanks. fixed in master and glib-2-46
Comment 3 Sebastian Dröge (slomo) 2015-10-20 10:20:59 UTC
*** Bug 756850 has been marked as a duplicate of this bug. ***