jauhien 14/10/18 12:50:48 Added: rust-bin-0.12.0-no-ldconfig.patch Log: initila import from the rust overlay (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)
Revision Changes Path 1.1 dev-lang/rust-bin/files/rust-bin-0.12.0-no-ldconfig.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/files/rust-bin-0.12.0-no-ldconfig.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/files/rust-bin-0.12.0-no-ldconfig.patch?rev=1.1&content-type=text/plain Index: rust-bin-0.12.0-no-ldconfig.patch =================================================================== Remove ldconfig(1) execution to prevent the installation script from accessing outside of a sandbox. --- install.sh +++ install.sh @@ -466,17 +466,6 @@ while read p; do # The manifest lists all files to install done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in" -# Run ldconfig to make dynamic libraries available to the linker -if [ "$CFG_OSTYPE" = "Linux" ] - then - ldconfig - if [ $? -ne 0 ] - then - warn "failed to run ldconfig." - warn "this may happen when not installing as root and may be fine" - fi -fi - # Sanity check: can we run the installed binaries? # # As with the verification above, make sure the right LD_LIBRARY_PATH-equivalent