Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fbartels opened this issue Apr 23, 2024 · 0 comments · May be fixed by #383
Open

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

fbartels opened this issue Apr 23, 2024 · 0 comments · May be fixed by #383

Comments

@fbartels
Copy link

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
fbartels added a commit to fbartels/apisix-build-tools that referenced this issue Apr 23, 2024
Fixes api7#382

Signed-off-by: Felix Bartels <felix@9wd.eu>
fbartels added a commit to fbartels/apisix-build-tools that referenced this issue Sep 20, 2024
Fixes api7#382

Signed-off-by: Felix Bartels <felix@9wd.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant