[ruby-core:95909] [Ruby master Bug#16359] Psych cannot build against system libyaml.
From:
v.ondruch@...
Date:
2019-11-22 08:59:42 UTC
List:
ruby-core #95909
Issue #16359 has been updated by vo.x (Vit Ondruch). File ruby-2.7.0-Revert-Update-dependencies-for-Psych.patch added The attached patch which reverts the Psych part of [1] appears to fix the issue for me. [1]: https://github.com/ruby/ruby/commit/e1b234148829f65bea9f5ecc7018beb782ea6023 ---------------------------------------- Bug #16359: Psych cannot build against system libyaml. https://bugs.ruby-lang.org/issues/16359#change-82751 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0dev (2019-11-22 master f9d20a1bf1) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Just to be sure that we are building Ruby in Fedora against system libyaml library, the first step is to remove bundled libyaml contained in Psych [1]. Now the build started to fail: ~~~ make[2]: Entering directory '/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/ext/psych' make[2]: *** No rule to make target 'yaml/yaml.h', needed by 'psych.o'. Stop. make[2]: Leaving directory '/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/ext/psych' make[1]: *** [exts.mk:255: ext/psych/all] Error 2 ~~~ I suspect this is due to [2] (I have not tried to revert it yet). I would appreciate if Ruby/Psych is buildable against system libyaml again, as it was always the case. [1]: https://src.fedoraproject.org/rpms/ruby/blame/ruby.spec?identifier=private-ruby-2.7#_540 [2]: https://github.com/ruby/ruby/commit/e1b234148829f65bea9f5ecc7018beb782ea6023 ---Files-------------------------------- ruby-2.7.0-Revert-Update-dependencies-for-Psych.patch (3.11 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>