Upstream wont accept patches to change the shebang lines because they have to be /usr/bin/env on other systems. The real problem here is actually that unix shebang line handling is broken and the only nearly portable hack that helps fix it lives in /usr/bin not /bin. If we can make the runtime loader accept /usr/bin/env and use /bin/env this will likely go away pretty quickly. On Fri, Oct 11, 2013 at 3:27 PM, scottmc <scottmc2@xxxxxxxxx> wrote: > > > > On Thu, Oct 10, 2013 at 6:14 PM, Alexander von Gluck IV > <kallisti5@xxxxxxxxxxx> wrote: >> >> Anyone see any issues adding a /usr symlink to the default image? >> >> LLVM has /usr/bin/env at the top of quite a few build scripts, >> in the past i've solved the issue by checking for /usr and >> symlinking it to /boot/system if it doesn't exist. >> >> Adding a /usr symlink is definitely a workaround, but it likely >> will make Linux ports to Haiku go more smoothly (and we aren't >> really "going linux" by just adding a symlink. >> >> Thoughts? >> >> As a refresher, here is / as it stands today: >> >> bin -> /boot/system/bin >> boot >> dev >> etc > /boot/system/settings/etc >> Haiku -> /boot >> packages -> /boot/system/package-links >> system -> /boot/system >> tmp -> /boot/system/cache/tmp >> var -> /boot/system/var >> >> -- Alex >> > > -1 from me. > > This reminds me of that old joke where Germany agrees to switch the EU to > have English as the official language, only to ask them to make a simple > change of using K in place of C, it continues until the remaining language > is basically German. No. We don't want to turn Haiku into Linux. > > You add a symlink from /usr to something, then when a configure script tries > to detect /usr it finds it and then starts making all sorts of other > assumptions. No, leave it as is and send patches upstream. > > -scottmc >