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 
>NetBSD-6.0_BETA2/amd64
>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
>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!


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index