mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
96e0c17161
Note that if you build something relying on $SHELL, it may still fail to build in chroot. In the chroot we first use "env -i" to clean the environment variables. When bash starts with no $SHELL set, it *sets* SHELL=(the login shell of current user specified in /etc/passwd), but it *does not export this variable*. For example: $ cat > t.c << EOF #include <stdio.h> #include <stdlib.h> int main() { puts (getenv ("SHELL") ?: "(nullptr)"); } $ ./a.out /bin/zsh/ $ cc t.c $ env -i bash -c "echo $SHELL" /bin/zsh $ env -i bash -c "./a.out" (nullptr) We can remove this now only because Mozilla has added a workaround into their building system at https://hg.mozilla.org/mozilla-central/rev/5afe7b911f61 for some Mac builder, inadvertently fixing our issue. Link: https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2014-11/msg00050.html Link: https://lists.linuxfromscratch.org/sympa/arc/blfs-dev/2023-11/msg00136.html |
||
---|---|---|
.. | ||
gnome2.xml | ||
gnome-mandir.xml | ||
gnome-old-prefix.xml | ||
gnome-old-sysconfdir.xml | ||
gnome-prefix.xml | ||
gnome-sysconfdir.xml | ||
gsettings-destdir.xml | ||
gst10-objc-error.xml | ||
gst10-plugins.xml | ||
gtk-doc-rebuild-problem.xml | ||
gtk-doc-rebuild.xml | ||
gtk-update-icon-cache.xml | ||
lib-config.xml | ||
meson-buildtype-release.xml | ||
meson-wrap-nodownload.xml | ||
meson-wrap-nofallback.xml | ||
mozshm.xml | ||
perl-build-install.xml | ||
perl-standard-install.xml | ||
perl-unsafe-install.xml | ||
pip3-cmd-explain.xml | ||
scrollkeeper-dir.xml | ||
SIOCGSTAMP.xml | ||
static-libraries.xml | ||
tex-lib.xml | ||
tex-prefix.xml | ||
tex-shared.xml | ||
tex-system.xml | ||
tex-xpdf.xml | ||
texoptional.xml | ||
texprogs.xml | ||
texrecommendlibs.xml | ||
texruntime.xml | ||
update-desktop-database.xml | ||
update-icons-and-desktop.xml | ||
use-unzip.xml | ||
without-gnome.xml | ||
without-scrollkeeper.xml | ||
X11R6_symlink.xml |