-
Notifications
You must be signed in to change notification settings - Fork 65
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
Invalid version error during installation #185
Comments
Thank you. There are several different issues here. Let me split this up to hopefully clarify it. You installed things correctly, Great!
You are mixing different builds here.
This is an odd error. I wouldn't expect it. I'll look into this.
The fact that you also get this error here is strange. I have some kind of idea, though. Hmm. Can you send me the complete error message? You seem to have truncated the error message. |
This is the full error message
|
What platform are you on? Distribution. Architecture. Version of cmake. (Detail: It appears that an environment variable is getting lost between cmake and setuptools call. Or that cmake is failing to set the environment variable.) |
I am on CentOS 7, x86 architecture. cmake version 3.19.5 |
Thanks. I will look at this when I have time. It may take a week or two to get this specific issue fixed. Hopefully, I can still help you get things built so you can use it. |
The script was using a fixed path to the version_file in one case instead of using the detected one. Fixes: KatanaGraph#185
The script was using a fixed path to the version_file in one case instead of using the detected one. Fixes: KatanaGraph#185
The script was using a fixed path to the version_file in one case instead of using the detected one. Fixes: #185
Following discussion from #70.
I do the following steps to install katana. I get invalid version errors at the corresponding steps.
git clone https://github.com/KatanaGraph/katana.git
SRC_DIR=/home/katana
conda env create --name katana-dev --file $SRC_DIR/conda_recipe/environment.yml
conda activate katana-dev
conda install -c conda-forge numactl-devel-cos6-x86_64
BUILD_DIR=/home/katana/build
mkdir -p $BUILD_DIR
cmake -S $SRC_DIR -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Release -DKATANA_LANG_BINDINGS=python -DBUILD_SHARED_LIBS=ON
conda build -c conda-forge $SRC_DIR/conda_recipe/
ERROR - anaconda3/lib/python3.8/site-packages/conda/models/version.py", line 164, in init
raise InvalidVersionSpec(vstr, "empty version string")
conda.exceptions.InvalidVersionSpec: Invalid version '': empty version string
cd $BUILD_DIR
make -j 8
ERROR - /home/katana/build/katana_python_build/scripts/katana_version/version.py", line 177, in get_explicit_version
explicit_version = tag_version or get_config_version(
File "/home/katana/build/katana_python_build/scripts/katana_version/version.py", line 197, in get_config_version
with open(Path(file).parent.parent.parent / CONFIG_VERSION_PATH, "rt") as version_file:
make clean
rm CMakeCache.txt
cd $SRC_DIR
cmake -S $SRC_DIR -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Release
cd $BUILD_DIR
make -j 8
Done
The text was updated successfully, but these errors were encountered: