Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

[Fedora] Build doesn't find yacc #115

Open
taugoust opened this issue Oct 22, 2022 · 0 comments
Open

[Fedora] Build doesn't find yacc #115

taugoust opened this issue Oct 22, 2022 · 0 comments
Assignees

Comments

@taugoust
Copy link

Description
The build system searches for the yacc executable (for bison functionality), but multiple systems use yacc to mean Berkeley yacc and bison for Bison.

This means that depending on the system a symlink yacc -> bison needs to be created.

To Reproduce
Steps to reproduce the behavior:

  1. Run kraft list update
  2. Run kraft up -t helloworld hello
  3. Get error:
/bin/sh: line 1: yacc: command not found
make[2]: *** [Makefile.rules:84: unikraft-setup/hello/build/kconfig/parser.tab.h] Error 127
make[1]: *** [unikraft-setup/hello/build/Makefile:756: /home/taugoust/Research/unikraft-setup/hello/build/kconfig/conf] Error 2
make: *** [Makefile:984: sub-make] Error 2
make: Leaving directory 'unikraft-setup/unikraft'
[CRITICAL] Could not configure application

Expected behavior
Ideally, the build would search for bison and use that as the first choice, falling back to yacc if bison is not available.

Desktop

  • OS: Fedora Linux 36, x86_64
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants