https://bugs.freedesktop.org/show_bug.cgi?id=38757

Tom Wyant <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #7 from Tom Wyant <[email protected]> ---
This still exists in LibreOffice Version 3.6.3.2 (Build ID: 58f22d5) under Mac
OS 10.6.8 (Snow Leopard). An attempt to force the update gives

$ mdimport Fezziwig.ods
Plugin
'/Applications/LibreOffice.app/Contents/Library/Spotlight/OOoSpotlightImporter.mdimporter'
does not match current 64 bit architecture to import type
'org.oasis-open.opendocument.spreadsheet'.
'/Applications/LibreOffice.app/Contents/Library/Spotlight/OOoSpotlightImporter.mdimporter'
should be updated.  'arch -i386 mdimport' may work as a work-around.

The suggested work-around produces

$ arch -i386 mdimport Fezziwig.ods
2012-11-08 17:21:38.603 mdimport[29228:a07] Cannot find function pointer
MetadataImporterPluginFactory for factory A3FCC88D-B9A6-4364-8B93-92123C8A2D18
in CFBundle/CFPlugIn 0x143ed0
</Applications/LibreOffice.app/Contents/Library/Spotlight/OOoSpotlightImporter.mdimporter>
(bundle, loaded)
2012-11-08 17:21:38.607 mdimport[29228:a07] Cannot find function pointer
MetadataImporterPluginFactory for factory A3FCC88D-B9A6-4364-8B93-92123C8A2D18
in CFBundle/CFPlugIn 0x143ed0
</Applications/LibreOffice.app/Contents/Library/Spotlight/OOoSpotlightImporter.mdimporter>
(bundle, loaded)

which I assume to mean that the importer is not a "fat binary" with both 32-
and 64-bit executables.

I tried to rebuild from source, but the build failed, with the following near
the end of build_error.log:

ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported
fi
le format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file
f
ormat which is not the architecture being linked (i386)
ld: in /opt/local/lib/libz.1.dylib, file was built for unsupported file format
which is not the architecture being linked (i386)

Given the information
$ file /opt/local/lib/libiconv.dylib
/opt/local/lib/libiconv.dylib: Mach-O 64-bit dynamically linked shared library
x86_64

I suspect that the build, had it succeeded, would have produced another 32-bit
Spotlight importer.

The previous attachment goes with this set of notes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to