solenv/bin/modules/installer/simplepackage.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit e13029a1ea9e3b5bd67e7f0e670e8813ee6bbcbc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Jul 17 12:55:51 2019 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Jul 17 16:28:00 2019 +0200

    Increase hidutil -megabytes at least for --enable-dbgutil
    
    ...where my --with-package-format=dmg build routinely fails with
    
    > : *********************************************************************
    > : ERROR: The following errors occurred in packaging process:
    > :
    > : ERROR: Could not execute "cd 
/Users/stephan/Software/lo/core/workdir/installation/LibreOffice/dmg/install/en-US_inprogress_temp.19857
 && hdiutil create -megabytes 1500 -srcfolder 
LibreOffice_6.4.0.0.alpha0_MacOS_x86-64 
/Users/stephan/Software/lo/core/workdir/installation/LibreOffice/dmg/install/en-US_inprogress/LibreOffice_6.4.0.0.alpha0_MacOS_x86-64.dmg
 -ov -fs HFS+ -volname "LibreOffice" -format UDBZ": 256
    > : *********************************************************************
    
    No idea whether -megabytes 1500 was chosen for a specific reason, so leave 
it
    alone for --disable-dbgutil builds for now.
    
    Change-Id: Ie89d1043e47ed3c84167cbb22325513305013f86
    Reviewed-on: https://gerrit.libreoffice.org/75775
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/solenv/bin/modules/installer/simplepackage.pm 
b/solenv/bin/modules/installer/simplepackage.pm
index 489f2127688e..78a09e78e5e5 100644
--- a/solenv/bin/modules/installer/simplepackage.pm
+++ b/solenv/bin/modules/installer/simplepackage.pm
@@ -426,7 +426,9 @@ sub create_package
             }
         }
 
-        $systemcall = "cd $localtempdir && hdiutil create -megabytes 1500 
-srcfolder $folder $archive -ov -fs HFS+ -volname \"$volume_name\" -format 
UDBZ";
+        my $megabytes = 1500;
+        $megabytes = 2000 if $ENV{'ENABLE_DBGUTIL'};
+        $systemcall = "cd $localtempdir && hdiutil create -megabytes 
$megabytes -srcfolder $folder $archive -ov -fs HFS+ -volname \"$volume_name\" 
-format UDBZ";
         if (( $ref ne "" ) && ( $$ref ne "" )) {
             $systemcall .= " && hdiutil unflatten $archive && Rez -a $$ref -o 
$archive && hdiutil flatten $archive &&";
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to