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

未关闭
#4,414 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cmake, cpp
领域
build-system

调研方向

通过检出 v2.5.15.0、使用 CMake 配置、构建 install 目标并检查 dist/lib 来复现该报告。将生成的符号链接和已安装的库文件与检出的版本进行比较;当安装输出不再意外引用或保留之前的版本时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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?

主要语言
C++
星标
2.4k
派生
727
平均合并
4 天 8 小时
30 天内合并 PR
67

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AcademySoftwareFoundation/OpenImageIO 的其他 Issue

查看 AcademySoftwareFoundation/OpenImageIO 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。