shared-mime-info fails to build

Daniel Johnson <[email protected]> Mon, 2 Apr 2012 19:31:37 -0400
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
On 10.7.3 with Xcode 4.3.2, I can't build shared-mime-info-1.0-1. I get the following error:

make
  GEN    create-pot
LC_ALL=C /sw64/bin/intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
  CC     update_mime_database-update-mime-database.o
gcc -DHAVE_CONFIG_H -I. -I/sw64/include/glib-2.0 -I/sw64/lib/glib-2.0/include -I/sw64/include/libxml2 -I/sw64/include  -I/sw64/include -I/sw64/include/glib-2.0 -I/sw64/lib/glib-2.0/include -I/sw64/include/libxml2 -I/sw64/include -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -c -o update_mime_database-update-mime-database.o `test -f 'update-mime-database.c' || echo './'`update-mime-database.c
make[1]: `shared-mime-info.pot' is up to date.
Making check in .
  CCLD   update-mime-database
ld: in update_mime_database-update-mime-database.o, file too small for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Generating and caching the translation database
make[1]: *** [update-mime-database] Error 1
make: *** [check-recursive] Error 1
make: *** Waiting for unfinished jobs....
Merging translations into freedesktop.org.xml.
CREATED freedesktop.org.xml
### execution of make failed, exit code 2
### execution of /tmp/fink.BObKE failed, exit code 2

The file update_mime_database-update-mime-database.o is identified by 'file' as 'Mach-O 64-bit object x86_64' which is right and the file size is 188132. I'm baffled by this error; I've never seen it before. And how can a file be too small for ld to handle?! Weird.

Daniel


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
fink-gnome-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.gnome
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-gnome-core