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: libxslt-1.1.28-9.fc23 Additional info: reporter: libreport-2.4.0 backtrace_rating: 4 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 crash_function: xmlXPathCompOpEval executable: /usr/bin/xsltproc global_pid: 15697 kernel: 4.0.0-0.rc2.git1.1.fc23.i686 runlevel: N 3 type: CCpp uid: 1000 Truncated backtrace: 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] File: backtrace
Created attachment 998871 [details] File: cgroup
Created attachment 998872 [details] File: core_backtrace
Created attachment 998873 [details] File: dso_list
Created attachment 998874 [details] File: environ
Created attachment 998875 [details] File: limits
Created attachment 998876 [details] File: maps
Created attachment 998877 [details] File: mountinfo
Created attachment 998878 [details] File: namespaces
Created attachment 998879 [details] File: open_fds
Created attachment 998880 [details] File: proc_pid_status
Created attachment 998881 [details] File: var_log_messages
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 [fedora@fc4 bin]$ So the change is essentially [fedora@fc4 libxslt]$ git diff diff --git a/libxslt.spec b/libxslt.spec index edc7824..94d2be6 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -1,3 +1,5 @@ +%undefine _hardened_build + Summary: Library providing the Gnome XSLT engine Name: libxslt Version: 1.1.28 [fedora@fc4 libxslt]$
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: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
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' of '23'. 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 bug. Thank you for reporting this bug and we are sorry it could not be fixed.