FS#61265 - [sonic-pi] needs rebuild for http-parser
Attached to Project:
Community Packages
Opened by Rob (grooveharder) - Thursday, 03 January 2019, 17:47 GMT
Last edited by David Runge (dvzrv) - Friday, 08 February 2019, 12:11 GMT
Opened by Rob (grooveharder) - Thursday, 03 January 2019, 17:47 GMT
Last edited by David Runge (dvzrv) - Friday, 08 February 2019, 12:11 GMT
|
Details
Description: sonic-pi-3.1.0-3 is linked to outdated
http-parser.
http-parser was updated to version 2.9.0 on 2018/12/28. Additional info: * package version(s) * config and/or log files etc. ~/.sonic-pi/log/server-errors.log: /usr/share/sonic-pi/server/vendor/rugged-0.26.0/lib/rugged.rb:14:in `require_relative': libhttp_parser.so.2.8: cannot open shared object file: No such file or directory - /usr/share/sonic-pi/server/rb-native/2.5.0/rugged.so (LoadError) from /usr/share/sonic-pi/server/vendor/rugged-0.26.0/lib/rugged.rb:14:in `rescue in <top (required)>' from /usr/share/sonic-pi/server/vendor/rugged-0.26.0/lib/rugged.rb:6:in `<top (required)>' from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /usr/share/sonic-pi/server/lib/sonicpi/gitsave.rb:14:in `<top (required)>' from /usr/share/sonic-pi/server/lib/sonicpi/runtime.rb:21:in `require_relative' from /usr/share/sonic-pi/server/lib/sonicpi/runtime.rb:21:in `<top (required)>' from /usr/share/sonic-pi/server/lib/sonicpi/lang/core.rb:17:in `require_relative' from /usr/share/sonic-pi/server/lib/sonicpi/lang/core.rb:17:in `<top (required)>' from /usr/bin/../../usr/share/sonic-pi/server/bin/sonic-pi-server.rb:25:in `require_relative' from /usr/bin/../../usr/share/sonic-pi/server/bin/sonic-pi-server.rb:25:in `<main>' Steps to reproduce: - install sonic-pi-3.1.0-3 - attempt to start - it hangs and outputs the above log. |
This task depends upon
Closed by David Runge (dvzrv)
Friday, 08 February 2019, 12:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with sonic-pi 3.1.0-5
ruby-rugged (amongst other gems) has been de-vendored.
The application part has been moved to /usr/lib, while the assets, help files and examples remain below /usr/share.
Friday, 08 February 2019, 12:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with sonic-pi 3.1.0-5
ruby-rugged (amongst other gems) has been de-vendored.
The application part has been moved to /usr/lib, while the assets, help files and examples remain below /usr/share.
Please fix this as well...
Alternatively, could anyone help me compile a package just for my own use? I worked through the Arch Wiki articles on ABS and PKGBUILD, thinking I could manually replace Rugged with a newer version as described by this Ubuntu user: https://in-thread.sonic-pi.net/t/build-error-on-ubuntu-18-10/1842/3 Unfortunately I couldn't figure out how to patch the tarball downloaded in the PKGBUILD to use a newer version of Rugged; the patches always failed to apply.
Will get to it as soon as I can!
This now looks "promising" from the packaging point of view, but I have no clue (yet) whether it will work properly :D
It requires ruby-rugged [2].
While not optimal, it is quite an improvement over the previous package, as I managed to replace some gems with the system versions.
De-vendoring the complete application will require time though.
[1] https://www.archlinux.org/packages/community-testing/x86_64/sonic-pi/
[2] https://www.archlinux.org/packages/community-testing/x86_64/ruby-rugged/