Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701020 - dev-libs/libxml2-2.9.9-r3 stabilization (Was: app-office/gnumeric-1.12.44 : /.../sh:line <snip>: <snip> Segmentation fault itstool -m ${mo} ${d}/C/gnumeric.xml)
Summary: dev-libs/libxml2-2.9.9-r3 stabilization (Was: app-office/gnumeric-1.12.44 : /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: 683226
  Show dependency tree
 
Reported: 2019-11-23 20:15 UTC by Toralf Förster
Modified: 2021-01-12 22:28 UTC (History)
3 users (show)

See Also:
Package list:
dev-libs/libxml2-2.9.9-r3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
app-office:gnumeric-1.12.44:20191123-024541.log.bz2 (app-office:gnumeric-1.12.44:20191123-024541.log.bz2,24.10 KB, application/x-bzip)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,113.40 KB, text/plain)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
environment (environment,164.72 KB, text/plain)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,11.92 KB, application/x-bzip)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,17.01 KB, application/x-bzip)
2019-11-23 20:15 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,60.75 KB, application/x-bzip)
2019-11-23 20:16 UTC, Toralf Förster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-23 20:15:43 UTC
Warning: Could not merge cs translation for msgid:
b"Using <inlineequation> <_:alt-1/> <_:mathphrase-2/> </inlineequation> as the z-value of the <inlineequation> <_:alt-3/> <_:mathphrase-4/> </inlineequation> percentile of the standard normal distribution, set the initial estimate of the number of iterations required as the smallest integer <inlineequation> <_:alt-5/> <_:mathphrase-6/> </inlineequation> such that <_:equation-7/>. Note that if <inlineequation> <_:alt-8/> <_:mathphrase-9/> </inlineequation> is small, it would be more appropriate to use the student's t-distribution of <inlineequation> <_:alt-10/> <_:mathphrase-11/> </inlineequation> instead of <inlineequation> <_:alt-12/> <_:mathphrase-13/> </inlineequation>."
/bin/sh: line 3: 13685 Segmentation fault      itstool -m "${mo}" ${d}/C/gnumeric.xml
make[2]: *** [Makefile:1411: cs/cs.stamp] Error 139
make[2]: Leaving directory '/var/tmp/portage/app-office/gnumeric-1.12.44/work/gnumeric-1.12.44/doc'
make[1]: *** [Makefile:668: all-recursive] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20191120-171621

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 23 Nov 2019 02:06:29 +0000

emerge -qpvO app-office/gnumeric
[ebuild  N    ] app-office/gnumeric-1.12.44  USE="introspection -libgda -perl -python" PYTHON_TARGETS="python2_7 python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-11-23 20:15:45 UTC
Created attachment 597250 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-23 20:15:48 UTC
Created attachment 597252 [details]
app-office:gnumeric-1.12.44:20191123-024541.log.bz2
Comment 3 Toralf Förster gentoo-dev 2019-11-23 20:15:51 UTC
Created attachment 597254 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-23 20:15:54 UTC
Created attachment 597256 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-23 20:15:56 UTC
Created attachment 597258 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-23 20:15:59 UTC
Created attachment 597260 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-11-23 20:16:02 UTC
Created attachment 597262 [details]
temp.tbz2
Comment 8 Haelwenn (lanodan) Monnier 2019-12-24 13:31:27 UTC
Got the same issue here, tried fixing with applying https://git.ortolo.eu/pkg-itstool.git/patch/?h=contrib/fix_crash_pipe&id=7e737993e1320b0a7ea82618cb8031e93d8b2e80&id2=39000db89b4d376af34fd4499743ac0fa5d7cd90 (found on https://github.com/itstool/itstool/issues/35) on itstools-2.0.5::lanodanOverlay but without success.

Also backtrace I got from the python segfault:
(gdb) bt
#0  0x00007fcf604352ae in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#1  0x00007fcf6042cad4 in PyEval_EvalCodeEx () from /usr/lib64/libpython3.6m.so.1.0
#2  0x00007fcf6039e700 in function_call () from /usr/lib64/libpython3.6m.so.1.0
#3  0x00007fcf60376fd3 in PyObject_Call () from /usr/lib64/libpython3.6m.so.1.0
#4  0x00007fcf5e7653c2 in libxml_xmlErrorFuncHandler () from /usr/lib64/python3.6/site-packages/libxml2mod.so
#5  0x00007fcf5e244728 in xmlParserPrintFileContextInternal () from /usr/lib64/libxml2.so.2
#6  0x00007fcf5e245c56 in xmlReportError () from /usr/lib64/libxml2.so.2
#7  0x00007fcf5e244e03 in __xmlRaiseError () from /usr/lib64/libxml2.so.2
#8  0x00007fcf5e25db5f in xmlFatalErrMsgStrIntStr () from /usr/lib64/libxml2.so.2
#9  0x00007fcf5e25e129 in xmlParseEndTag2 () from /usr/lib64/libxml2.so.2
#10 0x00007fcf5e25ba5b in xmlParseElement () from /usr/lib64/libxml2.so.2
#11 0x00007fcf5e25b47b in xmlParseContent () from /usr/lib64/libxml2.so.2
#12 0x00007fcf5e25b9ab in xmlParseElement () from /usr/lib64/libxml2.so.2
#13 0x00007fcf5e25b47b in xmlParseContent () from /usr/lib64/libxml2.so.2
#14 0x00007fcf5e25b9ab in xmlParseElement () from /usr/lib64/libxml2.so.2
#15 0x00007fcf5e25f5e5 in xmlParseDocument () from /usr/lib64/libxml2.so.2
#16 0x00007fcf5e76e26c in libxml_xmlParseDocument () from /usr/lib64/python3.6/site-packages/libxml2mod.so
#17 0x00007fcf603be00c in _PyCFunction_FastCallDict () from /usr/lib64/libpython3.6m.so.1.0
#18 0x00007fcf60435137 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#19 0x00007fcf60432707 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#20 0x00007fcf60436335 in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#21 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#22 0x00007fcf60432707 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#23 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#24 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#25 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#26 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#27 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#28 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#29 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#30 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#31 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#32 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#33 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#34 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#35 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#36 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#37 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#38 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#39 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#40 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#41 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#42 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#43 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#44 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#45 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#46 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#47 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#48 0x00007fcf6043628f in fast_function () from /usr/lib64/libpython3.6m.so.1.0
#49 0x00007fcf60435110 in call_function () from /usr/lib64/libpython3.6m.so.1.0
#50 0x00007fcf604327a6 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.6m.so.1.0
#51 0x00007fcf60435a3d in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.6m.so.1.0
#52 0x00007fcf6042ca6f in PyEval_EvalCode () from /usr/lib64/libpython3.6m.so.1.0
#53 0x00007fcf6045db3f in PyRun_FileExFlags () from /usr/lib64/libpython3.6m.so.1.0
#54 0x00007fcf6045d17a in PyRun_SimpleFileExFlags () from /usr/lib64/libpython3.6m.so.1.0
#55 0x00007fcf60477125 in Py_Main () from /usr/lib64/libpython3.6m.so.1.0
#56 0x000000000040127d in main ()
Comment 9 David Seifert gentoo-dev 2020-01-01 12:28:27 UTC
Try adding https://src.fedoraproject.org/rpms/libxml2/blob/master/f/libxml2-2.9.8-python3-unicode-errors.patch to dev-libs/libxml2, rebuild, and try again. That fixed the issue for me.
Comment 10 thunderrd 2020-01-01 14:48:10 UTC
Thanks, David, gnumeric built without error after patching libxml2 with the patch in the link you provided.

Happy New Year :)
Comment 11 Larry the Git Cow gentoo-dev 2020-01-01 16:28:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d060cd62d99a7b6f26b30a695701b4ccafcccea

commit 3d060cd62d99a7b6f26b30a695701b4ccafcccea
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-01-01 16:27:19 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-01-01 16:28:19 +0000

    dev-libs/libxml2: workaround py3 issues for itstool
    
    Bug: https://bugs.gentoo.org/701020
    Package-Manager: Portage-2.3.79, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../files/2.9.9-python3-unicode-errors.patch       |  34 +++
 dev-libs/libxml2/libxml2-2.9.9-r3.ebuild           | 227 +++++++++++++++++++++
 2 files changed, 261 insertions(+)
Comment 12 Mart Raudsepp gentoo-dev 2020-01-01 16:30:10 UTC
Lets fast-stabilize this for safety as py3 itstool is already stable
Comment 13 Aaron Bauman (RETIRED) gentoo-dev 2020-01-02 15:19:55 UTC
arm64 stable
Comment 14 Agostino Sarubbo gentoo-dev 2020-01-03 10:07:06 UTC
amd64 stable
Comment 15 Agostino Sarubbo gentoo-dev 2020-01-03 12:31:00 UTC
s390 stable
Comment 16 Agostino Sarubbo gentoo-dev 2020-01-03 13:35:42 UTC
sparc stable
Comment 17 Agostino Sarubbo gentoo-dev 2020-01-03 13:42:32 UTC
ppc stable
Comment 18 Agostino Sarubbo gentoo-dev 2020-01-03 13:44:33 UTC
ppc64 stable
Comment 19 Agostino Sarubbo gentoo-dev 2020-01-03 13:56:36 UTC
ia64 stable
Comment 20 Agostino Sarubbo gentoo-dev 2020-01-03 14:31:02 UTC
x86 stable
Comment 21 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-04 23:40:27 UTC
hppa stable
Comment 22 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-01-27 11:53:18 UTC
arm stable