Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2008 21:47:37 -0400
From:      Dwayne MacKinnon <dmk@ncf.ca>
To:        Marcin Cieslak <saper@system.pl>
Cc:        freebsd-bugs@freebsd.org, linimon@freebsd.org
Subject:   Re: ports/121953: (workaround) openoffice.org-2.3.1 hangs with Glib errors
Message-ID:  <200804042147.37811.dmk@ncf.ca>
In-Reply-To: <47F195B4.8000600@system.pl>
References:  <200803220612.m2M6CkXo077190__4312.97339168868$1206166454$gmane$org@freefall.freebsd.org> <47F195B4.8000600@system.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On March 31, 2008 09:53:56 pm Marcin Cieslak wrote:
> linimon@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804042147.37811.dmk>