Ticket #117 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

cross emerge of gnome-base/gconf-2.20.1-r1 can't find header files

Reported by: Daniel Benoy Owned by:
Priority: major Milestone: unsorted
Component: target Keywords:
Cc:

Description

I'm trying to cross emerge gconf and it keeps failing to find header files. For example:

{{ libtool: compile: armv4tl-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\"/usr\" -DGCONF_LOCALE_DIR=\"/usr/share/locale\" -DGCONF_SRCDIR=\"/usr/armv4tl-softfloat-linux-gnueabi/var/tmp/portage/portage/gnome-base/gconf-2.20.1-r1/work/GConf-2.20.1\" -DGCONF_CONFDIR=\"/etc/gconf/2\" -DGCONF_ETCDIR=\"/etc/gconf\" -DGCONF_BINDIR=\"/usr/bin\" -DGCONF_SERVERDIR=\"/usr/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"/usr/lib/GConf/2\" -DVERSION=\"2.20.1\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\" -Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -Wall -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -MT gconf-changeset.lo -MD -MP -MF .deps/gconf-changeset.Tpo -c gconf-changeset.c -fPIC -DPIC -o .libs/gconf-changeset.o In file included from gconf-listeners.c:20: gconf-listeners.h:23:18: error: glib.h: No such file or directory }} (Full build log will be included)

But that glib.h file is present in my system in usr/include/glib-2.0. If I manually include that directory with -I in CFLAGS, it fails on another header and another. I tried including them all and it failed to link in the libraries it needed.

Looks like whatever process this thing uses which determines which -I and -l flags to add doesn't come up with anything.

Attachments

emergefail.log (85.0 kB) - added by Daniel Benoy 3 years ago.

Change History

Changed 3 years ago by Daniel Benoy

Changed 3 years ago by Daniel Benoy

I truncated the file at 1000 lines because it was too big.

Changed 3 years ago by Daniel Benoy

My bad for not previewing my submission. (Wish it would let me edit it)

libtool: compile:  armv4tl-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\"/usr\" -DGCONF_LOCALE_DIR=\"/usr/share/locale\" -DGCONF_SRCDIR=\"/usr/armv4tl-softfloat-linux-gnueabi/var/tmp/portage/portage/gnome-base/gconf-2.20.1-r1/work/GConf-2.20.1\" -DGCONF_CONFDIR=\"/etc/gconf/2\" -DGCONF_ETCDIR=\"/etc/gconf\" -DGCONF_BINDIR=\"/usr/bin\" -DGCONF_SERVERDIR=\"/usr/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"/usr/lib/GConf/2\" -DVERSION=\"2.20.1\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\" -Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -Wall -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -MT gconf-changeset.lo -MD -MP -MF .deps/gconf-changeset.Tpo -c gconf-changeset.c  -fPIC -DPIC -o .libs/gconf-changeset.o
In file included from gconf-listeners.c:20:
gconf-listeners.h:23:18: error: glib.h: No such file or directory

Changed 3 years ago by Daniel Benoy

  • status changed from new to closed
  • resolution set to invalid

Oops! I'm a fool. I forgot to run cross-fix-root.

My bad. :(

Note: See TracTickets for help on using tickets.