Add Ruby-Hello application with Firecracker support#91
Draft
lupsalexandra33 wants to merge 1 commit intounikraft:mainfrom
Draft
Add Ruby-Hello application with Firecracker support#91lupsalexandra33 wants to merge 1 commit intounikraft:mainfrom
lupsalexandra33 wants to merge 1 commit intounikraft:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a Draft PR for the Ruby-Hello application integration. I am following the standard Unikraft catalog structure (similar to other examples) to provide a simple Ruby unikernel example. I am opening this draft to get feedback on the current setup and guidance on build-time errors I am encountering.
Current Progress
1. App Integration: Added
Config.uk,Makefile, andMakefile.ukfor the ruby-hello application.2. Setup Automation: Updated the top-level setup.sh to include lib-ruby and required dependencies (
lib-newlib,lib-pthread-embedded).3. Firecracker: Included a draft
fc.x86_64.jsonfor testing the application on Firecracker.4. Documentation: Added a standard
README.mdwith build and run instructions.Current Blockers & Challenges
1. Ruby Version: I am currently using
Ruby 2.6.0from the lib-ruby repository.2. Build Errors & Sequence:
I. Missing Auxiliary Files: The build first fails because
it cannot find config.guess and config.sub.II. Manual Workaround: If I manually add these files to the tool/ directory, the process moves forward but hits a second, more critical error.
III. Syntax Error: In the ./configure stage, I get: ./configure:
line 4112: syntax error near unexpected token 'fi'.Root Cause: This appears to be a compatibility issue between Ruby 2.6's older Autotools macros and the modern Autoconf environment on my host, which generates an invalid configuration script.
Fixes #25