Hi Yuri, On Wed, Aug 29, 2012 at 08:59:08PM +0400, Yuri Myasoedov wrote: > 29.08.2012, 20:52, "Ariel Constenla-Haile" <[email protected]>: > > Hi Yuri, > > > > On Wed, Aug 29, 2012 at 06:24:01PM +0400, Yuri Myasoedov wrote: > > > >> Hi! > >> > >> I tried to build AAO 3.4.1 on my Mageia Linux (Mageia 2 64-bit), but I > >> encountered with errors while building sysui module: > >> > >> --- > >> Entering /home/yuri/job/mezon/fstec/aoo/3.4.1/aoo-3.4.1/main/sysui/util > >> > >> /usr/bin/perl checksize.pl > >> Checking:../unxlngx6.pro/ > >> Error: ../unxlngx6.pro/misc/openoffice.org/debugsources.list 0 Bytes! > >> Error: ../unxlngx6.pro/misc/openoffice.org/debuglinks.list 0 Bytes! > >> Error: ../unxlngx6.pro/misc/openoffice.org/debugfiles.list 0 Bytes! > > > > I don't find any reference to these files in the source code. Are you > > building RPM packages? Googling around shows that those files might be > > generated when building RPMs causing some troubles for others too > > (didn't read too much, but may be you can find a solution, there were > > several Google search results). > > I'm building AOO on the RPM-based distro, but I don't use rpmbuild or other > RPM stuff. > I just try to follow to this wiki instruction: > http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO.
Yes, rpm is not used directly by you, but if you configured with --with-package-format="rpm" and epm is enabled, then rpm packages will be built. The module sysui builds the desktop-integration rpm packages, without epm (see main/sysui/desktop/tg_rpm.mk). The problem seems to be described here https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=672538 I have no idea how to fix this, but in the meantime, to keep building, simply hack main/sysui/util/checksize.pl adding a regex to exclude those files, in sub check. Regards -- Ariel Constenla-Haile La Plata, Argentina
diff --git a/main/sysui/util/checksize.pl b/main/sysui/util/checksize.pl
index bd8856e..1d9dbe5 100644
--- a/main/sysui/util/checksize.pl
+++ b/main/sysui/util/checksize.pl
@@ -75,7 +75,12 @@ sub check #04.02.2005 13:40
my $file = shift;
print "$path$file\n" if ((-e "$path$file") && $is_debug);
# don't check dpc,flag,rpmflag,sdf [obj for UNX] files, or etc subdirectory
- return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ &&
$ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) || ($path =~ /.+logs/) || ($path =~
/.+sdf/) );
+ return if (
+ ($file =~ /.+\.(dpc|\w*?flag)/) ||
+ ($file =~ /.+(sources|files|\w*?links)\.list/ && $ENV{GUI} eq
'UNX') ||
+ ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') ||
+ ($path =~ /.+etc/) || ($path =~ /.+logs/) ||
+ ($path =~ /.+sdf/) );
if ( -z "$path$file" ) {
print "Error: $path$file 0 Bytes!\n";
$err++;
pgpERZIz582au.pgp
Description: PGP signature
