suricata, librsvg : set CARGO_HOME for upcoming lang/rust-1.36

2019-06-30 Thread Sebastien Marie
Hi, I am working on updating lang/rust to 1.36.0 The release ships a new version of cargo which will want to write a file in $HOME (a lock file to manage concurrent access on package cache). To avoid an error while acquiring package cache lock, CARGO_HOME should be defined to a directory writabl

Re: suricata, librsvg : set CARGO_HOME for upcoming lang/rust-1.36

2019-06-30 Thread Antoine Jacoutot
On Sun, Jun 30, 2019 at 12:41:02PM +0200, Sebastien Marie wrote: > Hi, > > I am working on updating lang/rust to 1.36.0 > > The release ships a new version of cargo which will want to write a file > in $HOME (a lock file to manage concurrent access on package cache). > > To avoid an error while

Re: suricata, librsvg : set CARGO_HOME for upcoming lang/rust-1.36

2019-06-30 Thread Sebastien Marie
On Sun, Jun 30, 2019 at 02:02:47PM +0200, Antoine Jacoutot wrote: > > Why not setting PORTHOME=${WRKDIST} by default for cargo ports? Setting CARGO_HOME is enough for this purpose and should affect only cargo. At opposite setting PORTHOME could have unwanted side-effects, and we will not catch wr