On Fri, Jan 25, 2019 at 12:21:25AM -0000, BLFS Trac wrote:
> #11521: Upgrade rustc for firefox-65.0
> -------------------------+-----------------------
>  Reporter:  ken@…        |       Owner:  ken@…
>      Type:  enhancement  |      Status:  assigned
>  Priority:  normal       |   Milestone:  8.4
> Component:  BOOK         |     Version:  SVN
>  Severity:  normal       |  Resolution:
>  Keywords:               |
> -------------------------+-----------------------
> 
> Comment (by bdubbs):
> 
>  Just a progress report.   I tried to change the value of prefix in
>  config.toml to /opt/rust or /opt/rustc-1.32.0, but it won't work.  I've
>  developed a workaround.
> 

Interesting.  I expect I'll find out the gory details soon enough -
still in the process of adapting my scripts, then I'll boot my
haswell in 8.3 and try updating to 1.32.0, brief test, then 1.31.1
and switch the symlink.

>  After DESTDIR=${PWD}/install ./x.py install:
> 
>  {{{
>  mkdir -p install/opt/rustc-1.32.0
>  mv install/usr/* install/opt/rustc-1.32.0
>  rmdir install/usr
>  }}}
> 
>  and then continue with
> 
>  {{{
>  chown -R root:root install
>  cp -a install/* /
>  }}}
> 
>  And finish with
> 
>  ln -sfnv rustc-1.32.0 /opt/rustc
>  --------
> 
>  For ld.so.conf, add '/opt/rustc/lib' and run ldconfig.
> 
>  Add a boot script that does 'pathprepend /opt/rustc/bin'
> 

Why a boot script ?  My theory is that only cbindgen, gdb (for the
testsuite), firefox, librsvg, thunderbird need to know about it.

So I'm thinking of the SAVEPATH approach like in LVM2, but put
/opt/rustc/bin at the front.

And I'm particularly interested in the possibility of reverting to
an older version.

>  Seems to work.  I'll create a new branch and change the book there for
>  review.
> 

Thanks.

ĸen
-- 
thread 'main' panicked at 'giraffe',
/tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to