[Boost-bugs] [Boost C++ Libraries] #12718: LD_LIBRARY_PATH shouldn't be applied to touch command

Subject: [Boost-bugs] [Boost C++ Libraries] #12718: LD_LIBRARY_PATH shouldn't be applied to touch command
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-30 13:29:53


#12718: LD_LIBRARY_PATH shouldn't be applied to touch command
------------------------------------------+------------------------------
 Reporter: Kan Li <likan_999.student@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.63.0
 Severity: Problem | Keywords: LD_LIBRARY_PATH
------------------------------------------+------------------------------
 What causes problem is this line:
 https://github.com/boostorg/build/blob/09b6788/src/tools/gcc.jam#L228

 The line adds the lib directories of custom toolchain to LD_LIBRARY_PATH
 before running:
 some-binary-built-by-boost.build && touch some-file.passed

 For my case, it causes problem because my custom toolchain comes with a
 newer version of glibc. It has no problem running the binary under the
 modified LD_LIBRARY_PATH, but touch command complains about the new glibc.

 Logically speaking, only the first part requires the new LD_LIBRARY_PATH,
 while the touch command is pre-installed so it shouldn't be run under the
 modified LD_LIBRARY_PATH.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12718>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC