pkgsrc-Users archive

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

Re: Problem building openoffice3 ?



On Mon, 16 Jun 2014, Ryo ONODERA wrote:

Hi,

You really need OpenOffice.org 3?
On NetBSD/amd64 current, pkgsrc/misc/libreoffice4 works fine.

Hmmm, I will take a look at LibreOffice4, although I would prefer not to change if avoidable.

Does LibreOffice4 handle existing documents from these apps?

        - MS Word
        - MS Excel
        - .odg files from OpenOffice3

(The DESCR file is rather uninformative regarding compatability and interchange.)




From: Paul Goyette <paul%whooppee.com@localhost>, Date: Mon, 16 Jun 2014 
06:05:51 -0700 (PDT)

BTW, in case it matters, this is on "NetBSD 6.99.43 port-amd64"

On Mon, 16 Jun 2014, Paul Goyette wrote:

(Please include me directly in replies - I am not subscribed to this
list.)

It's time for my semi-annual attempt to bring all of my ~300 installed
packages up-to-date.  I've managed to rebuild everything from source,
with one exception.

For some reason, building openoffice3 fails with the following
messages:

<snip>
-------------
Running processes: 0
deliver -- version: 266154
Module 'jurt' delivered successfully. 2 files copied, 1 files
unchanged

2 module(s):
        libwpd
        cppu
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/cppu/source/AffineBridge
ERROR: error 65280 occurred while making
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd

Attention: if you build and deliver the above module(s) you may
prolongue your the build issuing command "build --from libwpd cppu"

rmdir /tmp/19711
*** Error code 1

Stop.
make[1]: stopped in /build/pkgsrc/misc/openoffice3
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the
package Makefile.
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/misc/openoffice3
</snip>

Looking a little bit further back in the build log, it seems that
there was a failure building the libpwd module, although the build
continued:

<snip>
------------------------------
Making: ../../../../../../unxbsdx3.pro/slo/WP6Listener.obj
c++ -fmessage-length=0 -c -O1
-I. -I../../../../../../unxbsdx3.pro/inc/wpdlib -I../inc
-I../../../../../../inc/pch -I../../../../../../inc
-I../../../../../../unx/inc -I../../../../../../unxbsdx3.pro/inc
-I. 
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solver/310/unxbsdx3.pro/inc/stl
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solver/310/unxbsdx3.pro/inc/external
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solver/310/unxbsdx3.pro/inc
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solenv/unxbsdx3/inc
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solenv/inc
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/res
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solver/310/unxbsdx3.pro/inc/stl
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solenv/inc/Xp31
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/netbsd
-INO_JAVA_HOME/include/native_threads/include -I/usr/X11R7/include
-I/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/solver/310/unxbsdx3.pro/inc/offuh
-I. -I../../../../../../res -I. -pipe -fvisibility-inlines-hidden
-Wno-ctor-dtor-privacy -frtti -fpic -DNETBSD -DUNX -DVCL -DGCC -DC341
-DX86_64 -DCVER=C341 -DX86_64 -pthread -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/include/g++ -DSUPD=310 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSHAREDLIB
-D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o
../../../../../../unxbsdx3.pro/slo/WP6Listener.o
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WP6Listener.cpp
In file included from
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WPXPageSpan.h:31:0,
                from
                
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WPXListener.h:30,
                from
                
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WP6Listener.cpp:29:
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WPXTable.h:78:24:
error: declaration of 'operator[]' as non-function
 WPXTable * operator[](size_t i) { return (*m_tableList)[i]; }
                       ^
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WPXTable.h:78:22:
error: expected ';' at end of member declaration
 WPXTable * operator[](size_t i) { return (*m_tableList)[i]; }
                     ^
/tmp/pkgs/misc/openoffice3/work.x86_64/OOO310_m19/libwpd/unxbsdx3.pro/misc/build/libwpd-0.8.8/src/lib/WPXTable.h:78:31:
error: expected ')' before 'i'
 WPXTable * operator[](size_t i) { return (*m_tableList)[i]; }
                              ^
dmake: Error code 1, while making
'../../../../../../unxbsdx3.pro/slo/WP6Listener.obj'
dmake: Error code 255, while making
'./unxbsdx3.pro/misc/build/so_built_wpd'
Running processes: 0
=============
</snip>

The entire build log is available if it will help anyone, I just
didn't want to spam everyone with such a large (~4MB) attachment.  :)






-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net
| |
| Kernel Developer | | pgoyette at netbsd.org |

-------------------------------------------------------------------------

-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net
| |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

!DSPAM:539eec44248711730721406!



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index