-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Dyninst missing dependency - libiberty #8728
Copy link
Copy link
Closed
Labels
Description
When installing Dyninst: spack install dyninst
I noticed the https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/dyninst/package.py doesn't mention LibIberty. Probably because it's not available to be installed with Spack? Should it be in binutils?
Dyninst should be able to download it and install, but it's not working.
[sasha@zatar] (27)$ uname -a
Linux zatar 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Bellow the error:
[sasha@zatar] (18)$ spack install dyninst ^ncurses+symlinks
==> bzip2 is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/bzip2-1.0.6-ufczdvsqt6edesm36xiucyry7myhj7e7
==> zlib is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/zlib-1.2.11-5nus6knzumx4ik2yl44jxtgtsl7d54xb
==> boost is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/boost-1.67.0-ybckf3tldv5qvaaxgmtpy4zrhigkyi5m
==> pkgconf is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/pkgconf-1.4.2-fovrh7alpft646n6mhis5mml6k6e5f4v
==> ncurses is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/ncurses-6.1-sj256ey5hpwmsnleqx3wiwcwm2rzswwp
==> openssl is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/openssl-1.0.2o-b4y3w3bsyvjla6eesv4vt6aplpfrpsha
==> cmake is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/cmake-3.11.4-2vlfxb4g37hlhdsfyhklmpbx2issf2au
==> libsigsegv is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/libsigsegv-2.11-fypapcprssrj3nstp6njprskeyynsgaz
==> m4 is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/m4-1.4.18-3z33ecfn4quhwerdpr2g4y6o7nhjvwcb
==> bison is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/bison-3.0.4-j2atxgykmby2zha5mib3iqptq2rmoltt
==> xz is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/xz-5.2.4-teneqii2xv5u6zl5r6qi3pwurc6pmypz
==> libxml2 is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/libxml2-2.9.8-wpexsphdmfayxqxd4up5vgwuqgu5woo7
==> tar is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/tar-1.30-dk7lrpo3i2vfppw7kohg5aqhkrk4ckca
==> gettext is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/gettext-0.19.8.1-6nrruvuushj6owoqp5ompeme3jwy5hmm
==> help2man is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/help2man-1.47.4-4vix2xqqdzgm4y6t5btrs4f7bkbadlmu
==> flex is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/flex-2.6.3-p2btwum5ulyq6fzxe34pjoqzzp7kfyvm
==> elfutils is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/elfutils-0.170-4gzbizf4kmwl2y7ybizvgl2utlxdgnuw
==> libdwarf is already installed in projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/libdwarf-20180129-qpl2oextdoviwjpmrysztiwbbwxg6dov
==> Installing dyninst
==> Using cached archive: projects/spack/var/spack/cache/dyninst/dyninst-9.3.2.tar.gz
==> Warning: Fetching from mirror without a checksum!
This package is normally checked out from a version control system, but it has been archived on a spack mirror. This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> Staging archive: projects/spack/var/spack/stage/dyninst-9.3.2-aeapny6eg6bokinodpjxppcaec36sus4/dyninst-9.3.2.tar.gz
==> Created stage in projects/spack/var/spack/stage/dyninst-9.3.2-aeapny6eg6bokinodpjxppcaec36sus4
==> No patches needed for dyninst
==> Building dyninst [Package]
==> Executing phase: 'install'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4'
3 errors found in build log:
753 checking for working vfork... (cached) yes
754 checking for _doprnt... no
755 checking for sys_errlist... [ 11%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-auxv.C.o
756 cd /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/common && projects/spack/lib/spack/env/gcc/g++ -DBOOST_ALL_NO_LIB=1 -DBOOST_MUL
TI_INDEX_DISABLE_SERIALIZATION -DCOMMON_LIB -DUSE_PARSE_API -DWITHOUT_SYMLITE -DWITH_SYMTAB_API -Darch_64bit -Darch_x86_64 -Dbug_force_terminate_failure -Dbug_syscall_changepc_rewind -Dcap_3
2_64 -Dcap_async_events -Dcap_binary_rewriter -Dcap_dwarf -Dcap_dynamic_heap -Dcap_fixpoint_gen -Dcap_liveness -Dcap_mutatee_traps -Dcap_noaddr_gen -Dcap_ptrace -Dcap_registers -Dcap_stack_m
ods -Dcap_stripped_binaries -Dcap_thread_db -Dcap_threads -Dcap_tramp_liveness -Dcommon_EXPORTS -Dos_linux -Dx86_64_unknown_linux2_4 -Iprojects/s
pack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/elfutils-0.170-4gzbizf4kmwl2y7ybizvgl2utlxdgnuw/include/libelf -Iprojects/spack/opt/spack/linux
-ubuntu16.04-x86_64/gcc-5.4.0/libdwarf-20180129-qpl2oextdoviwjpmrysztiwbbwxg6dov/include -Iprojects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-
5.4.0/boost-1.67.0-ybckf3tldv5qvaaxgmtpy4zrhigkyi5m/include -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/co
mmon/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dataflowAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dyni
nstAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/instructionAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/parseAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dynin
st/patchAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/proccontrol/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/stackwalk/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dy
ninst/symtabAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dwarf/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/elf/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/sy
mlite/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/external -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/src -std=
c++11 -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -Wcast-qual -Woverloaded-virtual -Wcast-align -Wno-non-template-friend -Wno-unused-local-typedefs -Wno-depreca
ted-declarations -O2 -g -fPIC -Winvalid-pch -include /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/common/cotire/common_CXX_prefix.hxx -o CMakeFiles/common.dir/src/addrtra
nslate-auxv.C.o -c /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/src/addrtranslate-auxv.C
757 yes
758 checking for sys_nerr... yes
>> 759 checking for sys_siglist... make[2]: *** No rule to make target 'libiberty/libiberty.a', needed by 'common/libcommon.so.9.3.2'. Stop.
760 make[2]: *** Waiting for unfinished jobs....
761 [ 11%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-linux.C.o
762 cd /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/common && projects/spack/lib/spack/env/gcc/g++ -DBOOST_ALL_NO_LIB=1 -DBOOST_MUL
TI_INDEX_DISABLE_SERIALIZATION -DCOMMON_LIB -DUSE_PARSE_API -DWITHOUT_SYMLITE -DWITH_SYMTAB_API -Darch_64bit -Darch_x86_64 -Dbug_force_terminate_failure -Dbug_syscall_changepc_rewind -Dcap_3
2_64 -Dcap_async_events -Dcap_binary_rewriter -Dcap_dwarf -Dcap_dynamic_heap -Dcap_fixpoint_gen -Dcap_liveness -Dcap_mutatee_traps -Dcap_noaddr_gen -Dcap_ptrace -Dcap_registers -Dcap_stack_m
ods -Dcap_stripped_binaries -Dcap_thread_db -Dcap_threads -Dcap_tramp_liveness -Dcommon_EXPORTS -Dos_linux -Dx86_64_unknown_linux2_4 -Iprojects/s
pack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/elfutils-0.170-4gzbizf4kmwl2y7ybizvgl2utlxdgnuw/include/libelf -Iprojects/spack/opt/spack/linux
-ubuntu16.04-x86_64/gcc-5.4.0/libdwarf-20180129-qpl2oextdoviwjpmrysztiwbbwxg6dov/include -Iprojects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-
5.4.0/boost-1.67.0-ybckf3tldv5qvaaxgmtpy4zrhigkyi5m/include -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/co
mmon/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dataflowAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dyni
nstAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/instructionAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/parseAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dynin
st/patchAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/proccontrol/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/stackwalk/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dy
ninst/symtabAPI/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/dwarf/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/elf/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/sy
mlite/h -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/external -I/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/src -std=
c++11 -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -Wcast-qual -Woverloaded-virtual -Wcast-align -Wno-non-template-friend -Wno-unused-local-typedefs -Wno-depreca
ted-declarations -O2 -g -fPIC -Winvalid-pch -include /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build/common/cotire/common_CXX_prefix.hxx -o CMakeFiles/common.dir/src/addrtra
nslate-linux.C.o -c /tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/common/src/addrtranslate-linux.C
763 yes
764 checking for external symbol _system_configuration... no
765 checking for __fsetlocking... yes
...
1106 projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/cmake-3.11.4-2vlfxb4g37hlhdsfyhklmpbx2issf2au/bin/cmake -E touch /tmp/sasha/spack-sta
ge/spack-stage-Ku04Mb/dyninst/spack-build/CMakeFiles/LibIberty-complete
1107 projects/spack/opt/spack/linux-ubuntu16.04-x86_64/gcc-5.4.0/cmake-3.11.4-2vlfxb4g37hlhdsfyhklmpbx2issf2au/bin/cmake -E touch /tmp/sasha/spack-sta
ge/spack-stage-Ku04Mb/dyninst/spack-build/binutils/src/LibIberty-stamp/LibIberty-done
1108 make[2]: Leaving directory '/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build'
1109 [ 12%] Built target LibIberty
1110 make[2]: Leaving directory '/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build'
1111 CMakeFiles/Makefile2:336: recipe for target 'common/CMakeFiles/common.dir/all' failed
>> 1112 make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
1113 make[1]: Leaving directory '/tmp/sasha/spack-stage/spack-stage-Ku04Mb/dyninst/spack-build'
1114 Makefile:132: recipe for target 'all' failed
>> 1115 make: *** [all] Error 2
See build log for details:
projects/spack/var/spack/stage/dyninst-9.3.2-aeapny6eg6bokinodpjxppcaec36sus4/dyninst/spack-build.out
Reactions are currently unavailable