Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 01:29:47 -0400 (EDT)
From:      Stuart Barkley <stuartb@4gh.net>
To:        freebsd-openoffice@freebsd.org
Subject:   openoffice-2.0 build problem (dies with epm error)
Message-ID:  <20060406004802.H24650@freeman.4gh.net>

next in thread | raw e-mail | index | archive | help
I have been having problems building editors/openoffice.org-2.0 for a
while now.  Like a few others at the end of the build process (around
10 hours) it will die with the following error:

**************************************************
ERROR: ERROR: "epm -f bsd openoffice.org-sdk /d04/data/freebsd-stable-6/ports/editors/openoffice.org-2.0/work/OOB680_m5/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_OOB680__en-US.lst -v  2>&1 |"!
in function: call_epm
**************************************************

This started being a problem on my 6.0 package build machine some time
after 6.0 was released.  Unlike others with similar problems I have
been successfully building it on my -STABLE test machine.  After
upgrading both machines to 6.1-BETA4 I tired the build process again.
I still get the failure on the former 6.0 build machine and successful
on the -STABLE machine.

I have done fresh portupgrade builds of all of the packages on both
machines.  The installed packages are almost identical (except for a
few xmms-* packages).  The contents of /var/db/pkg are identical
except for the MD5 checksums and the xmms and openoffice packages.
The contents of ports/editors/openoffice-2.0 before the build is
identical.

Munging and comparing the logs between the machines the first
difference is around line 10,000 where the two machine start building
different things.  The first differences are:

--- broken.log  Thu Apr  6 00:39:31 2006
+++ worked.log  Thu Apr  6 00:39:24 2006
@@ -10091,21 +10091,6 @@
   adding: acor_tr-TR.dat (deflated 15%)
   adding: acor_zh-CN.dat (deflated 2%)
   adding: acor_zh-TW.dat (deflated 2%)
-------------------------------
-Making: ../../../unxfbsd.pro/misc/autotext.dpz
-dmake  -f makefile.mk product="full" make_zip_deps=true   ../../../unxfbsd.pro/misc/autotextshare_en-US.dpzz    ../../../unxfbsd.pro/misc/autocorr.dpzz
-echo # > ../../../unxfbsd.pro/misc/autotextshare_en-US.dpzz
-type 4
-zipdep.pl -u -j  ../../../unxfbsd.pro/bin/autotextshare_en-US.zip "en-US/standar?.bau" "en-US/templat?.bau" "en-US/crd*.bau" -x "*CVS*" >> ../../../unxfbsd.pro/misc/autotextshare_en-US.dpzz
-zipdep -- version: 1.12
-Multi Platform Enabled Edition
-echo # > ../../../unxfbsd.pro/misc/autocorr.dpzz
-type 4
-zipdep.pl -u -j  ../../../unxfbsd.pro/bin/autocorr.zip "*/acor*.dat" -x "*CVS*" >> ../../../unxfbsd.pro/misc/autocorr.dpzz
-zipdep -- version: 1.12
-Multi Platform Enabled Edition
-cat   ../../../unxfbsd.pro/misc/autotextshare_en-US.dpzz    ../../../unxfbsd.pro/misc/autocorr.dpzz /tmp/mkxxxxxx | grep -v "CVS" >> ../../../unxfbsd.pro/misc/autotext.dpz
-echo zipdep_langs=en-US  >> ../../../unxfbsd.pro/misc/autotext.dpz
 -------------
 /data/freebsd-stable-6/ports/editors/openoffice.org-2.0/work/OOB680_m5/extras/source/database
 ------------------------------
@@ -10138,6 +10123,21 @@
        zip warning: ../../unxfbsd.pro/bin/databasebiblio.zip not found or empty
   adding: biblio.dbf (deflated 96%)
   adding: biblio.dbt (deflated 97%)
+------------------------------
+Making: ../../unxfbsd.pro/misc/databasegeneral.dpz
+dmake  -f makefile.mk product="full" make_zip_deps=true   ../../unxfbsd.pro/misc/database.dpzz   ../../unxfbsd.pro/misc/databasebiblio.dpzz
+echo # > ../../unxfbsd.pro/misc/database.dpzz
+type 4
+zipdep.pl -u -j  ../../unxfbsd.pro/bin/database.zip "biblio.odb" -x "*CVS*" >> ../../unxfbsd.pro/misc/database.dpzz
+zipdep -- version: 1.12
+Multi Platform Enabled Edition
+echo # > ../../unxfbsd.pro/misc/databasebiblio.dpzz
+type 4
+zipdep.pl -u -j  ../../unxfbsd.pro/bin/databasebiblio.zip "biblio.dbf" "biblio.dbt" -x "*CVS*" >> ../../unxfbsd.pro/misc/databasebiblio.dpzz
+zipdep -- version: 1.12
+Multi Platform Enabled Edition
+cat   ../../unxfbsd.pro/misc/database.dpzz   ../../unxfbsd.pro/misc/databasebiblio.dpzz /tmp/mkxxxxxx | grep -v "CVS" >> ../../unxfbsd.pro/misc/databasegeneral.dpz
+echo zipdep_langs=en-US  >> ../../unxfbsd.pro/misc/databasegeneral.dpz
 -------------
 /data/freebsd-stable-6/ports/editors/openoffice.org-2.0/work/OOB680_m5/extras/source/gallery
 ------------------------------

The broken build makes:

-Making: ../../../unxfbsd.pro/misc/autotext.dpz
-Making: ../../../unxfbsd.pro/misc/galleryrulers.dpz
-Making: ../../../unxfbsd.pro/misc/miscconfig.dpz
-Making: ../../../../unxfbsd.pro/misc/templateswizardbitmap.dpz
-Making: ../../../../../unxfbsd.pro/misc/templateswizardreport.dpz
-Making: ../../../../../unxfbsd.pro/misc/templateswizardstyles.dpz
-Making: ../../unxfbsd.pro/misc/util_schart.dpz

The working build makes:

+Making: ../../unxfbsd.pro/misc/databasegeneral.dpz
+Making: ../../unxfbsd.pro/misc/miscconfiggeneral.dpz
+Making: ../../../../../unxfbsd.pro/misc/templateswizardagenda.dpz
+Making: ../unxfbsd.pro/misc/unxfontspsprintgeneral.dpz
+Making: ../unxfbsd.pro/misc/lib_sandbox_util.dpz
+Making: ../unxfbsd.pro/misc/ure.dpz
+Making: ../../unxfbsd.pro/misc/configall.dpz
+Making: ../unxfbsd.pro/misc/plain_util.dpz
+Making: ../unxfbsd.pro/misc/scriptinginstaller.dpz

The both make 89 other similar things.

Later on in the broken build there start to become more errors:

-/usr/bin/ld: warning: libstore.so.3, needed by ../unxfbsd.pro/lib/libreg.so, not found (try using -rpath or -rpath-link)
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_readStream@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_createMemoryFile@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_openDirectory@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_writeStream@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_findNext@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_openFile@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_closeFile@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_attrib@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_openStream@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_acquireHandle@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_releaseHandle@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_remove@UDK_3_0_0'
-../unxfbsd.pro/lib/libreg.so: undefined reference to `store_findFirst@UDK_3_0_0'

libstore.so.3 was built on the machine with the broken build.  There
are identical copies in two places:

openoffice.org-2.0/work/OOB680_m5/store/unxfbsd.pro/lib/libstore.so.3
openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/lib/libstore.so.3

>From here on there are a number of other differences between the
builds.  Both builds are full of undefined references and other error
messages.

I am going to try installing the package which was built on the one
machine on the other machine.  I'll then try a rebuild of openoffice
and in a day or so I'll know if it has some sort of build dependency
on itself already being installed.

Stuart
-- 
I've never been lost; I was once bewildered for three days, but never lost!
                                        --  Daniel Boone



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