Comments (4)
eluklar is indeed me. I think github actions failed for 25.3.2.9 so I had to build the pre-built source manually which is why it shows up like that.
from kerl.
👋 @vassilevsky.
I'm not sure how kerl
is involved in this, but maybe I'm missing a detail here.
Note: eluklar
is potentially @garazdawi, and he might have a better explanation than me as to why the packaging was so.
In any case, kerl
can build 25.3.2.9, as per this repo's CI.
What would you suggest we do? Or what is the exact issue we should look at?
from kerl.
Nice to meet you, Paulo :)
For now I have solved this issue by pointing Kerl to my fork of OTP. My fork does not have releases, so Kerl resorts to downloading tags. In the archives made by GitHub, files are owned by root:
$ tar -tvf otp-OTP-25.3.2.9.tar | head -n 3
drwxrwxr-x 0 root root 0 Feb 7 18:01 otp-OTP-25.3.2.9/
drwxrwxr-x 0 root root 0 Feb 7 18:01 otp-OTP-25.3.2.9/.devcontainer/
-rw-rw-r-- 0 root root 1188 Feb 7 18:01 otp-OTP-25.3.2.9/.devcontainer/devcontainer.json
$ tar -tv --numeric-owner -f otp-OTP-25.3.2.9.tar | head -n 3
drwxrwxr-x 0 0 0 0 Feb 7 18:01 otp-OTP-25.3.2.9/
drwxrwxr-x 0 0 0 0 Feb 7 18:01 otp-OTP-25.3.2.9/.devcontainer/
-rw-rw-r-- 0 0 0 1188 Feb 7 18:01 otp-OTP-25.3.2.9/.devcontainer/devcontainer.json
They are extracted without problems and the build succeeds :)
Very nice to meet you, Lukas :) Thank you for making this effort of uploading OTP archives to GitHub releases. I found your issue #351 where you announced it and it led me to this discovery. I did not want to bother you at all with this, but oh well.
I think that one possible thing that Kerl might do to prevent errors like this in the future is to always run tar --no-same-owner --no-same-permissions
. This is the default for non-root users, and it could very well be enabled for root user as well. I see no reason to preserve ownership when extracting any OTP archive, regardless of its source. File ownership inside the archive should not matter. I could make this change myself and send you a pull request, if you agree.
Or we might as well do nothing, because this is such a niche problem, and next OTP archives will most likely be made by CI anyway :)
from kerl.
File ownership inside the archive should not matter. I could make this change myself and send you a pull request, if you agree
I think it's a reasonable change. Just be sure to make it POSIX compliant, since kerl
is usable under Linux and macOS, at least. CI should be enough to test it, but one never knows.
from kerl.
Related Issues (20)
- Improve on logging and stderr'ing stuff
- PR #476 introduced faulty awk script HOT 3
- /home/bengt/bin/kerl: eval: line 856: ./otp_build: not found HOT 11
- erlang_ls HOT 2
- fatal error: 'x86/x86assembler.h' file not found (macOS Ventura / Sonoma) HOT 1
- kerl sets REBAR_CACHE_DIR and this changes the rebar3 template directory behavior HOT 5
- zsh autocompletion failed
- `activate` breaks `man` for non-OTP man pages HOT 1
- kerl cannot be build on FreeBSD14. HOT 3
- Add Perl5 to common_ALL_BUILD_BACKEND_git_pkgs or _KPP_alpine_pkgs HOT 6
- Warning checking build packages on Pop OS HOT 2
- Update to allow generating documentation from OTP 27 on HOT 8
- Add more info. to the build/install log file
- install fails in megaco_flex_scanner HOT 3
- FTB docs
- Ubuntu 24.04: kerl generates a warning for non-existing libncurses5-dev package HOT 7
- Unable to install man pages HOT 1
- Over-optimized for happy path in "Probe failed for libncurses5-dev" warning. HOT 1
- Unable to install man pages for OTP 27 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kerl.