-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.2.2007 throws an error #72
Comments
with the source code the same issue happens at the end of the installation phase:
I can also confirm that this happens with |
hi @davydden 我遇到相同的问题,问题出现在 cmake/generate_version_file.cmake,他期望的输入是这样的格式 问题出现在 正则匹配执行 仅仅匹配 也需可以这样解决问题 |
thanks fanyi.baidu.com I have the same problem with cmake / generate_ version_ file.cmake He expects the input to be in this format V6.2.2004-25-gefbd71c8, but my git describe -- tag -- long returns v6.2-dev-xx-xxx, The problem is string(REGEX REPLACE "^v([0-9]+).." "\1" NETGEN_ VERSION_ MAJOR "${git_ version_ string}") string(REGEX REPLACE "^v[0-9]+.([0-9]+)." "\1" NETGEN_ VERSION_ MINOR "${git_ version_ string}") string(REGEX REPLACE "^v[0-9]+.[0-9]+.([0-9]+)." "\1" NETGEN_ VERSION_ PATCH "${git_ version_ string}") string(REGEX REPLACE "^v[0-9]+.[0-9]+.[0-9]+-([0-9]+)." "\1" NETGEN_ VERSION_ TWEAK "${git_ version_ string}") string(REGEX REPLACE "^v[0-9]+.[0-9]+.[0-9]+-[0-9]+-([0-9a-z]+).*" "\1" NETGEN_ VERSION_ HASH "${git_ version_ string}") Regular matching performs only matching v6.2.2004-25-gefbd71c8 But it can't v6.2-dev-xx-xxx It also needs to be able to solve the problem in this way set(git_ version_ string "v6.2.2007-25-gefbd71c8") |
You may also need to remove your_build_dir/netgen/netgen_version.hpp then rebuild! |
hi @mhochsteger 这是我的输出 dbn@debian:~/Desktop/FET/netgen-mesher-git$ git remote -v dbn@debian:~/Desktop/FET/netgen-mesher-git$ git tag |
Hi @mhochsteger , I check out tag |
@iwetuan @davydden |
@mhochsteger thanks! it works. |
@mhochsteger Apologies, I confused the repos, I actually checkout it from the netgen https://github.com/NGSolve/netgen . But still, the same tag. Importantly, the issue is not there for |
@mhochsteger 6.2.2008 does show this issue anymore. |
@mhochsteger @JSchoeberl interestingly enough, this is NOT an netgen issue, but NGSolve. When I install the 6.2.2008 stack and set environment for
When I set environment for
Finally when I set environment to the
By diffing build logs I noticed the following difference:
vs
Which brings me to the conclusion that at some point you are trying to output a version from an empty string. A catch of |
@mhochsteger @JSchoeberl I looked closer into I would still suggest to either catch |
Bug: NGSolve/netgen#72 Bug: NGSolve/netgen#77 Closes: https://bugs.gentoo.org/155424 Closes: https://bugs.gentoo.org/756214 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --force Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
@davydden ,Hello,this bug has never been fixed,and I have to add this line to netgen/cmake/generate_version_file.cmake always
By deleting the 'v' charactor from 6.2.0-v6.2.0.0-v6.2.0.0 |
the software stack is built with gcc 9.3.0.
The latest stable version is 6.2.2006 does not show this issue.
The text was updated successfully, but these errors were encountered: