[SOLVED] Re: Other build errors

2020-08-05 Thread julien2412
sberg wrote
>> ...
> 
> https://git.libreoffice.org/core/+/2e12d210cac8d031c21cdda9c37c1551f967ddc4%5E%21;
>  
> "Silence loplugin:staticmethods when the definition involves 
> preprocessing" is the last of the fixes I pushed; should work now

Indeed! Thank you!

Julien



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Other build errors

2020-08-05 Thread Stephan Bergmann

On 04/08/2020 23:12, Stephan Bergmann wrote:
It appears that most people's --enable-compiler-plugins builds also use 
--enable-dbgutil, so various issues with 
--disable-dbgutil/--disable-assert-always-abort/etc. have sneaked in 
over time and went unnoticed.  I'm doing such a build right now, fixing 
whatever I find.


 
"Silence loplugin:staticmethods when the definition involves 
preprocessing" is the last of the fixes I pushed; should work now


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Other build errors

2020-08-04 Thread julien2412
Hello again,

Following previous errors, I encountered others:
[CXX] workdir/UnpackedTarball/libcmis/src/libcmis/gdrive-folder.cxx
In file included from /home/julien/lo/libo_perf/vcl/skia/salbmp.cxx:20:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
void verify() const {};
~^
1 error generated.
make[1]: *** [/home/julien/lo/libo_perf/solenv/gbuild/LinkTarget.mk:298:
/home/julien/lo/libo_perf/workdir/CxxObject/vcl/skia/salbmp.o] Error 1
make[1]: *** Attente des tâches non terminées
In file included from /home/julien/lo/libo_perf/vcl/skia/gdiimpl.cxx:23:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
void verify() const {};
~^
/home/julien/lo/libo_perf/vcl/skia/gdiimpl.cxx:188:17: error: this member
function can be declared static [loplugin:staticmethods]
const char* get_debug_name(SkiaSalGraphicsImpl*) { return "skia idle"; }
^~~~
2 errors generated.
make[1]: *** [/home/julien/lo/libo_perf/solenv/gbuild/LinkTarget.mk:298:
/home/julien/lo/libo_perf/workdir/CxxObject/vcl/skia/gdiimpl.o] Error 1
make: *** [Makefile:282: build] Error 2


/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:409:61: error:
unused class member [loplugin:unusedmember]
const char* mpStr;
^
/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:411:61: error:
unused class member [loplugin:unusedmember]
sal_Int16   mnArgPos;
^~~~
2 errors generated.


/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:410:61: error:
unused class member [loplugin:unusedmember]
const char* mpStr;
^

/home/julien/lo/libo_perf/emfio/inc/emfreader.hxx:45:14: error: this member
function can be declared static [loplugin:staticmethods]
void ReadGDIComment(sal_uInt32 nCommentId);
~^
/home/julien/lo/libo_perf/emfio/source/reader/emfreader.cxx:447:21: note:
defined here: [loplugin:staticmethods]
void EmfReader::ReadGDIComment(sal_uInt32)
^~
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3556:5: error:
statement mis-aligned compared to neighbours assert [loplugin:indentation]
assert(res);
^
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3555:9: note:
measured against this one [loplugin:indentation]
g_idle_remove_by_data(this);
^
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3558:5: error:
statement mis-aligned compared to neighbours  [loplugin:indentation]
css::datatransfer::dnd::DropTargetDropEvent aEvent;
^
...


Since the build hasn't finished yet, there may be others.

Julien



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Other build errors

2020-08-04 Thread Stephan Bergmann

On 04/08/2020 20:57, julien2412 wrote:

Following previous errors, I encountered others:
[CXX] workdir/UnpackedTarball/libcmis/src/libcmis/gdrive-folder.cxx
In file included from /home/julien/lo/libo_perf/vcl/skia/salbmp.cxx:20:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
 void verify() const {};
 ~^
1 error generated.


It appears that most people's --enable-compiler-plugins builds also use 
--enable-dbgutil, so various issues with 
--disable-dbgutil/--disable-assert-always-abort/etc. have sneaked in 
over time and went unnoticed.  I'm doing such a build right now, fixing 
whatever I find.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 133331] solenv build errors -fpermissive

2020-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=11

Michael Warner  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |michael.warner.ut+libreoffi
   |desktop.org |c...@gmail.com
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133331] solenv build errors -fpermissive

2020-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=11

--- Comment #2 from Michael Warner  ---
Explicitly specifying the type cast just seems like a good practice anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133331] solenv build errors -fpermissive

2020-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=11

--- Comment #1 from Michael Warner  ---
Created attachment 161210
  --> https://bugs.documentfoundation.org/attachment.cgi?id=161210=edit
Compiler log showing the error

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133331] New: solenv build errors -fpermissive

2020-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=11

Bug ID: 11
   Summary: solenv build errors -fpermissive
   Product: LibreOffice
   Version: 7.0.0.0.alpha1+ Master
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.warner.ut+libreoff...@gmail.com

Description:
I get build errors when trying to build solenv with gcc 7. There is a build log
and a proposed fix attached. 

Steps to Reproduce:
1. checkout and build, it seems to work
2. make clean distclean
3. make


Actual Results:
It didn't work the second time I ran make, I don't have a good explanation for
why not. I futzed around with re-running autogen, but it didn't help.

Expected Results:
I don't get compiler errors.


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
This was a 7.0.0.0.alpha1 build I cloned today.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Build errors on Catalina

2019-11-09 Thread Peter Homann
I'm experiencing a few build errors while building LO on Catalina/Xcode 11.

They're all equality assertions that fail. Anyone able to advise if it's
my setup, or some new features brought in with Catalina?

Relevant lines from the build log here:

/Users/builduser/libreoffice/core/chart2/qa/extras/chart2import.cxx:1533: 
Assertion
Test name: Chart2ImportTest::testAxisTitlePositionDOCX
equality assertion failed
- Expected: 7157
- Actual  : 7159
/Users/builduser/libreoffice/core/sd/qa/unit/export-tests-ooxml2.cxx:1631: 
Assertion
Test name: SdOOXMLExportTest2::testFontScale
equality assertion failed
- Expected: 73000
- Actual  : 55000
/Users/builduser/libreoffice/core/sw/qa/extras/ooxmlimport/ooxmlimport.cxx:572: 
Assertion
Test name: testGroupshapeChildRotation::Import
equality assertion failed
- Expected: 686
- Actual  : 688
/Users/builduser/libreoffice/core/vcl/qa/cppunit/gen/gen.cxx:76: Assertion
Test name: testTdf121120::TestBody
equality assertion failed
- Expected: 255
- Actual  : 1
/Users/builduser/libreoffice/core/chart2/qa/extras/chart2export.cxx:1977: 
Assertion
Test name: Chart2ExportTest::testAxisTitlePositionDOCX
assertion failed
- Expression: nY > 0.805152 && nY < 0.805153


0xEA44D68354B54D7F.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Libreoffice-bugs] [Bug 125203] distro/collabora/cp-6.0* fails to build, errors in xmlsec possibly?

2019-05-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125203

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |MOVED
 CC||todven...@suomi24.fi

--- Comment #1 from Buovjaga  ---
Please discuss build problems on the dev mailing list

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 125203] New: distro/collabora/cp-6.0* fails to build, errors in xmlsec possibly?

2019-05-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125203

Bug ID: 125203
   Summary: distro/collabora/cp-6.0* fails to build, errors in
xmlsec possibly?
   Product: LibreOffice
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ger...@familiegrosskopf.de

on my small (4Gigabyte Ram) ubuntu 16.04 VServer the distro/collabora/cp-6.0*
Branches fail to build.

Maybe i'm missing a kernel module, i'm building libreoffice online without
seccomp because i don't have that.

I have built it a few Months ago with no major problems, it's a clean clone and
the error Message is this:

In file included from /usr/include/c++/5/memory:85:0,
 from /usr/include/unicode/localpointer.h:45,
 from /usr/include/unicode/uenum.h:23,
 from /usr/include/unicode/ucnv.h:53,
 from /usr/include/libxml2/libxml/encoding.h:31,
 from /usr/include/libxml2/libxml/parser.h:810,
 from /usr/include/libxml2/libxml/globals.h:18,
 from /usr/include/libxml2/libxml/threads.h:35,
 from /usr/include/libxml2/libxml/xmlmemory.h:218,
 from /usr/include/libxml2/libxml/tree.h:1307,
 from
/opt/libreoffice/libreoffice/workdir/UnpackedTarball/xmlsec/include/xmlsec/base64.h:18,
 from
/opt/libreoffice/libreoffice/xmlsecurity/inc/xmlsec-wrapper.h:32,
 from
/opt/libreoffice/libreoffice/xmlsecurity/source/xmlsec/biginteger.cxx:23:
/usr/include/c++/5/backward/auto_ptr.h:285:3: error: template specialization
with C linkage
   template<>
   ^
/usr/include/c++/5/backward/auto_ptr.h:293:3: error: template with C linkage
   template<_Lock_policy _Lp>
   ^
/usr/include/c++/5/backward/auto_ptr.h:300:3: error: template with C linkage
   template
   ^
/usr/include/c++/5/backward/auto_ptr.h:313:3: error: template with C linkage
   template
   ^
/usr/include/c++/5/backward/auto_ptr.h:319:3: error: template with C linkage
   template
   ^
/opt/libreoffice/libreoffice/solenv/gbuild/LinkTarget.mk:291: recipe for target
'/opt/libreoffice/libreoffice/workdir/CxxObject/xmlsecurity/source/xmlsec/biginteger.o'
failed
make[1]: ***
[/opt/libreoffice/libreoffice/workdir/CxxObject/xmlsecurity/source/xmlsec/biginteger.o]
Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Build errors

2015-08-28 Thread quailman
I am trying to build LibreOffice for the first time, and am running into 
difficulties.


This is my clone command: git clone 
git://anongit.freedesktop.org/libreoffice/core libreoffice

This is my gcc: (Debian 4.9.3-3) 4.9.3

The autogen script  works fine with no modifications. When I actually 
attempt to make it though, I keep on running into the same error, which 
I could find no information on. The error is the same each time, besides 
where in the source it is obviously :

*
*/In file included from 
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpheader.hxx:75:0,//
// from 
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.hxx:67,//
// from 
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:61://
///home/quailman/code/libreoffice/include/rtl/ustring.hxx:168:5: note: 
declared here//

// OUString(int) = delete;//
// ^//
///home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:119:16: 
error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]//

// return ;/

Each time it is in a function which returns a OUString, but the actual 
return statement is the *return ;*


If I change the return statement to *return OUString();* it seems to 
work, but after running into the error in three separate files(and 
having no familiarity with the code), I figure I must be missing 
something bigger. Is this a familiar problem to anyone?
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors

2015-08-28 Thread Stephan Bergmann

On 08/27/2015 10:45 PM, quailman wrote:

I am trying to build LibreOffice for the first time, and am running into
difficulties.

This is my clone command: git clone
git://anongit.freedesktop.org/libreoffice/core libreoffice
This is my gcc: (Debian 4.9.3-3) 4.9.3

The autogen script  works fine with no modifications. When I actually
attempt to make it though, I keep on running into the same error, which
I could find no information on. The error is the same each time, besides
where in the source it is obviously :
*
*/In file included from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpheader.hxx:75:0,//
// from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.hxx:67,//
// from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:61://
///home/quailman/code/libreoffice/include/rtl/ustring.hxx:168:5: note:
declared here//
// OUString(int) = delete;//
// ^//
///home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:119:16:
error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]//
// return ;/

Each time it is in a function which returns a OUString, but the actual
return statement is the *return ;*

If I change the return statement to *return OUString();* it seems to
work, but after running into the error in three separate files(and
having no familiarity with the code), I figure I must be missing
something bigger. Is this a familiar problem to anyone?


Just git pull again.  Some GCC versions have trouble with such 
statements, and those that unfortunately made it into master recently 
are fixed again with 8be00a3f757618b98d2407978eec2b8526e33232 Help GCC.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 54031] Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2014-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

QA Administrators qa-ad...@libreoffice.org changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from QA Administrators qa-ad...@libreoffice.org ---
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of
information which is needed in order to accurately reproduce and confirm the
problem. We encourage you to retest your bug against the latest release. If the
issue is still present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the
latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will
attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top
section of FDO

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2013-12-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

--- Comment #4 from QA Administrators qa-ad...@libreoffice.org ---
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months.
Please provide the requested information as soon as possible and mark the bug
as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in
NEEDINFO status with no change in 30 days the QA team will close the bug as
INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located
here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as
UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: [PATCH] 4.0.6.2 build errors

2013-11-21 Thread David Tardon
On Mon, Nov 18, 2013 at 11:40:18PM +0100, Jakub Kościelak wrote:
 2 There is an errorin archive
 http://dev-www.libreoffice.org/src/libvisio-0.0.31.tar.bz2
 (downloaded after the command make fetch) in /
 build/win32/libvisio.vcproj,  is missing.

Thanks, I have fixed it.

 Because of this the LO doesn't build.
 Strange that no one has reportedthis error, and ithas not been
 corrected, when everybody who built the LO had to encounter this;-)

That is not true: we use the standard autotools build method for bundled
libvisio (with gcc-like wrappers for MSVC tools).

Sidenote: I expect the situation with alternative build systems for
Windows is much worse in newer libs like libe-book or libetonyek,
because I haven't even bothered to add new files to the project files in
most cases...

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] 4.0.6.2 build errors

2013-11-19 Thread Jakub Kościelak

Hi All,

I am building LO 4.0.6.2 and there are some errors.
I know that 4.0 is EOL. I think 4.1 and 4.2 are affected too.

1 When I build version only en-US, autotextshare_en-us.zip is formed and 
is located in the solver/wntmsci12.pro/pck,
but when I build with --with-lang = pl de option, then thisfile isn't 
created, only the files in pland de version, because of this an error 
occurres during the buildingof the installation file.msi. Is this a 
known bug?


As I remember en-US is always build, because this is native language, 
and I don't need to use --with-lang en-US pl de.


Thus I think, there is a bug.


2 There is an errorin archive 
http://dev-www.libreoffice.org/src/libvisio-0.0.31.tar.bz2 (downloaded 
after the command make fetch) in / build/win32/libvisio.vcproj,  is 
missing.

I attach the patch.
Because of this the LO doesn't build.
Strange that no one has reportedthis error, and ithas not been 
corrected, when everybody who built the LO had to encounter this;-)

This also probably applies to 4.1, 4.2 .
In the version libvisio-0.0.30.tar.bz2 everything was ok.

3 There is a bug in / solenv / bin / modules / installer / windows file 
msiglobal.pm.
my $ comment = $ allvariableshashref- {'PRODUCTNAME'}; returns the name 
without the quotation marks,
If the product name is one word (like LibreOffice) that is not a 
problem, but as in my custom build name has two parts and there is a 
space between, which results in erroneous launch of msiinfo.exe with 
parameters.

I attach the patch.


All the best,
Jakub Kościelak

libvisio.vcproj.patch


*** ./a/libvisio.vcproj 2013-08-28 09:50:52.0 +0200
--- ./b/libvisio.vcproj 2013-11-13 19:40:14.379125000 +0100
***
*** 871,876 
--- 871,877 
/File
File
RelativePath=..\..\src\lib\VSDXTheme.h
+   
/File
File
RelativePath=..\..\src\lib\VSDZipStream.h


msibuild.pm.patch


*** ./a/msiglobal.pm2013-10-12 01:22:28.211661200 +0200
--- ./b/msiglobal.pm2013-11-16 13:21:41.555071700 +0100
***
*** 597,602 
--- 597,616 
  return $subject;
  }
  
+ #

+ # Returning the comment for the Summary Information Stream
+ #
+
+ sub get_comment_for_sis
+ {
+ my ( $allvariableshashref ) = @_;
+
+ my $comment = $allvariableshashref-{'PRODUCTNAME'};
+
+ $comment = \ . $comment . \;
+
+ return $comment;
+ }
  ##
  # Returning the security for the Summary Information Stream
  ##
***
*** 635,641 
  my $title = \Installation database\;
  my $author = get_author_for_sis();
  my $subject = get_subject_for_sis($allvariableshashref);
! my $comment = $allvariableshashref-{'PRODUCTNAME'};
  my $keywords = \Install,MSI\;
  my $appname = \Windows Installer\;
  my $security = get_security_for_sis();
--- 649,655 
  my $title = \Installation database\;
  my $author = get_author_for_sis();
  my $subject = get_subject_for_sis($allvariableshashref);
! my $comment = get_comment_for_sis($allvariableshashref);
  my $keywords = \Install,MSI\;
  my $appname = \Windows Installer\;
  my $security = get_security_for_sis();

*** ./a/libvisio.vcproj	2013-08-28 09:50:52.0 +0200
--- ./b/libvisio.vcproj	2013-11-13 19:40:14.379125000 +0100
***
*** 871,876 
--- 871,877 
  			/File
  			File
  RelativePath=..\..\src\lib\VSDXTheme.h
+ 
  			/File
  			File
  RelativePath=..\..\src\lib\VSDZipStream.h
*** ./a/msiglobal.pm	2013-10-12 01:22:28.211661200 +0200
--- ./b/msiglobal.pm	2013-11-16 13:21:41.555071700 +0100
***
*** 597,602 
--- 597,616 
  return $subject;
  }
  
+ #
+ # Returning the comment for the Summary Information Stream
+ #
+ 
+ sub get_comment_for_sis
+ {
+ my ( $allvariableshashref ) = @_;
+ 
+ my $comment = $allvariableshashref-{'PRODUCTNAME'};
+ 
+ $comment = \ . $comment . \;
+ 
+ return $comment;
+ }
  ##
  # Returning the security for the Summary Information Stream
  ##
***
*** 635,641 
  my $title = \Installation database\;
  my $author = get_author_for_sis();
  my $subject = get_subject_for_sis($allvariableshashref);
! my $comment = $allvariableshashref-{'PRODUCTNAME'};
  my $keywords = \Install,MSI\;
  my $appname = \Windows 

[Libreoffice-bugs] [Bug 54031] Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2013-05-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

James spa...@gmx.net changed:

   What|Removed |Added

Summary|: Internal build errors:|Internal build errors:
   |error 512 occurred while|error 512 occurred while
   |making  |making
   |libreoffice-core-3.6.0.4|libreoffice-core-3.6.0.4

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2013-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

Jorendc joren.libreoff...@telenet.be changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||joren.libreoffice@telenet.b
   ||e
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2013-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 CC||bfo.bugm...@spamgourmet.com

--- Comment #3 from bfoman bfo.bugm...@spamgourmet.com ---
Please check if this bug is reproducible with the latest stable release.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-21 Thread Stephan Bergmann

On 11/20/2012 08:14 PM, Jonathan Aquilina wrote:

Turns out the issue with the hacked up moz that LO uses, disabling it
seems to have fixed the issue that I was experiencing.


Please note that on very recent master, on non-Windows platforms no 
functionality should depend on --enable-mozilla/module moz any more.


Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-21 Thread Jonathan Aquilina
ok, my next question is what is the difference between --disable-mozilla
--disable-mozilla-build. If anything I am disabling mozilla. On my i mac i
have tried --disable-mozilla and it seems like it wasnt disabled. Are both
the above switches needed for it to be fully disabled?

On Wed, Nov 21, 2012 at 4:43 PM, Stephan Bergmann sberg...@redhat.comwrote:

 On 11/20/2012 08:14 PM, Jonathan Aquilina wrote:

 Turns out the issue with the hacked up moz that LO uses, disabling it
 seems to have fixed the issue that I was experiencing.


 Please note that on very recent master, on non-Windows platforms no
 functionality should depend on --enable-mozilla/module moz any more.

 Stephan
 __**_
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.**org LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/**mailman/listinfo/libreofficehttp://lists.freedesktop.org/mailman/listinfo/libreoffice




-- 
Jonathan Aquilina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-21 Thread Stephan Bergmann

On 11/21/2012 04:48 PM, Jonathan Aquilina wrote:

ok, my next question is what is the difference between --disable-mozilla
--disable-mozilla-build. If anything I am disabling mozilla. On my i mac
i have tried --disable-mozilla and it seems like it wasnt disabled. Are
both the above switches needed for it to be fully disabled?


None of those switches should be necessary on Mac OS X at all.

--disable-mozilla is implicitly set anyway.

There is no --disable-mozilla-build in configure.ac, just 
--with-mozilla-build, but the resulting MOZILLABUILD var appears to only 
be used on Windows anyway (in configure.ac and nss/makefile.mk).


Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-20 Thread Jonathan Aquilina
Is there a way to disable the cppunit stuff? as my searching is yielding no
way to disable them.

On Tue, Nov 20, 2012 at 7:17 PM, Markus Mohrhard 
markus.mohrh...@googlemail.com wrote:

 2012/11/20 Jonathan Aquilina eagles051...@gmail.com:
  Matus I am not sure if the work you have been doign has resulted in the
  issue I am seeing on mac, but i am using the disable autogen.sh switch
 for
  cairo yet for me my build is still failing and suggesting that cairo
 coudl
  be the cause along with some other modules in cppunit module. Is this
  related or not at all?
 
 

 Cppunit has no dependencies to cairo. Cppunit is independent of all
 our internal modules.




-- 
Jonathan Aquilina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-20 Thread Markus Mohrhard
2012/11/20 Jonathan Aquilina eagles051...@gmail.com:
 Is there a way to disable the cppunit stuff? as my searching is yielding no
 way to disable them.

No officialy supported way. But cppunit should be stable and easy to
build so can you please attach your build error message.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors on mac (WAS: what's the problem with system cairo ?)

2012-11-20 Thread Jonathan Aquilina
Turns out the issue with the hacked up moz that LO uses, disabling it seems
to have fixed the issue that I was experiencing.

On Tue, Nov 20, 2012 at 7:30 PM, Markus Mohrhard 
markus.mohrh...@googlemail.com wrote:

 2012/11/20 Jonathan Aquilina eagles051...@gmail.com:
  Is there a way to disable the cppunit stuff? as my searching is yielding
 no
  way to disable them.

 No officialy supported way. But cppunit should be stable and easy to
 build so can you please attach your build error message.




-- 
Jonathan Aquilina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

David Tardon dtar...@redhat.com changed:

   What|Removed |Added

  Attachment #66086|text/x-log  |text/plain
  mime type||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] New: : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2012-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

 Bug #: 54031
   Summary: : Internal build errors: error 512 occurred while
making libreoffice-core-3.6.0.4
Classification: Unclassified
   Product: LibreOffice
   Version: 3.6.0.4 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Installation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: sac...@mail.ru


Created attachment 66085
  -- https://bugs.freedesktop.org/attachment.cgi?id=66085
emerge --info

Problem description: 

[ build CXX ] stoc/source/corereflection/crcomp.cxx
make[2]: ***
[/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CxxObject/stoc/source/tdmanager/tdmgr.o]
Error 1

Steps to reproduce:
1. 3.5.2-gentoo
2. sudo emerge -av =app-office/libreoffice-3.6.0.4

Current behavior:

Something failed during the build.

Expected behavior:

Build is success.

Platform (if different from the browser): 

Linux 3.5.2-gentoo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2012-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

--- Comment #1 from sac...@mail.ru 2012-08-25 00:20:20 UTC ---
Created attachment 66086
  -- https://bugs.freedesktop.org/attachment.cgi?id=66086
Tail of the emerge log file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2012-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

--- Comment #2 from sac...@mail.ru 2012-08-25 00:21:08 UTC ---
Created attachment 66087
  -- https://bugs.freedesktop.org/attachment.cgi?id=66087
Full emerge log file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 54031] : Internal build errors: error 512 occurred while making libreoffice-core-3.6.0.4

2012-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54031

sac...@mail.ru changed:

   What|Removed |Added

   Platform|Other   |x86-64 (AMD64)
 OS/Version|All |Linux (All)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


RE: Build errors in nss and jurt modules (Mac OS X).

2012-07-22 Thread Issa Alkurtass
Hello Boris,

Thanks a lot, that solved most of the problems. I hesitated to use i386 since I 
am using a 64-bit machine.
Now I am getting an error in helpcontent2 module. My source code is up to date 
and I tried a clean rebuild to no avail.


Regards,
Issa Alkurtass
Motah Program, KACST
http://www.motah.org.sa
Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

تحذير: هذه الرسالة وما تحويه من مرفقات (إن وجدت) تمثل وثيقة سرية قد تحتوي على 
معلومات محمية بموجب القانون. إذا لم تكن الشخص المعني بهذه الرسالة فيجب عليك 
تنبيه المُرسل بخطأ وصولها إليك، وحذف الرسالة ومرفقاتها (إن وجدت)، ولا يجوز لك 
نسخ أو توزيع هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزء منها، أو البوح 
بمحتوياتها للغير أو استعمالها لأي غرض. علماً بأن فحوى هذه الرسالة ومرفقاتها (ان 
وجدت) تعبر عن رأي المُرسل وليس بالضرورة رأي مدينة الملك عبدالعزيز للعلوم 
والتقنية بالمملكة العربية السعودية، ولا تتحمل المدينة أي مسئولية عن الأضرار 
الناتجة عن ما قد يحتويه هذا البريد.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Build errors in nss and jurt modules (Mac OS X).

2012-07-09 Thread Issa Alkurtass
Hello all. I ran into some issues while trying to build LibreOffice on my
Mac. I followed a few workarounds available on this list.
The modules I am currently getting errors in are nss and jurt. I tried disabling
them but to no avail.

I am running Mac OS X 10.7.3 64-bits with Xcode version 4.2.1.
My autogen.lastrun was:
--disable-mozilla
--disable-nss-module
--with-macosx-sdk=10.6
--with-max-jobs=8
--with-num-cpus=8
--without-java
--without-junit
--without-doxygen
--without-myspell-dicts

I would appreciate any help. Thank you.
Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

تحذير: هذه الرسالة وما تحويه من مرفقات (إن وجدت) تمثل وثيقة سرية قد تحتوي على 
معلومات محمية بموجب القانون. إذا لم تكن الشخص المعني بهذه الرسالة فيجب عليك 
تنبيه المُرسل بخطأ وصولها إليك، وحذف الرسالة ومرفقاتها (إن وجدت)، ولا يجوز لك 
نسخ أو توزيع هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزء منها، أو البوح 
بمحتوياتها للغير أو استعمالها لأي غرض. علماً بأن فحوى هذه الرسالة ومرفقاتها (ان 
وجدت) تعبر عن رأي المُرسل وليس بالضرورة رأي مدينة الملك عبدالعزيز للعلوم 
والتقنية بالمملكة العربية السعودية، ولا تتحمل المدينة أي مسئولية عن الأضرار 
الناتجة عن ما قد يحتويه هذا البريد.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors in nss and jurt modules (Mac OS X).

2012-07-09 Thread Michael Meeks
Hi there,

On Sat, 2012-07-07 at 06:50 +, Issa Alkurtass wrote:
 Hello all. I ran into some issues while trying to build LibreOffice on my
 Mac. I followed a few workarounds available on this list.

Great.

 The modules I am currently getting errors in are nss and jurt. I tried 
 disabling
 them but to no avail.

I suspect you'll need either nss or mozilla; I'd recommend the former.

 I am running Mac OS X 10.7.3 64-bits with Xcode version 4.2.1.
 My autogen.lastrun was:

... helpful to have those options - thanks ...

 I would appreciate any help. Thank you.

Can you give some more details on how it failed ? what was the last 100
lines of build log ? (particularly incremental build log - ie. run make
again eg.: make 21 | tee /tmp/log.txt

Without that, it's really hard to tell. Another thing that can help if
you have persistent problems is to build a known-good branch; eg. './g
checkout libreoffice-3-6' or somesuch. Patches against that branch are
rather easy to port to master at the moment.

Thanks !

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build errors in nss and jurt modules (Mac OS X).

2012-07-09 Thread Boris Dušek
Hello Issa,

7. 7. 2012 v 8:50, Issa Alkurtass:

 My autogen.lastrun was:
 --disable-mozilla
 --disable-nss-module
 --with-macosx-sdk=10.6
 --with-max-jobs=8
 --with-num-cpus=8
 --without-java
 --without-junit
 --without-doxygen
 --without-myspell-dicts

I think you need to explicitely build for i386, that is, to specify in the 
configure (or autogen) command this at the end, just like you specify 
--disable-mozilla etc.:

./configure ...other options... CC=gcc -arch i386 CXX=g++ -arch i386

or if you wish to build with clang:

./configure ...other options... CC=clang -arch i386 CXX=clang++ -arch i386

Both of the build errors you mention are from my experience because 64-bit 
binary gets built where
32-bit is expected (or vice versa). At least my experience with Xcode 4.3.3.

Also note that AFAIK LO is not 64-bit-capable on Mac ATM, so you *have* to 
build it for 32-bit
to get anything meaningful.

HTH,
Boris

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-09 Thread Michael Meeks

On Wed, 2012-02-08 at 16:44 +0100, Alexander Bergmann wrote:
 Now --without-doxygen and --disable-odk look like they can be used,
 too. Probably --disable-mozilla as well?

Yep.

 I guess it might be a good idea, to have a switch --minimal, which
 disables all switches, which are not needed unless in special
 situations.

Sounds good to me; of course we should only use it for those bits that
are a known PITA to build cross-distro :-) no point in turning off eg.
internal python when it seems to work reasonably well.

  A side effect could be that less dependencies are needed and building
 LibreOffice takes less time.

Right; and recommend it to new developers for their first compile I
guess.

As far as I've seen Java causes -the- most hideous, and needless
cross-platform / cross-distribution build problems - we use it for
increasingly less that is useful for fixing the vast majority of bugs
and easy hacks we have - which tend to focus on the C/C++ code.

But of course, --minimal should not be our default build - only for
beginners (I guess?). Any chance of doing some hacking on that ? I
imagine the trick would be to ensure that we don't clobber settings
given in subsequent parameters: --minimal --with-java should work as
expected of course.

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
On Sun, Feb 05, 2012 at 03:18:13PM -0600, Norbert Thiebaud wrote:
 On Sun, Feb 5, 2012 at 12:05 PM, Gert van Valkenhoef
 g.h.m.van.valkenh...@rug.nl wrote:
  Dear LibreOffice developers,
  2) There is no build-dep on doxygen (ppa libreoffice), but LibreOffice won't
  build without it
 
 it will if you specify --without-doxygen
 
 but sure, it would be nice if the distribution's dep package would

There's no dep package.

 pull it automatically... (and the wiki should prolly be updated too)

No, it does not make sense to add Build-Depends: doxygen on a 3.5 when a
3.5 does not need it.

(apt-get build-dep is just a thing looking at Build-Depends: of the
libreoffice source package in apts cache)

Seriously, if someone can't install doxygen when configure errors out because
doxygen is not there...

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Noel Grandin



On 2012-02-08 14:54, Rene Engelhard wrote:
Seriously, if someone can't install doxygen when configure errors out 
because doxygen is not there...


The list of things to do for building LO is pretty steep for a first 
timer.  Individually it may not seem like much, but when you've gone 
back to searching wiki pages and google for the 20th time, it gets 
frustrating.
It took me 3 weeks of part-time hacking and googling and asking 
questions on the mailing list to get LO to build.

And considerably longer before I had something that would actually run.

Perhaps the configure process could just automatically add the correct 
--without flags if the relevant packages are not present?


-- Noel Grandin


Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
Hi,

On Wed, Feb 08, 2012 at 03:11:18PM +0200, Noel Grandin wrote:
 On 2012-02-08 14:54, Rene Engelhard wrote:
 Seriously, if someone can't install doxygen when configure errors
 out because doxygen is not there...
 
 The list of things to do for building LO is pretty steep for a first
 timer.  Individually it may not seem like much, but when you've gone
 back to searching wiki pages and google for the 20th time, it gets
 frustrating.

Nonssense. What is hard on No doxygen ther. to apt-get install doxygen?
Right, nothing.

 It took me 3 weeks of part-time hacking and googling and asking
 questions on the mailing list to get LO to build.

If there's actual build errors you're right, but not for such trivialities
which can be solved by actually reading the error message and installing
the missing package.

 Perhaps the configure process could just automatically add the
 correct --without flags if the relevant packages are not present?

No. Because that can lead to accidentially disabling stuff you want
(and you implicitely said I want the full SDK, otherwise you'd have
configure'd appropriately)

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Noel Grandin



On 2012-02-08 15:15, Rene Engelhard wrote:
Nonssense. What is hard on No doxygen ther. to apt-get install 
doxygen? Right, nothing. 


This is what I get - it needs to do 400M of downloads - please tell me 
which pieces it needs and does not need.
Now multiply this by a dozen other settings, and you begin to see the 
problem.


noel@ubuntu:~/libo$ sudo apt-get install doxygen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  doxygen-latex lacheck latex-beamer latex-xcolor lmodern luatex pgf
  preview-latex-style prosper ps2eps tex-common texlive-base 
texlive-binaries

  texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-luatex texlive-pictures
  texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
Suggested packages:
  doxygen-doc doxygen-gui graphviz auctex perl-tk dvidvi fragmaster latexmk
  purifyeps xindy psutils t1utils texpower dot2tex
The following NEW packages will be installed:
  doxygen doxygen-latex lacheck latex-beamer latex-xcolor lmodern 
luatex pgf
  preview-latex-style prosper ps2eps tex-common texlive-base 
texlive-binaries

  texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-luatex texlive-pictures
  texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
0 upgraded, 30 newly installed, 0 to remove and 93 not upgraded.
Need to get 417 MB of archives.
After this operation, 679 MB of additional disk space will be used.
Do you want to continue [Y/n]?






Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
On Wed, Feb 08, 2012 at 03:26:55PM +0200, Noel Grandin wrote:
 On 2012-02-08 15:15, Rene Engelhard wrote:
 Nonssense. What is hard on No doxygen ther. to apt-get install
 doxygen? Right, nothing.
 
 This is what I get - it needs to do 400M of downloads - please tell
 me which pieces it needs and does not need.

Then install doxygen. Anything in depends is needed to get the package
installed.

Just apt-get install doxygen and you're done.

What doxygen itself suggests does not matter.
If libreoffice needed anything of that we needed to check for that in any case.

 Now multiply this by a dozen other settings, and you begin to see
 the problem.

No, I don't. I am not talking about eventual missing checks etc, just
about the triviality to match no doxygen found but needed to
install doxygen. If that is not enough, yes, we'd need to fix something
up, but that's a *completely* different story.

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Christian Lohmaier
Hi Noel, *,

On Wed, Feb 8, 2012 at 2:26 PM, Noel Grandin n...@peralex.com wrote:
 On 2012-02-08 15:15, Rene Engelhard wrote:

 Nonssense. What is hard on No doxygen ther. to apt-get install
 doxygen? Right, nothing.

 This is what I get - it needs to do 400M of downloads - please tell me which
 pieces it needs and does not need.

To begin with: You don't need doxygen when you're developing only
(i.e. you only need it if you want to publish the built SDK). In fact
you don't need to build the SDK/ODK at all (--disable-odk)

It only creates the api-documentation html from the sources. If you're
fine with reading the docs online or don't care about installing the
SDK from our download page to get the API-docs, then you don't need to
build it yourself.

 Now multiply this by a dozen other settings, and you begin to see the
 problem.

I don't know the debian dependencies, but as most of the download in
your case is TeX, just leave that out. It only creates html, no
tex-documents and stuff that would require tex.

I.e. don't include doxygen-latex and the install will be much slimmer
- but as mentioned: No idea what package you have to install instead
of the meta-package. (just use --without-doxygen or --disable-odk)

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
Hi.

On Wed, Feb 08, 2012 at 02:58:36PM +0100, Christian Lohmaier wrote:
  Now multiply this by a dozen other settings, and you begin to see the
  problem.
 
 I don't know the debian dependencies, but as most of the download in
 your case is TeX, just leave that out. It only creates html, no
 tex-documents and stuff that would require tex.
 
 I.e. don't include doxygen-latex and the install will be much slimmer

Yes. Especially as doxygen-latex is no depends but only a *recommends*.
(Dumbly the  default nowadays is to also install recommends per default...)

http://packages.debian.org/sid/doxygen

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Michael Meeks

On Wed, 2012-02-08 at 15:11 +0200, Noel Grandin wrote:
 On 2012-02-08 14:54, Rene Engelhard wrote:
  Seriously, if someone can't install doxygen when configure errors out 
  because doxygen is not there...

 The list of things to do for building LO is pretty steep for a first 
 timer.  Individually it may not seem like much, but when you've gone 
 back to searching wiki pages and google for the 20th time, it gets 
 frustrating

Right ! and that sucks. So - I wonder, could we make the error message
more helpful in this failure case:

You don't have doxygen, please either install it or pass;
 --without-doxygen [or similar]. Disabling it will not
 impact your build, unless it is a product build

If we are too difficult for newbies to build, this is a big problem,
and not one to take lightly.

Of course, we don't want to accidentally break distro packages by
adapting to an incomplete system either.

Potentially we could auto-fit to the system more aggressively to help
newbies, but fail aggressively on missing packages if some
--enable-product (or whatever) option is passed. Perhaps that might
capture the best of both worlds (?).

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
Hi,

On Wed, Feb 08, 2012 at 02:47:21PM +, Michael Meeks wrote:
 On Wed, 2012-02-08 at 15:11 +0200, Noel Grandin wrote:
  On 2012-02-08 14:54, Rene Engelhard wrote:
   Seriously, if someone can't install doxygen when configure errors out 
   because doxygen is not there...
 
  The list of things to do for building LO is pretty steep for a first 
  timer.  Individually it may not seem like much, but when you've gone 
  back to searching wiki pages and google for the 20th time, it gets 
  frustrating
 
   Right ! and that sucks. So - I wonder, could we make the error message
 more helpful in this failure case:
 
   You don't have doxygen, please either install it or pass;
--without-doxygen [or similar]. Disabling it will not
impact your build, unless it is a product build

This is already there. Not word for word but in  the sense.

AC_ARG_WITH(
[doxygen],
AS_HELP_STRING(
[--with-doxygen],
[Specifies the doxygen executable to use when generating ODK C/C++
 documentation. --without-doxygen disables generation of ODK C/C++
 documentation. Not relevant in the --disable-odk case.])
[
  Usage: --with-doxygen=absolute path to doxygen 
executable
],,
[with_doxygen=yes])

OK, I know people don't even look at ./configure --help, but later:

if test $enable_odk = no; then
unset DOXYGEN
else
if test $with_doxygen = no; then
AC_MSG_CHECKING([for doxygen])
unset DOXYGEN
AC_MSG_RESULT([no])
else
if test $with_doxygen = yes; then
AC_PATH_PROG([DOXYGEN], [doxygen])
if test -z $DOXYGEN; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([doxygen not found in \$PATH; specify its pathname 
via --with-doxygen=..., or disable its use via --without-doxygen])
fi
else
AC_MSG_CHECKING([for doxygen])
DOXYGEN=$with_doxygen
AC_MSG_RESULT([$DOXYGEN])
fi
fi
fi
AC_SUBST([DOXYGEN])

it also mentions --without-doxygen. And again, I don't think it's hard to map
doxygen not found to $whathever_command_to_install_doxygen.

In any case I'll stop here, it just began with a wrong assumption of people what
apt-get build-dep does (and I do believe that yum build-dep has the same issue)
and that it might be really hard to just install doxygen (I understand that you
maybe don't want to look up configure flags, but...)

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Alexander Bergmann

Hi Michael,

from what I read here makes me feel like there are couple of switches, 
which are enabled by default, but can be disabled pretty safely. Some of 
them --disable-epm, --without-junit and --without-java were documented 
in the wiki: http://wiki.documentfoundation.org/Development/How_to_build


Now --without-doxygen and --disable-odk look like they can be used, too. 
Probably --disable-mozilla as well?


I guess it might be a good idea, to have a switch --minimal, which 
disables all switches, which are not needed unless in special 
situations. A side effect could be that less dependencies are needed and 
building LibreOffice takes less time.


This should be fine for new users, who want to take first steps in 
building LibreOffice.


Best regards,
Alexander

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Rene Engelhard
Hi,

On Wed, Feb 08, 2012 at 04:44:00PM +0100, Alexander Bergmann wrote:
which are enabled by default, but can be disabled pretty safely. Some of
them --disable-epm, --without-junit and --without-java were documented in
the wiki: [1]http://wiki.documentfoundation.org/Development/How_to_build

I agree with the first both. I think we should keep Java on per default, though
to get a full build ((wizards, Base, filters, help index missing otherwise etc.)

Now --without-doxygen and --disable-odk look like they can be used, too.

You don't need --without-doxygen when you do --disable-odk, but yeah, I think
--disable-odk per  default could work (not everyone needs the SDK)

Probably --disable-mozilla as well?

ACK.

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-08 Thread Michael Stahl
On 08/02/12 16:58, Rene Engelhard wrote:
 Hi,
 
 On Wed, Feb 08, 2012 at 04:44:00PM +0100, Alexander Bergmann wrote:
which are enabled by default, but can be disabled pretty safely. Some of
them --disable-epm, --without-junit and --without-java were documented in
the wiki: [1]http://wiki.documentfoundation.org/Development/How_to_build
 
 I agree with the first both. I think we should keep Java on per default, 
 though
 to get a full build ((wizards, Base, filters, help index missing otherwise 
 etc.)

i agree with Rene, Java and JUnit should be enabled by default, because
also the complex/unoapi tests require that.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-06 Thread Stephan Bergmann

On 02/05/2012 07:05 PM, Gert van Valkenhoef wrote:

1) Compile error in l10ntools/source/lngex.cxx (see below)


Fixed with Josh's fix now (which came in concurrently).

Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-06 Thread Stephan Bergmann

On 02/05/2012 10:18 PM, Norbert Thiebaud wrote:

On Sun, Feb 5, 2012 at 12:05 PM, Gert van Valkenhoef
g.h.m.van.valkenh...@rug.nl  wrote:

Dear LibreOffice developers,
2) There is no build-dep on doxygen (ppa libreoffice), but LibreOffice won't
build without it


it will if you specify --without-doxygen

but sure, it would be nice if the distribution's dep package would
pull it automatically... (and the wiki should prolly be updated too)


Updated 
https://wiki.documentfoundation.org/index.php?title=Development/Native_Build#Parameters_to_autogen.sh_to_fix_common_problems.


Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


PATCH build errors on Ubuntu 10.04

2012-02-05 Thread Gert van Valkenhoef

Dear LibreOffice developers,

I've checked out the LibreOffice git repository and followed the build 
instructions. This revealed two problems:


1) Compile error in l10ntools/source/lngex.cxx (see below)
2) There is no build-dep on doxygen (ppa libreoffice), but LibreOffice 
won't build without it


The compile error:

Compiling: l10ntools/source/lngex.cxx
/home/gert/tmp/libreoffice-core/l10ntools/source/lngex.cxx: In function 
'sal_Bool ParseCommandLine(int, char**)':
/home/gert/tmp/libreoffice-core/l10ntools/source/lngex.cxx:77: error: 
parameter may not have variably modified type 'rtl::OString [(((unsigned 
int)(((int)i) + -0x1)) + 1)]'

dmake:  Error code 1, while making '../unxlngi6.pro/obj/lngex.obj'

I've attached a patch that fixes the symptom (it does an explicit type 
cast). You may prefer a different fix. After this the build was successful.


Best wishes,

Gert van Valkenhoef
diff --git a/l10ntools/source/lngex.cxx b/l10ntools/source/lngex.cxx
index e921a74..b4cfb18 100644
--- a/l10ntools/source/lngex.cxx
+++ b/l10ntools/source/lngex.cxx
@@ -74,7 +74,7 @@ sal_Bool ParseCommandLine( int argc, char* argv[])
 
 // parse command line
 for( int i = 1; i  argc; i++ ) {
-rtl::OString sSwitch(rtl::OString(argv[i]).toAsciiUpperCase());
+rtl::OString sSwitch((rtl::OString)rtl::OString(argv[i]).toAsciiUpperCase());
 if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM(-I)))
 nState = STATE_INPUT; // next tokens specifies source files
 else if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM(-O)))
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: PATCH build errors on Ubuntu 10.04

2012-02-05 Thread Norbert Thiebaud
On Sun, Feb 5, 2012 at 12:05 PM, Gert van Valkenhoef
g.h.m.van.valkenh...@rug.nl wrote:
 Dear LibreOffice developers,
 2) There is no build-dep on doxygen (ppa libreoffice), but LibreOffice won't
 build without it

it will if you specify --without-doxygen

but sure, it would be nice if the distribution's dep package would
pull it automatically... (and the wiki should prolly be updated too)

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Build errors

2011-09-08 Thread Dmitry. A. Ashkadov

Hello!

I had tried to build LO, but thereare two errors during build:


Compiling: filter/source/graphicfilter/epict/epict.cxx
Making:epict.lib
Making:libeptlo.so
Making:all_epict.dpslo
Entering /home/user/projects/libreoffice/filter/source/svg

Compiling: filter/source/svg/parserfragments.cxx
Compiling: filter/source/svg/impsvgdialog.cxx
dmake:  Error: -- `svgscript.hxx' not found, and can't be made

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making 
/home/user/projects/libreoffice/filter/source/svg


 it seems that the error is inside 'filter', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/bin/sh
cd /home/user/projects/libreoffice
source ./Env.Host.sh
cd filter
rm -Rf /home/user/projects/libreoffice/filter/unxlngi6 # optional 
module 'clean'

build

when the problem is isolated and fixed exit and re-run 'make' from the 
top-level


And next error:


Making:libpcrlo.so
../../unxlngi6/slo/MasterDetailLinkDialog.o:(.data.rel.ro._ZTVN3pcr22MasterDetailLinkDialogE[vtable 
for pcr::MasterDetailLinkDialog]+0x120): undefined reference to 
`cppu::OPropertySetHelper::enableChangeListenerNotification(unsigned 
char)'
../../unxlngi6/slo/MasterDetailLinkDialog.o:(.data.rel.ro._ZTVN3pcr22MasterDetailLinkDialogE[vtable 
for pcr::MasterDetailLinkDialog]+0x194): undefined reference to 
`non-virtual thunk to 
svt::OGenericUnoDialog::queryInterface(com::sun::star::uno::Type const)'
../../unxlngi6/slo/MasterDetailLinkDialog.o:(.data.rel.ro._ZTVN3pcr22MasterDetailLinkDialogE[vtable 
for pcr::MasterDetailLinkDialog]+0x1a0): undefined reference to 
`non-virtual thunk to 
cppu::OPropertySetHelper::enableChangeListenerNotification(unsigned char)'

collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../unxlngi6/lib/libpcrlo.so'

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making 
/home/user/projects/libreoffice/extensions/source/propctrlr


 it seems that the error is inside 'extensions', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/bin/sh
cd /home/user/projects/libreoffice
source ./Env.Host.sh
cd extensions
rm -Rf /home/user/projects/libreoffice/extensions/unxlngi6 # optional 
module 'clean'

build

when the problem is isolated and fixed exit and re-run 'make' from the 
top-level


Are any ideas how to fix problems?

Thank you!

--
Best Regards,
Dmitry

attachment: dmitry_ashkadov.vcf___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build errors

2011-09-08 Thread Caolán McNamara
On Thu, 2011-09-08 at 13:53 +0400, Dmitry. A. Ashkadov wrote:
 Hello!
 
 I had tried to build LO, but thereare two errors during build:

Its an incremental build isn't it ?, i.e. built, git pulled and
rebuild.

  Compiling: filter/source/graphicfilter/epict/epict.cxx
  Making:epict.lib
  Making:libeptlo.so
  Making:all_epict.dpslo
  Entering /home/user/projects/libreoffice/filter/source/svg
 
  Compiling: filter/source/svg/parserfragments.cxx
  Compiling: filter/source/svg/impsvgdialog.cxx
  dmake:  Error: -- `svgscript.hxx' not found, and can't be made

This is a common problem with a header is removed, and dependencies get
stuck. The problem is basically fixed for the newer gmake projects. For
the older ones you can throw away the depends for that dir and
regenerate them, like so...

source ./Env.Host.sh
cd filter/source/svg
dmake depend=t
dmake

  Making:libpcrlo.so
  ../../unxlngi6/slo/MasterDetailLinkDialog.o:(.data.rel.ro._ZTVN3pcr22MasterDetailLinkDialogE[vtable
   
  for pcr::MasterDetailLinkDialog]+0x120): undefined reference

Not sure *why* this one happened, but try.

touch extensions/source/propctrlr/MasterDetailLinkDialog.cxx
and re-make.

In either case the more aggressive rm -Rf in the error message should
work.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build errors

2011-09-08 Thread Dmitry. A. Ashkadov

Hello, Caolán!

I had tried full rebuild:

$ make clean
$ make

but the problems are left.

For module 'filter' command dmake depend=t wokrs as 'touch' for extensions!

thank you!

08.09.2011 13:59, Caolán McNamara пишет:

On Thu, 2011-09-08 at 13:53 +0400, Dmitry. A. Ashkadov wrote:

Hello!

I had tried to build LO, but thereare two errors during build:

Its an incremental build isn't it ?, i.e. built, git pulled and
rebuild.


Compiling: filter/source/graphicfilter/epict/epict.cxx
Making:epict.lib
Making:libeptlo.so
Making:all_epict.dpslo
Entering /home/user/projects/libreoffice/filter/source/svg

Compiling: filter/source/svg/parserfragments.cxx
Compiling: filter/source/svg/impsvgdialog.cxx
dmake:  Error: -- `svgscript.hxx' not found, and can't be made

This is a common problem with a header is removed, and dependencies get
stuck. The problem is basically fixed for the newer gmake projects. For
the older ones you can throw away the depends for that dir and
regenerate them, like so...

source ./Env.Host.sh
cd filter/source/svg
dmake depend=t
dmake


Making:libpcrlo.so
../../unxlngi6/slo/MasterDetailLinkDialog.o:(.data.rel.ro._ZTVN3pcr22MasterDetailLinkDialogE[vtable
for pcr::MasterDetailLinkDialog]+0x120): undefined reference

Not sure *why* this one happened, but try.

touch extensions/source/propctrlr/MasterDetailLinkDialog.cxx
and re-make.

In either case the more aggressive rm -Rf in the error message should
work.

C.




--
Best Regards,
Dmitry

attachment: dmitry_ashkadov.vcf___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build errors

2011-09-08 Thread Dmitry. A. Ashkadov

Hello!


The building now reaches module 'tail_build' and fails:


=
(1/1) Building module tail_build
=
Entering /home/user/projects/libreoffice/tail_build/prj

cd ..  make -s -r -j2  make -s -r deliverlog
[ build MOD ] sc
[ build CUT ] hwpfilter_test_hwpfilter
[ build CUT ] lotuswordpro_test_lotuswordpro
[ build CUT ] sc_ucalc
[ build CUT ] sc_filters_test
[ build CUT ] sd_uimpress
Error: GetResultSet: Any other exception: No Content Provider 
available for URL: vnd.sun.star.help://?Language=enSystem= From File 
/home/user/projects/libreoffice/sfx2/source/bastyp/helper.cxx at Line 161
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: property value missing From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 207
Error: LoadConfig failed From File 
/home/user/projects/libreoffice/unotools/source/config/searchopt.cxx 
at Line 235

ods Test
filters-test.cxx:211:Assertion
Test name: FiltersTest::testRangeName
assertion failed
- Expression: xDocSh.Is()
- Failed to load named-ranges-global.ods.

filters-test.cxx:296:Assertion
Test name: FiltersTest::testContent
assertion failed
- Expression: xDocSh.Is()
- Failed to load universal-content.*

Failures !!!
Run: 3   Failure total: 2   Failures: 2   Errors: 0
make: *** 
[/home/user/projects/libreoffice/workdir/unxlngi6/CppunitTest/sc_filters_test.test] 
Error 1

make: *** Waiting for unfinished jobs
dmake:  Error code 2, while making 'all'

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making 
/home/user/projects/libreoffice/tail_build/prj


 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error

Re: [Libreoffice] Build errors

2011-09-08 Thread Markus Mohrhard
'


 --**--**
 ---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:

 http://wiki.**documentfoundation.org/**Developmenthttp://wiki.documentfoundation.org/Development

  internal build errors:

 ERROR: error 65280 occurred while making /home/user/projects/**
 libreoffice/tail_build/prj

  it seems that the error is inside 'tail_build', please re-run build

  inside this module to isolate the error and/or test your fix:
 --**--**
 ---

 /bin/sh
 cd /home/user/projects/**libreoffice
 source ./Env.Host.sh
 cd tail_build
 rm -Rf /home/user/projects/**libreoffice/tail_build/**unxlngi6 # optional
 module 'clean'

 build

 when the problem is isolated and fixed exit and re-run 'make' from the
 top-level


 Is it possible to bypass unit tests or I should wait for commit that fixes
 this problem?


 Thank you!

 --
 Best Regards,
Dmitry


 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build errors

2011-09-08 Thread Dmitry. A. Ashkadov

Good! The office was build successfully! :-)

Why «make dev-install»  works as simple «make» now? How can I install 
office to local directory?


Thank you.

--
Best Regards,
Dmitry

attachment: dmitry_ashkadov.vcf___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH] build dependencies, removing headers and getting away with it. (was build errors on Ubuntu)

2011-08-23 Thread Caolán McNamara
On Mon, 2011-08-22 at 23:37 +0200, Cor Nouws wrote:
 ERROR: error 65280 occurred while making 
 /home/cono/src/git/libo_core/rsc/prj
 /home/cono/src/git/libo_core/xmloff/prj

Well, firstly these don't really include the actual error, but I'm going
to guess that its very likely the problem is header files that used to
exist, got removed, and whose references in .cxx files also got removed
correctly, but there are stale dependencies that still depend on the
removed headers. Even if this isn't the problem here, is such a common
problem that its generally the case.

So.. I suggest we add -MP to our gcc dependency generation, that makes
extra fake rules for each dependency so that a missing header is
considered ok, i.e. http://www.makelinux.net/make3/make3-CHP-8-SECT-3
and (also attached) patch from
https://bugs.freedesktop.org/show_bug.cgi?id=40099

Testing here shows that it allows a rebuild to survive a removed header
and rebuild without annoying halt and spew, so the problem just goes
away. Bigger dependencies I guess, but I think its worth a lot to just
be able to make.

Unless someone knows a good reason why this is a really stupid idea I'll
push it later today. Non-gcc platforms might be able to hack up the same
sort of support with the sed example from the make book above.

C.
diff --git a/solenv/gbuild/platform/ios.mk b/solenv/gbuild/platform/ios.mk
index 1039497..4a93587 100644
--- a/solenv/gbuild/platform/ios.mk
+++ b/solenv/gbuild/platform/ios.mk
@@ -147,7 +147,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE))
 endef
@@ -166,7 +166,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
@@ -184,7 +184,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
@@ -201,7 +201,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(call gb_ObjCObject_get_target,$(2)) \
-		-MF $(call gb_ObjCObject_get_dep_target,$(2)) \
+		-MP -MF $(call gb_ObjCObject_get_dep_target,$(2)) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 5f9fe9e..1c62144 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -176,7 +176,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE))
 endef
@@ -195,7 +195,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
@@ -213,7 +213,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
@@ -230,7 +230,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(call gb_ObjCObject_get_target,$(2)) \
-		-MF $(call gb_ObjCObject_get_dep_target,$(2)) \
+		-MP -MF $(call gb_ObjCObject_get_dep_target,$(2)) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 74276dd..35975e4 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -199,7 +199,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE))
 endef
@@ -218,7 +218,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		-c $(3) \
 		-o $(1) \
 		-MMD -MT $(1) \
-		-MF $(4) \
+		-MP -MF $(4) \
 		-I$(dir $(3)) \
 		$(INCLUDE_STL) $(INCLUDE))
 endef
@@ -240,7 +240,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	#	-c $(3) \
 	#	-o $(1) \
 	#	-MMD -MT $(1) \
-	#	-MF $(4) \
+	#	-MP -MF $(4) \
 	#	-I$(dir $(3)) \
 	#	$(INCLUDE))
 endef
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH] build errors

2011-08-23 Thread Jenei Gábor

Hello,

As I tried to build a fully debug version I saw several errors in 
different source files, finally I made the build to work, but I still 
cannot do make dev-install (I'm going to work on this now). Here is a 
patch that contains all the necessary modifications of sources.


Gabor
From 98e221820a0474dee27ce18396f1b5cae8a7f168 Mon Sep 17 00:00:00 2001
From: Gabor jen...@elte.hu
Date: Tue, 23 Aug 2011 14:25:38 +0200
Subject: [PATCH] debug build errors

---
 automation/source/server/statemnt.cxx  |4 ++--
 automation/source/simplecm/simplecm.cxx|4 ++--
 .../source/model/main/ChartModel_Persistence.cxx   |2 +-
 chart2/source/model/template/ChartTypeTemplate.cxx |4 ++--
 cppcanvas/source/mtfrenderer/emfplus.cxx   |1 +
 sc/source/core/data/attarray.cxx   |1 +
 6 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/automation/source/server/statemnt.cxx 
b/automation/source/server/statemnt.cxx
index ed0e110..12a00e3 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -692,7 +692,7 @@ StatementCommand::StatementCommand( StatementList 
*pAfterThis, sal_uInt16 Method
 if( nParams  PARAM_UINT16_2 )  {m_pDbgWin-AddText(  n2: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr2 ) );}
 if( nParams  PARAM_UINT16_3 )  {m_pDbgWin-AddText(  n3: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr3 ) );}
 if( nParams  PARAM_UINT16_4 )  {m_pDbgWin-AddText(  n4: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr4 ) );}
-if( nParams  PARAM_UINT32_1 )  {m_pDbgWin-AddText(  nl1: 
);m_pDbgWin-AddText( String::CreateFromInt64( nLNr1 ) );}
+if( nParams  PARAM_UINT32_1 )  {m_pDbgWin-AddText(  nl1: 
);m_pDbgWin-AddText( String::CreateFromInt64( nLNr1_and_Pointer.nLNr1 ) );}
 if( nParams  PARAM_STR_1 ) {m_pDbgWin-AddText(  s1: 
);m_pDbgWin-AddText( aString1 );}
 if( nParams  PARAM_STR_2 ) {m_pDbgWin-AddText(  s2: 
);m_pDbgWin-AddText( aString2 );}
 if( nParams  PARAM_BOOL_1 ){m_pDbgWin-AddText(  b1: 
);m_pDbgWin-AddText( bBool1 ? TRUE : FALSE );}
@@ -739,7 +739,7 @@ StatementCommand::StatementCommand( SCmdStream *pCmdIn )
 if( nParams  PARAM_UINT16_2 )  {m_pDbgWin-AddText(  n2: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr2 ) );}
 if( nParams  PARAM_UINT16_3 )  {m_pDbgWin-AddText(  n3: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr3 ) );}
 if( nParams  PARAM_UINT16_4 )  {m_pDbgWin-AddText(  n4: 
);m_pDbgWin-AddText( String::CreateFromInt32( nNr4 ) );}
-if( nParams  PARAM_UINT32_1 )  {m_pDbgWin-AddText(  nl1: 
);m_pDbgWin-AddText( String::CreateFromInt64( nLNr1 ) );}
+if( nParams  PARAM_UINT32_1 )  {m_pDbgWin-AddText(  nl1: 
);m_pDbgWin-AddText( String::CreateFromInt64( nLNr1_and_Pointer.nLNr1 ) );}
 if( nParams  PARAM_STR_1 ) {m_pDbgWin-AddText(  s1: 
);m_pDbgWin-AddText( aString1 );}
 if( nParams  PARAM_STR_2 ) {m_pDbgWin-AddText(  s2: 
);m_pDbgWin-AddText( aString2 );}
 if( nParams  PARAM_BOOL_1 ){m_pDbgWin-AddText(  b1: 
);m_pDbgWin-AddText( bBool1 ? TRUE : FALSE );}
diff --git a/automation/source/simplecm/simplecm.cxx 
b/automation/source/simplecm/simplecm.cxx
index 39f8643..2cc5b93 100644
--- a/automation/source/simplecm/simplecm.cxx
+++ b/automation/source/simplecm/simplecm.cxx
@@ -43,10 +43,10 @@
 #include stdio.h
 void debug_printf( const char *chars )
 {
-static BOOL bPrint = (getenv(DEBUG) != NULL);
+static bool bPrint = (getenv(DEBUG) != NULL);
 if ( bPrint )
 {
-printf( %c\n, chars );
+printf( %s\n, chars );
 fflush( stdout );
 }
 }
diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx 
b/chart2/source/model/main/ChartModel_Persistence.cxx
index b1cbbd0..809419b 100644
--- a/chart2/source/model/main/ChartModel_Persistence.cxx
+++ b/chart2/source/model/main/ChartModel_Persistence.cxx
@@ -503,7 +503,7 @@ void SAL_CALL ChartModel::initNew()
 #if OSL_DEBUG_LEVEL = CHART_TRACE_OSL_DEBUG_LEVEL
 OSL_TRACE( ChartModel::initNew: Showing ChartDocument structure );
 OSL_TRACE(  );
-debug::ChartDebugTraceDocument( Reference chart2::XChartDocument ( this 
));
+::chart::debug::ChartDebugTraceDocument( Reference chart2::XChartDocument 
( this ));
 #endif
 }
 
diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx 
b/chart2/source/model/template/ChartTypeTemplate.cxx
index 9fee9b3..77d2b3f 100644
--- a/chart2/source/model/template/ChartTypeTemplate.cxx
+++ b/chart2/source/model/template/ChartTypeTemplate.cxx
@@ -322,7 +322,7 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData(
 #if OSL_DEBUG_LEVEL = CHART_TRACE_OSL_DEBUG_LEVEL
 OSL_TRACE( ChartTypeTemplate::changeDiagramData: Showing Diagram 
structure );
 OSL_TRACE( 
--- );
-debug::ChartDebugTraceDiagram( xDiagram );
+::chart::debug::ChartDebugTraceDiagram

[Libreoffice] [PUSHED][PATCH] build errors

2011-08-23 Thread Caolán McNamara
On Tue, 2011-08-23 at 14:33 +0200, Jenei Gábor wrote:
 Hello,
 
 As I tried to build a fully debug version I saw several errors in 
 different source files

Looks good, pushed, thanks for this. Can you verify that your patches
are under the preferred LGPLv3+/MPLv1.1 combo ? (can also do a all my
patches will be under this unless I say otherwise to keep it simple)

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [PUSHED][PATCH] build errors

2011-08-23 Thread Jenei Gábor
Yes,naturally, however I've already certified,but all my codes are under 
the mentioned license unless I state something else.


Thanks,

Gabor

2011. 08. 23. 15:07 keltezéssel, Caolán McNamara írta:

On Tue, 2011-08-23 at 14:33 +0200, Jenei Gábor wrote:

Hello,

As I tried to build a fully debug version I saw several errors in
different source files

Looks good, pushed, thanks for this. Can you verify that your patches
are under the preferred LGPLv3+/MPLv1.1 combo ? (can also do a all my
patches will be under this unless I say otherwise to keep it simple)

C.




___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] build errors on Ubuntu

2011-08-22 Thread Cor Nouws

Hi,

Pulled this afternoon.
Build successful (Build ID: 117281b-4eb4f62-260b7c1)

but only after two interruptions:

ERROR: error 65280 occurred while making 
/home/cono/src/git/libo_core/rsc/prj


ERROR: error 65280 occurred while making 
/home/cono/src/git/libo_core/xmloff/prj


I do have a full build log with both events, so could dig in for more 
info, might that be there and helpful.


Cheers,

--
 - Cor
 - http://nl.libreoffice.org

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoofice] build errors - missing SvStream::remainingSize

2011-07-22 Thread Michael Meeks

On Fri, 2011-07-22 at 03:07 +0700, thamht wrote:
 I'm trying to build libreoffice right after './g pull -r' to get the 
 latest source code, however, there are some errors as the following:

Did your ./g pull -r fully succeed ? If you have a './g diff' that is
non-empty, modules you have touched will not update. You would need to
commit inside those modules first [ and or do a -git- stash inside that
specific module, followed by a git pop afterwards ].

Wow - I'm looking forward to onegit - coming in three weeks time - that
will (we hope) stop a lot of these cross-repo consistency troubles.

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] spurious build errors with make

2011-07-21 Thread Eike Rathke
Hi,

On Thursday, 2011-07-21 14:00:26 +0200, Eike Rathke wrote:

 Building master on Debian Squeeze x86_64 unxlngx6.pro --with-num-cpus=2
 --with-max-jobs=3 reported breakages in modules editeng and framework,

Curious as I am ;-) I did make clean ; make
and again there was a breakage in framework, but not in editeng this
time, that went fine.

[ build CHK ] framework
[ build LNK ] Library/libfwilo.so
[ build CHK ] loaded modules: framework
[ build PKG ] framework_dtd
[ build PKG ] framework_uiconfig
[ build PKG ] framework_unotypes
[ build LNK ] Library/libfwelo.so
/bin/bash: line 1: 12268 Segmentation fault  make -s -r -j3
dmake:  Error code 139, while making 'all'


cd framework ; make -s -r -j3
again revealed no problem, but there also wasn't much left to build,
only to link the 4 libs and build the resource file. Looks related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622644 Bjoern
mentioned.

I also did
make clean ; make -s -r -j3
and again there was no error.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgp3f2Tj83sl3.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] spurious build errors with make

2011-07-21 Thread Norbert Thiebaud
On Thu, Jul 21, 2011 at 1:38 PM, Eike Rathke o...@erack.de wrote:
 Hi,

 On Thursday, 2011-07-21 14:00:26 +0200, Eike Rathke wrote:

 Building master on Debian Squeeze x86_64 unxlngx6.pro --with-num-cpus=2
 --with-max-jobs=3 reported breakages in modules editeng and framework,

 Curious as I am ;-) I did make clean ; make
 and again there was a breakage in framework, but not in editeng this
 time, that went fine.

 [ build CHK ] framework
 [ build LNK ] Library/libfwilo.so
 [ build CHK ] loaded modules: framework
 [ build PKG ] framework_dtd
 [ build PKG ] framework_uiconfig
 [ build PKG ] framework_unotypes
 [ build LNK ] Library/libfwelo.so
 /bin/bash: line 1: 12268 Segmentation fault      make -s -r -j3
 dmake:  Error code 139, while making 'all'

Yeah that looks very much like the gnu make bug in 3.81... you need to get 3.82

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [Libreoofice] build errors - missing SvStream::remainingSize

2011-07-21 Thread thamht

Hi,

I'm trying to build libreoffice right after './g pull -r' to get the 
latest source code, however, there are some errors as the following:


/media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx: In member 
function 'virtual sal_Bool SvxMSDffManager::ProcessClientAnchor(SvStream, sal_uInt32, 
char*, sal_uInt32) const':

/media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx:6973:37:
 error: 'class SvStream' has no member named 'remainingSize'

/media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx: In member 
function 'virtual sal_Bool SvxMSDffManager::ProcessClientData(SvStream, sal_uInt32, 
char*, sal_uInt32) const':

/media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx:6985:37:
 error: 'class SvStream' has no member named 'remainingSize'

dmake:  Error code 1, while making '../../unxlngi6.pro/slo/msdffimp.obj'


I have tried to make clean  build internally:

rm -Rf /media/LinuxData/git/libo/filter/unxlngi6.pro # optional module 'clean'

/bin/sh

cd /media/LinuxData/git/libo

source ./LinuxX86Env.Set.sh

cd filter

build


The errors are still the same.

Thanks for your help.
Tham Ha - student from FPT University


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoofice] build errors - missing SvStream::remainingSize

2011-07-21 Thread Matúš Kukan
On 21 July 2011 22:07, thamht thamht01...@gmail.com wrote:
 /media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx:6985:37:
 error: 'class SvStream' has no member named 'remainingSize'

remainingSize is new in SvStream and SvStream comes from tools, so I
guess you have to run 'make clean  make -sr' in tools/ .
But it's possible you will run into another trouble.
If so, you can again find which module to rebuild or failing that if
you don't want to investigate more just run make clean  make in main
directory.

HTH,
Matus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoofice] build errors - missing SvStream::remainingSize

2011-07-21 Thread Maciej Rumianowski
Dnia 2011-07-22, pią o godzinie 03:07 +0700, thamht pisze:
 Hi,
 
 I'm trying to build libreoffice right after './g pull -r' to get the 
 latest source code, however, there are some errors as the following:

I see that SvStream was added 3 days ago, are you sure ./g pull -r went fine?

 /media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx: 
 In member function 'virtual sal_Bool 
 SvxMSDffManager::ProcessClientAnchor(SvStream, sal_uInt32, char*, 
 sal_uInt32) const':
 
 /media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx:6973:37:
  error: 'class SvStream' has no member named 'remainingSize'
 
 /media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx: 
 In member function 'virtual sal_Bool 
 SvxMSDffManager::ProcessClientData(SvStream, sal_uInt32, char*, 
 sal_uInt32) const':
 
 /media/LinuxData/git/libo/clone/filters/filter/source/msfilter/msdffimp.cxx:6985:37:
  error: 'class SvStream' has no member named 'remainingSize'
 
 dmake:  Error code 1, while making '../../unxlngi6.pro/slo/msdffimp.obj'
 
 
 I have tried to make clean  build internally:
 
 rm -Rf /media/LinuxData/git/libo/filter/unxlngi6.pro # optional module 'clean'
 
 /bin/sh
 
 cd /media/LinuxData/git/libo
 
 source ./LinuxX86Env.Set.sh
 
 cd filter

Try also rebuild tools module (cd tools), because SvStream is there.

Cheers,

Maciej


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] win32 build errors in svtools modules

2011-02-06 Thread Steven Butler
On 6 February 2011 15:32, Steven Butler sebut...@gmail.com wrote:

 I will see how much further into the build I can get now svtools is building.


I am now trying to build framework and it all compiles okay but I'm
getting really strange undefined symbol errors that I can't figure
out.

   Creating library ../wntmsci12.pro/lib/ifwi.lib and object
../wntmsci12.pro/lib/ifwi.exp
ifwi.exp : error LNK2001: unresolved external symbol _real@3f80
ifwi.exp : error LNK2001: unresolved external symbol _real@41efffe0
ifwi.exp : error LNK2001: unresolved external symbol _real@41f0
../wntmsci12.pro/bin/fwimi.dll : fatal error LNK1120: 3 unresolved externals
dmake:  Error code 2, while making '../wntmsci12.pro/bin/fwimi.dll'

I haven't been able to figure out where these symbols come from but
they're defined as R in a number of files in the slo directory and are
present in items like converter.obj

I tried compiling with build debug=true after removing the
wntmsci12.pro directory but I don't think it gave me any more
information - I don't see any debug symbols.

Does anyone have any idea what these symbols are and where they should
be defined, or failing that how to get one or two of the obj files to
build with symbols.

Is there a method for tracing these symbols back to their source.
Normally the symbols have a bit more meaning than _real.

I have built the same git c091d6adaf73e913264a890665ce2315c002851b
commit of framework under Ubuntu without issue and there's no sign of
these odd _real@XXX symbols.

Regards
Steven Butler
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] win32 build errors in svtools modules

2011-02-06 Thread Steven Butler
On 6 February 2011 21:28, Steven Butler sebut...@gmail.com wrote:

   Creating library ../wntmsci12.pro/lib/ifwi.lib and object
 ../wntmsci12.pro/lib/ifwi.exp
 ifwi.exp : error LNK2001: unresolved external symbol _real@3f80
 ifwi.exp : error LNK2001: unresolved external symbol _real@41efffe0
 ifwi.exp : error LNK2001: unresolved external symbol _real@41f0
 ../wntmsci12.pro/bin/fwimi.dll : fatal error LNK1120: 3 unresolved externals
 dmake:  Error code 2, while making '../wntmsci12.pro/bin/fwimi.dll'

I used a process of elimination in classes/converter.cxx to find out
which method was inserting these symbols.

It is this one below, and the symbol seems to come from the
OUStringHash used because without a local variable of type
OUStringHash in the file I don't see the strange _real@xxx symbol.

I am still mystified as to why this is happening, especially since
there is a function directly above it that also uses OUStringHash (as
an input parameter) and doesn't cause the same thing!

OUStringHash Converter::convert_seqProp2OUStringHash( const
css::uno::Sequence css::beans::PropertyValue  lSource )
{
OUStringHash lDestination;
sal_Int32 nCount  = lSource.getLength();
const css::beans::PropertyValue* pSource = lSource.getConstArray();
for (sal_Int32 nItem=0; nItemnCount; ++nItem)
{
pSource[nItem].Value = lDestination[pSource[nItem].Name];
}
return lDestination;
}

Regards
Steven Butler
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] win32 build errors in svtools modules

2011-02-05 Thread Steven Butler
On 5 February 2011 21:46, Steven Butler sebut...@gmail.com wrote:

 I am stuck on the following error when trying to build svtools.  My
 previous issue with saxparser and climaker seems to have disappeared
 after uninstalling VS2010 C# Express and pulling in latest git.

 _STL::listclass Link,class _STL::allocatorclass Link
::push_back(class Link const )

Replacing the use of std::list in htmlcfg.cxx with std::vector
resolved the multiply defined symbol error.

I have no idea why this should help as I would have thought using the
same template instantiation in two different files would not cause an
issue but apparently it does for MSVC2008.  At least for me.

I will see how much further into the build I can get now svtools is building.

Regards
Steve
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build errors

2010-12-22 Thread Noel Power

On 22/12/10 02:23, Balachandran Sivakumar wrote:

call of overloaded 'append(char)' is ambiguous
Hmm I never got that error but happily it seems Joseph Powers commited a 
fix for that, try pull and rebuild.

thanks,
Noel
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Build errors

2010-12-21 Thread Balachandran Sivakumar
Hi,

   I am getting the following errors when building:

path/libo/clone/libs-core/basic/source/sbx/sbxcurr.cxx: In function
'sal_Int64 ImpStringToCurrency(const rtl::OUString)':
path/libo/clone/libs-core/basic/source/sbx/sbxcurr.cxx:209: error:
call of overloaded 'append(char)' is ambiguous

The files were updated about 7-8 hrs back. Not sure if its
because of a recent commit and if someone is already looking at it.
Thanks

-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.

Mail: benignb...@gmail.com
Blog: http://benignbala.wordpress.com/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice