alembic seems to be broken #42

Closed
opened 2021-09-06 13:37:32 +02:00 by X-yl · 4 comments

Hey, so libAlembic.so says it wants libImath-3_0.so.28, but the current version is libImath-3_1.so.29.2.0. I installed alembic from the arch community repo and it worked so I figure this is where the bug report should go?

Some info which may be relevant:

 $ pacman -Qi alembic                                                                                                           
Name            : alembic
Version         : 1.8.2-2.1
Description     : An open framework for storing and sharing scene data
Architecture    : x86_64
URL             : http://www.alembic.io/
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : imath  boost-libs  hdf5
Optional Deps   : None
Required By     : blender
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.48 MiB
Packager        : Unknown Packager
Build Date      : Fri 16 Jul 2021 10:55:39 AM +04
Install Date    : Mon 06 Sep 2021 03:32:26 PM +04
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature


 $ lddtree  /usr/lib/libAlembic.so                                                                                              
/usr/lib/libAlembic.so (interpreter => None)
    libImath-3_0.so.28 => None
    libpthread.so.0 => /usr/lib/libpthread.so.0
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libhdf5.so.200 => /usr/lib/libhdf5.so.200
        libsz.so.2 => /usr/lib/libsz.so.2
        libz.so.1 => /usr/lib/libz.so.1
        libdl.so.2 => /usr/lib/libdl.so.2
    libm.so.6 => /usr/lib/libm.so.6
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

Let me know if you need anything else.

Hey, so `libAlembic.so` says it wants `libImath-3_0.so.28`, but the current version is `libImath-3_1.so.29.2.0`. I installed `alembic` from the arch community repo and it worked so I figure this is where the bug report should go? Some info which may be relevant: ```  $ pacman -Qi alembic Name : alembic Version : 1.8.2-2.1 Description : An open framework for storing and sharing scene data Architecture : x86_64 URL : http://www.alembic.io/ Licenses : BSD Groups : None Provides : None Depends On : imath boost-libs hdf5 Optional Deps : None Required By : blender Optional For : None Conflicts With : None Replaces : None Installed Size : 4.48 MiB Packager : Unknown Packager Build Date : Fri 16 Jul 2021 10:55:39 AM +04 Install Date : Mon 06 Sep 2021 03:32:26 PM +04 Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature  $ lddtree /usr/lib/libAlembic.so /usr/lib/libAlembic.so (interpreter => None) libImath-3_0.so.28 => None libpthread.so.0 => /usr/lib/libpthread.so.0 ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2 libhdf5.so.200 => /usr/lib/libhdf5.so.200 libsz.so.2 => /usr/lib/libsz.so.2 libz.so.1 => /usr/lib/libz.so.1 libdl.so.2 => /usr/lib/libdl.so.2 libm.so.6 => /usr/lib/libm.so.6 libstdc++.so.6 => /usr/lib/libstdc++.so.6 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 libc.so.6 => /usr/lib/libc.so.6 ``` Let me know if you need anything else.
Owner

Hi @X-yl. That seems like alembic needs a rebuild, indeed.

I just queued it. If you are willing to test the rebuild version once it's done: You are going to get a signature error, since your local package in cache won't match the sync repo. You can just ignore that and redownload.

You can check if it has been build on the package status page as usual (see check date and build date once its done).

Hi @X-yl. That seems like alembic needs a rebuild, indeed. I just queued it. If you are willing to test the rebuild version once it's done: You are going to get a signature error, since your local package in cache won't match the sync repo. You can just ignore that and redownload. You can check if it has been build on the [package status page](https://alhp.harting.dev/packages.html#community-x86-64-v3-alembic) as usual (see check date and build date once its done).
anonfunc added the
bug
label 2021-09-06 14:11:53 +02:00
Author

Yep, looks like it's fixed. Oddly though, now my lddtree output is different from what I get when I install from the arch repos.

This is what I get from installing community-x86-64-v3/alembic:

 $ lddtree  /usr/lib/libAlembic.so                                                                                              
/usr/lib/libAlembic.so (interpreter => None)
    libpthread.so.0 => /usr/lib/libpthread.so.0
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libhdf5.so.200 => /usr/lib/libhdf5.so.200
        libsz.so.2 => /usr/lib/libsz.so.2
        libz.so.1 => /usr/lib/libz.so.1
        libdl.so.2 => /usr/lib/libdl.so.2
    libm.so.6 => /usr/lib/libm.so.6
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

and from community/alembic

/usr/lib/libAlembic.so (interpreter => None)
    libImath-3_1.so.29 => /usr/lib/libImath-3_1.so.29
    libpthread.so.0 => /usr/lib/libpthread.so.0
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libhdf5.so.200 => /usr/lib/libhdf5.so.200
        libsz.so.2 => /usr/lib/libsz.so.2
        libz.so.1 => /usr/lib/libz.so.1
        libdl.so.2 => /usr/lib/libdl.so.2
    libm.so.6 => /usr/lib/libm.so.6
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

The libImath dependency is not present in the x86-64-v3 version. Not sure if that's a concern but blender does appear to work now.

Yep, looks like it's fixed. Oddly though, now my lddtree output is different from what I get when I install from the arch repos. This is what I get from installing community-x86-64-v3/alembic: ```  $ lddtree /usr/lib/libAlembic.so /usr/lib/libAlembic.so (interpreter => None) libpthread.so.0 => /usr/lib/libpthread.so.0 ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2 libhdf5.so.200 => /usr/lib/libhdf5.so.200 libsz.so.2 => /usr/lib/libsz.so.2 libz.so.1 => /usr/lib/libz.so.1 libdl.so.2 => /usr/lib/libdl.so.2 libm.so.6 => /usr/lib/libm.so.6 libstdc++.so.6 => /usr/lib/libstdc++.so.6 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 libc.so.6 => /usr/lib/libc.so.6 ``` and from community/alembic ``` /usr/lib/libAlembic.so (interpreter => None) libImath-3_1.so.29 => /usr/lib/libImath-3_1.so.29 libpthread.so.0 => /usr/lib/libpthread.so.0 ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2 libhdf5.so.200 => /usr/lib/libhdf5.so.200 libsz.so.2 => /usr/lib/libsz.so.2 libz.so.1 => /usr/lib/libz.so.1 libdl.so.2 => /usr/lib/libdl.so.2 libm.so.6 => /usr/lib/libm.so.6 libstdc++.so.6 => /usr/lib/libstdc++.so.6 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 libc.so.6 => /usr/lib/libc.so.6 ``` The libImath dependency is not present in the x86-64-v3 version. Not sure if that's a concern but blender does appear to work now.
Owner

That is intressting. I build alembic with -march=x86-64 -O2, -march=x86-64-v3 -O3 and -march=x86-64-v3 -O2.

All except the first show no linkage to libImath, even if cmake notes for all of them:

[...]
-- Found Threads: TRUE  
-- Found package Imath
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found HDF5: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.12.0") found components: C 
-- HDF5_INCLUDE_DIRS: /usr/include
-- HDF5_LIBRARIES: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so

   * Alembic Configuration          ===
   * USE_ARNOLD                     OFF
   * USE_BINARIES                   ON
   * USE_EXAMPLES                   OFF
   * USE_HDF5                       ON
   * USE_MAYA                       OFF
   * USE_PRMAN                      OFF
   * USE_PYALEMBIC                  OFF
   * USE_STATIC_BOOST               OFF
   * USE_STATIC_HDF5                OFF
   * USE_TESTS                      ON
   * ALEMBIC_ILMBASE_LINK_STATIC    OFF
   * ALEMBIC_SHARED_LIBS            ON
   * PYALEMBIC_PYTHON_MAJOR         3
   * DOCS_PATH                      OFF
-- Configuring done
[...]

That is very weird. Not sure how to explain that, yet.

That is intressting. I build `alembic` with `-march=x86-64 -O2`, `-march=x86-64-v3 -O3` and `-march=x86-64-v3 -O2`. All except the first show no linkage to `libImath`, even if cmake notes for all of them: ``` [...] -- Found Threads: TRUE -- Found package Imath -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found HDF5: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.12.0") found components: C -- HDF5_INCLUDE_DIRS: /usr/include -- HDF5_LIBRARIES: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so * Alembic Configuration === * USE_ARNOLD OFF * USE_BINARIES ON * USE_EXAMPLES OFF * USE_HDF5 ON * USE_MAYA OFF * USE_PRMAN OFF * USE_PYALEMBIC OFF * USE_STATIC_BOOST OFF * USE_STATIC_HDF5 OFF * USE_TESTS ON * ALEMBIC_ILMBASE_LINK_STATIC OFF * ALEMBIC_SHARED_LIBS ON * PYALEMBIC_PYTHON_MAJOR 3 * DOCS_PATH OFF -- Configuring done [...] ``` That is very weird. Not sure how to explain that, yet.
Owner

Well, since this is fixed I'll close this. Still interested to see why alembic does not link to libImath.

Well, since this is fixed I'll close this. Still interested to see why alembic does not link to libImath.
Sign in to join this conversation.
No description provided.