[Bug 159132] Build error on zlib

2024-03-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

Aron Budea  changed:

   What|Removed |Added

 Blocks||126862
 CC||aron.bu...@gmail.com


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=126862
[Bug 126862] [META] Issues with unusual builds / unit tests, rare test failures
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] Build error on zlib

2024-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

Buovjaga  changed:

   What|Removed |Added

 CC||kelem...@ubuntu.com

--- Comment #4 from Buovjaga  ---
Gábor: can you re-review your 6f60670877208612b5ea320b3677480ef6508abb in light
of this?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] Build error on zlib

2024-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

--- Comment #3 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] Build error on zlib

2024-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

QA Administrators  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|NEEDINFO|UNCONFIRMED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] Build error on zlib

2024-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

re...@rezso.net changed:

   What|Removed |Added

 CC||re...@rezso.net

--- Comment #2 from re...@rezso.net ---
This is a small distribution. I use gcc 12.3.0 and binutils 2.41.
Because I can compile the 7.6.4.1 without any errors, I searched the
differences between 7.6.4.1 and (now) 24.2.0.2.
I found this commit as relevant:
https://github.com/LibreOffice/core/commit/6f60670877208612b5ea320b3677480ef6508abb
I added again the "zlib" to writerperfect/Library_wpftcalc.mk,
writerperfect/Library_wpftdraw.mk and writerperfect/Library_wpftimpress.mk.
With tis modification I compiled LO 24.2.0.2 succesfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] Build error on zlib

2024-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

Buovjaga  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from Buovjaga  ---
Usually build problems are discussed on the developer mailing list.

Which Linux distribution? Which compiler & version?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 159132] New: Build error on zlib

2024-01-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159132

Bug ID: 159132
   Summary: Build error on zlib
   Product: LibreOffice
   Version: 24.2.0.0 beta1+
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: re...@rezso.net

I tried to compile 24.2.0.1 tarball, but always fails with zlib:

/bin/ld:
/var/uhubuild/work/compile/workdir/UnpackedTarball/libcdr/src/lib/.libs/libcdr-0.1.a(CDRInternalStream.o):
in function
`libcdr::CDRInternalStream::CDRInternalStream(librevenge::RVNGInputStream*,
unsigned long, bool)':
CDRInternalStream.cpp:(.text+0x36c): undefined reference to `inflateInit_'
/bin/ld: CDRInternalStream.cpp:(.text+0x419): undefined reference to `inflate'
/bin/ld: CDRInternalStream.cpp:(.text+0x52e): undefined reference to
`inflateEnd'
/bin/ld: CDRInternalStream.cpp:(.text+0x5af): undefined reference to
`inflateEnd'
/bin/ld:
/var/uhubuild/work/compile/workdir/UnpackedTarball/libfreehand/src/lib/.libs/libfreehand-0.1.a(FHInternalStream.o):
in function
`libfreehand::FHInternalStream::FHInternalStream(librevenge::RVNGInputStream*,
unsigned long, bool)':
FHInternalStream.cpp:(.text+0x2bc): undefined reference to `inflateInit_'
/bin/ld: FHInternalStream.cpp:(.text+0x369): undefined reference to `inflate'
/bin/ld: FHInternalStream.cpp:(.text+0x47e): undefined reference to
`inflateEnd'
/bin/ld: FHInternalStream.cpp:(.text+0x4ff): undefined reference to
`inflateEnd'
/bin/ld:
/var/uhubuild/work/compile/workdir/UnpackedTarball/libmspub/src/lib/.libs/libmspub-0.1.a(libmspub_utils.o):
in function `libmspub::inflateData(librevenge::RVNGBinaryData)':
libmspub_utils.cpp:(.text+0x385): undefined reference to `inflateInit2_'
/bin/ld: libmspub_utils.cpp:(.text+0x413): undefined reference to `inflate'
/bin/ld: libmspub_utils.cpp:(.text+0x455): undefined reference to `inflateEnd'
/bin/ld: libmspub_utils.cpp:(.text+0x474): undefined reference to `inflateEnd'
[build BIN] filter
/bin/ld:
/var/uhubuild/work/compile/workdir/UnpackedTarball/libzmf/src/lib/.libs/libzmf-0.0.a(BMIParser.o):
in function `libzmf::BMIParser::readData(unsigned int)':
BMIParser.cpp:(.text+0x513): undefined reference to `inflateInit2_'
/bin/ld: BMIParser.cpp:([build MOD] forms
.text+0x5ea): undefined reference to `inflate'
/bin/ld: BMIParser.cpp:(.text+0x609): undefined reference to `inflateEnd'

I tried with --with-system-zlib / --without-system-zlib,
--with-system-librevenge / --without-system-librevenge, but the build always
fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[FIXED] Re: compilerplugins build error since migration from clang 14 to clang 16

2023-09-21 Thread Julien Nabet
I made some cleanup (removed remnants of previous clang and llvm 
versions) + installed these packages:


"libclang-rt-dev" and "libclang-cpp16-dev"

it seems, it's this last action which helped.

Sorry for the noise.



Re: build error with zxing-1.4.0

2022-07-14 Thread Stephan Bergmann

On 7/14/22 11:20, Andreas Sturmlechner wrote:

Error:

cui/source/dialogs/QrCodeGenDialog.cxx:30:10: fatal error: BitArray.h: No such
file or directory
30 | #include 
   |  ^~~~


This, among other headers, is gone. Probably caused by the following upstream
change:

- "removed all internal header files from the installed set, so only the
ReadBarcode.h based APIs are supported from here on out" [1]


: "DISCLAIMER: 
a note for downstream package maintainers: as discussed in #333 this 
release should have been named 2.0 not 1.3. Please don't package this 
release until the issue is resolved."


I guess it's generally wise to stick to 1.2 for now and ignore 1.3 and 
1.4 until there is a true 2.0?




build error with zxing-1.4.0

2022-07-14 Thread Andreas Sturmlechner
Error:

cui/source/dialogs/QrCodeGenDialog.cxx:30:10: fatal error: BitArray.h: No such 
file or directory
   30 | #include 
  |  ^~~~


This, among other headers, is gone. Probably caused by the following upstream 
change:

- "removed all internal header files from the installed set, so only the 
ReadBarcode.h based APIs are supported from here on out" [1]

Regards,
Andreas

See also:
[1] https://github.com/nu-book/zxing-cpp/releases/tag/v1.4.0

signature.asc
Description: This is a digitally signed message part.


Re: Libreoffice build error[for android]

2022-03-06 Thread di liu
That's great ! There is no link error when i execute the command 'make
distclean' and make all dynamic files(.so) used to android.But i think i
should spend more time on makefile to make it clear how does the process
work.

Thank you very much for your help.

Michael Weghorn  于2022年3月4日周五 20:06写道:

>
> On 04/03/2022 12.37, Michael Weghorn wrote:
> > It's not really clear to me what "he green color option" refers to, but
> > if that refers to the change of adding the '--no-check-certificate'
> > option for wget, that should actually be unrelated.
>
> OK, had I enabled HTML rendering for the email, it would have been clear
> that the '--no-check-certificate' option was actually meant, sorry for
> the noise...
>


Re: Libreoffice build error[for android]

2022-03-04 Thread Michael Weghorn



On 04/03/2022 12.37, Michael Weghorn wrote:
It's not really clear to me what "he green color option" refers to, but 
if that refers to the change of adding the '--no-check-certificate' 
option for wget, that should actually be unrelated.


OK, had I enabled HTML rendering for the email, it would have been clear 
that the '--no-check-certificate' option was actually meant, sorry for 
the noise...


Re: Libreoffice build error[for android]

2022-03-04 Thread Michael Weghorn

On 04/03/2022 10.42, di liu wrote:

Thank you for your reply.
 > If you have current git master without any local changes and 'make
 > distclean' and trying again doesn't work

I just modified one file which named "Makefile.fetch" location in root 
dir of libreoffice,But i think this change has nothing to do with this error

below is my change's content
"

ifneq (,$(WGET))
define fetch_Download__wget_command
&& bash -c '$(WGET) --no-check-certificate--progress=dot:mega -Q 0 -P 
"." -l 0 -nd -nH -N --no-use-server-timestamps $1/$2 2>&1 | tee -a 
$(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]'

endef

"
I have added he green color option which used solve certification problem
but I still want to have try with "make distclean"


It's not really clear to me what "he green color option" refers to, but 
if that refers to the change of adding the '--no-check-certificate' 
option for wget, that should actually be unrelated.



I have a another problem:
I have search the undefined method "lo_get_custom_widget_func" and find 
this method is defined dynamic . It's was defined by native-code.py I 
don't know why we're doing this and how it's work
.Could you give me a simple explanation or provide me some documents to 
make it's clear ?


Good point.

I don't know details about this either, but I think the idea is to strip 
down what C++ code to build/include for the mobile apps to reduce the 
size of the library to what's actually needed there.


At last I wonder if I can do that execute "native-code.py" and put the 
result to a new  cpp file and add it to makefile when I still have the 
link error ?


Looking at android/source/Makefile, this is the command used to generate 
the file:


./solenv/bin/native-code.py -j -g core -g writer -g calc -g draw -g 
edit > android/source/native-code.cxx


I have pasted what the output/file looks like for me here:
http://paste.debian.net/1232969/

In case that differs from yours, tracking down what happens inside 
native-code.py might provide insights what's going wrong.




Re: Libreoffice build error[for android]

2022-03-04 Thread di liu
Thank you for your reply.
> If you have current git master without any local changes and 'make
> distclean' and trying again doesn't work

I just modified one file which named "Makefile.fetch" location in root dir
of libreoffice,But i think this change has nothing to do with this error
below is my change's content
"

ifneq (,$(WGET))
define fetch_Download__wget_command
&& bash -c '$(WGET) --no-check-certificate --progress=dot:mega -Q 0 -P
"." -l 0 -nd -nH -N --no-use-server-timestamps $1/$2 2>&1 | tee -a
$(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]'
endef

"
I have added he green color option which used solve certification problem
but I still want to have try with "make distclean"

I have a another problem:
I have search the undefined method "lo_get_custom_widget_func" and find
this method is defined dynamic . It's was defined by native-code.py I don't
know why we're doing this and how it's work
.Could you give me a simple explanation or provide me some documents to
make it's clear ?

At last I wonder if I can do that execute "native-code.py" and put the
result to a new  cpp file and add it to makefile when I still have the link
error ?

thank you very much

Michael Weghorn  于2022年3月4日周五 15:02写道:

>
> Hi,
>
> On 03/03/2022 16.08, di liu wrote:
> > the build environment is linux(centos 7) which installed in vmware (my
> > host system is macOS) this is my autogen.input content
> > --with-distro=LibreOfficeAndroid
> > --with-android-sdk=/home/disco/Documents/dev_env/android_sdk
> >
> --with-android-ndk=/home/disco/Documents/dev_env/android_sdk/ndk/20.1.5948944
>
> > --with-ant-home=/home/disco/Documents/dev_env/apache-ant-1.10.12
>
> I tried a build with an equivalent autogen.input on Debian testing:
>
>  --with-distro=LibreOfficeAndroid
>  --with-android-sdk=/home/michi/Android/Sdk
>  --with-android-ndk=/home/michi/Android/Sdk/ndk/20.1.5948944
>  --with-external-tar=/home/michi/development/libreoffice-external
>
> which worked fine with master (as of commit
> 0a774bae7d402a6880760b1226a6741604e23f5a).
>
>
> > everything is ok when execute: ./autogen.sh But when I execute: make the
> > error is happened:
> >
> > [...]
> > Linking
> >
>  
> /home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so
> >
>  
> /home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
> > cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString
> > const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString
> > const&, rtl::OUString const&,
> >
>  com::sun::star::uno::Reference
> > const&, std::__ndk1::function > (com::sun::star::uno::XComponentContext*,
> > com::sun::star::uno::Sequence const&)>*,
> > com::sun::star::uno::Reference*):
> > error: undefined reference to 'lo_get_constructor_map'
> >
>  
> /home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
> > cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString
> > const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString
> > const&, rtl::OUString const&,
> >
>  com::sun::star::uno::Reference
> > const&, std::__ndk1::function > (com::sun::star::uno::XComponentContext*,
> > com::sun::star::uno::Sequence const&)>*,
> > com::sun::star::uno::Reference*):
> > error: undefined reference to 'lo_get_factory_map'
> > [...] >
> > Could you give me some suggestions
>
> If you have current git master without any local changes and 'make
> distclean' and trying again doesn't work, you could try using a
> different version of the Android NDK, or use LLD as linker instead of
> ld.gold by applying the demo patch at
> https://gerrit.libreoffice.org/c/core/+/130947 and switching to a newer
> NDK; a build here worked with that Gerrit change in place and an
> autogen.input containing this:
>
>  --with-distro=LibreOfficeAndroid
>  --with-android-ndk=/home/michi/Android/Sdk/ndk/22.1.7171670/
>  --with-android-sdk=/home/michi/Android/Sdk
>  --with-external-tar=/home/michi/development/libreoffice-external
>
> (At least my experience in the past was that it was a bit tricky to find
> a combination of Android NDK and linker that would work depending on
> architecture and whether this was a release or debug build. But the
> problems I encountered back then were more "fundamental" than the
> "undefined reference" issue you're encountering. Maybe all of the issues
> I had two years ago or so are fixed in newer versions of the toolchain,
> but so far I just stayed with what was working back then...)
>


Re: Libreoffice build error[for android]

2022-03-04 Thread Michael Weghorn



Hi,

On 03/03/2022 16.08, di liu wrote:
the build environment is linux(centos 7) which installed in vmware (my 
host system is macOS) this is my autogen.input content 
--with-distro=LibreOfficeAndroid 
--with-android-sdk=/home/disco/Documents/dev_env/android_sdk 
--with-android-ndk=/home/disco/Documents/dev_env/android_sdk/ndk/20.1.5948944 
--with-ant-home=/home/disco/Documents/dev_env/apache-ant-1.10.12 


I tried a build with an equivalent autogen.input on Debian testing:

--with-distro=LibreOfficeAndroid
--with-android-sdk=/home/michi/Android/Sdk
--with-android-ndk=/home/michi/Android/Sdk/ndk/20.1.5948944
--with-external-tar=/home/michi/development/libreoffice-external

which worked fine with master (as of commit 
0a774bae7d402a6880760b1226a6741604e23f5a).



everything is ok when execute: ./autogen.sh But when I execute: make the 
error is happened:


[...]
Linking

/home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so

/home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString
const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString
const&, rtl::OUString const&,
com::sun::star::uno::Reference
const&, std::__ndk1::function const&)>*,
com::sun::star::uno::Reference*):
error: undefined reference to 'lo_get_constructor_map'

/home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString
const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString
const&, rtl::OUString const&,
com::sun::star::uno::Reference
const&, std::__ndk1::function const&)>*,
com::sun::star::uno::Reference*):
error: undefined reference to 'lo_get_factory_map'
[...] >
Could you give me some suggestions


If you have current git master without any local changes and 'make 
distclean' and trying again doesn't work, you could try using a 
different version of the Android NDK, or use LLD as linker instead of 
ld.gold by applying the demo patch at 
https://gerrit.libreoffice.org/c/core/+/130947 and switching to a newer 
NDK; a build here worked with that Gerrit change in place and an 
autogen.input containing this:


--with-distro=LibreOfficeAndroid
--with-android-ndk=/home/michi/Android/Sdk/ndk/22.1.7171670/
--with-android-sdk=/home/michi/Android/Sdk
--with-external-tar=/home/michi/development/libreoffice-external

(At least my experience in the past was that it was a bit tricky to find 
a combination of Android NDK and linker that would work depending on 
architecture and whether this was a release or debug build. But the 
problems I encountered back then were more "fundamental" than the 
"undefined reference" issue you're encountering. Maybe all of the issues 
I had two years ago or so are fixed in newer versions of the toolchain, 
but so far I just stayed with what was working back then...)


Re: Libreoffice build error[for android]

2022-03-03 Thread di liu
the build environment is linux(centos 7) which installed in vmware (my host
system is macOS) this is my autogen.input content
--with-distro=LibreOfficeAndroid
--with-android-sdk=/home/disco/Documents/dev_env/android_sdk
--with-android-ndk=/home/disco/Documents/dev_env/android_sdk/ndk/20.1.5948944
--with-ant-home=/home/disco/Documents/dev_env/apache-ant-1.10.12 everything
is ok when execute: ./autogen.sh But when I execute: make the error is
happened:

di liu  于2022年3月3日周四 18:50写道:

> Hi,
> There has a link error when I build Libreoffice for android(
> https://wiki.documentfoundation.org/Development/BuildingForAndroid)
>
> below is the error message
>
> [build ALL] All modules but instset: chart2 canvas cppcanvas dbaccess
> accessibility winaccessibility UnoControls animations apple_remote avmedia
> basctl basegfx basic bean binaryurp bridges cli_ure codemaker comphelper
> configmgr connectivity cppu cppuhelper cpputools cui desktop drawinglayer
> editeng embeddedobj embedserv emfio eventattacher extensions external
> beanshell boost box2d cairo coinmp cuckoo curl dragonbox dtoa epoxy expat
> fontconfig freetype glm graphite harfbuzz hsqldb hunspell hyphen icu lcms2
> libabw libcdr libcmis libebook libepubgen libetonyek libexttextcat
> libfreehand libjpeg-turbo liblangtag libmspub libmwaw libnumbertext
> libodfgen liborcus libpagemaker libpng libqxp librevenge libstaroffice
> libvisio libwebp libwpd libwpg libwps libxml2 libxslt libzmf mdds
> more_fonts mythes nss openssl pdfium redland rhino ucpp xmlsec zxing extras
> filter forms formula framework hwpfilter i18nlangtag i18npool i18nutil idl
> io javaunohelper jurt jvmaccess jvmfwk libreofficekit lingucomponent
> linguistic lotuswordpro o3tl offapi officecfg onlineupdate oovbaapi oox
> package pch postprocess readlicense_oo registry remotebridges reportbuilder
> reportdesign ridljar sal salhelper sax sc scaddins sccomp scripting sd
> sdext sfx2 shell slideshow smoketest solenv soltools sot starmath stoc
> store svgio svl svtools svx sw swext sysui test testtools toolkit tools ucb
> ucbhelper udkapi unodevtools unoidl unoil unotest unotools unoxml ure uui
> vbahelper vcl wizards writerfilter writerperfect xmerge xmloff xmlreader
> xmlscript xmlsecurity
> [build MAK] CustomTarget/android/source/done
> Linking
> /home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so
> /home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
> cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString const&,
> rtl::OUString const&, rtl::OUString const&, rtl::OUString const&,
> rtl::OUString const&,
> com::sun::star::uno::Reference
> const&, std::__ndk1::function (com::sun::star::uno::XComponentContext*,
> com::sun::star::uno::Sequence const&)>*,
> com::sun::star::uno::Reference*): error:
> undefined reference to 'lo_get_constructor_map'
> /home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
> cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString const&,
> rtl::OUString const&, rtl::OUString const&, rtl::OUString const&,
> rtl::OUString const&,
> com::sun::star::uno::Reference
> const&, std::__ndk1::function (com::sun::star::uno::XComponentContext*,
> com::sun::star::uno::Sequence const&)>*,
> com::sun::star::uno::Reference*): error:
> undefined reference to 'lo_get_factory_map'
> /home/disco/Documents/res/libreoffice/instdir/program/libvcllo.a(builder.o):builder.cxx:function
> (anonymous namespace)::GetCustomMakeWidget(rtl::OString const&): error:
> undefined reference to 'lo_get_custom_widget_func'
> clang++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: ***
> [/home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so]
> Error 1
> make[1]: ***
> [/home/disco/Documents/res/libreoffice/workdir/CustomTarget/android/source/done]
> Error 2
> make: *** [build] Error 2
>
> Could you give me some suggestions
> tsk
>
>


Libreoffice build error[for android]

2022-03-03 Thread di liu
Hi,
There has a link error when I build Libreoffice for android(
https://wiki.documentfoundation.org/Development/BuildingForAndroid)

below is the error message

[build ALL] All modules but instset: chart2 canvas cppcanvas dbaccess
accessibility winaccessibility UnoControls animations apple_remote avmedia
basctl basegfx basic bean binaryurp bridges cli_ure codemaker comphelper
configmgr connectivity cppu cppuhelper cpputools cui desktop drawinglayer
editeng embeddedobj embedserv emfio eventattacher extensions external
beanshell boost box2d cairo coinmp cuckoo curl dragonbox dtoa epoxy expat
fontconfig freetype glm graphite harfbuzz hsqldb hunspell hyphen icu lcms2
libabw libcdr libcmis libebook libepubgen libetonyek libexttextcat
libfreehand libjpeg-turbo liblangtag libmspub libmwaw libnumbertext
libodfgen liborcus libpagemaker libpng libqxp librevenge libstaroffice
libvisio libwebp libwpd libwpg libwps libxml2 libxslt libzmf mdds
more_fonts mythes nss openssl pdfium redland rhino ucpp xmlsec zxing extras
filter forms formula framework hwpfilter i18nlangtag i18npool i18nutil idl
io javaunohelper jurt jvmaccess jvmfwk libreofficekit lingucomponent
linguistic lotuswordpro o3tl offapi officecfg onlineupdate oovbaapi oox
package pch postprocess readlicense_oo registry remotebridges reportbuilder
reportdesign ridljar sal salhelper sax sc scaddins sccomp scripting sd
sdext sfx2 shell slideshow smoketest solenv soltools sot starmath stoc
store svgio svl svtools svx sw swext sysui test testtools toolkit tools ucb
ucbhelper udkapi unodevtools unoidl unoil unotest unotools unoxml ure uui
vbahelper vcl wizards writerfilter writerperfect xmerge xmloff xmlreader
xmlscript xmlsecurity
[build MAK] CustomTarget/android/source/done
Linking
/home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so
/home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&, rtl::OUString const&,
rtl::OUString const&,
com::sun::star::uno::Reference
const&, std::__ndk1::function const&)>*,
com::sun::star::uno::Reference*): error:
undefined reference to 'lo_get_constructor_map'
/home/disco/Documents/res/libreoffice/instdir/program/libuno_cppuhelpergcc3.a(shlib.o):shlib.cxx:function
cppuhelper::detail::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&, rtl::OUString const&,
rtl::OUString const&,
com::sun::star::uno::Reference
const&, std::__ndk1::function const&)>*,
com::sun::star::uno::Reference*): error:
undefined reference to 'lo_get_factory_map'
/home/disco/Documents/res/libreoffice/instdir/program/libvcllo.a(builder.o):builder.cxx:function
(anonymous namespace)::GetCustomMakeWidget(rtl::OString const&): error:
undefined reference to 'lo_get_custom_widget_func'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: ***
[/home/disco/Documents/res/libreoffice/android/obj/local/armeabi-v7a/liblo-native-code.so]
Error 1
make[1]: ***
[/home/disco/Documents/res/libreoffice/workdir/CustomTarget/android/source/done]
Error 2
make: *** [build] Error 2

Could you give me some suggestions
tsk


Re: Build error with freebl: prtypes.h:556:38: error: size of array ‘arg’ is negative

2021-07-22 Thread Paul Menzel

Dear Michael,


Thank you for your reply.


Am 21.07.21 um 14:45 schrieb Michael Stahl:

On 20/07/2021 22.48, Paul Menzel wrote:

$ make
[…]
In file included from ../../../dist/out/include/prerror.h:9,
  from drbg.c:9:
drbg.c: In function ‘RNG_RandomUpdate’:
../../../dist/out/include/prtypes.h:556:38: error: size of array ‘arg’  is 
negative
   556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
   |  ^~~ drbg.c:609:5: note: in 
expansion of macro ‘PR_STATIC_ASSERT’
   609 | PR_STATIC_ASSERT(sizeof(size_t) <= 4);
   | ^~~~


this is using the wrong branch...

in external/nss/ExternalProject_nss.mk there are these lines:

    $(if $(filter ANDROID FREEBSD LINUX MACOSX,$(OS)),$(if 
$(filter X86_64,$(CPUNAME)),USE_64=1)) \

    $(if $(filter AARCH64,$(CPUNAME)),USE_64=1 CPU_ARCH=aarch64) \


you probably need to add your CPU to the 1st one, or possibly even add 
one similar to the 2nd one, although it's not clear to me why setting 
CPU_ARCH is necessary in that case.


That did the trick.

diff --git a/external/nss/ExternalProject_nss.mk 
b/external/nss/ExternalProject_nss.mk

index 81e5dfb45d3e..b0c4ae9f7c97 100644
--- a/external/nss/ExternalProject_nss.mk
+++ b/external/nss/ExternalProject_nss.mk
@@ -52,6 +52,7 @@ $(call gb_ExternalProject_get_state_target,nss,build): \
$(call gb_ExternalProject_run,build,\
$(if $(filter ANDROID FREEBSD LINUX MACOSX,$(OS)),$(if 
$(filter X86_64,$(CPUNAME)),USE_64=1)) \
$(if $(filter AARCH64,$(CPUNAME)),USE_64=1 
CPU_ARCH=aarch64) \
+   $(if $(filter POWERPC64,$(CPUNAME)),USE_64=1 
CPU_ARCH=ppc64le) \

$(if $(filter MACOSX,$(OS)),\
MACOS_SDK_DIR=$(MACOSX_SDK_PATH) \
NSS_USE_SYSTEM_SQLITE=1) \

As I am not crosscompiling I am wondering, why this needs to be done.

Is LibreOffice using it’s own build script? I built upstream NSS with 
NSPR – I think all the components – with `make nss_build_all` without 
any problems.



Kind regards,

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


Re: Build error with freebl: prtypes.h:556:38: error: size of array ‘arg’ is negative

2021-07-21 Thread Michael Stahl

On 20/07/2021 22.48, Paul Menzel wrote:

$ make
[…]
In file included from ../../../dist/out/include/prerror.h:9,
  from drbg.c:9:
drbg.c: In function ‘RNG_RandomUpdate’:
../../../dist/out/include/prtypes.h:556:38: error: size of array ‘arg’ 
is negative

   556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
   |  ^~~
drbg.c:609:5: note: in expansion of macro ‘PR_STATIC_ASSERT’
   609 | PR_STATIC_ASSERT(sizeof(size_t) <= 4);
   | ^~~~


this is using the wrong branch...

in external/nss/ExternalProject_nss.mk there are these lines:


$(if $(filter ANDROID FREEBSD LINUX MACOSX,$(OS)),$(if $(filter 
X86_64,$(CPUNAME)),USE_64=1)) \
$(if $(filter AARCH64,$(CPUNAME)),USE_64=1 CPU_ARCH=aarch64) \


you probably need to add your CPU to the 1st one, or possibly even add 
one similar to the 2nd one, although it's not clear to me why setting 
CPU_ARCH is necessary in that case.

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


Build error with freebl: prtypes.h:556:38: error: size of array ‘arg’ is negative

2021-07-20 Thread Paul Menzel

Dear LibreOffice folks,


Building current master on Ubuntu 21.04 (ppc64le) fails:

```
$ gcc --version
gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
[…]
$ git describe --dirty
libreoffice-7-2-branch-point-1293-g1738f106bd73
$ make
[…]
In file included from ../../../dist/out/include/prerror.h:9,
 from drbg.c:9:
drbg.c: In function ‘RNG_RandomUpdate’:
../../../dist/out/include/prtypes.h:556:38: error: size of array ‘arg’ 
is negative

  556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
  |  ^~~
drbg.c:609:5: note: in expansion of macro ‘PR_STATIC_ASSERT’
  609 | PR_STATIC_ASSERT(sizeof(size_t) <= 4);
  | ^~~~
make[7]: *** [../../coreconf/rules.mk:279: 
out/Linux_SINGLE_SHLIB/drbg.o] Error 1

make[6]: *** [Makefile:680: freebl_FREEBL_BUILD_SINGLE_SHLIB] Error 2
make[5]: *** [../coreconf/rules.mk:37: freebl] Error 2
[…]
```


Kind regards,

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


Re: AVX512 build error (Re: Error on the headers we are using to build.)

2021-05-18 Thread Mike Kaganski

On 18.05.2021 13:48, Luboš Luňák wrote:

  So please leave the SSE2 version in.


But please note that the code must do the same in all cases; so with 
SSE2, please also implement Neumaier, not plain Kahan summation. 
Otherwise, the results would vary depending on installed HW.


--
Best regards,
Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


AVX512 build error (Re: Error on the headers we are using to build.)

2021-05-18 Thread Luboš Luňák
On Tuesday 18 of May 2021, Dante Doménech wrote:
> That file is mine: https://gerrit.libreoffice.org/c/core/+/115675

 First of all, please learn to write better mails. This should have been 
included in the first mail, together with a better mail subject. It's hard to 
do anything about a mail with a vague subject that omits the important parts.

> The affected header is one of intel's intrinsics.
> The file is: immintrin.h
> For GCC / clang it depends on: avx512fintrin.h
>
> This is the definition for GCC on github:
> extern __inline __m512d
> __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
> _mm512_abs_pd (__m512d __A)

 The build message says the function has a different propotype, so presumably 
this is not the header that is used. Apparently the Gerrit build uses an 
older GCC without 
https://gcc.gnu.org/git/?p=gcc.git;a=commit;f=gcc/config/i386/avx512fintrin.h;h=23bce99cbe7016a04e14c2163ed3fe6a5a64f4e2
 . 
So you'll need to write a check for that.

 As for the HW statistics, LO is not used just on gamer's machines, so 
presumably Steam statistics do not quite apply. I recently checked based on 
LO crashreports and AVX is ~80% according to those. So please leave the SSE2 
version in.

-- 
 Luboš Luňák
 l.lu...@collabora.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: First-time build error

2021-03-01 Thread Alan Frank

Thanks--that did the trick.


 Original Message 
Subject: Re: First-time build error
Date: 25.02.2021 22:53
From: W T 
To: Alan Frank 

Hi Alan,

I'm relatively new as well and had the same problem a few weeks ago.
In my case, Al.exe is part of .NET Framework 4.8 SDK.
So I solved the problem by going back to the Visual Studio Installer
and modifying the installation
to include .NET Framework 4.8 SDK.  I chose this because it was the
latest version available on my installer.
Also, be sure to include Windows Universal C Runtime.

I found out that when I chose "Desktop development with C++" workload,
.NET Framework 4.8 SDK
and Windows Universal C Runtime were not included. You can go to the
"Individual components" tab in
the "Modifying" window and select them manually.

Hope this helps.

Winston Tjong

On Thu, Feb 25, 2021 at 5:53 PM Alan Frank  wrote:


I am a new developer, trying to get started.  Ilmari provided a
bunch of
resources; I installed lots of software and got to the point where I

thought I was ready to build.  I entered the command and options
from
the instructions:

/cygdrive/c/sources/libo-core
$   /cygdrive/c/sources/libo-core/autogen.sh \

--with-external-tar=/cygdrive/c/sources/lo-externalsrc \
--with-junit=/cygdrive/c/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
\
--enable-pch --disable-ccache

After lots of successful assertions, I ran into this error:

checking for al.exe... configure: error: al.exe not found as /al.exe
Error running configure at /cygdrive/c/sources/libo-core/autogen.sh
line
316.

Line 316: system ("./configure", @args) && die "Error running
configure";

The file al.exe does not exist anywhere on my machine.  A web search

suggests that it comes with the MS Visual Studio install and lives
in
C:\Windows\Microsoft.NET\Framework\v2.0.50727 (even though there are

also folders for v3.0, v3.5, and v4.0.30319).  I did that as part of
my
install, and the directory has 185 files, but no al.exe.  I was not
able
to find any trustworthy place to just download al.exe.

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

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


Re: First-time build error

2021-02-26 Thread Ilmari Lauhakangas

Thanks for pointing this out. The wiki instructions have now been clarified.

Ilmari

On 26.2.2021 5.53, W T wrote:

Hi Alan,

I'm relatively new as well and had the same problem a few weeks ago.
In my case, Al.exe is part of .NET Framework 4.8 SDK.
So I solved the problem by going back to the Visual Studio Installer and 
modifying the installation
to include .NET Framework 4.8 SDK.  I chose this because it was the 
latest version available on my installer.

Also, be sure to include Windows Universal C Runtime.

I found out that when I chose "Desktop development with C++" workload, 
.NET Framework 4.8 SDK
and Windows Universal C Runtime were not included. You can go to the 
"Individual components" tab in

the "Modifying" window and select them manually.

Hope this helps.

Winston Tjong


On Thu, Feb 25, 2021 at 5:53 PM Alan Frank > wrote:


I am a new developer, trying to get started.  Ilmari provided a
bunch of
resources; I installed lots of software and got to the point where I
thought I was ready to build.  I entered the command and options from
the instructions:

/cygdrive/c/sources/libo-core
$   /cygdrive/c/sources/libo-core/autogen.sh \

--with-external-tar=/cygdrive/c/sources/lo-externalsrc \

                 --with-junit=/cygdrive/c/sources/junit-4.10.jar \
                 --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
                 --enable-pch --disable-ccache

After lots of successful assertions, I ran into this error:

checking for al.exe... configure: error: al.exe not found as /al.exe
Error running configure at /cygdrive/c/sources/libo-core/autogen.sh
line
316.

Line 316: system ("./configure", @args) && die "Error running
configure";

The file al.exe does not exist anywhere on my machine.  A web search
suggests that it comes with the MS Visual Studio install and lives in
C:\Windows\Microsoft.NET\Framework\v2.0.50727 (even though there are
also folders for v3.0, v3.5, and v4.0.30319).  I did that as part of my
install, and the directory has 185 files, but no al.exe.  I was not
able
to find any trustworthy place to just download al.exe.

--Alan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org

https://lists.freedesktop.org/mailman/listinfo/libreoffice



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


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


Re: First-time build error

2021-02-25 Thread W T
Hi Alan,

I'm relatively new as well and had the same problem a few weeks ago.
In my case, Al.exe is part of .NET Framework 4.8 SDK.
So I solved the problem by going back to the Visual Studio Installer and
modifying the installation
to include .NET Framework 4.8 SDK.  I chose this because it was the latest
version available on my installer.
Also, be sure to include Windows Universal C Runtime.

I found out that when I chose "Desktop development with C++" workload, .NET
Framework 4.8 SDK
and Windows Universal C Runtime were not included. You can go to the
"Individual components" tab in
the "Modifying" window and select them manually.

Hope this helps.

Winston Tjong


On Thu, Feb 25, 2021 at 5:53 PM Alan Frank  wrote:

> I am a new developer, trying to get started.  Ilmari provided a bunch of
> resources; I installed lots of software and got to the point where I
> thought I was ready to build.  I entered the command and options from
> the instructions:
>
> /cygdrive/c/sources/libo-core
> $   /cygdrive/c/sources/libo-core/autogen.sh \
> --with-external-tar=/cygdrive/c/sources/lo-externalsrc \
> --with-junit=/cygdrive/c/sources/junit-4.10.jar \
> --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
> --enable-pch --disable-ccache
>
> After lots of successful assertions, I ran into this error:
>
> checking for al.exe... configure: error: al.exe not found as /al.exe
> Error running configure at /cygdrive/c/sources/libo-core/autogen.sh line
> 316.
>
> Line 316: system ("./configure", @args) && die "Error running
> configure";
>
> The file al.exe does not exist anywhere on my machine.  A web search
> suggests that it comes with the MS Visual Studio install and lives in
> C:\Windows\Microsoft.NET\Framework\v2.0.50727 (even though there are
> also folders for v3.0, v3.5, and v4.0.30319).  I did that as part of my
> install, and the directory has 185 files, but no al.exe.  I was not able
> to find any trustworthy place to just download al.exe.
>
> --Alan
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: First-time build error

2021-02-25 Thread himajin100000

Hi,
Which version of windows sdk do you have?
https://opengrok.libreoffice.org/xref/core/configure.ac?r=a0c8dc42#6494
--
himajin10(Tomoyuki Kubota)
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


First-time build error

2021-02-25 Thread Alan Frank
I am a new developer, trying to get started.  Ilmari provided a bunch of 
resources; I installed lots of software and got to the point where I 
thought I was ready to build.  I entered the command and options from 
the instructions:


/cygdrive/c/sources/libo-core
$   /cygdrive/c/sources/libo-core/autogen.sh \
   --with-external-tar=/cygdrive/c/sources/lo-externalsrc \
   --with-junit=/cygdrive/c/sources/junit-4.10.jar \
   --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
   --enable-pch --disable-ccache

After lots of successful assertions, I ran into this error:

checking for al.exe... configure: error: al.exe not found as /al.exe
Error running configure at /cygdrive/c/sources/libo-core/autogen.sh line 
316.


Line 316: system ("./configure", @args) && die "Error running 
configure";


The file al.exe does not exist anywhere on my machine.  A web search 
suggests that it comes with the MS Visual Studio install and lives in 
C:\Windows\Microsoft.NET\Framework\v2.0.50727 (even though there are 
also folders for v3.0, v3.5, and v4.0.30319).  I did that as part of my 
install, and the directory has 185 files, but no al.exe.  I was not able 
to find any trustworthy place to just download al.exe.


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


[Libreoffice-bugs] [Bug 138300] Build error for 7.1.0.0.alpha0+ related to ICU

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

Ming Hua  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #3 from Ming Hua  ---
(In reply to arungiridhar from comment #2)
> Solved it -- "make clean" didn't work (gave the same error again), but
> deleting the build directory completely and running autogen.sh before
> rebuilding it did work. Current version that builds properly:
> 179812eff88b85f34cb85eaa9b9ad027cb6a979c.
Good to know.  In principle "make clean" should work or the build process
should give better error message (like suggesting re-running autogen.sh or
something), or documentation should be more clear about what to do when
external tarballs are updated.

However, I know too little about the build system to be of any help.  The
reporter, or anyone experiencing similar problem please feel free to
investigate more and make suggestions.

> This bug report can be closed.
Closing as WORKSFORME as requested.  Anyone who wants to investigate and
improve can reopen.

-- 
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 138300] Build error for 7.1.0.0.alpha0+ related to ICU

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

--- Comment #2 from arungirid...@gmail.com ---
Solved it -- "make clean" didn't work (gave the same error again), but deleting
the build directory completely and running autogen.sh before rebuilding it did
work. Current version that builds properly:
179812eff88b85f34cb85eaa9b9ad027cb6a979c. 

This bug report can be closed.

-- 
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 138300] Build error for 7.1.0.0.alpha0+ related to ICU

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

Ming Hua  changed:

   What|Removed |Added

 CC||ming.v@qq.com

--- Comment #1 from Ming Hua  ---
The ICU updated was done in commit 8335c8c20765d4f167d9b48e6a2757864a3bc7fd:
https://git.libreoffice.org/core/+/8335c8c20765d4f167d9b48e6a2757864a3bc7fd

Looking at its changes to external/icu/ExternalPackage_icu.mk no explicit
version number is specified, so everything should work as ICU_MAJOR is changed
from 67 to 68.  And there is definitely nothing in
external/icu/ExternalPackage_icu.mk that should generate:

> libreoffice/external/icu/ExternalPackage_icu.mk:37: *** file 
> workdir/UnpackedTarball/icu/source/lib/libicudata.so.67.1 does not exist in 
> the tarball.  Stop.
> make: *** [Makefile:282: build] Error 2

Are you sure you built from a fresh checked-out source?  Or if not, did you try
"make clean" first?

-- 
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 138300] Build error for 7.1.0.0.alpha0+ related to ICU

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

arungirid...@gmail.com changed:

   What|Removed |Added

Summary|Build error for |Build error for
   |libicudata.so on|7.1.0.0.alpha0+ related to
   |de1ac1c349435a229aec8682f8f |ICU
   |8a796c3ca4dc5   |

-- 
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 138300] Build error for libicudata.so on de1ac1c349435a229aec8682f8f8a796c3ca4dc5

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

arungirid...@gmail.com changed:

   What|Removed |Added

  Component|LibreOffice |Installation
Version|unspecified |7.1.0.0.alpha0+

-- 
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 138300] New: Build error for libicudata.so on de1ac1c349435a229aec8682f8f8a796c3ca4dc5

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

Bug ID: 138300
   Summary: Build error for libicudata.so on
de1ac1c349435a229aec8682f8f8a796c3ca4dc5
   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: arungirid...@gmail.com

Description:
For dev sources checked out from git (commit
de1ac1c349435a229aec8682f8f8a796c3ca4dc5), I get the following error when
building:

libreoffice/external/icu/ExternalPackage_icu.mk:37: *** file
workdir/UnpackedTarball/icu/source/lib/libicudata.so.67.1 does not exist in the
tarball.  Stop.
make: *** [Makefile:282: build] Error 2

It looks like the ICU library was updated. The unpacked version is numbered
libicudata,so.68.* but the makefile thinks it should be 67?

Steps to Reproduce:
1. Download the dev sources from git.

2. Call configure with the following options:

export CC="gcc"
export CXX="g++"
export CFLAGS="-march=znver2 -O3 -pipe "
export CXXFLAGS="$CFLAGS"
export PARALLELISM=6

./configure --srcdir=/home/myname/src/libreoffice
--enable-option-checking=fatal --disable-fuzz-options --enable-lpsolve
--enable-coinmp --enable-pdfimport --enable-pdfium --enable-mergelibs
--disable-fuzzers --disable-epm --enable-odk --disable-dbgutil --disable-debug
--disable-gdb-index --enable-optimized=yes --enable-runtime-optimizations
--disable-compiler-plugins --disable-lto --enable-python=system
--enable-ld=gold --enable-largefile --enable-ext-numbertext
--enable-ext-nlpsolver --disable-ext-languagetool

3. Run make. Build error!

Actual Results:
libreoffice/external/icu/ExternalPackage_icu.mk:37: *** file
workdir/UnpackedTarball/icu/source/lib/libicudata.so.67.1 does not exist in the
tarball.  Stop.
make: *** [Makefile:282: build] Error 2



Expected Results:
Should have built normally.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+
Build ID: 93b1adf7442839dcfbf16660b1fbe1139f14a4d0
CPU threads: 12; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
Calc: threaded

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


Re: Build error

2020-09-05 Thread anshu khare
I resolved it. It was some config issue..

On Fri, 4 Sep, 2020, 10:49 PM anshu khare,  wrote:

> Hi,
>
> Recently my college tests have been going on. So I couldn't work much on
> the development.
>
> I had some issues with the build recently. So I removed libo-core and got
> it installed again.
> If I run
>
> cd /cygdrive/c/build
> instdir/program/soffice.bin
>
> from cygwin shell, LibreOfficeDev opens up without any issues.
>
> But when I open LibreOffice.sln from C:/ Build in Visual Studio and build
> it's solution, it gives the following error :
>
>
> Error MSB3073 The command "chcp 65001 >NUL && C:/cygwin64/bin/dash.exe -c
> "PATH=\"/bin:$PATH\";BUILDDIR=\"C:/build\" C:/cygwin64/opt/lo/bin/make -rsC
> C:/sources/libo-core/sal Library_sal"" exited with code 2.
> Error on line 46 of Microsoft.MakeFile.Targets in project Library sal
>
> This error is not only for library sal, but it is also for all the
> libraries.
> I guess that the solution is being built for the previous faulty build.
> How should I build solution for the new build?
>
> Or is there some other configuration problem?
>
>
> Regards,
> Anshu
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build error

2020-09-04 Thread anshu khare
Hi,

Recently my college tests have been going on. So I couldn't work much on
the development.

I had some issues with the build recently. So I removed libo-core and got
it installed again.
If I run

cd /cygdrive/c/build
instdir/program/soffice.bin

from cygwin shell, LibreOfficeDev opens up without any issues.

But when I open LibreOffice.sln from C:/ Build in Visual Studio and build
it's solution, it gives the following error :


Error MSB3073 The command "chcp 65001 >NUL && C:/cygwin64/bin/dash.exe -c
"PATH=\"/bin:$PATH\";BUILDDIR=\"C:/build\" C:/cygwin64/opt/lo/bin/make -rsC
C:/sources/libo-core/sal Library_sal"" exited with code 2.
Error on line 46 of Microsoft.MakeFile.Targets in project Library sal

This error is not only for library sal, but it is also for all the
libraries.
I guess that the solution is being built for the previous faulty build.
How should I build solution for the new build?

Or is there some other configuration problem?


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


[SOLVED] Re: Build error cppu/source/uno/check.cxx:138:11: error: unused class member [loplugin:unusedmember]

2020-08-04 Thread julien2412
Indeed by cherry-picking your patch, it worked locally!
Thank you Stephan!

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


Build error cppu/source/uno/check.cxx:138:11: error: unused class member [loplugin:unusedmember]

2020-08-04 Thread julien2412
Hello,

On pc Debian x86-64 with master sources updated on a 2nd build where I don't
use enable-dbgutil but I still use --enable-werror, I got these errors:
/home/julien/lo/libo_perf/cppu/source/uno/check.cxx:138:11: error: unused
class member [loplugin:unusedmember]
Char3 chars;
~~^
/home/julien/lo/libo_perf/cppu/source/uno/check.cxx:139:10: error: unused
class member [loplugin:unusedmember]
char c;
~^

I must recognize I don't know why I didn't get these before.

Any thoughts?

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: Build error cppu/source/uno/check.cxx:138:11: error: unused class member [loplugin:unusedmember]

2020-08-04 Thread Stephan Bergmann

On 04/08/2020 16:39, julien2412 wrote:

On pc Debian x86-64 with master sources updated on a 2nd build where I don't
use enable-dbgutil but I still use --enable-werror, I got these errors:
/home/julien/lo/libo_perf/cppu/source/uno/check.cxx:138:11: error: unused
class member [loplugin:unusedmember]
 Char3 chars;
 ~~^
/home/julien/lo/libo_perf/cppu/source/uno/check.cxx:139:10: error: unused
class member [loplugin:unusedmember]
 char c;
 ~^

I must recognize I don't know why I didn't get these before.

Any thoughts?


 "Avoid warnings about 
unused Char4" should fix it


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


Re: 32-bit Linux build error: no matching function for call to 'assertEquals'

2020-05-08 Thread Samuel Mehrbrodt

Hi Luke,

can you try if casting "4" to sal_Int32 makes this better?

Regards
Samuel

Am 08.05.20 um 04:59 schrieb Luke Benes:

[CXX] toolkit/qa/cppunit/EventContainer.cxx
/core/toolkit/qa/cppunit/EventContainer.cxx:73:5: error: no matching function 
for call to 'assertEquals'
 CPPUNIT_ASSERT_EQUAL(4, nEventCount);
 ^~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:333:5: note: 
expanded from macro 'CPPUNIT_ASSERT_EQUAL'
   ( CPPUNIT_NS::assertEquals( (expected),  \
 ^~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/Portability.h:107:21: 
note: expanded from macro 'CPPUNIT_NS'
# define CPPUNIT_NS CppUnit
 ^
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:161:6: note: 
candidate template ignored: deduced conflicting types for parameter 'T' ('int' 
vs. 'long')
void assertEquals( const T& expected,
  ^
1 error generated.
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:306: 
/core/workdir/CxxObject/toolkit/qa/cppunit/EventContainer.o] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2

This looks to have begun after:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4021fedf758b

Samuel,
Any idea what's wrong?

-Luke

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


32-bit Linux build error: no matching function for call to 'assertEquals'

2020-05-07 Thread Luke Benes


[CXX] toolkit/qa/cppunit/EventContainer.cxx
/core/toolkit/qa/cppunit/EventContainer.cxx:73:5: error: no matching function 
for call to 'assertEquals'
CPPUNIT_ASSERT_EQUAL(4, nEventCount);
^~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:333:5: note: 
expanded from macro 'CPPUNIT_ASSERT_EQUAL'
  ( CPPUNIT_NS::assertEquals( (expected),  \
^~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/Portability.h:107:21: 
note: expanded from macro 'CPPUNIT_NS'
# define CPPUNIT_NS CppUnit
^
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:161:6: note: 
candidate template ignored: deduced conflicting types for parameter 'T' ('int' 
vs. 'long')
void assertEquals( const T& expected,
 ^
1 error generated.
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:306: 
/core/workdir/CxxObject/toolkit/qa/cppunit/EventContainer.o] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2

This looks to have begun after:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4021fedf758b

Samuel,
Any idea what's wrong?

-Luke

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


Build error with poppler-0.86.0

2020-02-29 Thread Andreas Sturmlechner
New poppler version was released yesterday, here's the related change
that is likely to blame:

https://gitlab.freedesktop.org/poppler/poppler/-/commit/5804f51c7cf439432082b668ba8df3b0a6048caf

This is where LO (6.3.5.2) build goes wrong, LO master code looks the same:

sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:567:64:
error: base operand of ‘->’ has non-pointer type ‘const string’
   {aka ‘const std::__cxx11::basic_string’}
 567 | const char* pURI = static_cast(pAction)->getURI()->c_str();
 |^~

Downstream report with full build.log attached:
https://bugs.gentoo.org/711102


Best regards,
Andreas

signature.asc
Description: This is a digitally signed message part.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: build error in libreoffice-android

2020-02-06 Thread Michael Weghorn
Hi,

On 06/02/2020 08.14, RUTUJA BHAGWAN KENDRE wrote:
> Hello everyone!
>     I am Rutuja and I want to work on libreoffice online android app in
> gsoc 2020. I have built libreoffice core and online on ununtu 18.04 but
> I am not able to build libreoffice-android. I am getting this error when
> I run make command  
>  'configure: error:
> *** expat is required. or try to use --enable-libxml2
> /home/rutuja/libreoffice/external/fontconfig/ExternalProject_fontconfig.mk:22:
> recipe for target
> '/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build' failed
> make[1]: ***
> [/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build] Error 1
> make[1]: *** Waiting for unfinished jobs
> Makefile:282: recipe for target 'build' failed
> make: *** [build] Error'
>  I have installed libexpat as well as libexpat-dev package using 'sudo
> apt-get install libxml2 libxml2-dev' when i try to install expat it shows
> [...]

To clarify, did you run

sudo apt install libexpat1 libexpat1-dev

as well? (Your command explicitly mentions only 'libxml2' and
'libxml2-dev'.)


> I tried running ./configure --prefix=/usr but I get this error
> 
> /home/rutuja/libreoffice/external/liblangtag/ExternalPackage_liblangtag.mk:17:
> *** file
> /home/rutuja/libreoffice/workdir/UnpackedTarball/liblangtag/liblangtag/.libs/liblangtag-lo.so.1.4.1
> does not exist in the tarball.  Stop.
> Makefile:282: recipe for target 'build' failed
> make: *** [build] Error 2now

There's no need to run './configure' manually, just run './autogen.sh'
as documented in the "How to build" instructions also linked from the
Android documentation that you're using: [1]

There's no need to set a prefix for building. By default, the
installation goes to a subdirectory ./instdir and you can run it from
there right away.

> How shall I proceed now??

Best is probably to run a 'make clean', and then run again. What does
your 'autogen.input' look like or did you pass any parameters to
'./autogen.sh' directly?



[1] https://wiki.documentfoundation.org/Development/How_to_build
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


build error in libreoffice-android

2020-02-06 Thread Rutuja Kendre
Hello everyone!
I am Rutuja and I want to work on libreoffice online android app in
gsoc 2020. I have built libreoffice core and online on ununtu 18.04 but I
am not able to build libreoffice-android. I am getting this error when I
run make command
 'configure: error:
*** expat is required. or try to use --enable-libxml2
/home/rutuja/libreoffice/external/fontconfig/ExternalProject_fontconfig.mk:22:
recipe for target
'/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build' failed
make[1]: ***
[/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:282: recipe for target 'build' failed
make: *** [build] Error'
 I have installed libexpat as well as libexpat-dev package using 'sudo
apt-get install libxml2 libxml2-dev' when i try to install expat it shows

'[sudo] password for rutuja:
Reading package lists... Done
Building dependency tree
Reading state information... Done
expat is already the newest version (2.2.5-3ubuntu0.2).
The following packages were automatically installed and are no longer
required:
  linux-headers-4.15.0-72 linux-headers-4.15.0-72-generic
linux-image-4.15.0-72-generic linux-modules-4.15.0-72-generic
linux-modules-extra-4.15.0-72-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 330 not upgraded.
'

I tried running ./configure --prefix=/usr but I get this error

/home/rutuja/libreoffice/external/liblangtag/ExternalPackage_liblangtag.mk:17:
*** file
/home/rutuja/libreoffice/workdir/UnpackedTarball/liblangtag/liblangtag/.libs/liblangtag-lo.so.1.4.1
does not exist in the tarball.  Stop.
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2now

How shall I proceed now??
I am following
https://wiki.documentfoundation.org/Development/BuildingForAndroid this
page.

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


build error in libreoffice-android

2020-02-05 Thread RUTUJA BHAGWAN KENDRE
Hello everyone!
I am Rutuja and I want to work on libreoffice online android app in
gsoc 2020. I have built libreoffice core and online on ununtu 18.04 but I
am not able to build libreoffice-android. I am getting this error when I
run make command
 'configure: error:
*** expat is required. or try to use --enable-libxml2
/home/rutuja/libreoffice/external/fontconfig/ExternalProject_fontconfig.mk:22:
recipe for target
'/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build' failed
make[1]: ***
[/home/rutuja/libreoffice/workdir/ExternalProject/fontconfig/build] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:282: recipe for target 'build' failed
make: *** [build] Error'
 I have installed libexpat as well as libexpat-dev package using 'sudo
apt-get install libxml2 libxml2-dev' when i try to install expat it shows

'[sudo] password for rutuja:
Reading package lists... Done
Building dependency tree
Reading state information... Done
expat is already the newest version (2.2.5-3ubuntu0.2).
The following packages were automatically installed and are no longer
required:
  linux-headers-4.15.0-72 linux-headers-4.15.0-72-generic
linux-image-4.15.0-72-generic linux-modules-4.15.0-72-generic
linux-modules-extra-4.15.0-72-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 330 not upgraded.
'

I tried running ./configure --prefix=/usr but I get this error

/home/rutuja/libreoffice/external/liblangtag/ExternalPackage_liblangtag.mk:17:
*** file
/home/rutuja/libreoffice/workdir/UnpackedTarball/liblangtag/liblangtag/.libs/liblangtag-lo.so.1.4.1
does not exist in the tarball.  Stop.
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2now

How shall I proceed now??
I am following
https://wiki.documentfoundation.org/Development/BuildingForAndroid this
page.

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


Re: build error : 'f__faststorefence': is not a member of 'GrGLInterface::Functions'

2020-02-01 Thread himajin100000

On 2020-02-01 15:48, Kaganski Mike wrote:

On 2020-02-01 8:58, himajin10 wrote:

I'm getting the following error. how should I fix this error?(and why
doesn't Jenkis fail?)

C:/build/workdir/UnpackedTarball/skia/src/gpu/gl/GrGLGpu.cpp(3771):
error C2039: 'f__faststorefence': is not a member of
'GrGLInterface::Functions'
C:\build\workdir\UnpackedTarball\skia\include/gp/gl/GrGLInterface.h(74):
note: see declaration of 'GrGLInterface::Functions'


https://gerrit.libreoffice.org/c/core/+/87780



Thanks, I'll try rebasing and building.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: build error : 'f__faststorefence': is not a member of 'GrGLInterface::Functions'

2020-01-31 Thread Kaganski Mike
On 2020-02-01 8:58, himajin10 wrote:
> I'm getting the following error. how should I fix this error?(and why 
> doesn't Jenkis fail?)
> 
> C:/build/workdir/UnpackedTarball/skia/src/gpu/gl/GrGLGpu.cpp(3771): 
> error C2039: 'f__faststorefence': is not a member of 
> 'GrGLInterface::Functions'
> C:\build\workdir\UnpackedTarball\skia\include/gp/gl/GrGLInterface.h(74): 
> note: see declaration of 'GrGLInterface::Functions'

https://gerrit.libreoffice.org/c/core/+/87780

-- 
Best regards,
Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


build error : 'f__faststorefence': is not a member of 'GrGLInterface::Functions'

2020-01-31 Thread himajin100000

Hi,

I'm getting the following error. how should I fix this error?(and why 
doesn't Jenkis fail?)


C:/build/workdir/UnpackedTarball/skia/src/gpu/gl/GrGLGpu.cpp(3771): 
error C2039: 'f__faststorefence': is not a member of 
'GrGLInterface::Functions'
C:\build\workdir\UnpackedTarball\skia\include/gp/gl/GrGLInterface.h(74): 
note: see declaration of 'GrGLInterface::Functions'

---
himajin10

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


Re: Android Build Error at ./autogen.sh

2019-01-14 Thread Gülşah Köse
Hello,

I found the last problem and works for me now. We should't use ~ while
giving parameter. we should write full path of sdk and ndk. As a parameter
"/home/brenda/Android/Sdk/ndk-bundle"
 should work for you too.

---
Gülşah Köse
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Android Build Error at ./autogen.sh

2019-01-14 Thread Gülşah Köse
Hello,

~/home/brenda/Android/Sdk/ndk-bundle/ looks like wrong path. i think it
says /home/brenda/home/brenda/Android/Sdk/ndk-bundle/ By the way If we put
at "/" at the end of the parameter like says wiki, the path in the code
look like ndk-bundle// so remove / at the end.

However checked all of them and set ANDROID_API_LEVEL and minSdkVersion to
16 ./autogen.sh still shows same error. Although the file exist, control
configure.ac line 384 behaves file doesn't exists

Any idea about it?



-- 
Gülşah Köse
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Android Build Error at ./autogen.sh

2018-11-12 Thread Christian Lohmaier
Hi *,
On Mon, Nov 12, 2018 at 4:22 PM ツ  wrote:
>
> I'm trying to build the Android version of LibreOffice but I get the
> following error when running ./autogen.sh :
>
> "configure: error: Unrecognized Android NDK. Missing RELEASE.TXT or
> source.properties file in ~/home/brenda/Android/Sdk/ndk-bundle/.
> Error running configure at ./autogen.sh line 296."
>
> I have updated my autogen.input to reflect the correct SDK and NDK path.
> I have also checked the ndk-bundle folder and source.properties file
> exists. I'm using ndk revision 18.
>
> Does anyone have any suggestions as to how I can solve this?

The check fails because it checks for
"$ANDROID_NDK_HOME/platforms/android-${ANDROID_API_LEVEL}/arch-${ANDROID_ARCH}/usr/lib/libc.a"

api-level is set to 14 currently - but NDK 18 dropped support for
anything older than 16.

→ So change it to  ANDROID_API_LEVEL=16 in configure.ac

(not that you'll also need to adjust android/source/build.gradle and
external/owncloud-android-lib/build.gradle accordingly)

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


Android Build Error at ./autogen.sh

2018-11-12 Thread
I'm trying to build the Android version of LibreOffice but I get the 
following error when running ./autogen.sh :


"configure: error: Unrecognized Android NDK. Missing RELEASE.TXT or 
source.properties file in ~/home/brenda/Android/Sdk/ndk-bundle/.

Error running configure at ./autogen.sh line 296."

I have updated my autogen.input to reflect the correct SDK and NDK path. 
I have also checked the ndk-bundle folder and source.properties file 
exists. I'm using ndk revision 18.


Does anyone have any suggestions as to how I can solve this?

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


Re: Build error on Windows

2018-10-10 Thread Kaganski Mike
On 10/10/2018 8:57 PM, Jan-Marek Glogowski wrote:
> I did my build without specifying an SDK, so this uses the newest one on the 
> system (from VS 2017).
> I simply removed all dependencies and added libraries, until linking didn't 
> fail anymore.
> Mike added shlwapi in commit 095caf5c7501 ("Restore using shlwapi by VCL code 
> on Windows"). Thanks
> for that.
> 
> So I looked for information and found:
> 
> https://docs.microsoft.com/de-de/windows/desktop/WinProg/using-the-windows-headers
> 
> git grep _WIN32_WINNT finds a lot of different versions in our code, but most 
> are just in StdAfx*.h
> boilerplate after a #ifndef. We can probably also drop all the WINVER ones.
> 
> Which probably only leaves the version specified in com_MSC_defs.mk for 
> Windows XP from commit
> f01580ce9c5f ("Windows: Require at least Windows XP SP2") - was just an 
> oversight?
> 
> I pushed an untested patch to Gerrit to get rid of all #ifndef => #define 
>  and the
> duplication in com_MSC_defs.mk: https://gerrit.libreoffice.org/#/c/61631
> 
>  From configure.ac (will always use the newest one):
> WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0 7.1A"
> 
> Should we actually default to the oldest one for our build, or at least use 
> that version for Jenkins?

When preparing for the conference, I created a build environment from 
scratch, and followed our Wiki [1] to the letter (to test it). Then I 
learned that, despite the guidelines told about the requirement to 
install SDK 8.1 only, build process still required SDK 10 (I didn't 
install SDK 10 initially, and only tested without specifying any 
--with-windows-sdk ; in that case, the build failed until I have 
installed SDK 10). So actually I don't see a reason to default to that 
older version (mentioning about which I have removed from the wiki 
page). Possibly we even can't build without SDK 10 present at all? then 
I'd remove support for any older completely.

[1] https://wiki.documentfoundation.org/Development/BuildingOnWindows

-- 
Best regards,
Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error on Windows

2018-10-10 Thread Jan-Marek Glogowski
Am 10.10.2018 um 11:05 schrieb Kaganski Mike:
> On 10/10/2018 12:02 PM, Stephan Bergmann wrote:
>> Looks like a bug in 
>> 
>>  
>> "Implement Windows VCL backend as plugin", which removed the shlwapi 
>> dependency from vcl/Library_vcl.mk but didn't add it to 
>> vcl/Library_vclplug_win.mk.
> 
> At least SDK 10.0.16299.0 doesn't seem to require it...

I did my build without specifying an SDK, so this uses the newest one on the 
system (from VS 2017).
I simply removed all dependencies and added libraries, until linking didn't 
fail anymore.
Mike added shlwapi in commit 095caf5c7501 ("Restore using shlwapi by VCL code 
on Windows"). Thanks
for that.

So I looked for information and found:

https://docs.microsoft.com/de-de/windows/desktop/WinProg/using-the-windows-headers

git grep _WIN32_WINNT finds a lot of different versions in our code, but most 
are just in StdAfx*.h
boilerplate after a #ifndef. We can probably also drop all the WINVER ones.

Which probably only leaves the version specified in com_MSC_defs.mk for Windows 
XP from commit
f01580ce9c5f ("Windows: Require at least Windows XP SP2") - was just an 
oversight?

I pushed an untested patch to Gerrit to get rid of all #ifndef => #define  and the
duplication in com_MSC_defs.mk: https://gerrit.libreoffice.org/#/c/61631

From configure.ac (will always use the newest one):
WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0 7.1A"

Should we actually default to the oldest one for our build, or at least use 
that version for Jenkins?

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


Re: Build error on Windows

2018-10-10 Thread Gabor Kelemen
Hi Mike

This is it! So far the build was configured[1] as:

--with-windows-SDK=8.1

Since this did compile and it was enough for us, so we moved along.
We should be able to produce working builds for Win7, but we have no
other strong requrement or preference for this option.
Now this is broken, but configuring as

--with-windows-SDK=10.0

Does indeed compile, thanks for the advice.

[1] As per 
https://wiki.documentfoundation.org/Development/BuildingOnWindows#Visual_Studio_2017

Regards
Gabor Kelemen

Kaganski Mike  ezt írta (időpont: 2018. okt.
10., Sze, 10:58):
>
> Hi Gabor,
>
> On 10/10/2018 10:58 AM, Gabor Kelemen wrote:
> > We are experiencing a misterious build error with current master branch
> > on Windows without any code changes.
> > make distclean does not help. Any idea what could be done here?
> >
> > [build DEP] LNK:Library/dbmmlo.dll
> > Creating library
> > D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.lib and
> > object D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.exp
> > [build LNK] Library/dbmmlo.dll
> > [build DEP] LNK:Library/sdbtlo.dll
> > [build LNK] Library/sdbtlo.dll
> > [build MOD] desktop
> > Creating library
> > D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.lib and
> > object D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.exp
> > [build MOD] dtrans
> > Creating library
> > D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.lib and object
> > D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.exp
> > [build CMP] embeddedobj/source/msole/emboleobj.windows
> > salframe.o : error LNK2019: unresolved external symbol
> > __imp__SHStrDupW@8 referenced in function "long __cdecl
> > InitPropVariantFromString(wchar_t const *,struct tagPROPVARIANT *)"
> > (?InitPropVariantFromString@@YAJPB_WPAUtagPROPVARIANT@@@Z)
> > D:/LibreOffice/core/instdir/program/vclplug_winlo.dll : fatal error
> > LNK1120: 1 unresolved externals
> > Creating library
> > D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.lib and object
> > D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.exp
> > [build MOD] extensions
> > [build CMP] xmlsecurity/util/xmlsecurity
> > Creating library
> > D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.lib and object
> > D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.exp
> >
> > mt.exe : general error c101008d: Failed to write the updated manifest to
> > the resource of file
> > "D:/LibreOffice/core/instdir/program/vclplug_winlo.dll". A rendszer nem
> > tal?lja a megadott f?jlt. [System cannot find the given file]
> > make[1]: *** [D:/LibreOffice/core/vcl/Library_vclplug_win.mk:20:
> > D:/LibreOffice/core/instdir/program/vclplug_winlo.dll] Error 96
> > make[1]: *** Waiting for unfinished jobs
> > make: *** [Makefile:286: build] Error 2
>
> What version of Windows SDK do you use? Please look in config_host.mk
> for WINDOWS_SDK_*
>
> --
> Best regards,
> Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error on Windows

2018-10-10 Thread Kaganski Mike
On 10/10/2018 12:02 PM, Stephan Bergmann wrote:
> Looks like a bug in 
> 
>  
> "Implement Windows VCL backend as plugin", which removed the shlwapi 
> dependency from vcl/Library_vcl.mk but didn't add it to 
> vcl/Library_vclplug_win.mk.

At least SDK 10.0.16299.0 doesn't seem to require it...

-- 
Best regards,
Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error on Windows

2018-10-10 Thread Stephan Bergmann

On 10/10/2018 09:58, Gabor Kelemen wrote:

[build DEP] LNK:Library/dbmmlo.dll
    Creating library 
D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.lib and 
object D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.exp

[build LNK] Library/dbmmlo.dll
[build DEP] LNK:Library/sdbtlo.dll
[build LNK] Library/sdbtlo.dll
[build MOD] desktop
    Creating library 
D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.lib and 
object D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.exp

[build MOD] dtrans
    Creating library 
D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.lib and object 
D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.exp

[build CMP] embeddedobj/source/msole/emboleobj.windows
salframe.o : error LNK2019: unresolved external symbol 
__imp__SHStrDupW@8 referenced in function "long __cdecl 
InitPropVariantFromString(wchar_t const *,struct tagPROPVARIANT *)" 
(?InitPropVariantFromString@@YAJPB_WPAUtagPROPVARIANT@@@Z)
D:/LibreOffice/core/instdir/program/vclplug_winlo.dll : fatal error 
LNK1120: 1 unresolved externals
    Creating library 


Looks like a bug in 
 
"Implement Windows VCL backend as plugin", which removed the shlwapi 
dependency from vcl/Library_vcl.mk but didn't add it to 
vcl/Library_vclplug_win.mk.

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


Re: Build error on Windows

2018-10-10 Thread Kaganski Mike
Hi Gabor,

On 10/10/2018 10:58 AM, Gabor Kelemen wrote:
> We are experiencing a misterious build error with current master branch 
> on Windows without any code changes.
> make distclean does not help. Any idea what could be done here?
> 
> [build DEP] LNK:Library/dbmmlo.dll
>     Creating library 
> D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.lib and 
> object D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.exp
> [build LNK] Library/dbmmlo.dll
> [build DEP] LNK:Library/sdbtlo.dll
> [build LNK] Library/sdbtlo.dll
> [build MOD] desktop
>     Creating library 
> D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.lib and 
> object D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.exp
> [build MOD] dtrans
>     Creating library 
> D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.lib and object 
> D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.exp
> [build CMP] embeddedobj/source/msole/emboleobj.windows
> salframe.o : error LNK2019: unresolved external symbol 
> __imp__SHStrDupW@8 referenced in function "long __cdecl 
> InitPropVariantFromString(wchar_t const *,struct tagPROPVARIANT *)" 
> (?InitPropVariantFromString@@YAJPB_WPAUtagPROPVARIANT@@@Z)
> D:/LibreOffice/core/instdir/program/vclplug_winlo.dll : fatal error 
> LNK1120: 1 unresolved externals
>     Creating library 
> D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.lib and object 
> D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.exp
> [build MOD] extensions
> [build CMP] xmlsecurity/util/xmlsecurity
>     Creating library 
> D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.lib and object 
> D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.exp
> 
> mt.exe : general error c101008d: Failed to write the updated manifest to 
> the resource of file 
> "D:/LibreOffice/core/instdir/program/vclplug_winlo.dll". A rendszer nem 
> tal?lja a megadott f?jlt. [System cannot find the given file]
> make[1]: *** [D:/LibreOffice/core/vcl/Library_vclplug_win.mk:20: 
> D:/LibreOffice/core/instdir/program/vclplug_winlo.dll] Error 96
> make[1]: *** Waiting for unfinished jobs
> make: *** [Makefile:286: build] Error 2

What version of Windows SDK do you use? Please look in config_host.mk 
for WINDOWS_SDK_*

-- 
Best regards,
Mike Kaganski
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build error on Windows

2018-10-10 Thread Gabor Kelemen
Hi all

We are experiencing a misterious build error with current master branch on
Windows without any code changes.
make distclean does not help. Any idea what could be done here?

[build DEP] LNK:Library/dbmmlo.dll
   Creating library
D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.lib and
object D:/LibreOffice/core/workdir/LinkTarget/Library/isubsequenttest.exp
[build LNK] Library/dbmmlo.dll
[build DEP] LNK:Library/sdbtlo.dll
[build LNK] Library/sdbtlo.dll
[build MOD] desktop
   Creating library
D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.lib and object
D:/LibreOffice/core/workdir/LinkTarget/Library/ivclplug_win.exp
[build MOD] dtrans
   Creating library
D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.lib and object
D:/LibreOffice/core/workdir/LinkTarget/Library/idbaxml.exp
[build CMP] embeddedobj/source/msole/emboleobj.windows
salframe.o : error LNK2019: unresolved external symbol __imp__SHStrDupW@8
referenced in function "long __cdecl InitPropVariantFromString(wchar_t
const *,struct tagPROPVARIANT *)" (?InitPropVariantFromString@
@YAJPB_WPAUtagPROPVARIANT@@@Z)
D:/LibreOffice/core/instdir/program/vclplug_winlo.dll : fatal error
LNK1120: 1 unresolved externals
   Creating library
D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.lib and object
D:/LibreOffice/core/workdir/LinkTarget/Library/idbmm.exp
[build MOD] extensions
[build CMP] xmlsecurity/util/xmlsecurity
   Creating library
D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.lib and object
D:/LibreOffice/core/workdir/LinkTarget/Library/isdbt.exp

mt.exe : general error c101008d: Failed to write the updated manifest to
the resource of file
"D:/LibreOffice/core/instdir/program/vclplug_winlo.dll". A rendszer nem
tal?lja a megadott f?jlt. [System cannot find the given file]
make[1]: *** [D:/LibreOffice/core/vcl/Library_vclplug_win.mk:20:
D:/LibreOffice/core/instdir/program/vclplug_winlo.dll] Error 96
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:286: build] Error 2

Thanks in advance!
Gabor Kelemen
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Mac build error.

2018-03-11 Thread Noel Grandin
On 11 March 2018 at 10:39, Jan Iversen  wrote:

> I work on 2 branches in parallel (iOS and master), so I use “git worktree”
> in order not to have 2 clones (a lot less diskspace).
>
>
I use the --with-referenced-git feature we have, and it works well to avoid
too much clone data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Mac build error.

2018-03-11 Thread Jan Iversen
> The 'g' script in turn is called in 'Makefile'/'Makefile.in’.

Thanks, I got my problem identified.

I work on 2 branches in parallel (iOS and master), so I use “git worktree” in 
order not to have 2 clones (a lot less diskspace).

I know I could switch branches with the help of “git stash”, but it  does not 
allow me to work on one branch while the other branch does its rather lengthy 
compile.

However the worktree version, does not have a .git directory but a .git file 
pointing the clone.

rgds
Jan I.

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


Re: Mac build error.

2018-03-10 Thread Michael Weghorn
Hi,

at first glance, it seems like the 'g' script located at the top-level
of the git repository is doing things that may be related to your error
in the 'refresh_submodule_hooks()' and 'refresh_all_hooks()' functions.
The 'g' script in turn is called in 'Makefile'/'Makefile.in'.

Regards,
  Michael

On 2018-03-10 12:23, Jan Iversen wrote:
> Hi
> 
> On my Mac build I am starting to get these errors:
> 
> rm: .git/hooks/README: Not a directory
> ln: .git/hooks/README: Not a directory
> rm: .git/hooks/commit-msg: Not a directory
> ln: .git/hooks/commit-msg: Not a directory
> rm: .git/hooks/post-merge: Not a directory
> ln: .git/hooks/post-merge: Not a directory
> rm: .git/hooks/pre-commit: Not a directory
> ln: .git/hooks/pre-commit: Not a directory
> 
> 
> I suppose it is because the script assume SRCDIR == BUILDDIR, which is
> not the case always.
> 
> I have tried to find in which *.mk this happens but without success,
> Funny thing it does not happen with my iOS builds, so something is strange.
> 
> Can someone can give me a pointer (might be it is a script), so I can
> correct it.
> 
> rgds
> Jan I.
> 
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
> 
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Mac build error.

2018-03-10 Thread Jan Iversen
Hi

On my Mac build I am starting to get these errors:

rm: .git/hooks/README: Not a directory
ln: .git/hooks/README: Not a directory
rm: .git/hooks/commit-msg: Not a directory
ln: .git/hooks/commit-msg: Not a directory
rm: .git/hooks/post-merge: Not a directory
ln: .git/hooks/post-merge: Not a directory
rm: .git/hooks/pre-commit: Not a directory
ln: .git/hooks/pre-commit: Not a directory


I suppose it is because the script assume SRCDIR == BUILDDIR, which is not the 
case always.

I have tried to find in which *.mk this happens but without success, Funny 
thing it does not happen with my iOS builds, so something is strange.

Can someone can give me a pointer (might be it is a script), so I can correct 
it.

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


Re: Libreoffice Build Error

2017-10-15 Thread Markus Mohrhard
Hey,

On Mon, Oct 9, 2017 at 6:22 AM, Ekansh Jha <jhaekans...@gmail.com> wrote:

> While building libreoffice after make command, I am getting an error.
> Please help me to fix it.
>
>
>1. Making all in utils
>2. libtool: link: gcc -O -Wl,-z -Wl,origin -Wl,-rpath -Wl,\$ORIGIN -o .
>libs/rapper rapper.o  ../src/.libs/libraptor2.so
>3. /usr/bin/ld: warning: libiconv.so.2, needed by
>//home/ekansh/anaconda3/lib/libxml2.so.2, not found (try using -rpath
>or -rpath-link)
>4. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
>`libiconv'
>5. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
>`libiconv_close'
>6. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
>`libiconv_open'
>7. collect2: error: ld returned 1 exit status
>8. Makefile:462: recipe for target 'rapper' failed
>9. make[3]: *** [rapper] Error 1
>10. Makefile:455: recipe for target 'all-recursive' failed
>11. make[2]: *** [all-recursive] Error 1
>12. /home/ekansh/libreoffice/external/redland/ExternalProject_raptor.mk
>:19: recipe for target '/home/ekansh/libreoffice/workdir/
>ExternalProject/raptor/build' failed
>    13. make[1]: *** [/home/ekansh/libreoffice/workdir/ExternalProject/
>raptor/build] Error 1
>14. make[1]: *** Waiting for unfinished jobs....
>15. Makefile:265: recipe for target 'build' failed
>16. make: *** [build] Error 2
>
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
The reference to "/home/ekansh/anaconda3/lib/libxml2.so.2" looks
suspicious. This most likely means that you have a self-built libxml2 that
is used instead of the system libxml2 and the linker is not finding a
corresponding libiconv. I would suggest that at least in the beginning you
stick to system libraries or the LibreOffice included copies of libraries.
This normally helps to make it a smoother build experience and as soon as
you manage to get reliable builds you can still experiment with more
complicated setups.

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


Libreoffice Build Error

2017-10-15 Thread Ekansh Jha
While building libreoffice after make command, I am getting an error.
Please help me to fix it.


   1. Making all in utils
   2. libtool: link: gcc -O -Wl,-z -Wl,origin -Wl,-rpath -Wl,\$ORIGIN -o .
   libs/rapper rapper.o  ../src/.libs/libraptor2.so
   3. /usr/bin/ld: warning: libiconv.so.2, needed by
//home/ekansh/anaconda3/lib/libxml2.so.2,
   not found (try using -rpath or -rpath-link)
   4. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
   `libiconv'
   5. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
   `libiconv_close'
   6. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
   `libiconv_open'
   7. collect2: error: ld returned 1 exit status
   8. Makefile:462: recipe for target 'rapper' failed
   9. make[3]: *** [rapper] Error 1
   10. Makefile:455: recipe for target 'all-recursive' failed
   11. make[2]: *** [all-recursive] Error 1
   12. /home/ekansh/libreoffice/external/redland/ExternalProject_raptor.mk:
   19: recipe for target
   '/home/ekansh/libreoffice/workdir/ExternalProject/raptor/build' failed
   13. make[1]: *** [
   /home/ekansh/libreoffice/workdir/ExternalProject/raptor/build] Error 1
   14. make[1]: *** Waiting for unfinished jobs
   15. Makefile:265: recipe for target 'build' failed
   16. make: *** [build] Error 2
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error: 'GetMap' is a protected member of 'SwAccessibleContext'

2017-04-23 Thread slacka
That commit fixed the error. I just finished a successful build with Clang.

Thanks Markus!



--
View this message in context: 
http://nabble.documentfoundation.org/Build-error-GetMap-is-a-protected-member-of-SwAccessibleContext-tp4213098p4213122.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error: 'GetMap' is a protected member of 'SwAccessibleContext'

2017-04-23 Thread Markus Mohrhard
Hey,

On Sat, Apr 22, 2017 at 9:42 PM, Luke Benes <lukebe...@hotmail.com> wrote:

> With Ubuntu 17.04 x86-64, after commit: https://cgit.
> freedesktop.org/libreoffice/core/commit/sw/source/core/
> access/accmap.cxx?id=c99f72bebdce6d294eb47e070fa1397a98ba2087
>
> sw: fix a11y crash on double Dispose
>
> I'm getting the following build error
>
>
> [CXX] sw/source/core/access/accmap.cxx
> [CXX] sw/source/core/access/accnotextframe.cxx
> [CXX] sw/source/core/access/accnotexthyperlink.cxx
> [CXX] sw/source/core/access/accpage.cxx
> [CXX] sw/source/core/access/accpara.cxx
> /sw/source/core/access/accmap.cxx:2393:31: error: 'GetMap' is a protected
> member of 'SwAccessibleContext'
> if (xAccImpl->GetMap()) // not if disposed by FireEvents()
> ~~^~
> /sw/source/core/access/acccontext.hxx:115:22: note: declared protected
> here
> SwAccessibleMap *GetMap() { return m_pMap; }
>  ^
> 1 error generated.
> /solenv/gbuild/LinkTarget.mk:288: recipe for target
> '/workdir/CxxObject/sw/source/core/access/accmap.o' failed
> make[1]: *** [/workdir/CxxObject/sw/source/core/access/accmap.o] Error 1
> make[1]: *** Waiting for unfinished jobs
> Makefile:264: recipe for target 'build' failed
>


This should be fixed with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=42b40ede8c496aad1021e68a72523af4f57e89f6

Best to pull and rebuild.

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


Build error: 'GetMap' is a protected member of 'SwAccessibleContext'

2017-04-23 Thread Luke Benes
With Ubuntu 17.04 x86-64, after commit: 
https://cgit.freedesktop.org/libreoffice/core/commit/sw/source/core/access/accmap.cxx?id=c99f72bebdce6d294eb47e070fa1397a98ba2087

sw: fix a11y crash on double Dispose

I'm getting the following build error


[CXX] sw/source/core/access/accmap.cxx
[CXX] sw/source/core/access/accnotextframe.cxx
[CXX] sw/source/core/access/accnotexthyperlink.cxx
[CXX] sw/source/core/access/accpage.cxx
[CXX] sw/source/core/access/accpara.cxx
/sw/source/core/access/accmap.cxx:2393:31: error: 'GetMap' is a protected 
member of 'SwAccessibleContext'
    if (xAccImpl->GetMap()) // not if disposed by FireEvents()
    ~~^~
/sw/source/core/access/acccontext.hxx:115:22: note: declared protected here
    SwAccessibleMap *GetMap() { return m_pMap; }
 ^
1 error generated.
/solenv/gbuild/LinkTarget.mk:288: recipe for target 
'/workdir/CxxObject/sw/source/core/access/accmap.o' failed
make[1]: *** [/workdir/CxxObject/sw/source/core/access/accmap.o] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:264: recipe for target 'build' failed



luke@luke-X555LAB:~/u64/lo/core$ clang --version
clang version 5.0.0 (trunk 298676)
Target: x86_64-unknown-linux-gnu

luke@luke-X555LAB:~/u64/lo/core$ cat autogen.input 
--disable-firebird-sdbc
--without-export-validation
CC=clang
CXX=clang++

$ git revert c99f72bebdce6d294eb47e070fa1397a98ba2087

allows the build to complete without errors

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


[Libreoffice-bugs] [Bug 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

--- Comment #8 from Yurii Kolesnykov  ---
(In reply to Julien Nabet from comment #7)
> You can find dev mailing list here:
> http://nabble.documentfoundation.org/Dev-f1639786.html
> 
> or use IRC (see https://wiki.documentfoundation.org/Website/IRC)

Ok, keep for day or two, I will try to confirm is it my local setup or not.

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

--- Comment #7 from Julien Nabet  ---
You can find dev mailing list here:
http://nabble.documentfoundation.org/Dev-f1639786.html

or use IRC (see https://wiki.documentfoundation.org/Website/IRC)

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #6 from Buovjaga  ---
It is preferable to take this discussion to the dev mailing list:
https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla

Closing as MOVED

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

Julien Nabet  changed:

   What|Removed |Added

 CC||t...@libreoffice.org

--- Comment #5 from Julien Nabet  ---
Thorsten: as Mac expert referenced in
https://wiki.documentfoundation.org/FindTheExpert, thought you might be
interested in this one. (btw, the email of wiki doesn't correspond with the one
in bugzilla)

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

--- Comment #4 from Yurii Kolesnykov  ---
I tried lode, even putted it's in beginning of path env. variable. This build
result is from it, exactly same issue. I'm not sure how to make sure the
problem is not in brew, maybe I should reset path variable. Nevertheless I
think homebrew should be support since it's very popular in macOS dev
community.

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

--- Comment #3 from Julien Nabet  ---
as a workaround, you can try to include --enable-python=fully-internal in your
autogen.input

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

Julien Nabet  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||ipla...@yahoo.co.uk,
   ||serval2...@yahoo.fr
 Ever confirmed|0   |1

--- Comment #2 from Julien Nabet  ---
Did you follow https://wiki.documentfoundation.org/Development/BuildingOnMac ?

Alex: when using lode on MacOS 10.12, I didn't have this problem. I know you
don't use lode, did you use specific option for python in autogen.input ?

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

Yurii Kolesnykov  changed:

   What|Removed |Added

URL||https://gist.github.com/yur
   ||ikoles/fdbc8ac7a39190df575f
   ||c7999b7e1627

-- 
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 104774] build error: no matching function for call to ' PyUnicodeUCS2_FromUnicode' macOS Sierra/10.12

2016-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104774

Yurii Kolesnykov <yuriko...@gmail.com> changed:

   What|Removed |Added

Summary|error: no matching function |build error: no matching
   |for call to |function for call to
   |'PyUnicodeUCS2_FromUnicode' |'PyUnicodeUCS2_FromUnicode'
   |macOS Sierra/10.12  |macOS Sierra/10.12

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


Re: dbg build error on start for missing shared libraries

2016-09-22 Thread Cor Nouws
Michael Stahl wrote on 22-09-16 15:20:
> yes you need to install that library, in fact i'm surprised that it's
> not installed by default on your OS.  oh wait, you said "x86" - probably
> you are using x86_64 OS and don't have 32-bit libraries installed that
> are needed for 32-bit LO, so you need something like "dnf install
> libXinerama.i686".

thanks,
 $ sudo apt-get install lib32stdc++6
did the trick for me.
And then there was some javaldx/libdbus-glib-1.so.2 problem ..

Better to look for a 64 bits dbg version in the first place. That just
works. ;)

Ciao
Cor

-- 
Cor Nouws
GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28  A038 E49D 7365 B134 80A6
- vrijwilliger http://nl.libreoffice.org
- volunteer http://www.libreoffice.org
- The Document Foundation Membership Committee Member

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


Re: dbg build error on start for missing shared libraries

2016-09-22 Thread Michael Stahl
On 19.09.2016 22:42, Cor Nouws wrote:
> Hi,
> 
> Downloaded and unpacked
> http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86@71-TDF-dbg/current/master_dbg~2016-09-18_23.51.47_LibreOfficeDev_5.3.0.0.alpha0_Linux_x86_archive.tar.gz
> 
> 
> & /program/soffice
> /home/cono/lotest/TM/LibreOfficeDev_5.3.0.0.alpha0_Linux_x86_archive/program/oosplash:
> error while loading shared libraries: libXinerama.so.1: cannot open
> shared object file: No such file or directory
> 
> Despite the return message, I doubt this is something that I need to fix
> with gathering all kind of libraries.. Can someone pls confirm?

yes you need to install that library, in fact i'm surprised that it's
not installed by default on your OS.  oh wait, you said "x86" - probably
you are using x86_64 OS and don't have 32-bit libraries installed that
are needed for 32-bit LO, so you need something like "dnf install
libXinerama.i686".


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


dbg build error on start for missing shared libraries

2016-09-19 Thread Cor Nouws
Hi,

Downloaded and unpacked
http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86@71-TDF-dbg/current/master_dbg~2016-09-18_23.51.47_LibreOfficeDev_5.3.0.0.alpha0_Linux_x86_archive.tar.gz


& /program/soffice
/home/cono/lotest/TM/LibreOfficeDev_5.3.0.0.alpha0_Linux_x86_archive/program/oosplash:
error while loading shared libraries: libXinerama.so.1: cannot open
shared object file: No such file or directory

Despite the return message, I doubt this is something that I need to fix
with gathering all kind of libraries.. Can someone pls confirm?


-- 
Cor Nouws
GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28  A038 E49D 7365 B134 80A6
- vrijwilliger http://nl.libreoffice.org
- volunteer http://www.libreoffice.org
- The Document Foundation Membership Committee Member
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error in cui module of LibreOffice core

2016-08-03 Thread David Tardon
Just for the record: this was resolved on IRC.

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


Build error in cui module of LibreOffice core

2016-08-03 Thread Asela Rukmal
I have tried several times building this module after fresh pull
requests to repository. Every time it give me error
"
/usr/bin/ld: cannot find -leditenglo
collect2: error: ld returned 1 exit status
make[1]: *** [/home/asela/core/instdir/program/libcuilo.so] Error 1
make: *** [cui] Error 2
 "
can someone please help me ?

-- 
Asela Dasanayaka
www.asela-rukmal.blogspot.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-22 Thread Michael Stahl
On 14.03.2016 09:21, Mayank Gupta wrote:
> Now I'm past that problem. Visual Studio is not my concern. The main
> problem is still hanging around due to which I did all  of it again and
> again. When I run LO from cygwin. Start LO Impress, add few lines in
> slide and then click on add animation button. It freezes for a second or
> two and then shows "bad allocation"  error and then crashes. Please
> suggest me, what can I do about it?

it sounds like an opportunity to fix a bug :)

when the problem happens you can start visual studio and attach to the
soffice.bin process and click the "pause" button to see the backtrace of
the thread that is displaying the message box.

then the problem is figuring out what code caused the allocation
failure, which may or may not be easy.


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


Re: Build error

2016-03-14 Thread krishna keshav
Hello,
It was error regarding cppunit. It is fixed now.I just had to upgrade
packages.Also the following doc was a great help
https://wiki.documentfoundation.org/Development/How_to_debug#Running_cppunit_tests

On Mon, Mar 14, 2016 at 11:17 AM, David Tardon  wrote:

> Hello,
>
> On Sun, Mar 13, 2016 at 02:08:39PM +0530, krishna keshav wrote:
> > Hello,
> > I have trying to build libreoffice recently using make.However the build
> > terminates after giving following error
> http://paste.ubuntu.com/15370838/ .
> > I ran the commands stated on termination which resulted in nothing.
> >
> > Please help with how should I proceed now.I am using ubuntu 14.04LTS.
>
> You should paste a larger snippet that actually shows the failure.
> Otherwise we cannot help you.
>
> D.
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-14 Thread Mayank Gupta
Now I'm past that problem. Visual Studio is not my concern. The main
problem is still hanging around due to which I did all  of it again and
again. When I run LO from cygwin. Start LO Impress, add few lines in slide
and then click on add animation button. It freezes for a second or two and
then shows "bad allocation"  error and then crashes. Please suggest me,
what can I do about it?
Thanks

Best regards,
Mayank
On Mar 14, 2016 1:00 PM, "jan iversen"  wrote:

>
>
> On 13 Mar 2016, at 09:01, Mayank Gupta  wrote:
>
> The solution which is made after 'make vs2013-ide-integration' and exists
> in source folder. Perhaps that's because the compete build itself wasn't
> successful. I tried make clean, then make. Deleted source folder. Unzipped
> tarball again and did git checkout - f and git pull - r. Ran autogen.sh
> with all the parameters except I didn't disable ATL and activex. But still
> build fails with errors. http://pastebin.ca/3399442
>
>
> In order for vs2013-ide-integration to work, you need a clean build. The
> integration script depend on the output of the make. BUT even if you have a
> clean make, the integration does not allow you to build LO inside visual
> studio, there are a some features missing.
>
> Hopefully we will soon have a GSoC projects that changes that situation.
>
> rgds
> jan i.
>
> On Mar 13, 2016 12:33 PM, "Tor Lillqvist"  wrote:
>
>>
>> 2) Opening visual Studio solution does nothing.
>>>
>>
>> Which solution do you mean? The one in the 'windows' subdirectory? That
>> is not supposed to do anything interesting. It is mostly a dummy project
>> whose only purpose is to enable *starting* an already built LibreOffice in
>> the Visual Studio debugger.
>>
>> --tml
>>
>> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-13 Thread David Tardon
Hello,

On Sun, Mar 13, 2016 at 02:08:39PM +0530, krishna keshav wrote:
> Hello,
> I have trying to build libreoffice recently using make.However the build
> terminates after giving following error http://paste.ubuntu.com/15370838/ .
> I ran the commands stated on termination which resulted in nothing.
> 
> Please help with how should I proceed now.I am using ubuntu 14.04LTS.

You should paste a larger snippet that actually shows the failure.
Otherwise we cannot help you.

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


Build error

2016-03-13 Thread krishna keshav
Hello,
I have trying to build libreoffice recently using make.However the build
terminates after giving following error http://paste.ubuntu.com/15370838/ .
I ran the commands stated on termination which resulted in nothing.

Please help with how should I proceed now.I am using ubuntu 14.04LTS.

Thanks,
Krishna Keshav
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-13 Thread Mayank Gupta
The solution which is made after 'make vs2013-ide-integration' and exists
in source folder. Perhaps that's because the compete build itself wasn't
successful. I tried make clean, then make. Deleted source folder. Unzipped
tarball again and did git checkout - f and git pull - r. Ran autogen.sh
with all the parameters except I didn't disable ATL and activex. But still
build fails with errors. http://pastebin.ca/3399442
On Mar 13, 2016 12:33 PM, "Tor Lillqvist"  wrote:

>
> 2) Opening visual Studio solution does nothing.
>>
>
> Which solution do you mean? The one in the 'windows' subdirectory? That is
> not supposed to do anything interesting. It is mostly a dummy project whose
> only purpose is to enable *starting* an already built LibreOffice in the
> Visual Studio debugger.
>
> --tml
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-12 Thread Tor Lillqvist
> 2) Opening visual Studio solution does nothing.
>

Which solution do you mean? The one in the 'windows' subdirectory? That is
not supposed to do anything interesting. It is mostly a dummy project whose
only purpose is to enable *starting* an already built LibreOffice in the
Visual Studio debugger.

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


Re: Build error

2016-03-12 Thread Mayank Gupta
I'm sorry. Actually I was talking about partial build that VS does. Problem
with using LODE is that it doesn't support source as tarball. It clones the
repository again. I don't have very good internet here. And I did the build
via regular make in cygwin. Should I run and autogen.sh and then 'make'
again on fresh copy of source?
On Mar 12, 2016 11:51 PM, "jan iversen"  wrote:

>
> On 12 Mar 2016, at 16:51, Mayank Gupta  wrote:
>
> After changing the cygwin interface to source directory I ran:
> /opt/lo/bin/make vs2013-ide-integration
> As stated by the instructions on wiki 'BuildingOnWindows'  document.
> PS: I've set up all the directories according to the instructions only and
> not my own to avoid any confusion for myself and for others to whom I ask
> my doubts.
>
> Today we recommend using:
> https://wiki.documentfoundation.org/Development/GetInvolved
>
> That uses the lode development.
>
> The vs2013-ide-integration does not allow you to build LO. We have a GSoC
> project upcoming to remedy that.
>
> rgds
> jan i.
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-12 Thread jan iversen

> On 12 Mar 2016, at 16:51, Mayank Gupta  wrote:
> 
> After changing the cygwin interface to source directory I ran:
> /opt/lo/bin/make vs2013-ide-integration
> As stated by the instructions on wiki 'BuildingOnWindows'  document. 
> PS: I've set up all the directories according to the instructions only and 
> not my own to avoid any confusion for myself and for others to whom I ask my 
> doubts.
> 
Today we recommend using:
https://wiki.documentfoundation.org/Development/GetInvolved

That uses the lode development.

The vs2013-ide-integration does not allow you to build LO. We have a GSoC 
project upcoming to remedy that.

rgds
jan i.
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-12 Thread Mayank Gupta
After changing the cygwin interface to source directory I ran:
/opt/lo/bin/make vs2013-ide-integration
As stated by the instructions on wiki 'BuildingOnWindows'  document.
PS: I've set up all the directories according to the instructions only and
not my own to avoid any confusion for myself and for others to whom I ask
my doubts.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2016-03-12 Thread jan iversen


> On 12 Mar 2016, at 10:16, Mayank Gupta  wrote:
> 
> Hi all,
> I'm Mayank Gupta. GSoC 2016 aspirant for Libreoffice project 'Add impress 
> shape animations that use real physics engine'.  I built Libreoffice on 
> Windows it was successful with errors related to different tests. So, mst_ on 
> IRC told it might be because ATL hadn't been disabled properly. He told me 
> how to handle it and so I made a patch and uploaded to Gerrit. When I built 
> it in visual Studio. Run impress from LO, added animations to a simple text 
> in impress, an error popped up saying 'bad allocation'. I checked RAM usage 
> it peaked to 72%(total 4 gigs RAM) with about 750 MB occupied by Libreoffice 
> just before failure. Then I did a 'make clean'  and did 'make'  again on 
> source directory. Building visual Studio solution was successful without 
> error. My problems are:
> 1) when I run Libreoffice from cygwin terminal it shows error:
> The application cannot be started. 
> A General error occurred while accessing your Central configuration. 
> ( "com.sun.star.configuration.ReadWriteAccess of type 
> com.sun.star.configuration.XReadWriteAccess ")
> 

This worked on my win 8.1 installation.
> 2) Opening visual Studio solution does nothing. 
> What should I do to solve these problems?
> 

how did you get a visual studio solution ?

rgds
jan i
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build error

2016-03-12 Thread Mayank Gupta
Hi all,
I'm Mayank Gupta. GSoC 2016 aspirant for Libreoffice project 'Add impress
shape animations that use real physics engine'.  I built Libreoffice on
Windows it was successful with errors related to different tests. So, mst_
on IRC told it might be because ATL hadn't been disabled properly. He told
me how to handle it and so I made a patch and uploaded to Gerrit. When I
built it in visual Studio. Run impress from LO, added animations to a
simple text in impress, an error popped up saying 'bad allocation'. I
checked RAM usage it peaked to 72%(total 4 gigs RAM) with about 750 MB
occupied by Libreoffice just before failure. Then I did a 'make clean'  and
did 'make'  again on source directory. Building visual Studio solution was
successful without error. My problems are:
1) when I run Libreoffice from cygwin terminal it shows error:
The application cannot be started.
A General error occurred while accessing your Central configuration.
( "com.sun.star.configuration.ReadWriteAccess of type
com.sun.star.configuration.XReadWriteAccess ")

2) Opening visual Studio solution does nothing.
What should I do to solve these problems?
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [build error]build LibreOffice5.1.0.2 on windows10 x86_64

2016-03-09 Thread Chris Sherlock

> On 9 Mar 2016, at 6:01 PM, jinjin...@cs2c.com.cn wrote:
> 
> Hi,
>  I am new to LibreOffice and trying to build LibreOffice 5.1.0.2 on 
> Windows10 x86_64 follow wiki guide, but there is a compile error :

Don’t know the cause of the problem, but it’s not a compilation error. A unit 
test is failing. 

One quick thing though…

> --without-java --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 
> --with-junit=/cygdrive/c/sources/junit-4.10.jar 

why not just —without-java? it’s not going to use ant or junit if you use 
—without-java!

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


Re: [build error]build LibreOffice5.1.0.2 on windows10 x86_64

2016-03-09 Thread Tor Lillqvist
> I am not sure how much testing has been done one windows 10,
>

I have been building on Windows 10 for long without problems like this.

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


Re: [build error]build LibreOffice5.1.0.2 on windows10 x86_64

2016-03-09 Thread jan iversen
Hi

Did you try to follow the instruction, from our step by step guide:
https://wiki.documentfoundation.org/Development/GetInvolved
(it has far less configure switches than you use)

I am not sure how much testing has been done one windows 10, in your case it is 
not a compile error, but a unittest error.

The last part of the log contains suggestions to what you can do to find the 
problem.

rgds
jan i.

> On 09 Mar 2016, at 08:01, "jinjin...@cs2c.com.cn"  
> wrote:
> 
> Hi,
>  I am new to LibreOffice and trying to build LibreOffice 5.1.0.2 on 
> Windows10 x86_64 follow wiki guide, but there is a compile error :
>   
>my conifgure : 
>   ./autogen.sh  --without-java 
> --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 
> --with-junit=/cygdrive/c/sources/junit-4.10.jar --enable-pch --disable-ccache 
> --disable-activex --disable-atl
> 
> error log:
> [build CUT] sd_export_tests
> [build CUT] sd_filters_test
> [build CUT] sd_misc_tests
> [build CUT] sd_html_export_tests
> [build CUT] sd_tiledrendering
> [build BIN] sd
> [build CUT] sd_uimpress
> [build MOD] sd
> [build BIN] top level modules: sd
> [build ALL] top level modules: build-non-l10n-only build-l10n-only
> E:/libreoffice/test/source/diff/diff.cxx:271:SdImportTest::testDocumentLayout
> double equality assertion failed
> - Expected: 182
> - Actual  : 0
> - Delta   : 1e-008
> - Reference: E:/libreoffice/sd/qa/unit/data/xml/n819614_0.xml
> - Node: /XShapes/XShape[2]
> - Attr: positionX
> 
> 
> Error: a unit test failed, please do one of:
> make CppunitTest_sd_import_tests CPPUNITTRACE=TRUE # which is a shortcut for 
> the following line
> make CppunitTest_sd_import_tests 
> CPPUNITTRACE="'C:/PROGRA~2/MICROS~1.0/VC//../Common7/IDE/devenv.exe' 
> /debugexe" # for interactive debugging in Visual Studio
> make CppunitTest_sd_import_tests CPPUNITTRACE="drmemory -free_max_frames 20" 
> # for memory checking (install Dr.Memory first, and put it to your PATH)
> 
> Could anyone  help me solve this compile error ?Thanks !
> 
> jinjin...@cs2c.com.cn
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[build error]build LibreOffice5.1.0.2 on windows10 x86_64

2016-03-09 Thread jinjin...@cs2c.com.cn
Hi,
 I am new to LibreOffice and trying to build LibreOffice 5.1.0.2 on 
Windows10 x86_64 follow wiki guide, but there is a compile error :
  
   my conifgure : 
  ./autogen.sh  --without-java 
--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 
--with-junit=/cygdrive/c/sources/junit-4.10.jar --enable-pch --disable-ccache 
--disable-activex --disable-atl

error log:
[build CUT] sd_export_tests
[build CUT] sd_filters_test
[build CUT] sd_misc_tests
[build CUT] sd_html_export_tests
[build CUT] sd_tiledrendering
[build BIN] sd
[build CUT] sd_uimpress
[build MOD] sd
[build BIN] top level modules: sd
[build ALL] top level modules: build-non-l10n-only build-l10n-only
E:/libreoffice/test/source/diff/diff.cxx:271:SdImportTest::testDocumentLayout
double equality assertion failed
- Expected: 182
- Actual  : 0
- Delta   : 1e-008
- Reference: E:/libreoffice/sd/qa/unit/data/xml/n819614_0.xml
- Node: /XShapes/XShape[2]
- Attr: positionX


Error: a unit test failed, please do one of:
make CppunitTest_sd_import_tests CPPUNITTRACE=TRUE # which is a shortcut for 
the following line
make CppunitTest_sd_import_tests 
CPPUNITTRACE="'C:/PROGRA~2/MICROS~1.0/VC//../Common7/IDE/devenv.exe' /debugexe" 
# for interactive debugging in Visual Studio
make CppunitTest_sd_import_tests CPPUNITTRACE="drmemory -free_max_frames 20" # 
for memory checking (install Dr.Memory first, and put it to your PATH)

Could anyone  help me solve this compile error ?Thanks !



jinjin...@cs2c.com.cn
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Android Build error

2016-02-18 Thread Miklos Vajna
Hi,

On Wed, Feb 17, 2016 at 10:13:22AM -0700, madhu314  wrote:
> I
> am working on a Mac environment.

The wiki page says:

"We develop on Linux as the host environment."

So other host operating systems may or may not work. If you're not
interested in fixing the problems you hit, don't use a custom host OS.

Regards,

Miklos


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


Android Build error

2016-02-17 Thread madhu314
Hello,I wanted to build libreoffice for android, so I followed instruction
mentioned in
https://wiki.documentfoundation.org/Development/BuildingForAndroidautogen.sh
went through fine, my autogen.input looks like
--enable-bogus-pkg-config--with-distro=LibreOfficeAndroid--with-android-ndk=/Users/Madhu/android-sdk-macosx/ndk-bundle--with-android-sdk=/Users/Madhu/android-sdk-macosx--with-jdk-home=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/HomeHowever,
when I run make, I am constantly hitting the following errormake[1]: *** No
rule to make target
`/Users/Madhu/lo/core/instdir_for_build/LibreOfficeDev.app/Contents/program/services.rdb',
needed by `/Users/Madhu/lo/core/workdir_for_build/Executable/saxparser.run'. 
Stop.make[1]: *** Waiting for unfinished jobsmake: *** [build] Error 2I
am working on a Mac environment. I am not able to figure out what the cause
could and hence not able to go forward with next steps of android build.Can
someone help me fix this issue in my env. ?thanks,Madhu



--
View this message in context: 
http://nabble.documentfoundation.org/Android-Build-error-tp4175817.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: build error: makefile 244 "recipe for target 'build' failed"

2016-01-27 Thread Cor Nouws
Cor Nouws wrote on 27-01-16 00:26:

>> If that's the case "make clean" could help.
> Trying.. Will know more tomorrow.

Build just finished.
Indeed that helped.

Merci,

-- 
Cor Nouws
GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28  A038 E49D 7365 B134 80A6
- vrijwilliger http://nl.libreoffice.org
- volunteer http://www.libreoffice.org
- The Document Foundation Membership Committee Member
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


  1   2   3   4   5   >