Skip to content

Building Debian packages of Apisix 3.9.0 fails because of libyaml #382

Open
@fbartels

Description

@fbartels

Hi,

I wanted to update my local environment to 3.9.0 and used this project to generate a .deb for Ubuntu 22.04. In my local pipeline the build failed however and checking the Github Action of this project the official CI seems to run into the same problem:

#13 11.68 apisix master-0 depends on lyaml 6.2.8 (not installed)
#13 11.68 Installing https://luarocks.org/lyaml-6.2.8-1.src.rock
#13 11.99 
#13 11.99 Error: Failed installing dependency: https://luarocks.org/lyaml-6.2.8-1.src.rock - Could not find library file for YAML
#13 11.99   No file libyaml.a in /usr/lib
#13 11.99   No file libyaml.a in /usr/lib/x86_64-linux-gnu
#13 11.99   No file libyaml.a in /usr/lib64
#13 11.99   No file libyaml.so in /usr/lib
#13 11.99   No file libyaml.so in /usr/lib/x86_64-linux-gnu
#13 11.99   No file libyaml.so in /usr/lib64
#13 11.99   No file matching libyaml.so.* in /usr/lib
#13 11.99   No file matching libyaml.so.* in /usr/lib/x86_64-linux-gnu
#13 11.99   No file matching libyaml.so.* in /usr/lib64
#13 11.99 You may have to install YAML in your system and/or pass YAML_DIR or YAML_LIBDIR to the luarocks command.
#13 11.99 Example: luarocks install lyaml YAML_DIR=/usr/local
#13 ERROR: process "/bin/sh -c /install-common.sh install_apisix     && /determine-dist.sh" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions