Opened 9 years ago
Closed 9 years ago
#48346 closed defect (worksforme)
julia @0.3.8: error: no member named 'move' in namespace 'std'
Reported by: | kjy9308@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | petrrr | |
Port: | julia |
Description
hi,
i want to install Julia
so i wrote
->sudo port install julia
then
---> Staging julia into destroot Error: org.macports.destroot for port julia returned: command execution failed Please see the log file for port julia for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port julia failed
what's problem?
Attachments (9)
Change History (39)
Changed 9 years ago by kjy9308@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to sean@… |
---|---|
Summary: | julia_problem → julia @0.3.8: error: no member named 'move' in namespace 'std' |
The log says the errors are:
:info:destroot In file included from codegen.cpp:25: :info:destroot In file included from /opt/local/libexec/llvm-3.5/include/llvm/ExecutionEngine/ExecutionEngine.h:19: :info:destroot In file included from /opt/local/libexec/llvm-3.5/include/llvm/ADT/SmallVector.h:17: :info:destroot /opt/local/libexec/llvm-3.5/include/llvm/ADT/iterator_range.h:37:29: error: no member named 'move' in namespace 'std' :info:destroot : begin_iterator(std::move(begin_iterator)), :info:destroot ~~~~~^ :info:destroot /opt/local/libexec/llvm-3.5/include/llvm/ADT/iterator_range.h:38:27: error: no member named 'move' in namespace 'std' :info:destroot end_iterator(std::move(end_iterator)) {} :info:destroot ~~~~~^ :info:destroot /opt/local/libexec/llvm-3.5/include/llvm/ADT/iterator_range.h:49:33: error: no member named 'move' in namespace 'std' :info:destroot return iterator_range<T>(std::move(x), std::move(y)); :info:destroot ~~~~~^ :info:destroot In file included from codegen.cpp:25: :info:destroot In file included from /opt/local/libexec/llvm-3.5/include/llvm/ExecutionEngine/ExecutionEngine.h:19: :info:destroot In file included from /opt/local/libexec/llvm-3.5/include/llvm/ADT/SmallVector.h:20: :info:destroot /opt/local/libexec/llvm-3.5/include/llvm/Support/MathExtras.h:21:10: fatal error: 'type_traits' file not found :info:destroot #include <type_traits> :info:destroot ^ :info:destroot 4 errors generated.
comment:2 Changed 9 years ago by seanfarley (Sean Farley)
Do you have anything installed into /usr/local
?
comment:3 Changed 9 years ago by kjy9308@…
Changed 9 years ago by kjy9308@…
comment:4 Changed 9 years ago by seanfarley (Sean Farley)
No, I was wondering if anything in /usr/local
was interfering with MacPorts. Could you paste the output of ls /usr/local
? Otherwise, I will try to see if I can reproduce.
Changed 9 years ago by kjy9308@…
Attachment: | output.png added |
---|
comment:6 Changed 9 years ago by mf2k (Frank Schima)
That is still not the correct directory requested by sean. Also, please do not paste images of text output and instead paste the text directly into the comment formatted with WikiFormatting.
comment:7 Changed 9 years ago by seanfarley (Sean Farley)
Replying to kjy9308@…:
output of /opt/local/
Thanks, but as mf2k noted, I asked for /usr/local
not /opt/local
. Please send the output (in text) of /usr
/local
.
comment:8 Changed 9 years ago by kjy9308@…
i'm sorry..!
output of /usr/local
No such files or directory
comment:9 Changed 9 years ago by seanfarley (Sean Farley)
Thanks for the reply. I'll have to think on this one.
comment:10 Changed 9 years ago by seanfarley (Sean Farley)
I've updated julia to 0.3.9. Can you test the upgrade?
comment:12 follow-up: 13 Changed 9 years ago by petrrr
I realize that this is a re-iteration of ticket #45900, which I file some time ago, but which was not really addressed.
I provide a second main.log
from my systems build, it's a version 0.3.9 build.
BTW: Might this be a C++11 related issue?
I am still on a 10.8 with the standard setup (libstdc++
, so no C++11 standard lib). If std::move() is a C++11 only feature, this might explain this issue. Just a thought, am an not really a C++ expert.
If more info or testing is needed, just let me know. I am very interested that this issue is sorted out.
comment:13 Changed 9 years ago by seanfarley (Sean Farley)
Replying to petr@…:
I realize that this is a re-iteration of ticket #45900, which I file some time ago, but which was not really addressed.
I provide a second
main.log
from my systems build, it's a version 0.3.9 build.BTW: Might this be a C++11 related issue?
I am still on a 10.8 with the standard setup (libstdc++
, so no C++11 standard lib). If std::move() is a C++11 only feature, this might explain this issue. Just a thought, am an not really a C++ expert.If more info or testing is needed, just let me know. I am very interested that this issue is sorted out.
That's a good point. Can you try adding the usual '-std' flags that force C++11? If that works, then I can see if the portfile can handle that on 10.10.
comment:14 Changed 9 years ago by kjy9308@…
Changed 9 years ago by kjy9308@…
comment:15 Changed 9 years ago by petrrr
If you provide the main.log
, it usually be much more useful then any screenshot. If you want to cite a particular part of the output just paste it (and use Wiki formating).
It would be also useful to know, which system you are running on.
Please read and follow the Ticket Guideline!
Changed 9 years ago by kjy9308@…
Attachment: | main.2.log added |
---|
comment:17 follow-up: 21 Changed 9 years ago by petrrr
Not sure but your log file looks truncated. Is it complete? I get a 463 KB file.
:debug:main OS darwin/12.6.0 (Mac OS X 10.8) arch i386
So this might be the same issue described by me.
Which version of Xcode you are using?
libstdc++
or libc++
?
comment:18 Changed 9 years ago by kjy9308@…
my Xcode's version is 5.1.1 i don't know libstdc++ or libc++ and i check main.log. this file size is 463KB.
comment:19 Changed 9 years ago by seanfarley (Sean Farley)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Also, are you doing something like 'configure.compiler=macports-clang-3.5'? I'm going to mark this as 'worksforme' since I can't reproduce and haven't heard back from the reporter.
comment:20 Changed 9 years ago by petrrr
Sean, I'd suspect that this is a libstdc++ vs. libC++ issue, as 10.8.5. Unfortunately, I am not able to test any more because I updated some time ago.
comment:21 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to petr@…:
Not sure but your log file looks truncated. Is it complete? I get a 463 KB file.
It is not truncated, but it is the log of the wrong port: it is the log of the activation of ncurses, rather than the log of the build of julia. MacPorts sometimes writes the wrong thing to the log. The workaround is to clean and try again.
comment:22 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Changed 9 years ago by kjy9308@…
Attachment: | julia_main.log added |
---|
comment:25 Changed 9 years ago by seanfarley (Sean Farley)
You could try upgrading to Yosemite and see if that works. If that doesn't work, then I would try building julia 0.4 to see if a newer llvm fixes.
Changed 9 years ago by kjy9308@…
Attachment: | julia_main_log.log added |
---|
comment:26 Changed 9 years ago by kjy9308@…
i upgrade to Yosemite and install macport(for Yosemite)
so i install julia but fail..
i attach main.log(julia_main_log.log)
please help me..!
comment:28 Changed 9 years ago by kjy9308@…
umm..i uninstall macport and install mcport.
so i reupload julia_main_2.log
thank you and please help me..!
Changed 9 years ago by kjy9308@…
Attachment: | julia_main_2.log added |
---|
comment:30 Changed 9 years ago by seanfarley (Sean Farley)
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
I updated julia to 0.4 so hopefully that fixes this.
main.log