NetBSD Problem Report #48604

From www@NetBSD.org  Wed Feb 19 19:51:06 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 89D0FA64AE
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Feb 2014 19:51:06 +0000 (UTC)
Message-Id: <20140219195104.CB178A64B9@mollari.NetBSD.org>
Date: Wed, 19 Feb 2014 19:51:04 +0000 (UTC)
From: lbruder@leif-bruder.net
Reply-To: lbruder@leif-bruder.net
To: gnats-bugs@NetBSD.org
Subject: Libreoffice 4.1 doesn't start in XFCE, probably other environments
X-Send-Pr-Version: www-1.0

>Number:         48604
>Category:       pkg
>Synopsis:       Libreoffice 4.1 doesn't start in XFCE, probably other environments
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 19 19:55:00 +0000 2014
>Closed-Date:    Sun May 01 04:25:13 +0000 2016
>Last-Modified:  Sun May 01 04:25:13 +0000 2016
>Originator:     Leif Bruder
>Release:        NetBSD 6.1.3
>Organization:
>Environment:
NetBSD netbsd.localdomain 6.1.3 NetBSD 6.1.3 (GENERIC) i386
>Description:
In XFCE, the menu contains entries for the LibreOffice programs (Writer, Calc etc.)

Expected: Clicking on an entry starts the appropriate program.

Observed: After showing a "LibreOffice" task in the task list for a second or so, the task disappears. Nothing else happens.

Interestingly, running "swriter" etc. from a terminal window works.
>How-To-Repeat:
Short version:

# Install a fresh NetBSD 6.1.3 i386
# pkgin install xfce4
# pkgin install libreoffice4
# Configure X
# startx



My full install script, run after a full install:

pkgin install vim
pkgin install doxygen # Pulls in lots of nice stuff incl. LaTeX :)
pkgin install perl
pkgin install python27
pkgin install py27-imaging
pkgin install git
pkgin install ocaml
pkgin install xfce4
pkgin install abiword
pkgin install gnumeric
pkgin install libreoffice4
pkgin install apache-ant
pkgin install firefox
pkgin install sylpheed
pkgin install evince
pkgin install ImageMagick
pkgin install gambc
pkgin install clisp
pkgin install brasero
pkgin install vlc

echo 'export PATH=${PATH}:/usr/pkg/java/openjdk7/bin' >> ~/.profile
echo 'exec xfce4-session' > ~/.xinitrc

cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d/
cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/
cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d/
echo rpcbind=YES >> /etc/rc.conf
echo famd=YES >> /etc/rc.conf
echo dbus=YES >> /etc/rc.conf
echo hal=YES >> /etc/rc.conf
reboot

>Fix:
More a workaround than a fix:

ln -s /usr/pkg/lib/libpcre.so.1.2.1 /usr/lib/libpcre.so.0
ln -s /usr/pkg/usr/bin/libreoffice4.1 /usr/bin/libreoffice4.1

After executing these commands, LibreOffice starts as expected.

>Release-Note:

>Audit-Trail:
From: Leif Bruder <leifbruder@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48604
Date: Thu, 20 Feb 2014 18:14:03 +0100

 This is a multi-part message in MIME format.
 --------------060600030908020807060700
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit

 Additional info: Turns out that the "workaround" affects system 
 stability. Symlinking the pcre library makes other programs, like the 
 XFCE file manager, crash randomly. So it looks like the correct version 
 of the library is missing from the deps.

 --------------060600030908020807060700
 Content-Type: text/x-vcard; charset=utf-8;
  name="leifbruder.vcf"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="leifbruder.vcf"

 begin:vcard
 fn:Leif Bruder
 n:Bruder;Leif
 org:ProMinent GmbH;KEA - R&D Application Development and Test Systems
 adr;dom:;;Im Schuhmachergewann 5-11;Heidelberg;;69123
 email;internet:leifbruder@gmail.com
 title:Software Developer
 tel;work:+49 6221 842-585
 tel;cell:+49 151 21747231
 x-mozilla-html:FALSE
 url:www.prominent.com
 version:2.1
 end:vcard


 --------------060600030908020807060700--

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 04 Mar 2014 12:11:02 +0000
Responsible-Changed-Why:
Over to maintainer.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48604: Libreoffice 4.1 doesn't start in XFCE, probably other
 environments
Date: Thu, 16 Oct 2014 06:59:00 +0000

 On Wed, Feb 19, 2014 at 07:55:00PM +0000, lbruder@leif-bruder.net wrote:
  > More a workaround than a fix:
  > 
  > ln -s /usr/pkg/lib/libpcre.so.1.2.1 /usr/lib/libpcre.so.0
  > ln -s /usr/pkg/usr/bin/libreoffice4.1 /usr/bin/libreoffice4.1
  > 
  > After executing these commands, LibreOffice starts as expected.

 That is ... odd. It makes me think there was something wrong with the
 libreoffice binary package. (In which case the problem may have
 disappeared by now.)

 Everything that comes out of a consistent build should be linked to
 the same (and only one) version of libpcre.

 But I have even less idea why starting it from or not from xfce would
 make any difference.

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: youri@NetBSD.org
State-Changed-When: Tue, 07 Jul 2015 16:02:06 +0000
State-Changed-Why:
Do you still have this problem? I just tried with xfce4.12 and libreoffice 4.4 and it works fine.


From: Leif Bruder <leifbruder@gmail.com>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: pkg/48604
Date: Mon, 20 Jul 2015 09:32:54 +0200

 --001a11347e1cb86904051b498b9d
 Content-Type: text/plain; charset=UTF-8

 > Do you still have this problem? I just tried with xfce4.12 and
 libreoffice 4.4 and it works fine.

 Unable to test ATM, as I've switched over to OpenBSD (server) and Debian
 (desktop) for now...

 --001a11347e1cb86904051b498b9d
 Content-Type: text/html; charset=UTF-8

 <div dir="ltr"><div>&gt; Do you still have this problem? I just tried with xfce4.12 and libreoffice 4.4 and it works fine.<br><br></div>Unable to test ATM, as I&#39;ve switched over to OpenBSD (server) and Debian (desktop) for now...<br></div>

 --001a11347e1cb86904051b498b9d--

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 01 May 2016 04:25:13 +0000
State-Changed-Why:
Submitter couldn't test as of last July.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.