Bug 1221430
| Summary: | [lua] symbol lookup error: /lib64/liblua-5.3.so: undefined symbol: lua_replace | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | sensor.wen | ||||
| Component: | vim | Assignee: | Karsten Hopp <karsten> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 23 | CC: | athmanem, edoubrayrie, felix, ignatenko, karsten, lantw44, michel, moshima.web, mtasaka, sanjay.ankur, timbyr, tim | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 7.4.827-1.fc21 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-09-23 00:23:03 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1203321 | ||||||
| Attachments: |
|
||||||
|
Description
sensor.wen
2015-05-14 02:07:33 UTC
This is vim's fault. lua 5.3 changed lua_replace from "function" to "define", still vim 7.4.x tries to dlsym() it. And it fails - because it is "define" and no symbol is provided. vim should be fixed not to try dlsym()ing lua_replace. I posted this comment to the above vim_dev group, however my message does not appear yet... Created attachment 1037355 [details]
Fixes the missing, unecessary symbol lookups with lua >= 5.3
I wrote a patch to make it working with lua >= 5.3.
I have tested it with a few stupid lua commandline tests and neocomplcache. It seems to work fine.
(In reply to Felix Schnizlein from comment #2) > Created attachment 1037355 [details] > Fixes the missing, unecessary symbol lookups with lua >= 5.3 > > I wrote a patch to make it working with lua >= 5.3. > > I have tested it with a few stupid lua commandline tests and neocomplcache. > It seems to work fine. Seems to be working. Scratch build with the above patch applied here: F-23: http://koji.fedoraproject.org/koji/taskinfo?taskID=10015279 F-22: http://koji.fedoraproject.org/koji/taskinfo?taskID=10015328 (Note: for F-23, 7.4.737 doesn't compile. 7.4.738 to fix the build error is already released and the above F-23 build uses 7.4.738. F-22 uses 7.4.640) Felix, would you post your patch to the above vim_dev group forum? Yes, I will post it there too :) Confirming that the scratch builds fix the issue. Thanks for working on this, guys :) (In reply to Ankur Sinha (FranciscoD) from comment #5) > Confirming that the scratch builds fix the issue. Thanks for working on > this, guys :) +1 It works fine. Thanks for guys. In case koji scratch build gets deleted, I created copr repo for now: https://copr.fedoraproject.org/coprs/mtasaka/vim-lua53/ Lua 5.3 fix is available in the latest version of vim. I tried vim 7.4.764 and it can successfully load lua. Can we get an update for Fedora 22 and 23? (In reply to Ting-Wei Lan from comment #8) > Lua 5.3 fix is available in the latest version of vim. I tried vim 7.4.764 > and it can successfully load lua. Can we get an update for Fedora 22 and 23? Seems to be fixed in 7.4.759. https://code.google.com/p/vim/source/detail?r=02466bf84babd8917e717390906aa0ed20c3700b# Felix's patch got applied. Thank you. 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 7.4.827 with this fix will be available in updates-testing soon vim-7.4.827-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14209 vim-7.4.827-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |