Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488500 - dev-libs/glib-2.36.4-r1::gentoo_prefix failed on Darwin (compile phase)
Summary: dev-libs/glib-2.36.4-r1::gentoo_prefix failed on Darwin (compile phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2013-10-18 15:46 UTC by yegle
Modified: 2013-10-22 22:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against glib-2.36.4-r1.ebuild (glib-2.36.4-r1.ebuild.patch,505 bytes, patch)
2013-10-22 17:51 UTC, Christoph Junghans (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2013-10-18 15:46:44 UTC
/Users/yegle/.gentoo/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-apple-darwin12-gcc -DHAVE_CONFIG_H -I. -I/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio -I..   -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib -I/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4 -I/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/Users/yegle/.gentoo/usr/lib/gio/modules\"  -D_REENTRANT   -xobjective-c -march=nocona -O2 -pipe -Wno-format-nonliteral -c -o libgio_2_0_la-gtlscertificate.lo `test -f 'gtlscertificate.c' || echo '/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/'`gtlscertificate.c
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c: In function 'g_resolver_record_type_to_rrtype':
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:361: error: 'T_TXT' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:361: error: (Each undeclared identifier is reported only once
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:361: error: for each function it appears in.)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:363: error: 'T_SOA' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:365: error: 'T_NS' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:367: error: 'T_MX' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c: In function 'g_resolver_records_from_res_query':
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:385: error: 'HEADER' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:385: error: 'header' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:416: error: expected expression before ')' token
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:442: error: 'C_IN' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:453: error: 'T_MX' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:456: error: 'T_SOA' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:459: error: 'T_NS' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:462: error: 'T_TXT' undeclared (first use in this function)
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c: In function 'do_lookup_records':
/Users/yegle/.gentoo/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gio/gthreadedresolver.c:679: error: 'C_IN' undeclared (first use in this function)
make[4]: *** [libgio_2_0_la-gthreadedresolver.lo] Error 1

Reproducible: Always




emerge --info http://bpaste.net/show/141692/
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2013-10-22 17:10:56 UTC
C_IN and T_TXT get defined in arpa/nameser_compat.h, which is part of glibc.
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2013-10-22 17:51:12 UTC
Created attachment 361638 [details, diff]
patch against glib-2.36.4-r1.ebuild

Got it, the glib tar came with a Linux-only gnetworking.h. Normally gnetworking.h gets generated by configure, but if it's already there the distributed one get used and break Darwin.
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2013-10-22 17:51:53 UTC
@gnome, can we commit this?
Comment 4 Pacho Ramos gentoo-dev 2013-10-22 17:54:35 UTC
Yes but, please report also to upstream to get them stop to provide this file (and add a reference to the bug report in the comment in ebuild)

Thanks
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2013-10-22 22:32:03 UTC
Fixed in gx86 and merge into prefix overlay.