Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rust-0.8 & llvm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
olivierweb
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2002
Posts: 113
Location: France

PostPosted: Sat Sep 28, 2013 9:19 pm    Post subject: rust-0.8 & llvm Reply with quote

Hi,

Few days ago, I successfully installed rust (version 0.7) from the rust overlay. But I can not install the last version. emerge fails with:

Code:

llvm-build: error: invalid native target: 'x86_64' (not in project)
llvm[2]: Building llvm-config BuildVariables.inc file.
llvm[2]: Compiling llvm-config.cpp for Release+Asserts build
/var/tmp/portage/dev-lang/rust-9999/work/rust-9999/src/llvm/tools/llvm-config/llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc : Aucun fichier ou dossier de ce type
compilation terminée.
/bin/rm: impossible de supprimer « /var/tmp/portage/dev-lang/rust-9999/work/rust-9999/x86_64-unknown-linux-gnu/llvm/tools/llvm-config/Release+Asserts/llvm-config.d.tmp »: Aucun fichier ou dossier de ce type


What do you thing about the llvm error and the missing LibraryDependencies.inc ?

Thanks for your help
Back to top
View user's profile Send private message
Cynede
Retired Dev
Retired Dev


Joined: 30 Nov 2012
Posts: 56

PostPosted: Sun Sep 29, 2013 5:43 am    Post subject: Reply with quote

Hello, yet I did test rust 0.8 only on my 32bit machine.

Right now can build 9999 version on 64bit with no error.
I also wonder why you people don't use github issues? Isn't it the most straight way to poke original author / me.
Please open issue on github so I can easy track it and point Mozilla people to it so they maybe will help me there.

And also provide your emerge --info
optionally open bug on bugzilla and add cynede${paste that @ here}gentoo.org to cc list
Back to top
View user's profile Send private message
Cynede
Retired Dev
Retired Dev


Joined: 30 Nov 2012
Posts: 56

PostPosted: Sun Sep 29, 2013 8:44 am    Post subject: Reply with quote

Tested 0.8 on 64bit arch with and without clang flag, both works fine for me...
Back to top
View user's profile Send private message
olivierweb
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2002
Posts: 113
Location: France

PostPosted: Sun Sep 29, 2013 12:47 pm    Post subject: Reply with quote

Thanks for your message.

I've written an issue on your repository : https://github.com/Heather/gentoo-rust/issues/3.
_________________
With Gentoo since 2002...
Back to top
View user's profile Send private message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Wed Oct 15, 2014 6:30 pm    Post subject: Reply with quote

I'm installing rust-0.11.0-r1 with USE=-clang and as I see the large tarball download (100 MB+) and compile messages, I am wondering whether rust is using a bundled version of llvm?

Would USE=clang instead use a system llvm as a dependency of clang? I don't suppose the size of the tarball is an issue, but I would like to use system compilers rather than bundled, unless there is a reason not to with this particular version of rust.

Thanks,
Jeff[/b]
Code:
% grep clang -B 4 -A 4 /usr/portage/dev-lang/rust/rust-0.11.0-r1.ebuild
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0.11"
KEYWORDS="~amd64 ~x86"

IUSE="clang debug emacs libcxx vim-syntax zsh-completion"
REQUIRED_USE="libcxx? ( clang )"

RDEPEND="vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
        zsh-completion? ( app-shells/zsh )"
DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        app-admin/eselect-rust
        >=dev-lang/perl-5.0
        clang? ( sys-devel/clang )
        emacs? ( virtual/emacs )
        libcxx? ( sys-libs/libcxx )
        !dev-lang/rust:0"

--
        "${ECONF_SOURCE:-.}"/configure \
                --prefix="${EPREFIX}/usr" \
                --libdir="${EPREFIX}/usr/lib/${P}" \
                --mandir="${EPREFIX}/usr/share/${P}/man" \
                $(use_enable clang) \
                $(use_enable debug) \
                $(use_enable debug llvm-assertions) \
                $(use_enable !debug optimize) \
                $(use_enable !debug optimize-cxx) \
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum