Opened 6 years ago
Closed 6 weeks ago
#56892 closed defect (fixed)
root6 @6.14.02 +veccore: fatal error: 'string_view' file not found
Reported by: | alatina (Andrea L) | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.3 |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | root6 |
Description (last modified by alatina (Andrea L))
A few days ago a new version of root6 must have been deployed. When I give my
port -u -c upgrade outdated
Macports downloads it and tries to compile it, but it fails during the 'Building' phase.
Inspecting the log file (attached), it seems that the file <string_view> is not found during compilation.
For reference:
port installed root6 The following ports are currently installed: root6 @6.14.00_1+cocoa+cxx17+gcc7+graphviz+gsl+http+minuit2+opengl+python36+roofit+soversion+ssl+tmva+veccore+xml+xrootd (active)
Attachments (1)
Change History (12)
Changed 6 years ago by alatina (Andrea L)
comment:1 Changed 6 years ago by alatina (Andrea L)
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by jmroot (Joshua Root)
Cc: | cjones051073 added |
---|---|
Owner: | set to mojca |
Status: | new → assigned |
comment:3 Changed 6 years ago by cjones051073 (Chris Jones)
comment:4 Changed 6 years ago by alatina (Andrea L)
Hi Chris,
It seems you are right. I just reinstalled it without that variant, and (1) didn't recompile everything from scratch (thanks god!) (2) did install it with no problems.
I am not sure how that +veccore got in in the first place (it might have been me, trying to speed up some calculations.. ), anyway what matters now is that now it works.
Thank you very much for your prompt and decisive intervention.
comment:5 Changed 6 years ago by cjones051073 (Chris Jones)
Glad it works ! and yes, sticking to the defaults is a good idea as then you get the binary tarball.
What likely happened is when you first installed root6 veccore was one of the default variants. Since then, whenever you update this variant is preserved, even if it was subsequently removed as a default variant.
Just for future reference, if you find root6 suddenly building from source again in the future, a quick fix is to do this again, so completely uninstall it then reinstall, picking up whatever the defaults now are. I try not to, but the defaults do occasionally change, to work around issues which come up now and then. ROOT has a lot of optional features, so a lot of variants..
comment:7 Changed 6 years ago by mf2k (Frank Schima)
Keywords: | highsierra removed |
---|---|
Summary: | root6 @6.14.02 (science) fails to update on Macports 2.5.3 → root6 @6.14.02 fails to build with +veccore variant |
comment:8 Changed 6 years ago by mojca (Mojca Miklavec)
Cc: | mojca added; cjones051073 removed |
---|---|
Owner: | changed from mojca to cjones051073 |
comment:9 follow-up: 10 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | root6 @6.14.02 fails to build with +veccore variant → root6 @6.14.02 +veccore: fatal error: 'string_view' file not found |
---|
The error message in the log, since nobody has shown it in the ticket yet, is:
.../build/include/ROOT/RStringView.hxx:19:10: fatal error: 'string_view' file not found #include <string_view> ^~~~~~~~~~~~~
It's been years since this ticket was filed. Is this still a problem with the current version of root6 and the +veccore variant?
comment:10 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to ryandesign:
The error message in the log, since nobody has shown it in the ticket yet, is:
.../build/include/ROOT/RStringView.hxx:19:10: fatal error: 'string_view' file not found #include <string_view> ^~~~~~~~~~~~~It's been years since this ticket was filed. Is this still a problem with the current version of root6 and the +veccore variant?
Is this still an issue?
comment:11 Changed 6 weeks ago by cjones051073 (Chris Jones)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The default variants built just fine. See
http://packages.macports.org/root6/
Looks like you have activated the veccore variant. I have had problems with this, it used to be a default variant, but I recently removed it because of issues.
Please try removing from the list of variants you use. You will need to uninstall the current version and then reinstall it.