Bug 58817 - Build failure: ld: memory-memory.o: undefined reference to symbol 'g_object_unref'
Summary: Build failure: ld: memory-memory.o: undefined reference to symbol 'g_object_u...
Status: RESOLVED FIXED
Alias: None
Product: at-spi2
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Rob Taylor
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 23:39 UTC by Darxus
Modified: 2012-12-31 04:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Darxus 2012-12-27 23:39:20 UTC
I'm running regular build tests, which wipe the install prefix and do "git clean -xfd" every build.  I just got a failure from at-spi2-core.

Last known good and first known bad commits (sequential):

2012-12-17-18-00 aa13890a6ad1c7b7c743a343ea94995598c4709d good at-spi2-core
2012-12-27-18-13 233ec0f562e12adfbe1ca5182bebd22c19c31ea4 bad at-spi2-core

The end of the make output is:

Making all in test
make[2]: Entering directory `/home/darxus/source.test.master/at-spi2-core/test'
  CC     memory-memory.o
memory.c: In function ‘main’:
memory.c:72:3: warning: passing argument 1 of ‘atspi_event_listener_new’ from incompatible pointer type [enabled by default]
In file included from ../atspi/atspi.h:38:0,
                 from memory.c:1:
../atspi/atspi-event-listener.h:82:1: note: expected ‘AtspiEventListenerCB’ but argument is of type ‘void (*)(struct AtspiEvent *, void *)’
  CCLD   memory
/usr/bin/ld: memory-memory.o: undefined reference to symbol 'g_object_unref'
/usr/bin/ld: note: 'g_object_unref' is defined in DSO /home/darxus/install.test.master/lib/libgobject-2.0.so.0 so try adding it to the linker command line
/home/darxus/install.test.master/lib/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [memory] Error 1
make[2]: Leaving directory `/home/darxus/source.test.master/at-spi2-core/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darxus/source.test.master/at-spi2-core'
make: *** [all] Error 2
Comment 1 Darxus 2012-12-31 04:25:13 UTC
I'm no-longer getting a build failure with the current commit:

2012-12-17-18-00 aa13890a6ad1c7b7c743a343ea94995598c4709d good at-spi2-core
2012-12-27-18-13 233ec0f562e12adfbe1ca5182bebd22c19c31ea4 bad at-spi2-core
2012-12-27-20-00 4784648ffca2d729ba7e25c339c1860a372cf867 bad at-spi2-core
2012-12-30-22-00 f1cfd7ab1d4d1a1e572c79a4750ded4674d19b85 good at-spi2-core


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.