NetBSD Problem Report #46568

From oster@mickey.localdomain  Fri Jun  8 21:36:52 2012
Return-Path: <oster@mickey.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4BDBF63B882
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Jun 2012 21:36:52 +0000 (UTC)
Message-Id: <20120608213647.B4DFC87D1F@mickey.localdomain>
Date: Fri,  8 Jun 2012 15:36:47 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: misc/libreoffice can be convinced to run on NetBSD-6.0_BETA2/amd64
X-Send-Pr-Version: 3.95

>Number:         46568
>Category:       pkg
>Synopsis:       misc/libreoffice can be convinced to run on NetBSD-6.0_BETA2/amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 21:40:00 +0000 2012
>Closed-Date:    Sat Dec 29 09:01:52 +0000 2018
>Last-Modified:  Sat Dec 29 09:01:52 +0000 2018
>Originator:     Greg Oster
>Release:        NetBSD 6.0_BETA2
>Organization:
>Environment:


System: NetBSD mickey 6.0_BETA2 NetBSD 6.0_BETA2 (QUAD) #0: Wed Jun 6 08:43:58 CST 2012 oster@quad:/u1/builds/build218/src/obj/amd64/u1/builds/build218/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

Even though misc/libreoffice is marked as:

 NOT_FOR_PLATFORM=      NetBSD-6.*-*

it can be made to build and run.  

>How-To-Repeat:

What I needed to do was:
 1) remove the above NOT_FOR_PLATFORM line.
 2) start the build with a 'make install'
 3) wait a few hours until the build failed with 9000+ lines like:

...
install.log:pkg_create: can't stat `/usr/pkgsrc/misc/libreoffice/work.mickey/.destdir/usr/pkg/libreoffice-3.5.4.2/share/extensions/dict-en/dictionaries.xcu'
install.log:pkg_create: can't stat `/usr/pkgsrc/misc/libreoffice/work.mickey/.destdir/usr/pkg/libreoffice-3.5.4.2/share/extensions/dict-en/en_AU.aff'
install.log:pkg_create: can't stat `/usr/pkgsrc/misc/libreoffice/work.mickey/.destdir/usr/pkg/libreoffice-3.5.4.2/share/extensions/dict-en/en_AU.dic'
...

 4) Discover that the directory it created was libreoffice-3.5.4.2nb1, not libreoffice-3.5.4.2.
 5) do the following:
    cd /usr/pkgsrc/misc/libreoffice/work.mickey/.destdir/usr/pkg/
    mv libreoffice-3.5.4.2nb1 libreoffice-3.5.4.2
 6) resume the build:
    cd /usr/pkgsrc/misc/libreoffice
    make install  
 7) this will have built a package which can then be installed.  Once installed,
however, the package is put into /usr/pkg/libreoffice-3.5.4.2 -- but all the
links are expecting the directory to be called libreoffice-3.5.4.2nb1 !!!
 8) Fix the problem in 7) with:
    cd /usr/pkg
    mv libreoffice-3.5.4.2 libreoffice-3.5.4.2nb1
 9) After this, /usr/pkg/bin/soffice runs fine.

>Fix:
    The directory name issue needs to be addressed.  Personally, I'd also 
like to see the libreoffice-3.5.4.2 directory live in /usr/pkg/libexec
rather than in /usr/pkg .

    This is so very close to working out-of-the box.  Thanks to everyone who
got it working to this point!


>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/46568: misc/libreoffice can be convinced to run on
 NetBSD-6.0_BETA2/amd64
Date: Sat, 9 Jun 2012 01:13:41 +0200

 On Fri, Jun 08, 2012 at 09:40:00PM +0000, oster@netbsd.org wrote:
 > Even though misc/libreoffice is marked as:
 > 
 >  NOT_FOR_PLATFORM=      NetBSD-6.*-*
 > 
 > it can be made to build and run.  

 Native X or pkgsrc?
  Thomas

From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46568: misc/libreoffice can be convinced to run on
 NetBSD-6.0_BETA2/amd64
Date: Fri, 8 Jun 2012 20:59:38 -0600

 On Fri,  8 Jun 2012 23:15:04 +0000 (UTC)
 Thomas Klausner <wiz@NetBSD.org> wrote:

 > The following reply was made to PR pkg/46568; it has been noted by
 > GNATS.
 > 
 > From: Thomas Klausner <wiz@NetBSD.org>
 > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
 > Cc: 
 > Subject: Re: pkg/46568: misc/libreoffice can be convinced to run on
 >  NetBSD-6.0_BETA2/amd64
 > Date: Sat, 9 Jun 2012 01:13:41 +0200
 > 
 >  On Fri, Jun 08, 2012 at 09:40:00PM +0000, oster@netbsd.org wrote:
 >  > Even though misc/libreoffice is marked as:
 >  > 
 >  >  NOT_FOR_PLATFORM=      NetBSD-6.*-*
 >  > 
 >  > it can be made to build and run.  
 >  
 >  Native X or pkgsrc?

 pkgsrc.

 Later...

 Greg Oster

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 29 Dec 2018 09:01:52 +0000
State-Changed-Why:
stale bug report, regarding libreoffice 3 (version is 6.x now). Looks like the NOT_FOR_PLATFORM did get removed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.