On Mon, Aug 21, 2017 at 09:11:38AM +0200, [email protected] wrote:
> hello there
> 

Hi gabriele,

after reading Wayne's replies, it turns out I had apparently botched
my attempts to download the source from the static site, so I had
gone to github and got what turned out to be much smaller tarballs
(called rust-1.19.0.tar.gz), presumably those are intended for a
different use, such as building the next version from an installed
previous version.

> I can also build rustc-1.19, with, basically:
> 
>     ./configure \
>     --prefix=/opt/stow.d/versions/rustc-1.19.0/usr \
>     --libdir=/opt/stow.d/versions/rustc-1.19.0/usr/lib64 \
>     --mandir=/opt/stow.d/versions/rustc-1.19.0/usr/share/man \
>     --docdir=/opt/stow.d/versions/rustc-1.19.0/usr/share/doc/rust \
>     --localstatedir=/var/lib \
>     --sysconfdir=/opt/stow.d/versions/rustc-1.19.0/etc \
>     --datadir=/opt/stow.d/versions/rustc-1.19.0/usr/share \
>     --infodir=/opt/stow.d/versions/rustc-1.19.0/usr/share/info \
>     --local-rust-root=/usr \
       ^^^^^^^^^^^^^
Doesn't that use the already-installed version of the previous rust
release, instead of downloading stage0 binaries ?

>     --llvm-root=/usr \
>     --enable-llvm-link-shared
> 
>     python ./x.py build
> 
>     python ./x.py install
> 
> (llvm version is 4.0.1)
> 
> 
> > I do know how to get past that first error of the missing
> > src/tools/rust-installer.Cargo.toml (use rust-installer-master.zip
> > from github, the src/tools/rust-installer directory in the shipped
> > 1.19.0 is empty).
> 
> may be here is the problem: I DO HAVE a non-empty
> src/tools/rust-installer/Cargo.toml:
> 
> -rw-r--r-- 1 balducci balducci 419 Jul 21 09:30 
> ./rustc-1.19.0/src/tools/rust-installer/Cargo.toml
> 
> Differently from you, I don't download the official tarball; instead, I
> pull the corresponding tag from the git repo, with:
> 
>     git clone --recursive  -b "1.19.0" \
>         git://github.com/rust-lang/rust.git ./rustc-1.19.0
>     rm -f ./rustc-1.19.0/.git # takes unnecessary room
>     tar cf - rustc-1.19.0|gzip -c > rustc-1.19.0.tar.gz
> 
> (NOTE the "--recursive" clone option)
> 
> Maybe this makes the difference
> 
> If this is the actual problem, well, they botched something in the
> tarball generation...
> 

I now think the release tarballs are not intended for my use case
(bootstrap with no previous rust), it might be there is some
different was to get the missing parts, or a different way of
building from those tarballs.

> hope this helps
> 
> ciao
> gabriele

Thanks,

ĸen

-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to