Issue 39952 - binfilter file legacy_binfilters.rdb not created SRC680 Mac OSX m67
Summary: binfilter file legacy_binfilters.rdb not created SRC680 Mac OSX m67
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680m67
Hardware: PowerPC (PPC) Mac OS X, all
: P4 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: pavel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 42382
  Show dependency tree
 
Reported: 2005-01-05 12:51 UTC by eric.bachard
Modified: 2005-03-31 19:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for correct build of legacy_binfilters.rdb SRC680_m71s1 MacOSX (277 bytes, patch)
2005-01-21 15:26 UTC, eric.bachard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description eric.bachard 2005-01-05 12:52:00 UTC
binfilter : breakage :-/

file legacy_binfilters.rdb not created, so not found

a) missing

Ordinateur-de-eric:~/Desktop/OpenOffice.org680/binfilter ericb$ find . -name
"legacy_binfilters.rdb"

b) were is it created ?

Ordinateur-de-eric:~/Desktop/OpenOffice.org680/binfilter ericb$ egrep -H -r
"legacy_binfilters.rdb" ./*
./legacysmgr/source/legacy/legacy_binfilters_smgr.cxx:#define LEGACY_RDB_NAME
"legacy_binfilters.rdb" // will be saved next to this library
./prj/d.lst:..\%__SRC%\bin\legacy_binfilters.rdb
%_DEST%\bin%_EXT%\legacy_binfilters.rdb
Binary file ./unxmacxp.pro/lib/liblegacy_binfilters680mxp.dylib matches
Binary file ./unxmacxp.pro/lib/liblegacy_binfilters680mxp.jnilib matches
Binary file ./unxmacxp.pro/slo/legacy_binfilters_smgr.o matches
./util/makefile.mk:ALLTAR : $(BIN)$/legacy_binfilters.rdb
./util/makefile.mk:$(BIN)$/legacy_binfilters.rdb : $(RDBLIBS)
./util/makefile.mk:#$(BIN)$/legacy_binfilters.rdb .SETDIR=$(LOCALLIBDIR) :
$(RDBLIBS)
./util/makefile.mk:#$(BIN)$/legacy_binfilters.rdb : $(RDBLIBS)


The log :

/Users/ericb/Desktop/OpenOffice.org680/binfilter/util
-------------
cd ../unxmacxp.pro/lib && regcomp -register -r ../bin/legacy_binfilters.rdb -c
libbf_xo680mxp.dylib -c libbf_sw680mxp.dylib -c libbf_sc680mxp.dylib -c
libbf_sd680mxp.dylib -c libbf_sm680mxp.dylib -c libbf_sch680mxp.dylib -c
libbf_frm680mxp.dylib -c libbf_lng680mxp.dylib -c libbf_svx680mxp.dylib -c
libbf_wrapper680mxp.dylib
register component 'libbf_xo680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' succesful!
register component 'libbf_sw680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_sw680mxp.dylib
register component 'libbf_sc680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_sc680mxp.dylib
register component 'libbf_sd680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_sd680mxp.dylib
register component 'libbf_sm680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_sm680mxp.dylib
register component 'libbf_sch680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_sch680mxp.dylib
register component 'libbf_frm680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_frm680mxp.dylib
register component 'libbf_lng680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_lng680mxp.dylib
register component 'libbf_svx680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_svx680mxp.dylib
register component 'libbf_wrapper680mxp.dylib' in registry
'../bin/legacy_binfilters.rdb' failed!
error (CannotRegisterImplementationException): loading component library failed:
libbf_wrapper680mxp.dylib
dmake:  Error code 9, while making '../unxmacxp.pro/bin/legacy_binfilters.rdb'
dmake:  '../unxmacxp.pro/bin/legacy_binfilters.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/Users/ericb/Desktop/OpenOffice.org680/binfilter/util


WORKAROUND : modify MACOSX case for SHL1VERSIONMAP in util/makefile.mk with

SHL1VERSIONMAP=gcc3_linux_intel.map

Strange...

Before to rebuild all, I want to reproduce all the builds bugs, so I have taken
 legacy_binfilters.rdb
build in LinuxPowerPC. Looks like to be the same.

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

BTW, while compiling, some errors :


COPY: ../unxmacxp.pro/lib/libbf_sfx.a ->
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_appmail.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_appserv.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_sfxdll.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_appsys.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_helpdispatch.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_exptypes.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_infodlgs.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_objsys.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_docvor.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_new.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_doctdlg.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_framedlg.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_ipenv.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_prnmon.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_orgmgr.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_tbedctrl.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_minfitem.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_macro.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_linkhdl.o)
has no symbols

[...cut the ~100 same messages...]

ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_mgetempl.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_newstyle.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_passwd.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_register.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_sfxurl.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_styledlg.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_tabdlg.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_versdlg.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_printopt.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_cfgtreelstbox.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_plugwin.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_propset.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_mieclip.o)
has no symbols
ranlib: file:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib/libbf_sfx.a(sfx2_fltdlg.o)
has no symbols



*Other* errors...


In file included from
/Users/ericb/Desktop/OpenOffice.org680/binfilter/bf_sfx2/source/bastyp/sfx2_fltfnc.cxx:271:
../../../inc/bf_sfx2/urlframe.hxx: In member function `virtual Window&
binfilter::SfxURLFrame::GetWindow()
const':../../../inc/bf_sfx2/urlframe.hxx:114: warning: reference to local
variable `aWindow' returned
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/svtools/sbxvar.hxx:
At global scope:
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/svtools/sbxvar.hxx:476:
warning: inline function `SbxInfoRef& SbxInfoRef::operator=(SbxInfo*)' used but
never defined
/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/svtools/sbxvar.hxx:471:
warning: inline function `SbxArrayRef& SbxArrayRef::operator=(SbxArray*)' used
but never defined
if ( -e ../../../unxmacxp.pro/slo/sfx2_fltfnc.o) touch
../../../unxmacxp.pro/slo/sfx2_fltfnc.obj
------------------------------


Hope this can help
Comment 1 eric.bachard 2005-01-05 12:52:40 UTC
cc for Pavel Janik
Comment 2 eric.bachard 2005-01-18 23:25:35 UTC
May I change priority for P2 ? 

build now done with SRC680_m71s1 / gcc-3.3

This module breaks the build, and is the only one not building...

Need help. Thank's in advance.


Regards,
eric bachard
Comment 3 quetschke 2005-01-19 16:06:15 UTC
It gets more attention when someone confirms it ;)
Comment 4 eric.bachard 2005-01-21 15:22:58 UTC
The attached patch seems to solve the problem. 

thank you Florian for the solution !

Comment 5 eric.bachard 2005-01-21 15:26:28 UTC
Created attachment 21755 [details]
patch for correct build of legacy_binfilters.rdb SRC680_m71s1 MacOSX
Comment 6 pavel 2005-02-11 11:56:59 UTC
I'm now here too.

Proposed patch may work, but the real problem is IMHO in set_soenv:

Index: set_soenv.in
===================================================================
RCS file: /cvs/tools/config_office/set_soenv.in,v
retrieving revision 1.39
diff -u -u -r1.39 set_soenv.in
--- set_soenv.in	25 Jan 2005 16:55:07 -0000	1.39
+++ set_soenv.in	11 Feb 2005 11:53:00 -0000
@@ -891,8 +891,9 @@
                         $ps.$par_dir.$LIB.
                         $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB;
 }
-elsif ($platform eq $Macosx)
-{  $LD_LIBRARY_PATH   = '$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB.
+elsif ($platform eq "$Macosx")
+{  $LD_LIBRARY_PATH   = $cur_dir.
+                        $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB.
                         $ps_STLPORT_LIB;
 }
 elsif ($platform ne $Winnt )

set_soenv.in is adding $cur_dir (it is ".") to LD_LIBRARY_PATH for all platforms
except MacOS X. Hmm ;-)

ericb: can you please remove Florian's patch from yourtree and test my proposed
patch instead?

Thanks.
Comment 7 eric.bachard 2005-02-11 13:41:45 UTC
Ok, I'll delete Florian's patch for your patch, but I cannot test immediatly.
For now m77 is just ending.  When finished, I'll reverse Florian and apply your,
and I'll rebuild binfilter.
Is it enough to consider it is verified  and ok or must I do other things?

Note : you're right : MacOSX case  is strange here...

Regards,
eric bachard
Comment 8 pavel 2005-02-11 19:02:45 UTC
Fixed in macosx02.
Comment 9 eric.bachard 2005-02-14 14:12:29 UTC
Verified : works fine in m78 + macosx02 cws


Regards,
ericb
Comment 10 pavel 2005-03-31 19:13:30 UTC
.