hello there

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 \
    --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...

hope this helps

ciao
gabriele
-- 
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