ports/121953: (workaround) openoffice.org-2.3.1 hangs with Glib errors

Dwayne MacKinnon dmk at ncf.ca
Sat Apr 5 02:47:41 UTC 2008


On March 31, 2008 09:53:56 pm Marcin Cieslak wrote:
> linimon at FreeBSD.org wrote:
> > Synopsis: (workaround) openoffice.org-2.3.1 hangs with Glib errors
> >
> > Responsible-Changed-From-To: freebsd-bugs->openoffice
> > Responsible-Changed-By: linimon
> > Responsible-Changed-When: Sat Mar 22 06:12:32 UTC 2008
> > Responsible-Changed-Why:
> > Make this a ports PR and assign.
>
> Can you try adding --with-system-zlib to your port Makefile
> CONFIGURE_ARGS and recompile OpenOffice?
>
> --- Makefile    28 Mar 2008 22:26:03 -0000      1.295
> +++ Makefile    31 Mar 2008 23:34:46 -0000
> @@ -140,7 +140,8 @@
>  CONFIGURE_ARGS+=       --with-gnu-cp=${LOCALBASE}/bin/gcp              \
>                         --with-gnu-patch=${LOCALBASE}/bin/gpatch        \
>                         --enable-crashdump=yes                          \
> -                       --enable-symbols=SMALL
> +                       --enable-symbols=TRUE                           \
> +                       --with-system-zlib
>  .if ${ARCH} == amd64
>  WITHOUT_MOZILLA=       yes
>  LIB_DEPENDS+=          boost_regex:${PORTSDIR}/devel/boost
>
> I think this is it:
>
> http://lists.freebsd.org/pipermail/freebsd-openoffice/2007-December/003453.
>html
>
> --Marcin

Hello Marcin,

I recompiled with the suggested config flags, and didn't get any more useful 
information. However, I experimented some more, and narrowed down the 
behavior better.

The problem seems to involve this file: 
$HOME/.config/autostart/qstart-desktop. No matter what, the first time you 
run openoffice.org-2.4  with a new user (ie no .openoffice.org2 directory) 
the program will hang with the errors I listed when you attempt to open a 
file.

If the qstart.desktop file is left as is (it's a symbolic link 
to /usr/local/openoffice.org-2.4.0/share/xdg/qstart.desktop), the file will 
hang with the errors I listed every time you try to open a file. However, if 
you remove the link, or set it to a non-existant file, the program will work 
after the first time, and work thereafter with no problems.

Cheers,
Dwayne MacKinnon

-- 
I can't afford to make any exceptions. Once word leaks out that a pirate has 
gone soft people start to disobey him and it's nothing but work, work, work 
all the time. - The Man In Black, from the Princess Bride.


More information about the freebsd-bugs mailing list