Bug 476538
Summary: | [patch] Invalid typedefs and drawing error in papyrus | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tim Niemueller <tim> | ||||||||
Component: | papyrus | Assignee: | Rick L Vinyard Jr <rvinyard> | ||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 10 | CC: | rvinyard | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-01-29 23:11:00 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Thanks. I'm getting ready to release 0.7.90 (most of which should be in subversion now) which is a pre-release of 0.8.0. There a few items to still clean up but it should happen some time next week. I'll incorporate your patch in subversion sometime next week. I didn't rebuild papyrus for F10 since I had hoped to have at least 0.7.90 out for F10. Papyrus should be seeing a little more active development in the coming months and as always patches, bug reports and anything else you want to add are always welcome. Created attachment 327582 [details] Fix of invalid use of assign operator for valarray Here is another patch. Papyrus uses the assignment operator with no effect. According to http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/a01316.html#e1af18a3f9a0f0dbe33b3ea4fb84c223 the result of executing "va1 = va2" with va1 and va2 being valarrays of the same type is undefined if the sizes are not equal. This is the case when assigning dashes to a LineStyle. The attached patch fixes this by properly resizing the valarray before the assignment. I appreciate your effort! In the meantime you should push an update for F-8/9/10 with the mentioned patches. I have prepared such at http://fedorapeople.org/~timn/misc/ and if you don't mind I will push the updates quickly to get a working state. Absolutely. If you'd like to push out an update feel free to. In the meantime I'll get the patches added to the upstream subversion repo. papyrus-0.7.1-4.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/papyrus-0.7.1-4.fc8 papyrus-0.7.1-4.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/papyrus-0.7.1-4.fc9 papyrus-0.7.1-5.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/papyrus-0.7.1-5.fc10 papyrus-0.7.1-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update papyrus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-11714 papyrus-0.7.1-4.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update papyrus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11717 papyrus-0.7.1-5.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update papyrus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11735 papyrus-0.7.1-4.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. papyrus-0.7.1-5.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. papyrus-0.7.1-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. Re-opening as there is another patch required for proper usage of libpapyrus. Created attachment 328031 [details]
Fix non-virtual dtors
There are many non-virtual dtors in classes that have virtual methods or are derived classes. This may cause problems like memory leaks. Additionally it causes the F-8 compiler to fail if "-Wall -Werror" is set. The attached patch makes all such dtors virtual.
This changes the ABI of libpapyrus. Still I did not bump the SONAME, this should be considered for the next official release of papyrus. The only dependent package in Fedora is conexusmm, which I will trigger a rebuild for once I've built the updated papyrus packages.
papyrus-0.7.1-6.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/papyrus-0.7.1-6.fc8 papyrus-0.7.1-6.fc8, conexusmm-0.5.0-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. papyrus-0.8.0-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/papyrus-0.8.0-1.fc10 papyrus-0.8.0-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update papyrus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0384 papyrus-0.8.1-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/papyrus-0.8.1-1.fc10 conexus-0.5.98-1.fc10, papyrus-0.8.1-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update conexus papyrus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0641 conexus-0.5.98-1.fc10, papyrus-0.8.1-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 326946 [details] Patch to fix invalid typedefs Description of problem: When compiling a Gtk application that uses papyrus with -Wall -Werror many "typedef was ignored in this declaration" turn up that prevent compilation. Version-Release number of selected component (if applicable): papyrus-0.7.1-3.fc9.x86_64 (papyrus has not been rebuilt for F-10 as it seems, why not?) How reproducible: Always Steps to Reproduce: 1. Compile an application that uses papyrus with -Wall -Werror Actual results: Does not compile. Expected results: Should not compile. Additional info: Attached patch fixes the problem. Not sure whether I got all occurrences, yet.