Re: [Tracker] build-failures tracker 1.4.0



Hi michael

On Sun, May 10, 2015 at 12:45 PM, Michael Biebl <mbiebl gmail com> wrote:
Hi!

I'm having trouble getting tracker 1.4.0 to build successfully. It
fails with the following mesage:

make[4]: Entering directory
'/home/michael/debian/build-area/tracker-1.4.0/src/miners/apps'
/bin/bash ../../../libtool  --tag=CC   --mode=link gcc  -g -O2
-fstack-protector-strong -Wformat -Werror=format-security
-Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-Bsymbolic -o
tracker-miner-apps tracker-main.o tracker-miner-applications.o
../../../src/libtracker-miner/libtracker-miner-1.0.la
../../../src/libtracker-sparql-backend/libtracker-sparql-1.0.la
../../../src/libtracker-common/libtracker-common.la  -lgio-2.0
-lgobject-2.0 -lglib-2.0  -lm
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wl,--enable-new-dtags -Wl,-z -Wl,relro
-Wl,--as-needed -Wl,-Bsymbolic -o .libs/tracker-miner-apps
tracker-main.o tracker-miner-applications.o
../../../src/libtracker-miner/.libs/libtracker-miner-1.0.so
../../../src/libtracker-sparql-backend/.libs/libtracker-sparql-1.0.so
../../../src/libtracker-common/.libs/libtracker-common.so -lgio-2.0
-lgobject-2.0 -lglib-2.0 -lm -Wl,-rpath
-Wl,/usr/lib/x86_64-linux-gnu/tracker-1.0
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_config_file_new'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_locale_notify_add'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_spawn'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_crc32'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_locale_notify_remove'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_config_file_migrate'
/usr/lib/x86_64-linux-gnu/tracker-1.0/libtracker-data.so.0: undefined
reference to `tracker_spawn_async_with_channels'
collect2: error: ld returned 1 exit status
Makefile:653: recipe for target 'tracker-miner-apps' failed
make[4]: *** [tracker-miner-apps] Error 1
make[4]: Leaving directory
'/home/michael/debian/build-area/tracker-1.4.0/src/miners/apps'
Makefile:556: recipe for target 'all-recursive' failed


For some reason, the build system seems to pick some tracker libraries
which are installed system wide and are currently at version 1.2.6.
Unfortunately, I can't easily uninstall tracker-1.2.6 from the system,
as it would uninstall some import GNOME packages.

That aside, the build system shouldn't pick up the tracker system
libraries but link against the libraries in the build directory.

Does anyone know, how to fix that?

One possibility is that it's the GObject-introspection typelib
generation breaking the build. If you have an old version of Tracker
installed in the prefix you are installing into this can happen. You
can use the (dangerous)! scripts/clean-tracker-prefix to delete the
installed Tracker, then try 'make' again from the beginning.

Looking at the log, this might well be a totally different issue, but
I thought I'd suggest this just in case!

If that doesn't fix it, I can try a build tomorrow and see if I can
reproduce the problem
Sam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]