Description of problem:
Packaging new samba version 4.2.0 fails build on Rawhide i686 with crash when calling xstlproc.
Version-Release number of selected component:
cmdline: /bin/xsltproc --nonet -o default/docs-xml/manpages/smb.conf.5 /home/fedora/rpmbuild/BUILD/samba-4.2.0/docs-xml/xslt/man.xsl default/docs-xml/manpages/smb.conf.5.xml
runlevel: N 3
Thread no. 1 (10 frames)
#0 xmlXPathCompOpEval at xpath.c:13282
#6 xmlXPathRunEval at xpath.c:14552
#7 xmlXPathCompiledEvalInternal at xpath.c:14915
#8 xmlXPathCompiledEval__internal_alias at xpath.c:14978
#9 xsltEvalVariable at variables.c:903
#10 xsltBuildVariable at variables.c:1759
#11 xsltParseStylesheetCallerParam at variables.c:1975
#12 xsltCallTemplate at transform.c:4739
#13 xsltApplySequenceConstructor at transform.c:2647
#14 xsltApplyOneTemplate at transform.c:3255
Created attachment 998870 [details]
Created attachment 998871 [details]
Created attachment 998872 [details]
Created attachment 998873 [details]
Created attachment 998874 [details]
Created attachment 998875 [details]
Created attachment 998876 [details]
Created attachment 998877 [details]
Created attachment 998878 [details]
Created attachment 998879 [details]
Created attachment 998880 [details]
Created attachment 998881 [details]
I tried to rebuild srpm generated from 'fedpkg clone samba' on Rawhide i686 and it crashed.
When running the exact command under gdb no crash is observed. When running the exact command under valgrind, no crash is observed either. I had to run it manually in the build tree to trigger coredump.
Ok, this is due to hardened build.
When I rebuilt libxslt without hardened build, things started working:
[fedora@fc4 bin]$ /bin/xsltproc --nonet -o default/docs-xml/manpages/smb.conf.5 /home/fedora/rpmbuild/BUILD/samba-4.2.0/docs-xml/xslt/man.xsl default/docs-xml/manpages/smb.conf.5.xml
Note: Writing smb.conf.5
So the change is essentially
[fedora@fc4 libxslt]$ git diff
diff --git a/libxslt.spec b/libxslt.spec
index edc7824..94d2be6 100644
@@ -1,3 +1,5 @@
Summary: Library providing the Gnome XSLT engine
This build http://koji.fedoraproject.org/koji/taskinfo?taskID=9157259 resolved the problem for me.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.
(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)
More information and reason for this action is here:
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 23 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.