Opened 6 years ago

Closed 6 years ago

#57909 closed defect (invalid)

tracker @1.12.4: error: redefinition of typedef ‘TrackerSparqlBuilder’

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: tracker

Description

tracker fails to build with gcc-4.2:

/bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/cc -m64 -DHAVE_CONFIG_H -I. -I../..  -Wno-unused-variable -Wno-unused-function -Wno-shadow -Wno-format-nonliteral -Wno-sign-compare -Wno-strict-prototypes  -DG_LOG_DOMAIN=\"Tracker\" -DTRACKER_COMPILATION -I../../src -I../../src -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -pipe -Os -m64 -MT tracker-version.lo -MD -MP -MF .deps/tracker-version.Tpo -c -o tracker-version.lo tracker-version.c
libtool: compile:  /usr/bin/cc -m64 -DHAVE_CONFIG_H -I. -I../.. -Wno-unused-variable -Wno-unused-function -Wno-shadow -Wno-format-nonliteral -Wno-sign-compare -Wno-strict-prototypes -DG_LOG_DOMAIN=\"Tracker\" -DTRACKER_COMPILATION -I../../src -I../../src -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pipe -Os -m64 -MT tracker-utils.lo -MD -MP -MF .deps/tracker-utils.Tpo -c tracker-utils.c  -fno-common -DPIC -o .libs/tracker-utils.o
In file included from tracker-resource.c:30:
tracker-generated-no-checks.h:27: error: redefinition of typedef ‘TrackerSparqlBuilder’
./tracker-resource.h:32: error: previous declaration of ‘TrackerSparqlBuilder’ was here
make[4]: *** [tracker-resource.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

Change History (2)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

I probably have to blame this on the xcodebuild problem that happens on the Snow Leopard buildbot workers after they've been up for awhile:

Warning: xcodebuild exists but failed to execute

The problem didn't happen on the 10.6 i386 worker. I'll retry the build on the 10.6 x86_64 worker after I reboot it.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.