Comments (6)
@dbc - I'm happy to hear you were able to resolve this issue quickly! Good work!
The MLL project provides a relatively simple build infrastructure and there might be some other glitches like this one. I'm using Ubuntu and Linux Mint as test machines and I'm using the defaults provided by these machines. This is why I haven't faced this issue in particular.
from minimal.
Well, you shouldnt have relative paths in $PATH anyway...
relying on $PATH is good, as you can include wrappers like ccache, icecc and other wrappers.
from minimal.
Well, when I first started using Unix on a PDP-11 over 35 years ago I was taught that the user's $PATH was expected to be different for every user, it's theirs to control. So a script that depends on the user's path contents and order is broken by definition. Portable scripts and makefiles use explicit paths to executables.
from minimal.
Well, the problem with GNU/Linux based operating systems is that there is no easy way to tell where the dependencies have been installed. Unlike BSD, where we have common physical layout, in GNU/Linux world we have complete mess of different folders and software pieces which can be invoked in many different ways.
That said, if the user is experienced enough to change the $PATH shell variable, then the same user should be also skilled enough to figure out what is wrong if something doesn't work as expected.
from minimal.
You do speak truth. Although the minimal build scripts only use a small handfull of tools. It might be worth going through them to see if they are all mentioned in LSB file system layout, in which case portability should be pretty good. Or to be really pedantic, every script could start with some common boilerplate like: CP=/usr/bin/cp and then refer to the tools as $CP, etc.
The only script that tripped for me was 09_, which is when busybox appears in the local directory, and the busybox version of cpio doesn't support -R. The scripts may have been picking up busybox in other places but I didn't notice because the functionality lines up and of course I wasn't cross-compiling.
from minimal.
The MLL build infrastructure relies on already existing source bundles and their internal build processes which in most cases are defined via Makefile. That said, MLL is just a 'mediator' between the build host and the actual build process for the specified source bundle. There are some source bundles which use a lot of build dependencies (glibc is one of them) and it will be really hard to implement all proper checks in order to avoid collisions with modified $PATH variables.
I agree there is issue here but the potential impact in reality is really low.. Besides, in your particular use case you were able to fix this problem - so I'm closing the issue.
from minimal.
Related Issues (20)
- Migrate Travis CI workflow to GitHub workflow HOT 1
- Implement Xorg with FLWM onto MLL HOT 3
- Missing CRC32 at the rootfs compression HOT 3
- Missing gpg and or at least sha256 hash check against MtM attacks HOT 2
- Grouping of the log output / missing logs HOT 1
- Fails to build on Ubuntu 20.04.2 LTS HOT 3
- [Package Request] jwm HOT 1
- pulling in bundles from web...live HOT 2
- Your linker does not support HOT 1
- yo HOT 1
- Update v86 HOT 2
- How to get 32-bit version? HOT 2
- Build, Compile errors and package download file was missing... HOT 2
- can't build the iso. HOT 1
- Files not available
- make[2]: *** [scripts/Makefile.build:357: arch/x86/entry/thunk_64.o] Error 1 HOT 2
- How to add minimal GUI HOT 1
- Dead links in README.md
- All builds end up with Kernel panic - not syncing: No working init found HOT 4
- Possible issues with connecting tty / ttyS0, qemu, virtual console
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 minimal.