Project

General

Profile

Bug #16359

Psych cannot build against system libyaml.

Added by vo.x (Vit Ondruch) 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-11-22 master f9d20a1bf1) [x86_64-linux]
[ruby-core:95908]

Description

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 would appreciate if Ruby/Psych is buildable against system libyaml again, as it was always the case.


Files

Updated by vo.x (Vit Ondruch) 9 months ago

The attached patch which reverts the Psych part of 1 appears to fix the issue for me.

#2

Updated by Anonymous 9 months ago

  • Status changed from Open to Closed

Applied in changeset git|994435d0efa9931d0475de923c4e6c227d03e398.


Revert "Update dependencies"

This reverts commit e1b234148829f65bea9f5ecc7018beb782ea6023.

This allows to build Psych against system libyaml again on Fedora.

[Bug #16359]

Also available in: Atom PDF