pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46568: misc/libreoffice can be convinced to run on NetBSD-6.0_BETA2/amd64

>Number:         46568
>Category:       pkg
>Synopsis:       misc/libreoffice can be convinced to run on 
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 21:40:00 +0000 2012
>Originator:     Greg Oster
>Release:        NetBSD 6.0_BETA2
System: NetBSD mickey 6.0_BETA2 NetBSD 6.0_BETA2 (QUAD) #0: Wed Jun 6 08:43:58 
CST 2012 
Architecture: x86_64
Machine: amd64

Even though misc/libreoffice is marked as:

 NOT_FOR_PLATFORM=      NetBSD-6.*-*

it can be made to build and run.  


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 
install.log:pkg_create: can't stat 
install.log:pkg_create: can't stat 

 4) Discover that the directory it created was libreoffice-, not 
 5) do the following:
    cd /usr/pkgsrc/misc/libreoffice/work.mickey/.destdir/usr/pkg/
    mv libreoffice- libreoffice-
 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- -- but all the
links are expecting the directory to be called libreoffice- !!!
 8) Fix the problem in 7) with:
    cd /usr/pkg
    mv libreoffice- libreoffice-
 9) After this, /usr/pkg/bin/soffice runs fine.

    The directory name issue needs to be addressed.  Personally, I'd also 
like to see the libreoffice- 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!


Home | Main Index | Thread Index | Old Index