To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104830
                 Issue #|104830
                 Summary|instsetoo_native: Deep recursion on subroutine "instal
                        |ler::systemactions::create_directory_structure"
               Component|Installation
                 Version|DEV300m57
                Platform|Unknown
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|is
             Reported by|wsfulton





------- Additional comments from wsful...@openoffice.org Sat Sep  5 22:58:59 
+0000 2009 -------
following instructions at
http://wiki.services.openoffice.org/wiki/Development/OpenOffice.org_Building_Guide/Building_on_Linux
in particular setting:

export LOCALINSTALLDIR="~/ooo/install"
export PKGFORMAT="installed"

where ~/ooo already exists, I get the following:


will...@tiger:~/ooo/svn/DEV300_m57/instsetoo_native$ build
build -- version: -

=============
Building module instsetoo_native
/home/william/ooo/svn/DEV300_m57/instsetoo_native/inc_openoffice/unix
-------------
/home/william/ooo/svn/DEV300_m57/instsetoo_native/inc_openoffice/windows/msi_languages
-------------
/home/william/ooo/svn/DEV300_m57/instsetoo_native/macosx
Nothing to build for OS LINUX and GUIBASE unx
/home/william/ooo/svn/DEV300_m57/instsetoo_native/util
-------------
Using system python - nothing more to do here
Using system python - nothing more to do here
/usr/bin/perl -w /home/william/ooo/svn/DEV300_m57/solenv/bin/make_installer.pl
-f ../util/openoffice.lst -l en-US -p OpenOffice -u ../unxlngi6.pro -buildid
9422 -msitemplate ../unxlngi6.pro/misc/openoffice/msi_templates -msilanguage
../unxlngi6.pro/misc/win_ulffiles -format installed 
/usr/bin/perl -w /home/william/ooo/svn/DEV300_m57/solenv/bin/gen_update_info.pl
--buildid 9422 --arch "x86" --os "Linux" --lstfile ../util/openoffice.lst
--product OpenOffice --languages en-US ../util/update.xml >
../unxlngi6.pro/misc/openoffice_en-US_Linux_x86.installed.update.xml
Subroutine installer::epmfile::getcwd redefined at
/usr/share/perl/5.8/Exporter.pm line 65.
 at /usr/lib/perl/5.8/POSIX.pm line 19
... checking environment variables ...

########################################################
make_installer.pl, version 1.0
Product list file: ../util/openoffice.lst
Taking setup script from solver
Unpackpath: 
/home/william/ooo/svn/DEV300_m57/instsetoo_native/util/../unxlngi6.pro
Compiler: unxlngi6
Product: OpenOffice
BuildID: 9422
Build: DEV300
No minor set
Product version
Using default installpath
Package format: installed
msi templatepath:
/home/william/ooo/svn/DEV300_m57/instsetoo_native/util/../unxlngi6.pro/misc/openoffice/msi_templates
msi template path will be ignored for non Windows builds!
msi languagepath:
/home/william/ooo/svn/DEV300_m57/instsetoo_native/util/../unxlngi6.pro/misc/win_ulffiles
msi language path will be ignored for non Windows builds!
Calling epm
Stripping files
Unzip ARCHIVE files
services.rdb can be created
Languages:
        en-US
########################################################
... checking required files ...
...... searching zip ...
        Found: /usr/bin/zip
... analyzing ../util/openoffice.lst ... 
rmdir: failed to remove
`/home/william/ooo/svn/DEV300_m57/instsetoo_native/unxlngi6.pro/OpenOffice/installed/logging/':
Directory not empty
... reading include pathes ...
... analyzing script:
/home/william/ooo/svn/DEV300_m57/solver/300/unxlngi6.pro/bin/setup_osl.ins ... 
... analyzing directories ... 
... analyzing files ... 
... analyzing scpactions ... 
... analyzing shortcuts ... 
... analyzing unix links ... 
... analyzing profile ... 
... analyzing profileitems ... 
... analyzing modules ... 
------------------------------------
... languages en-US ... 
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SUBST_FILENAME ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... creating preregistered services.rdb ...
javavm.uno.so
javaloader.uno.so
stocservices.uno.so
javavm.uno.so
javaloader.uno.so
stocservices.uno.so
... merging files into registry database ...
... analyzing all directories for this product ...
... analyzing links ...
... analyzing unix links ...
... creating profiles ...
... analyzing modules ...
... creating installation directory ...
... creating installation set in ~/ooo/install ...
... removing old installation directories ...
Deep recursion on subroutine
"installer::systemactions::create_directory_structure" at
/home/william/ooo/svn/DEV300_m57/solenv/bin/modules/installer/systemactions.pm
line 1463.

then the OS runs out of memory due to the recursion.

It doesn't like ~ in the path because if I modify to:

export LOCALINSTALLDIR="/home/william/ooo/install"

the recursion does not occur. Debugging
solenv/bin/modules/installer/systemactions.pm after the mkdir call on line 1418
shows $returnvalue is 0 and $! is "No such file or directory".

I suggest a graceful failure with a message would be preferable to the out of
memory and perhaps a message to not use ~ in the path or otherwise handle ~.

Perl is  v5.8.8  on Ubuntu Hardy Heron.

---------------------------------------------------------------------
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: issues-unsubscr...@installation.openoffice.org
For additional commands, e-mail: issues-h...@installation.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to