Author Topic: Gconf_dbus Compile Error With Oe.stable  (Read 6238 times)

paulcsf

  • Newbie
  • *
  • Posts: 2
    • View Profile
Gconf_dbus Compile Error With Oe.stable
« on: September 01, 2008, 08:54:40 pm »
I am trying to develop an embedded X86-compatible OS, and am having problems getting very far. I have been able to find the answers to my problems so far, but haven't found any information relating to this one.

My development environment is Ubuntu 8.04.

My BitBake / OE snapshot is:

OE Build Configuration:
BB_VERSION     = "1.8.10"
OE_REVISION    = "1158bcc7fbd021ba939dc1e2ef7be69cf90f2806"
TARGET_ARCH    = "i586"
TARGET_OS      = "linux"
MACHINE        = "i586-generic"
DISTRO         = "generic"
DISTRO_VERSION = ".dev-snapshot-20080902"
TARGET_FPU     = ""

I am using the .stable branch of the OE database, with monotone 0.37 and OE-this-is-for-mtn-0.37.mtn.bz2.

I successfully built "helloworld", so I think I have things setup mostly correct.

Now I get an error trying to compile gconf_dbus. I added SRCREV_pn-gconf-dbus ?= ${AUTOREV} to my local.conf because the svn get was failing to find and download version 1 (I think, failing either way). Now with the ${AUTOREV} option, it made it past the svn get, processed many more tasks, and now fails compiling. The svn http site for gconf_dbus seems to show 699 as the latest, but using the ${AUTOREV} option seems to download 693 as shown in the debug output below.

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']NOTE: package gconf-dbus-2.16.0+svnr693-r5: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/temp/log.do_compile.7475)
| NOTE: make
| make  all-recursive
| make[1]: Entering directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk'
| Making all in gconf
| make[2]: Entering directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk/gconf'
| make  all-am
| make[3]: Entering directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk/gconf'
| if /bin/sh ../i586-linux-libtool --tag=CC --mode=compile ccache i586-linux-gcc -mcpu=pentium -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/glib-2.0 -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/lib/glib-2.0/include -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/dbus-1.0 -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/lib/dbus-1.0/include -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/libxml2   -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\""/usr"\" -DGCONF_LOCALE_DIR=\""/usr/share/locale"\" -DGCONF_SRCDIR=\""/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk"\" -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-dbus/2"\" -DVERSION=\""2.16.0"\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\""gconfd-2"\" -DDBUS_API_SUBJECT_TO_CHANGE=\"1\"   -isystem/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include  -isystem/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -MT gconf-value.lo -MD -MP -MF ".deps/gconf-value.Tpo" -c -o gconf-value.lo gconf-value.c; \
|    then mv -f ".deps/gconf-value.Tpo" ".deps/gconf-value.Plo"; else rm -f ".deps/gconf-value.Tpo"; exit 1; fi
|  ccache i586-linux-gcc -mcpu=pentium -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/glib-2.0 -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/lib/glib-2.0/include -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/dbus-1.0 -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/lib/dbus-1.0/include -I/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include/libxml2 -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\"/usr\" -DGCONF_LOCALE_DIR=\"/usr/share/locale\" -DGCONF_SRCDIR=\"/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk\" -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-dbus/2\" -DVERSION=\"2.16.0\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\" -DDBUS_API_SUBJECT_TO_CHANGE=\"1\" -isystem/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include -isystem/home/pharness/oe/20080830/build/tmp/staging/i586-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -MT gconf-value.lo -MD -MP -MF .deps/gconf-value.Tpo -c gconf-value.c  -DPIC
| `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
| `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
| gconf-value.c: In function 'gconf_value_new':
| gconf-value.c:76: warning: implicit declaration of function 'g_slice_new0'
| gconf-value.c:76: error: expected expression before 'GConfRealValue'
| gconf-value.c: In function 'gconf_value_free':
| gconf-value.c:829: warning: implicit declaration of function 'g_slice_free'
| gconf-value.c:829: error: expected expression before 'GConfRealValue'
| gconf-value.c: In function 'gconf_entry_new_nocopy':
| gconf-value.c:1455: warning: implicit declaration of function 'g_slice_new'
| gconf-value.c:1455: error: expected expression before 'GConfRealEntry'
| gconf-value.c:1455: warning: assignment makes pointer from integer without a cast
| gconf-value.c: In function 'gconf_entry_unref':
| gconf-value.c:1494: error: expected expression before 'GConfRealEntry'
| make[3]: *** [gconf-value.lo] Error 1
| make[3]: Leaving directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk/gconf'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk/gconf'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/trunk'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/pharness/oe/20080830/build/tmp/work/i586-linux/gconf-dbus-2.16.0+svnr693-r5/temp/log.do_compile.7475
NOTE: package gconf-dbus-2.16.0+svnr693-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gconf-dbus-2.16.0+svnr693: failed
ERROR: Build of /home/pharness/oe/20080830/openembedded/packages/gnome/gconf-dbus_svn.bb do_compile failed
ERROR: Task 571 (/home/pharness/oe/20080830/openembedded/packages/gnome/gconf-dbus_svn.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 432 tasks of which 432 didn't need to be rerun and 1 failed.
ERROR: '/home/pharness/oe/20080830/openembedded/packages/gnome/gconf-dbus_svn.bb' failed
[/div]

I tried the OE.dev branch, but it fails with many of the following errors:
ERROR: EOL while scanning single-quoted string (<string>, line 1) while parsing /home/pharness/oe/20080830/openembedded.dev/packages/opkg/opkg-nogpg-nocurl_svn.bb

If anybody has some suggestions, I would love to hear them. Thanks.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Gconf_dbus Compile Error With Oe.stable
« Reply #1 on: September 02, 2008, 05:10:19 am »
The 'generic' distro is broken and unsupported, use 'angstrom-2007.1' in .stable or 'angstrom-2008.1' in .dev
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

paulcsf

  • Newbie
  • *
  • Posts: 2
    • View Profile
Gconf_dbus Compile Error With Oe.stable
« Reply #2 on: September 02, 2008, 10:32:39 pm »
Thank you. The angstrom-2007.1 distro successfully ran all of it's tasks.