[ooo-build] openintro and openabout error during make install

Sasa Ostrouska casaxa at gmail.com
Wed Apr 7 14:39:37 PDT 2010


On Wed, Apr 7, 2010 at 11:02 AM, Petr Mladek <pmladek at suse.cz> wrote:
> 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.

Great !
>
>> 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.
>

I will try to look at that closer, all tough I have no per knowledge.

>
>> 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.
>

That can probably be another point. Maybe my Archive::Zip is outdated.

Thanks for now Petr.
Rgds
Saxa


More information about the ooo-build mailing list