OpenImageIO icon indicating copy to clipboard operation
OpenImageIO copied to clipboard

[BUILD] Current version `lib` symlinks showing up in build from previous version

Open virtualritz opened this issue 1 year ago • 1 comments

I'm on Ubuntu 24.04. What I'm doing inside my cloned OIIO repo is:

git checkout v2.5.15.0
cmake -DOpenImageIO_BUILD_MISSING_DEPS=all -B build -S . 
cmake --build build --target install     

What I get in dist/lib is this:

drwxrwxr-x    - moritz  9 Sep 15:32 cmake
lrwxrwxrwx    - moritz  9 Sep 15:32 libOpenImageIO.so -> libOpenImageIO.so.2.6.4
.rw-r--r--  14M moritz  3 Sep 13:20 libOpenImageIO.so.2.5.15
lrwxrwxrwx    - moritz  9 Sep 15:32 libOpenImageIO.so.2.6.4 -> libOpenImageIO.so.2.5.15
lrwxrwxrwx    - moritz  9 Sep 15:32 libOpenImageIO_Util.so -> libOpenImageIO_Util.so.2.6.4
.rw-r--r-- 1.2M moritz  3 Sep 13:15 libOpenImageIO_Util.so.2.5.15
lrwxrwxrwx    - moritz  9 Sep 15:32 libOpenImageIO_Util.so.2.6.4 -> libOpenImageIO_Util.so.2.5.15
drwxrwxr-x    - moritz  9 Sep 15:32 pkgconfig
drwxrwxr-x    - moritz  9 Sep 15:32 python3.12

Is this expected? How does v2.6.5 get in there?

virtualritz avatar Sep 09 '24 13:09 virtualritz

The mixture of dates on the files seems suspicious. Maybe this is one version built or installed on top of a previous build of a different version?

lgritz avatar Sep 09 '24 15:09 lgritz