Bug 1601575 - FTBFS on i686 in Rawhide
Summary: FTBFS on i686 in Rawhide
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: rawhide
Hardware: i686
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-16 18:06 UTC by Adam Williamson
Modified: 2018-07-18 07:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-18 07:21:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2018-07-16 18:06:11 UTC
libreoffice is currently FTBFS on i686 in Rawhide. Both recent attempts to build it failed only on that arch:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1104722
https://koji.fedoraproject.org/koji/buildinfo?buildID=1113247

This is an urgent issue as the failure to build on i686 means it is not updated on any other arch either, and it is not installable in Rawhide at all because it needs rebuilding for Python 3.7, the current packages depend on Python 3.6 and thus cannot be installed. This means all Rawhide installs are currently lacking LibreOffice and anyone upgrading to Rawhide loses LibreOffice as part of the upgrade.

The relevant bit of the build log (I think) looks to be this:

[build XHC] nlpsolver as
  adding: com.sun.star.comp.Calc.NLPSolver/Options.xhp (deflated 78%)
  adding: com.sun.star.comp.Calc.NLPSolver/Usage.xhp (deflated 54%)
  adding: com.sun.star.comp.Calc.NLPSolver/Options.xhp (deflated 77%)
  adding: com.sun.star.comp.Calc.NLPSolver/Usage.xhp (deflated 54%)
S=/builddir/build/BUILD/libreoffice-6.0.5.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/Extension/nlpsolver/root/help/as && LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program"   $W/LinkTarget/Executable/HelpLinker -mod help -extlangsrc $W/Extension/nlpsolver/help/as -sty $S/xmlhelp/util/embed.xsl -extlangdest $W/Extension/nlpsolver/root/help/as -idxcaption $S/xmlhelp/util/idxcaption.xsl -idxcontent $S/xmlhelp/util/idxcontent.xsl com.sun.star.comp.Calc.NLPSolver/Options.xhp com.sun.star.comp.Calc.NLPSolver/Usage.xhp && (cd $W/Extension/nlpsolver/help/as && zip  -r $W/Extension/nlpsolver/root/help/as/help.jar com.sun.star.comp.Calc.NLPSolver/Options.xhp com.sun.star.comp.Calc.NLPSolver/Usage.xhp) && LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program"   $W/LinkTarget/Executable/HelpIndexer -lang as -mod help -dir $W/Extension/nlpsolver/root/help/as && rm -fr $W/Extension/nlpsolver/root/help/as/caption $W/Extension/nlpsolver/root/help/as/content && touch $W/Extension/nlpsolver/root/help/as.done
[build XHC] nlpsolver bg
free(): invalid next size (fast)
  adding: com.sun.star.comp.Calc.NLPSolver/Options.xhp (deflated 81%)
  adding: com.sun.star.comp.Calc.NLPSolver/Usage.xhp (deflated 60%)
free(): invalid next size (fast)
/bin/sh: line 1:  5451 Aborted                 (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program" $W/LinkTarget/Executable/HelpIndexer -lang ar -mod help -dir $W/Extension/nlpsolver/root/help/ar
/bin/sh: line 1:  5460 Aborted                 (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program" $W/LinkTarget/Executable/HelpIndexer -lang as -mod help -dir $W/Extension/nlpsolver/root/help/as
make[1]: *** [/builddir/build/BUILD/libreoffice-6.0.5.2/nlpsolver/Extension_nlpsolver.mk:13: /builddir/build/BUILD/libreoffice-6.0.5.2/workdir/Extension/nlpsolver/root/help/as.done] Error 134
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/builddir/build/BUILD/libreoffice-6.0.5.2/nlpsolver/Extension_nlpsolver.mk:13: /builddir/build/BUILD/libreoffice-6.0.5.2/workdir/Extension/nlpsolver/root/help/ar.done] Error 134
/bin/sh: line 1:  5437 Segmentation fault      (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program" $W/LinkTarget/Executable/HelpIndexer -lang en-US -mod help -dir $W/Extension/nlpsolver/root/help/en-US
make[1]: *** [/builddir/build/BUILD/libreoffice-6.0.5.2/nlpsolver/Extension_nlpsolver.mk:13: /builddir/build/BUILD/libreoffice-6.0.5.2/workdir/Extension/nlpsolver/root/help/en-US.done] Error 139
/bin/sh: line 1:  5443 Segmentation fault      (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program" $W/LinkTarget/Executable/HelpIndexer -lang af -mod help -dir $W/Extension/nlpsolver/root/help/af
make[1]: *** [/builddir/build/BUILD/libreoffice-6.0.5.2/nlpsolver/Extension_nlpsolver.mk:13: /builddir/build/BUILD/libreoffice-6.0.5.2/workdir/Extension/nlpsolver/root/help/af.done] Error 139

i.e. we get a couple of "free(): invalid next size (fast)" errors, then a coredump. I don't think Koji preserves the coredump, and I don't think anyone's reproduced it locally and got a copy of it (or the traceback) yet.

Jeff Backus from the x86 SIG is looking into this ATM, CCing him.

Comment 1 Jeff Backus 2018-07-17 12:41:56 UTC
Hi folks,

Still working on trying to reproduce this locally, as Adam indicated. 6.0.5.2 builds fine in mock with an F28 target. Rawhide target is building now.

The NLP solver looks like it is Java-based... Do we know if there are any parts of it that are compiled natively?

Comment 2 Caolan McNamara 2018-07-17 13:24:43 UTC
Current in-progress build has completed for i686 (https://koji.fedoraproject.org/koji/taskinfo?taskID=28363451) so I think the problem may be gone.

Either way the crash is/was in the C++ HelpIndexer utility (presumably that is bug 1597683), which generates the help pages for the "nlpsolver" libreoffice extension so the (java) nlpsolver itself isn't crashing.

Comment 3 David Tardon 2018-07-17 14:15:46 UTC
This reminds me of the problem with building help we did have on arm a ~year ago. I was never able to reproduce that locally...

Comment 4 Jeff Backus 2018-07-17 15:37:18 UTC
Great! Thanks Caolan.

Comment 5 Caolan McNamara 2018-07-18 07:21:31 UTC
seeing as it build successfully (https://koji.fedoraproject.org/koji/taskinfo?taskID=28363347) lets close this. Though it may be an intermittent problem :-(


Note You need to log in before you can comment on or make changes to this bug.