Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2009 08:26:37 -0300
From:      Vinicius Abrahao <vinnix.bsd@gmail.com>
To:        freebsd-openoffice@freebsd.org,  freebsd-current <freebsd-current@freebsd.org>, miwi@FreeBSD.org
Subject:   Problem building Openoffice 3.1.1 at -current
Message-ID:  <1e31c7980909200426h44a65a53g7d5f47ea707d8b9c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello dear fellows,

I'm trying to upgrade my openoffice.org3 from 3.1.0 to 3.1.1, but I'm
getting an strange error (associated with python).
This is the error that appears many hours after I start the upgrade:

--------------------------------------------------------------------8<-----=
---------------------------------------------------------------------------=
---------------------------------------------------
(...)
**************************************************
ERROR: ERROR: Could not register all components for file services.rdb
(gid_Starregistry_Services_Rdb)!
in function: create_services_rdb
**************************************************

**************************************************
ERROR: Saved logfile:
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsd/logging/en-US/log_OOO310_en-US.log
**************************************************
... cleaning the output tree ...
... removing directory
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsdzip/en-US
...
... removing directory
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsdgid_Starregistry_Services_Rdb_servicesrdb/en-US_wither=
ror_1
...
Sun Sep 20 08:58:11 2009 (01:53 min.)
dmake:  Error code 255, while making 'openoffice_en-US.bsd'
Running processes: 0

1 module(s):
        instsetoo_native
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/util

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

rmdir /tmp/18226
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-3.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20090919-11256-4l52h4-0 env UPGRADE_TOOL=3Dportupgrae
UPGRADE_PORT=3Dopenoffice.org-3.1.0 UPGRADE_PORT_VER=3D3.1.0 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! editors/openoffice.org-3 (openoffice.org-3.1.0)       (new
compiler error)

--------------------------------------------------------------------8<-----=
---------------------------------------------------------------------------=
---------------------------------------------------

Looking close at the logfile referred in this error ew see:


--------------------------------------------------------------------8<-----=
---------------------------------------------------------------------------=
---------------------------------------------------
(...)
Sun Sep 20 08:58:01 2009 (01:43 min.)
######################################################
Registering python UNO components:
######################################################
SUCCESS: Source for types.rdb:
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx.pro=
/bin/types.rdb
SUCCESS: Source for pyuno_services.rdb:
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx.pro=
/bin/pyuno_services.rdb
Systemcall:  /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310=
/unxfbsdx.pro/bin/regcomp
-register -br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/31=
0/unxfbsdx.pro/bin/types.rdb
-br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx=
.pro/bin/pyuno_services.rdb
-r /usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unx=
fbsdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_in=
progress_1/services.rdb
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python
2>&1 |
vnd.openoffice.pymodule:pythonscript
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
register component 'vnd.openoffice.pymodule:pythonscript' in registry
'/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfb=
sdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_inpr=
ogress_1/services.rdb'
failed!
error (RuntimeException): python object raised an unknown exception
('No module named _socket', traceback follows
<traceback object at 0x80385a5a8>
ERROR:  /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxf=
bsdx.pro/bin/regcomp
-register -br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/31=
0/unxfbsdx.pro/bin/types.rdb
-br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx=
.pro/bin/pyuno_services.rdb
-r /usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unx=
fbsdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_in=
progress_1/services.rdb
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python
2>&1 |
Systemcall:  /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310=
/unxfbsdx.pro/bin/regcomp
-register -br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/31=
0/unxfbsdx.pro/bin/types.rdb
-br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx=
.pro/bin/pyuno_services.rdb
-r /usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unx=
fbsdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_in=
progress_1/services.rdb
-c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python
2>&1 |
vnd.openoffice.pymodule:mailmerge
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
register component 'vnd.openoffice.pymodule:mailmerge' in registry
'/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfb=
sdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_inpr=
ogress_1/services.rdb'
failed!
error (RuntimeException): python object raised an unknown exception
('No module named _socket', traceback follows
<traceback object at 0x803879488>
ERROR:  /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxf=
bsdx.pro/bin/regcomp
-register -br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/31=
0/unxfbsdx.pro/bin/types.rdb
-br /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx=
.pro/bin/pyuno_services.rdb
-r /usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unx=
fbsdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_in=
progress_1/services.rdb
-c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python
2>&1 |

Moved directory from
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_inpro=
gress_1
to /usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unx=
fbsdx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_wi=
therror_1

Removing directory
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsd/zip/en-US

Removing directory
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/instsetoo_native/unxfbs=
dx.pro/OpenOffice/bsd/gid_Starregistry_Services_Rdb_servicesrdb/en-US_withe=
rror_1

***************************************************************
ERROR: Could not register all components for file services.rdb
(gid_Starregistry_Services_Rdb)!
in function: create_services_rdb
***************************************************************

--------------------------------------------------------------------8<-----=
---------------------------------------------------------------------------=
---------------------------------------------------

What I found is this: error (RuntimeException): python object raised
an unknown exception ('No module named _socket', traceback follows
<traceback object at 0x80385a5a8>, but I found the _socket.so at:

/usr/local/lib/python2.6/lib-dynload/_socket.so

As we see, I'm upgrade my python from 2.5 to 2.6 recently and I guess
that's the cause of problem. But, as suggest at
/usr/ports/UPDATING[20090608],
I run: "# cd /usr/ports/lang/python && make upgrade-site-packages"
with success.

Any light about this problem is very appreciate!


Thanks in advance,
Vin=EDcius


PS1:
 # uname -a
FreeBSD vinnix.corp.triarius.com.br 9.0-CURRENT FreeBSD 9.0-CURRENT
#20: Thu Sep 17 05:46:09 BRT 2009
root@vinnix.corp.triarius.com.br:/usr/obj/usr/src/sys/GENERIC  amd64

# pkg_info | grep python
boost-python-libs-1.39.0 Framework for interfacing Python and C++
python26-2.6.2_3    An interpreted object-oriented programming language



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e31c7980909200426h44a65a53g7d5f47ea707d8b9c>