Fedora Account System
Red Hat Associate
Red Hat Customer
+++ This bug was initially created as a clone of Bug #1182957 +++ Description of problem: Currently cutter [cutter-1.2.4-2.fc21] FTBFS (Fail To Build From Source) on F-21 and above. Please fix this. http://koji.fedoraproject.org/koji/buildinfo?buildID=555444 Additional info: This fix is needed: https://github.com/clear-code/cutter/issues/19 --- Additional comment from HAYASHI Kentaro on 2015-02-14 14:12:16 JST --- Thank you for reporting! It needs one more patch to fix "make check" failure. Here is the commit to support newer GLib error message. https://github.com/clear-code/cutter/commit/3947d292996458f3800e93021b86e1476f85922b By this commit, it seems well for F-21, but F-22 still have problem. It is a bit strange because mock build is ok, but koji --scrach build fails. Crash: test_limit_block (default context) https://kojipkgs.fedoraproject.org//work/tasks/4273/8934273/build.log --- Additional comment from HAYASHI Kentaro on 2015-02-14 14:59:03 JST --- (In reply to HAYASHI Kentaro from comment #1) > It is a bit strange because mock build is ok, but koji --scrach build fails. > > Crash: test_limit_block (default context) > https://kojipkgs.fedoraproject.org//work/tasks/4273/8934273/build.log It needs more patches which are already fixed in upstream. Then, make check process is a bit more succeeded now. https://kojipkgs.fedoraproject.org//work/tasks/4737/8934737/build.log --- Additional comment from HAYASHI Kentaro on 2015-02-17 23:45:49 JST --- --- Additional comment from HAYASHI Kentaro on 2015-02-18 00:20:54 JST --- (In reply to HAYASHI Kentaro from comment #3) > Created attachment 992728 [details] > try to fix "make check" failure patch for rawhide F-21: it's ok without this patch rawhide: it's ok with this patch F-21: gcc 4.9.2-6 rawhide: gcc 5.0.0-0.13 rawhide default: faild rawhide with --enable-debug: failed So, there is nothing to do with optimization. And, there is no difference compile option for test-cppcut-assertions.cpp. --- Additional comment from HAYASHI Kentaro on 2015-02-18 01:30:49 JST --- (In reply to HAYASHI Kentaro from comment #4) > (In reply to HAYASHI Kentaro from comment #3) > > Created attachment 992728 [details] > > try to fix "make check" failure patch for rawhide > > F-21: it's ok without this patch > rawhide: it's ok with this patch > typo, It's ok for f-21 and f22, not rawhide. --- Additional comment from Mamoru TASAKA on 2015-02-20 20:03:39 JST --- By the way, I tried git head (3947d292996458f3) on F-22 (both i386, x86_64) and make check fails like: FAIL: run-test.sh ============================================================================ Testsuite summary for cutter 1.2.4 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See test/test-suite.log Please report to kou ============================================================================ test/test-suite.log attached. (While I have not investigated in detail) it looks like (again just my guess) this segv is derived from cutter/test-cut-test.c:323. and the signal wasn't caught properly...??? --- Additional comment from Mamoru TASAKA on 2015-02-20 20:09:05 JST --- I reported the issue on my comment 6 to the upstream: https://github.com/clear-code/cutter/issues/20 --- Additional comment from Fedora Update System on 2015-02-25 23:02:51 JST --- cutter-1.2.4-4.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/cutter-1.2.4-4.fc22 --- Additional comment from Fedora Update System on 2015-02-25 23:33:55 JST --- cutter-1.2.4-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cutter-1.2.4-4.fc21 --- Additional comment from HAYASHI Kentaro on 2015-02-25 23:48:35 JST --- I've checked again build status for http://pkgs.fedoraproject.org/cgit/cutter.git/. koji reports: rawhide stil fail f22 succeeded f21 succeeded Here is the build logs: rawhide makecheck failed http://koji.fedoraproject.org/koji/taskinfo?taskID=9066948 f22 make check succeeded http://koji.fedoraproject.org/koji/taskinfo?taskID=9066950 f21 make check succeeded http://koji.fedoraproject.org/koji/taskinfo?taskID=9066960 The situation is different because it doesn't segv on f-22. --- Additional comment from Fedora Update System on 2015-02-26 00:15:30 JST --- Package cutter-1.2.4-4.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cutter-1.2.4-4.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2555/cutter-1.2.4-4.fc22 then log in and leave karma (feedback). --- Additional comment from Mamoru TASAKA on 2015-02-26 14:35:57 JST --- Currently I have no idea the cause of test failure on F-23.
So even on F-22 (currently build is successful), enabling harneded build make test suite fail, http://koji.fedoraproject.org/koji/taskinfo?taskID=9115889 (note: disabling hardened build on F-22 makes test successful http://koji.fedoraproject.org/koji/taskinfo?taskID=9115897 ) So this is related to -pie issue. However currently even if I disable hardened build on glib2 and cutter, still test fails, I guess I have disable hardededn build on more packages. Guessing harned build affects dlopen'ed libraries in an abnormal ways... https://lists.fedoraproject.org/pipermail/devel/2015-March/208636.html
Can you please add '%global _hardened_build 1' to the spec file (from the master branch). Does it build with target to F21 with the above change to the spec file?
Read my comment 1. (In reply to Mamoru TASAKA from comment #1) > So even on F-22 (currently build is successful), enabling harneded build > make test suite fail, > http://koji.fedoraproject.org/koji/taskinfo?taskID=9115889 > > (note: disabling hardened build on F-22 makes test successful > http://koji.fedoraproject.org/koji/taskinfo?taskID=9115897 > ) > > So this is related to -pie issue. > However currently even if I disable hardened build on glib2 and cutter, > still test fails, I guess I have disable hardededn build on more packages. > > Guessing harned build affects dlopen'ed libraries in an abnormal ways... > > https://lists.fedoraproject.org/pipermail/devel/2015-March/208636.html
This is very difficult because we have to figure what fpie'ed packages affects this.
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 bug will be solved by cutter 1.2.5-1
Thank you for fixing.