Re: openintro and openabout error during make install

Petr Mladek <[email protected]>
Newsgroups gmane.comp.gnome.ximian.openoffice
Message-ID <[email protected]>
On Saturday 03 April 2010, Sasa Ostrouska wrote:
> Hi, I have sucessfuly built the ooo-build 3.2.0.9 and I have this
> error during the make install phase.
>
> My script copies in ooo-build-3.2.0.9/src the files openintro_dlg.bmp
> and openabout_dlg.bmp files, before configure starts.
>
> Seems that configure also finds those 2 files and creates the
> intro.zip file. But for some reason during make install phase this
> file can not get unzipped. I can check if the file exists and if I
> open it I see the 2 files in it.
>
> Any ideas how can I solve this ?

It is hard to say. I haven't see any useful error message in your log. Anyway, 
I wrote some hints below.

> Here is the error:
[...]
> ########################################################
> make_installer.pl, version 1.0
> Product list file: openoffice.lst
> Taking setup script from solver
> Unpackpath:
> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.0-1/ooo-b
>uild-3.2.0.9/build/ooo320-m12/instsetoo_native/util Compiler: unxlngi6
> Product: OpenOffice
[...]
> ... analyzing modules ...
> ------------------------------------
> ... languages en-US ...
> ... analyzing files ...
> ... analyzing files with flag ARCHIVE ...
> WARNING: Repeating to unpack
> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.0-1/ooo-b
>uild-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/pck/intro.zip!
> WARNING: Repeating to unpack
> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.0-1/ooo-b
>uild-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/pck/intro.zip!

This warning seems to be printed from 
ooo320-m12/solenv/bin/modules/installer/archivefiles.pm, line 457:

--- cut ---
                if ( $unziperror )                                                                                                                                                      
                {                                                                                                                                                                       
                    installer::logger::print_warning( "Repeating to unpack 
$sourcepath! \n" );                                                                                          
                    $infoline = "ATTENTION: Repeating to unpack $sourcepath !
\n";                                                                                                       
                    push( @installer::globals::logfileinfo, $infoline);                                                                                                                 
--- cut ---

The variable $unziperror seems to be set on one place only (line 371):

--- cut ---
                        my $sourcefiletest = $unzipdir . $zipname;                                                                                                                      
                        if ( ! -f $sourcefiletest )                                                                                                                                     
                        {Archive::Zip                                                                                                                                                               
                            $infoline = "ATTENTION: Unzip failed for 
$sourcefiletest!\n";                                                                                               
                            push( @installer::globals::logfileinfo, 
$infoline);                                                                                                         
                            $unziperror = 1;                                                                                                                                            
--- cut ---

=> I try to put there some debug output, e.g.

print STDERR, "sourcefiletest: $sourcefiletest\n";

and see what file it is looking for in the if ( ! -f $sourcefiletest ) 
command.


> cleaning the output tree ...
> ... removing directory /tmp/ooopackaging/i_66151270261924 ...
>
> **************************************************
> ERROR: ERROR: Failed to unzip
> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.0-1/ooo-b
>uild-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/pck/intro.zip !
> in function: resolving_archive_flag
> **************************************************
>
> **************************************************
> ERROR: Saved logfile:
> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.0-1/ooo-b
>uild-3.2.0.9/build/ooo320-m12/instsetoo_native/util/OpenOffice//logging/en-U
>S/log_OOO320_en-US.log 
***********Archive::Zip***************************************

You might want to see this log file. It might include another interesting 
error message.

Note that the installed has recently started to use perl Archive::Zip 
functionality intead of the unzip binary. You should check that this perl 
module is working on your system.


-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: [email protected]
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.