On Sun, Aug 04, 2019 at 10:49:48PM -0500, Douglas R. Reno wrote:
> On 2019-08-04 21:40, Ken Moffat via blfs-dev wrote:
> > On Sun, Aug 04, 2019 at 11:55:21PM +0100, Ken Moffat via blfs-dev wrote:
> > > As a distraction while waiting for libreoffice-6.2.6 which I am
> > > hopeful will have a full fix against injected python, I'm trying to
> > > build the current version.
> > >
> > > And then I added system xmlsec1
> > > but apparently most people seem not to need that.
> >
> > But it turns out I do still need it. With what is in the book
> > (except for java) :
> >
> > /usr/include/c++/9.1.0/bits/stl_relops.h:85:5: error: template with C
> > linkage
> > 85 | template <class _Tp>
> > | ^~~~~~~~
> > In file included from
> > /scratch/working/libreoffice-6.2.5.2/xmlsecurity/inc/xmlsec-wrapper.h:32,
> > from
> > /scratch/working/libreoffice-6.2.5.2/xmlsecurity/source/xmlsec/biginteger.cxx:
> >
> > With added xmlsec-1.2.28 and --with-system-xmlsec it built and
> > installed.
> >
> > I've no idea how you guys manage to build it with current versions
> > of everything, but (in the words of Dragons' Den from TV or youtube)
> > I'm close to "I'm out."
> >
> > ĸen
>
> Hi Ken,
>
> You're using the internal xmlsec, right? I built Libreoffice a little over a
> week ago and didn't have any major problems... if it helps, here's my log
> grepped for xmlsec, and I've attached a link to my log, build script, and
> list of installed packages.
Yes, that was within the internal download.
>
> renodr [ /usr/src/logs ]$ cat libreoffice-6.2.5.2.log | grep xmlsec
I've copied this to a file, and then run the same grep on the log
from my failed build, then diffed them. Unfortunately, I'm using a
verbose build (to be sure my CFLAGS get picked up), and also
building in /scratch/working, so there are a lot of probably
irrelevant differences.
Stripping the verbose details out, I notice that some things happen
in different places, and that the verbosity of the xmlsec build
shows mine ran configure scripts several times (I built with -j8).
The details of *what* got run for xmlsec also seem to be a bit
different. Details follow, but I'm none the wiser. Thanks anyway.
- is yours, + is mine.
ĸen
--- /tmp/xmlsec-good 2019-08-06 04:37:36.722671004 +0100
+++ /tmp/xmlsec-bad 2019-08-06 04:35:50.768588130 +0100
dd@@ -1,146 +1,6531 @@
checking which xmlsec to use... internal
[downloads to different places, but look similar]
[build DEP] LNK:Library/libxsec_xmlsec.so
[build DEP] LNK:Library/libxmlsecurity.so
-[build CXX] comphelper/source/misc/xmlsechelper.cxx
-[build CXX] svx/source/stbctrls/xmlsecctrl.cxx
-[build UPK] xmlsec1-1.2.27.tar.gz
-[build PAT] xmlsec
-[build PRJ] xmlsec
-[build PKG] xmlsec
-[build EPK] xmlsec
-[build BIN] xmlsec
-[build MOD] xmlsec
+[build LOC] xmlsec
At this point I started to wonder if there is something very different
in how I'm building, but I guess that at least the CXX part in mine
was replaced by a verbose command line.
[build UIL] svx/uiconfig/ui/xmlsecstatmenu
[build UIL] xmlsecurity/uiconfig/ui/certpage
[build UIL] xmlsecurity/uiconfig/ui/certdetails
[build UIL] xmlsecurity/uiconfig/ui/certgeneral
-[build UIL] xmlsecurity/uiconfig/ui/digitalsignaturesdialog
[build UIL] xmlsecurity/uiconfig/ui/securitylevelpage
[build UIL] xmlsecurity/uiconfig/ui/securitytrustpage
+[build UIL] xmlsecurity/uiconfig/ui/digitalsignaturesdialog
hmm, different order here (I was using -j8)
[build UIL] xmlsecurity/uiconfig/ui/selectcertificatedialog
[build UIL] xmlsecurity/uiconfig/ui/macrosecuritydialog
[build UIL] xmlsecurity/uiconfig/ui/viewcertdialog
-[build UIA] xmlsec
-0 new warning (63 suppressed by
/sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/solenv/sanitizers/ui/xmlsec.suppr)
+[build UPK] xmlsec1-1.2.27.tar.gz
[build PKG] UIConfig/xmlsec
+[build PAT] xmlsec
Your version of that line came much earlier
[build PKS] UIConfig/xmlsec
+[build LOC] xmlsecurity
config stuff for xmlsec runs here, followed by libtool and more
config stuff, then probably compile output. It looks as if configure
stuff ran several times.
But there was more than 6000 lines of verbose output here before it
actually ended.
--
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
-- Jefferson Airplane, White Rabbit
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page