Re: Install problem


nicolau.manubens@...
 

Hello,

I am finding a similar error also when trying to build the DAOS docker image.

wget https://raw.githubusercontent.com/daos-stack/daos/master/utils/docker/Dockerfile.centos.7

docker build --no-cache -t daos -f ./Dockerfile.centos.7 .

The Dockerfile is being pulled from the master branch, e.g. commit 4cbb16cf8edc9ddf5c7503b4448bf897c8331ea3

The output follows:

gcc -o build/dev/gcc/src/tests/security/acl_dump_test -Wl,-rpath-link=build/dev/gcc/src/gurt -Wl,-rpath-link=build/dev/gcc/src/cart -Wl,--enable-new-dtags -Wl,-rpath-link=/home/daos/daos/build/dev/gcc/src/gurt -Wl,-rpath-link=/usr/prereq/dev/pmdk/lib -Wl,-rpath-link=/usr/prereq/dev/isal/lib -Wl,-rpath-link=/usr/prereq/dev/isal_crypto/lib -Wl,-rpath-link=/usr/prereq/dev/argobots/lib -Wl,-rpath-link=/usr/prereq/dev/protobufc/lib -Wl,-rpath-link=/usr/lib64 -Wl,-rpath=/usr/lib -Wl,-rpath=\$ORIGIN/../../home/daos/daos/build/dev/gcc/src/gurt -Wl,-rpath=\$ORIGIN/../prereq/dev/pmdk/lib -Wl,-rpath=\$ORIGIN/../prereq/dev/isal/lib -Wl,-rpath=\$ORIGIN/../prereq/dev/isal_crypto/lib -Wl,-rpath=\$ORIGIN/../prereq/dev/argobots/lib -Wl,-rpath=\$ORIGIN/../prereq/dev/protobufc/lib -Wl,-rpath=\$ORIGIN/../lib64 build/dev/gcc/src/tests/security/acl_dump_test.o -Lbuild/dev/gcc/src/gurt -Lbuild/dev/gcc/src/cart/swim -Lbuild/dev/gcc/src/cart -Lbuild/dev/gcc/src/common -L/usr/prereq/dev/pmdk/lib -L/usr/prereq/dev/isal/lib -L/usr/prereq/dev/isal_crypto/lib -Lbuild/dev/gcc/src/bio -Lbuild/dev/gcc/src/bio/smd -Lbuild/dev/gcc/src/vea -Lbuild/dev/gcc/src/vos -Lbuild/dev/gcc/src/mgmt -Lbuild/dev/gcc/src/pool -Lbuild/dev/gcc/src/container -Lbuild/dev/gcc/src/placement -Lbuild/dev/gcc/src/dtx -Lbuild/dev/gcc/src/object -Lbuild/dev/gcc/src/rebuild -Lbuild/dev/gcc/src/security -Lbuild/dev/gcc/src/client/api -Lbuild/dev/gcc/src/control -L/usr/prereq/dev/argobots/lib -L/usr/prereq/dev/protobufc/lib -lpmemobj -lisal -lisal_crypto -labt -lprotobuf-c -lhwloc -ldaos -ldaos_common -lgurt

/usr/prereq/dev/mercury/lib/libna.so.2: undefined reference to `fi_dupinfo@...'

/usr/prereq/dev/mercury/lib/libna.so.2: undefined reference to `fi_freeinfo@...'

/usr/prereq/dev/mercury/lib/libna.so.2: undefined reference to `fi_getinfo@...'

collect2: error: ld returned 1 exit status

scons: *** [build/dev/gcc/src/tests/security/acl_dump_test] Error 1

scons: building terminated because of errors.

The command '/bin/sh -c if [ "x$NOBUILD" = "x" ] ; then scons --build-deps=yes install PREFIX=/usr; fi' returned a non-zero code: 2

 

I have also tried pulling the version right after the pull request was merged, and building, with no success:


git clone https://github.com/daos-stack/daos/

cd daos

git checkout 5c887623f0013241d27b8daad1813a3444abf718

cd utils/docker

docker build --no-cache -t daos -f ./Dockerfile.centos.7 .

[...]

Step 28/34 : RUN if [ "x$NOBUILD" = "x" ] ; then scons --build-deps=yes install PREFIX=/usr; fi

 ---> Running in 6fa6d1725ecd

scons: Reading SConscript files ...

ImportError: No module named distro:

  File "/home/daos/daos/SConstruct", line 16:

    import daos_build

  File "/home/daos/daos/utils/daos_build.py", line 4:

    from env_modules import load_mpi

  File "/home/daos/daos/site_scons/env_modules.py", line 27:

    import distro



Please let me know if you have any further hints.

 

Regards,

Nicolau

Join daos@daos.groups.io to automatically receive all group messages.