From: v.ondruch@... Date: 2019-11-22T08:50:50+00:00 Subject: [ruby-core:95908] [Ruby master Bug#16359] Psych cannot build against system libyaml. Issue #16359 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #16359: Psych cannot build against system libyaml. https://bugs.ruby-lang.org/issues/16359 * 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 -- https://bugs.ruby-lang.org/ Unsubscribe: