To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90752
                 Issue #|90752
                 Summary|pyuno_services.rdb fails to build with gcc 3.4.6
               Component|udk
                 Version|OOo 2.4.1
                Platform|PC
                     URL|http://bugs.gentoo.org/show_bug.cgi?id=220026
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|creatix





------- Additional comments from [EMAIL PROTECTED] Sun Jun 15 14:24:32 +0000 
2008 -------
The pyuno module fails to build with gcc 3.4.6. Below is a snippet from the
build illustrating the issue. See also gentoo bug
http://bugs.gentoo.org/show_bug.cgi?id=220026


[...]
=============
Building module pyuno
=============
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/pyuno/source/module
mkout -- version: 1.7
--- NOOPTFILES ---
cat
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/src/version.c
| sed s/_version.h/pyuno_version.h/ > ../../unxlngi6.pro/misc/pyuno_version.c
------------------------------
Making: ../../unxlngi6.pro/slo/pyuno_version.obj
i686-pc-linux-gnu-gcc -fmessage-length=0 -c -O0   -I/usr/include/python2.4 -I. 
-I../../unxlngi6.pro/inc/pyuno -I../inc -I../../inc/pch -I../../inc
-I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/external
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/res
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc/Xp31
-I/opt/sun-jdk-1.5.0.15/include -I/opt/sun-jdk-1.5.0.15/include/linux
-I/opt/sun-jdk-1.5.0.15/include/native_threads/include -Idefault_x_includes    
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/offuh
-I. -I../../res -I. -pipe -march=k8 -msse3 -pipe -fomit-frame-pointer
-fno-stack-protector -fno-stack-protector-all -DGL_GLEXT_PROTOTYPES -Wall
-Wextra -Wendif-labels -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
-DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE
-DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DGSTREAMER
-DCUI -DSOLAR_JAVA -DOOH680=OOH680   -DSHAREDLIB -D_DLL_   -o
../../unxlngi6.pro/slo/pyuno_version.o ../../unxlngi6.pro/misc/pyuno_version.c
if test -e ../../unxlngi6.pro/slo/pyuno_version.o ; then touch
../../unxlngi6.pro/slo/pyuno_version.obj ; fi
Making: ../../unxlngi6.pro/slo/pyuno_module.obj
--- NOOPTFILES OVER ---
cp uno.py ../../unxlngi6.pro/lib/uno.py
cp unohelper.py ../../unxlngi6.pro/lib/unohelper.py
------------------------------
Making: ../../unxlngi6.pro/slo/pyuno_dlopenwrapper.obj
i686-pc-linux-gnu-gcc -fmessage-length=0 -c -Os -fno-strict-aliasing  
-I/usr/include/python2.4 -I.  -I../../unxlngi6.pro/inc/pyuno -I../inc
-I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/external
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/res
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc/Xp31
-I/opt/sun-jdk-1.5.0.15/include -I/opt/sun-jdk-1.5.0.15/include/linux
-I/opt/sun-jdk-1.5.0.15/include/native_threads/include -Idefault_x_includes    
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/offuh
-I. -I../../res -I. -pipe -march=k8 -msse3 -pipe -fomit-frame-pointer
-fno-stack-protector -fno-stack-protector-all -DGL_GLEXT_PROTOTYPES -Wall
-Wextra -Wendif-labels -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
-DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE
-DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DGSTREAMER -DCUI -DSOLAR_JAVA -DOOH680=OOH680   -DSHAREDLIB -D_DLL_    -o
../../unxlngi6.pro/slo/pyuno_dlopenwrapper.o pyuno_dlopenwrapper.c
if test -e ../../unxlngi6.pro/slo/pyuno_dlopenwrapper.o ; then touch
../../unxlngi6.pro/slo/pyuno_dlopenwrapper.obj ; fi
cat ../../unxlngi6.pro/misc/pyuno.cmd
i686-pc-linux-gnu-g++ -Wl,-z,noexecstack -Wl,-z,combreloc
-Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu
-Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -ldl -o
../../unxlngi6.pro/lib/pyuno.so ../../unxlngi6.pro/slo/pyuno_dlopenwrapper.o
rm -f ../../unxlngi6.pro/misc/pyunorc
cat pyuno > ../../unxlngi6.pro/misc/pyunorc
Making: ../../unxlngi6.pro/slo/pyuno_runtime.obj
Making: ../../unxlngi6.pro/slo/pyuno.obj
Making: ../../unxlngi6.pro/slo/pyuno_callable.obj
Making: ../../unxlngi6.pro/slo/pyuno_type.obj
Making: ../../unxlngi6.pro/slo/pyuno_util.obj
Making: ../../unxlngi6.pro/slo/pyuno_except.obj
Making: ../../unxlngi6.pro/slo/pyuno_adapter.obj
Making: ../../unxlngi6.pro/slo/pyuno_gc.obj
------------------------------
Making: ../../unxlngi6.pro/slb/pyuno.lib
echo unxlngi6.pro/slo/pyuno_runtime.o unxlngi6.pro/slo/pyuno.o
unxlngi6.pro/slo/pyuno_callable.o unxlngi6.pro/slo/pyuno_module.o
unxlngi6.pro/slo/pyuno_type.o unxlngi6.pro/slo/pyuno_util.o
unxlngi6.pro/slo/pyuno_except.o unxlngi6.pro/slo/pyuno_adapter.o
unxlngi6.pro/slo/pyuno_gc.o | xargs -n1 > ../../unxlngi6.pro/slb/pyuno.lib
rm -f ../../unxlngi6.pro/misc/pyuno.flt
cat pyuno.flt > ../../unxlngi6.pro/misc/pyuno.flt
------------------------------
Making Module-Definitionfile : ../../unxlngi6.pro/misc/pyuno.def
just a dummy for UNIX
-----------------------------
SHL1FILTERFILE not set!
-----------------------------
dummy file to keep the dependencies for later use.
------------------------------
Making: ../../unxlngi6.pro/lib/libpyuno.so
i686-pc-linux-gnu-g++ -Wl,-z,noexecstack -Wl,-z,combreloc
-Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu
-Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../../unxlngi6.pro/lib
-L../lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib
-L/opt/sun-jdk-1.5.0.15/lib -L/opt/sun-jdk-1.5.0.15/jre/lib/i386
-L/opt/sun-jdk-1.5.0.15/jre/lib/i386/client
-L/opt/sun-jdk-1.5.0.15/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/slo/pyuno_version.o -o
../../unxlngi6.pro/lib/libpyuno.so ../../unxlngi6.pro/slo/pyuno_runtime.o
../../unxlngi6.pro/slo/pyuno.o ../../unxlngi6.pro/slo/pyuno_callable.o
../../unxlngi6.pro/slo/pyuno_module.o ../../unxlngi6.pro/slo/pyuno_type.o
../../unxlngi6.pro/slo/pyuno_util.o ../../unxlngi6.pro/slo/pyuno_except.o
../../unxlngi6.pro/slo/pyuno_adapter.o ../../unxlngi6.pro/slo/pyuno_gc.o
-luno_cppu -luno_cppuhelpergcc3 -luno_sal -lpython2.4 -ldl -lpthread -lm
rm -f ../../unxlngi6.pro/lib/check_libpyuno.so
mv ../../unxlngi6.pro/lib/libpyuno.so ../../unxlngi6.pro/lib/check_libpyuno.so
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/bin/checkdll.sh
-L../../unxlngi6.pro/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/lib
 ../../unxlngi6.pro/lib/check_libpyuno.so
Checking DLL ../../unxlngi6.pro/lib/check_libpyuno.so ...: ok
-rwxr-xr-x 1 root root 270289 Jun 15 13:31 ../../unxlngi6.pro/lib/libpyuno.so
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/pyuno/source/loader
cat
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/src/version.c
| sed s/_version.h/pythonloader.uno_version.h/ >
../../unxlngi6.pro/misc/pythonloader.uno_version.c
------------------------------
Making: ../../unxlngi6.pro/slo/pythonloader.uno_version.obj
i686-pc-linux-gnu-gcc -fmessage-length=0 -c -Os -fno-strict-aliasing  
-I/usr/include/python2.4 -I.  -I../../unxlngi6.pro/inc/pythonloader.uno -I../inc
-I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/external
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/res
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/incdont_use_stl
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc/Xp31
-I/opt/sun-jdk-1.5.0.15/include -I/opt/sun-jdk-1.5.0.15/include/linux
-I/opt/sun-jdk-1.5.0.15/include/native_threads/include -Idefault_x_includes    
-I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/inc/offuh
-I. -I../../res -I. -pipe -march=k8 -msse3 -pipe -fomit-frame-pointer
-fno-stack-protector -fno-stack-protector-all -DGL_GLEXT_PROTOTYPES -Wall
-Wextra -Wendif-labels -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
-DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE
-DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DGSTREAMER -DCUI -DSOLAR_JAVA -DOOH680=OOH680   -DSHAREDLIB -D_DLL_   -o
../../unxlngi6.pro/slo/pythonloader.uno_version.o
../../unxlngi6.pro/misc/pythonloader.uno_version.c
if test -e ../../unxlngi6.pro/slo/pythonloader.uno_version.o ; then touch
../../unxlngi6.pro/slo/pythonloader.uno_version.obj ; fi
Making: ../../unxlngi6.pro/slo/pyuno_loader.obj
------------------------------
Making: ../../unxlngi6.pro/slb/pythonloader.uno.lib
echo unxlngi6.pro/slo/pyuno_loader.o | xargs -n1 >
../../unxlngi6.pro/slb/pythonloader.uno.lib
------------------------------
Making Module-Definitionfile : ../../unxlngi6.pro/misc/pythonloader.uno.def
just a dummy for UNIX
tr -d "\015" <
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/src/component.map
| awk -f
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/bin/addsym.awk
> ../../unxlngi6.pro/misc/component_pythonloader.uno.map
------------------------------
Making: ../../unxlngi6.pro/lib/pythonloader.uno.so
i686-pc-linux-gnu-g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs
-Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu
-Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -Wl,--version-script
../../unxlngi6.pro/misc/component_pythonloader.uno.map -L../../unxlngi6.pro/lib
-L../lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib
-L/opt/sun-jdk-1.5.0.15/lib -L/opt/sun-jdk-1.5.0.15/jre/lib/i386
-L/opt/sun-jdk-1.5.0.15/jre/lib/i386/client
-L/opt/sun-jdk-1.5.0.15/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/slo/pythonloader.uno_version.o -o
../../unxlngi6.pro/lib/pythonloader.uno.so ../../unxlngi6.pro/slo/pyuno_loader.o
-luno_cppu -luno_cppuhelpergcc3 -luno_sal -lpyuno -lpython2.4 -ldl -lpthread -lm
rm -f ../../unxlngi6.pro/lib/check_pythonloader.uno.so
mv ../../unxlngi6.pro/lib/pythonloader.uno.so
../../unxlngi6.pro/lib/check_pythonloader.uno.so
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/bin/checkdll.sh
-L../../unxlngi6.pro/lib
-L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/lib
 ../../unxlngi6.pro/lib/check_pythonloader.uno.so
Checking DLL ../../unxlngi6.pro/lib/check_pythonloader.uno.so ...: ok
-rwxr-xr-x 1 root root 29244 Jun 15 13:31 
../../unxlngi6.pro/lib/pythonloader.uno.so
-------------
cp pythonloader.py ../../unxlngi6.pro/lib/pythonloader.py
rm -f ../../unxlngi6.pro/lib/pyuno_services.rdb
../../unxlngi6.pro/lib/pyuno_services.tmp 
../../unxlngi6.pro/lib/pyuno_services.rdb
cd ../../unxlngi6.pro/lib && regcomp -register -r pyuno_services.tmp -c
stocservices.uno -c invocation.uno -c introspection.uno -c invocadapt.uno -c
proxyfac.uno -c reflection.uno -c pythonloader.uno
stocservices.uno
invocation.uno
introspection.uno
invocadapt.uno
proxyfac.uno
reflection.uno
pythonloader.uno
register component 'stocservices.uno' in registry 'pyuno_services.tmp' 
succesful!
register component 'invocation.uno' in registry 'pyuno_services.tmp' succesful!
register component 'introspection.uno' in registry 'pyuno_services.tmp' 
succesful!
register component 'invocadapt.uno' in registry 'pyuno_services.tmp' succesful!
register component 'proxyfac.uno' in registry 'pyuno_services.tmp' succesful!
terminate called after throwing an instance of
'com::sun::star::registry::InvalidValueException'
/bin/bash: line 1: 32563 Aborted                 regcomp -register -r
pyuno_services.tmp -c stocservices.uno -c invocation.uno -c introspection.uno -c
invocadapt.uno -c proxyfac.uno -c reflection.uno -c pythonloader.uno
dmake:  Error code 134, while making '../../unxlngi6.pro/lib/pyuno_services.rdb'
---* tg_merge.mk *---

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to