Closed DavidConnack closed 6 months ago
And what's the content of environment variable $PATH?
/usr/bin:/usr/local/bin/sbt/bin:/root/.goenv/shims:/root/.goenv/bin:/go/bin:/root/.phpenv/shims:/root/.phpenv/bin:/root/.pyenv/shims:/root/.pyenv/bin:/root/.rbenv/shims:/usr/local/rbenv/bin:/usr/local/rbenv/shims:/root/.dotnet/:/root/.dotnet/tools/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/tools:/codebuild/user/bin
What is strange is that I see this in the logs:
checking for a sed that does not truncate output... /usr/bin/sed
This is really weird. I don't really know what to do because that error comes from the configure script that is automatically generated by autoconf
. It may has to do with the version of sed
installed in the system, but it's strange because Ubuntu 22.04 is not that old.
It was a pebcak error 😅.
I was running my script using source
which for some reason caused it to fail.
Ive refactored my script and removed the source
and it now builds correctly.
Thanks for your help!
That's interesting. Good to know.
Describe the bug Building Yara from source in AWS Codebuild using the Ubuntu runtime fails with the following error:
To Reproduce
Expected behavior Yara should build with out any errors.
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context I have confirmed that sed does exist: