[ooo-build] CMake progress

Jussi Pakkanen jpakkane at gmail.com
Tue Jun 9 08:11:45 PDT 2009


On Tue, Jun 9, 2009 at 12:05 PM, Michael Meeks<michael.meeks at novell.com> wrote:

>        How interesting; in these cases I would tend to compare the "strace -e
> file" output of the command-line, with the same thing run inside the
> environment that OO.o sets up - no doubt there is some random variable
> that is set wrong, and this path has never been hit before :-)

Or some magic compiler flag is not set. Or some output files must be
in certain locations or everything fails (this has already happened,
btw).

>> The debugger says that m_pBody->m_hImpl is NULL. Any help would be appreciated.
>
>        If it doesn't jump out of the straces; can you attach them here so we
> can see ?

I have attached the CMake one. I don't actually have OOo built so I
can't get that output. I'm no strace expert, but the only weird thing
I could see is at the very end:

unlink("file:///home/jpakkane/idlcsource/builddir/idlout/Exception._idlc_")
= -1 ENOENT (No such file or directory)
open("/home/jpakkane/idlcsource/builddir/idlout/Exception._idlc_",
O_RDWR|O_CREAT|O_TRUNC, 0666) = 3

The unlink command specifies a URL, which of course fails. But it does
not matter, since the file is immediately reopened and truncated.

One thing to note is that idlc calls the idlcpp preprocessor (by
spawning a thread that forks, for some reason). Its accesses are
probably not listed here. But running idlcpp manually seems to work
just fine.

>        I wonder if idlc needs to do at least some degree of UNO
> boot-strapping, if so you hit one of the world's least friendly things
> to get right

I don't know what UNO bootstrapping does exactly, but the source code
and build system for idlc is totally separate from everything else. It
just links to registry/store/salhelper/sal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: straceout.txt.gz
Type: application/x-gzip
Size: 1530 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/ooo-build/attachments/20090609/c79e7235/attachment.bin 


More information about the ooo-build mailing list