[DynInst_API:] COMMIT: fix to make building packages optional (and default off)


Date: Fri, 11 Sep 2015 15:56:59 -0500
From: Bill Williams <wrwilliams@xxxxxxxx>
Subject: [DynInst_API:] COMMIT: fix to make building packages optional (and default off)
On 09/11/2015 03:50 PM, Jim Galarowicz wrote:
Hi Bill,

On 09/11/2015 03:46 PM, Bill Williams wrote:
On 09/11/2015 03:40 PM, Jim Galarowicz wrote:
Hi all,

I'm trying to build the latest git version of dyninst on a X86_64 cluster.    I just did the git clone.

The build is cruising along until it shows this tar.gz error (below).  Does anyone know what might be wrong?
I'm using cmake-3.2.2 and gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)

<puzzled look>

How on earth does git archive not know how to tar.gz something? Is there no gzip (or no tar) on this system?
[jeg@hdn dyninst-9.0.0]$ which gzip
/bin/gzip
[jeg@hdn dyninst-9.0.0]$ which tar
/bin/tar

Well, I'm confused, then. Works For Me(tm), but apparently not for much of anyone else.


I'm going to make the damned 'package' target optional, default=NO. It's been nothing but a headache for anyone who's not me, and if you're not me, why are you building a Dyninst tarball in the first place?
I don't know the answer to that :-(        
but I was just trying to build...

Rhetorical question is rhetorical. I tried to be clever and build packages automatically, because it made my life easier. There appears to be no circumstance where having other people build packages automatically makes my life easier, mostly because git-archive is a brittle piece of junk. Therefore...


Feel free to comment the entire 'package' section out of the top-level CMakeLists...I'll push a fix in a bit.
Ok.

Pushed.

Thanks
Jim G

Thanks,
Jim G


92%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread-x86-64.c.o
[ 96%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTtlsgetaddr-x86.S.o
[100%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C static library libdyninstAPI_RT.a
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Scanning dependencies of target package
Packaging Dyninst
fatal: Unknown archive format 'tar.gz'
make[2]: *** [package] Error 128
make[1]: *** [CMakeFiles/package.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Packaging Dyninst
fatal: Unknown archive format 'tar.gz'
make[2]: *** [package] Error 128
make[1]: *** [CMakeFiles/package.dir/all] Error 2
make: *** [all] Error 2
~/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx ~/OpenSpeedShop_ROOT
~/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for errors.

DYNINST BUILD DIRECTORY:

[jeg@hdn dyninst-9.0.0]$ lsr
total 773
 17 -rw-rw-r--  1 jeg jeg  26731 Sep 11 14:11 ZERO_CHECK.vcxproj
 11 drwxrwxr-x  4 jeg jeg      5 Sep 11 14:11 valueAdded
 11 drwxrwxr-x  3 jeg jeg      5 Sep 11 14:11 syscalls
  6 -rw-rw-r--  1 jeg jeg    273 Sep 11 14:11 .syntastic_cpp_config
 11 drwxrwxr-x  2 jeg jeg      5 Sep 11 14:11 scripts
  6 -rw-rw-r--  1 jeg jeg   3423 Sep 11 14:11 README
 11 drwxrwxr-x  3 jeg jeg     11 Sep 11 14:11 parseThat
 11 -rw-rw-r--  1 jeg jeg   7624 Sep 11 14:11 nmake.config
 17 -rw-rw-r--  1 jeg jeg  24392 Sep 11 14:11 LGPL
 11 -rw-rw-r--  1 jeg jeg  12227 Sep 11 14:11 INSTALL.vcxproj
 11 drwxrwxr-x  2 jeg jeg      3 Sep 11 14:11 Installer
  6 -rw-rw-r--  1 jeg jeg   3251 Sep 11 14:11 INSTALL
  6 -rw-rw-r--  1 jeg jeg   1281 Sep 11 14:11 .gitignore
 11 drwxrwxr-x  8 jeg jeg     13 Sep 11 14:11 .git
 11 drwxrwxr-x  4 jeg jeg      6 Sep 11 14:11 external
 11 drwxrwxr-x  2 jeg jeg      3 Sep 11 14:11 dynutil
 11 -rw-rw-r--  1 jeg jeg  22921 Sep 11 14:11 Dyninst.sln
  6 -rw-rw-r--  1 jeg jeg    194 Sep 11 14:11 DyninstConfigVersion.cmake
  6 -rw-rw-r--  1 jeg jeg   5090 Sep 11 14:11 DyninstAPI.sln
 11 drwxrwxr-x  6 jeg jeg      6 Sep 11 14:11 dataflowAPI
  6 -rw-rw-r--  1 jeg jeg    893 Sep 11 14:11 COPYRIGHT
  6 -rw-rw-r--  1 jeg jeg   7710 Sep 11 14:11 CMakeLists.txt
 11 drwxrwxr-x  4 jeg jeg     19 Sep 11 14:11 cmake
  6 -rw-rw-r--  1 jeg jeg    741 Sep 11 14:11 ChangeLog
 17 -rw-rw-r--  1 jeg jeg  27058 Sep 11 14:11 ALL_BUILD.vcxproj
 11 drwxrwxr-x 12 jeg jeg     22 Sep 11 14:21 ..
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11___func__
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_auto
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_auto_fail_compile
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_auto_ret_type
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_class_override_final
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_constexpr
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_cstdint
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_decltype
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_initializer_list
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_lambda
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_long_long
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_nullptr
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_nullptr_fail_compile
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_regex
102 -rw-------  1 jeg jeg 483328 Sep 11 14:21 core.21199
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_rvalue-references
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_sizeof_member
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_sizeof_member_fail
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_static_assert
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_static_assert_fail_compile
 11 drwxrwxr-x  3 jeg jeg      3 Sep 11 14:21 cxx11_variadic_templates
 11 -rw-rw-r--  1 jeg jeg  22426 Sep 11 14:21 CMakeCache.txt
 11 -rw-rw-r--  1 jeg jeg  21932 Sep 11 14:21 Makefile
  6 -rw-rw-r--  1 jeg jeg   5408 Sep 11 14:21 cmake_install.cmake
 11 drwxrwxr-x  7 jeg jeg     14 Sep 11 14:21 common
 11 drwxrwxr-x  5 jeg jeg      8 Sep 11 14:21 elf
 11 drwxrwxr-x  5 jeg jeg      8 Sep 11 14:21 dwarf
 11 drwxrwxr-x  5 jeg jeg      8 Sep 11 14:21 symlite
 11 drwxrwxr-x  7 jeg jeg     11 Sep 11 14:21 dynC_API
 11 drwxrwxr-x  6 jeg jeg     14 Sep 11 14:21 instructionAPI
 11 drwxrwxr-x  6 jeg jeg     14 Sep 11 14:21 symtabAPI
 11 drwxrwxr-x  6 jeg jeg     13 Sep 11 14:21 parseAPI
 11 drwxrwxr-x  6 jeg jeg     15 Sep 11 14:21 proccontrol
 11 drwxrwxr-x  6 jeg jeg     12 Sep 11 14:21 stackwalk
 11 drwxrwxr-x  7 jeg jeg     13 Sep 11 14:21 patchAPI
 11 drwxrwxr-x  6 jeg jeg     15 Sep 11 14:21 dyninstAPI
 11 drwxrwxr-x  5 jeg jeg     17 Sep 11 14:21 dyninstAPI_RT
 11 drwxrwxr-x 16 jeg jeg     29 Sep 11 14:21 CMakeFiles
  1 -rw-rw-r--  1 jeg jeg      0 Sep 11 14:21 DyninstAPI-9.0.3.tgz
 11 drwxr-xr-x 46 jeg jeg     66 Sep 11 14:27 .
[jeg@hdn dyninst-9.0.0]$



THE FULL BUILD:


Build dyninst? <y/n>

Dyninst build, BEFORE CHECKS.
Building dyninst due to default setting.

Building dyninst.

The script will use /home/jeg/krellroot_v2.2 as installation directory.

   
         Using KRELL_ROOT_PREFIX=/home/jeg/krellroot_v2.2
   

Continue the build process for dyninst? <y/n>


Continuing the dyninst build process.

~/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx ~/OpenSpeedShop_ROOT
~/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0 ~/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx ~/OpenSpeedShop_ROOT
checking for../../../SOURCES/dyninst-9.0.0.patch
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /opt/rh/devtoolset-2/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-2/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-2/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-2/root/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- -- Input platform:
-- -- Attempting to automatically identify platform: x86_64-unknown-linux2.4
-- Found LibElf: /usr/lib64/libelf.so  
-- Found LibDwarf: /home/jeg/krellroot_v2.2/lib64/libdwarf.so  
-- Found libiberty: /home/jeg/krellroot_v2.2/lib64/libiberty_pic.a
-- Using libiberty /home/jeg/krellroot_v2.2/lib64/libiberty_pic.a
-- Found Thread_Db: /usr/lib64/libthread_db.so  
-- Disabling Boost's own CMake--known buggy in many cases
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:515 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:517 ] Boost_USE_MULTITHREADED = ON
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:519 ] Boost_USE_STATIC_LIBS =
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:521 ] Boost_USE_STATIC_RUNTIME = OFF
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:523 ] Boost_ADDITIONAL_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:525 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:577 ] Declared as CMake or Environmental Variables:
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:579 ]   BOOST_ROOT =
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:581 ]   BOOST_INCLUDEDIR =
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:583 ]   BOOST_LIBRARYDIR =
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:585 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:654 ] Include debugging info:
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:656 ]   _boost_INCLUDE_SEARCH_DIRS = /home/jeg/krellroot_v2.2/include;/home/jeg/krellroot_v2.2;NO_CMAKE_SYSTEM_PATH
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:658 ]   _boost_PATH_SUFFIXES = boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_55;boost_1_! 55; boost/boost-1_55; boost/boost_1_55;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boos! t-1_52; boo st_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_46_1;boost_1_46_1;boost/boost-1_46_1;boost/boost_1_46_1;boost-1_46_0;boost_1_46_0;boost/boost-1_46_0;boost/boost_1_46_0;boost-1_46;boost_1_46;boost/boost-1_46;boost/boost_1_46;boost-1_45_0;boost_1_45_0;boost/boost-1_45_0;boost/boost_1_45_0;boost-1_45;boost_1_45;boost/boost-1_45;boost/boost_1_45;boost-1_44_0;boost_1_44_0;boost/b! oost! -1_44_! 0; boost/bo ost_1_44_0;boost-1_44;boost_1_44;boost/boost-1_44;boost/boost_1_44;boost-1_43_0;boost_1_43_0;boost/boost-1_43_0;boost/boost_1_43_0;boost-1_43;boost_1_43;boost/boost-1_43;boost/boost_1_43;boost-1_42_0;boost_1_42_0;boost/boost-1_42_0;boost/boost_1_42_0;boost-1_42;boost_1_42;boost/boost-1_42;boost/boost_1_42;boost-1_41_0;boost_1_41_0;boost/boost-1_41_0;boost/boost_1_41_0;boost-1_41;boost_1_41;boost/boost-1_41;boost/boost_1_41;boost-1_40_0;boost_1_40_0;boost/boost-1_40_0;boost/boost_1_40_0;boost-1_40;boost_1_40;boost/boost-1_40;boost/boost_1_40;boost-1_39_0;boost_1_39_0;boost/boost-1_39_0;boost/boost_1_39_0;boost-1_39;boost_1_39;boost/boost-1_39;boost/boost_1_39;boost-1_38_0;boost_1_38_0;boost/boost-1_38_0;boost/boost_1_38_0;boost-1_38;boost_1_38;boost/boost-1_38;boost/boost_1_38;boost-1_37_0;boost_1_37_0;boost/boost-1_37_0;boost/boost_1_37_0;boost-1_37;boost_1_37;boost/boost-1_37;boost/boost_1_37;boost-1_36_1;boost_1_36_1;boost/boost-1_36_1;boost/boost_1_36_1;boost-1_! 36_0! ;boost! _1_36_0; bo ost/boost-1_36_0;boost/boost_1_36_0;boost-1_36;boost_1_36;boost/boost-1_36;boost/boost_1_36;boost-1_35_1;boost_1_35_1;boost/boost-1_35_1;boost/boost_1_35_1;boost-1_35_0;boost_1_35_0;boost/boost-1_35_0;boost/boost_1_35_0;boost-1_35;boost_1_35;boost/boost-1_35;boost/boost_1_35;boost-1_34_1;boost_1_34_1;boost/boost-1_34_1;boost/boost_1_34_1;boost-1_34_0;boost_1_34_0;boost/boost-1_34_0;boost/boost_1_34_0;boost-1_34;boost_1_34;boost/boost-1_34;boost/boost_1_34;boost-1_33_1;boost_1_33_1;boost/boost-1_33_1;boost/boost_1_33_1;boost-1_33_0;boost_1_33_0;boost/boost-1_33_0;boost/boost_1_33_0;boost-1_33;boost_1_33;boost/boost-1_33;boost/boost_1_33
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:678 ] location of version.hpp: //home/jeg/krellroot_v2.2/include/boost/version.hpp
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:702 ] version.hpp reveals boost 1.53.0
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:787 ] guessed _boost_COMPILER = -gcc48
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:797 ] _boost_MULTITHREADED = -mt
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:840 ] _boost_RELEASE_ABI_TAG = -
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:842 ] _boost_DEBUG_ABI_TAG = -d
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:890 ] _boost_LIBRARY_SEARCH_DIRS = /home/jeg/krellroot_v2.2/lib;/home/jeg/krellroot_v2.2/stage/lib;//home/jeg/krellroot_v2.2/include/lib;//home/jeg/krellroot_v2.2/include/../lib;//home/jeg/krellroot_v2.2/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:1001 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-mt-1_53;boost_thread-gcc48-mt;boost_thread-mt-1_53;boost_thread-mt;boost_thread
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:1037 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-mt-d-1_53;boost_thread-gcc48-mt-d;boost_thread-mt-d-1_53;boost_thread-mt-d;boost_thread-mt;boost_thread
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:1001 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-mt-1_53;boost_system-gcc48-mt;boost_system-mt-1_53;boost_system-mt;boost_system
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:1037 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-mt-d-1_53;boost_system-gcc48-mt-d;boost_system-mt-d-1_53;boost_system-mt-d;boost_system-mt;boost_system
-- [ /home/jeg/cmake-3.2.2/share/cmake-3.2/Modules/FindBoost.cmake:1088 ] Boost_FOUND = 1
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   thread
--   system
-- Boost includes: //home/jeg/krellroot_v2.2/include
-- Boost library dirs: //home/jeg/krellroot_v2.2/lib
-- Boost thread library: //home/jeg/krellroot_v2.2/lib/libboost_thread.so
-- Boost libraries: //home/jeg/krellroot_v2.2/lib/libboost_thread.so;//home/jeg/krellroot_v2.2/lib/libboost_system.so
-- Performing Test _HAS_CXX11_FLAG
-- Performing Test _HAS_CXX11_FLAG - Success
-- Checking C++11 support for "__func__"
-- Checking C++11 support for "__func__": works
-- Checking C++11 support for "auto"
-- Checking C++11 support for "auto": works
-- Checking C++11 support for "auto_ret_type"
-- Checking C++11 support for "auto_ret_type": works
-- Checking C++11 support for "class_override_final"
-- Checking C++11 support for "class_override_final": not supported
-- Checking C++11 support for "constexpr"
-- Checking C++11 support for "constexpr": works
-- Checking C++11 support for "cstdint"
-- Checking C++11 support for "cstdint": works
-- Checking C++11 support for "decltype"
-- Checking C++11 support for "decltype": works
-- Checking C++11 support for "initializer_list"
-- Checking C++11 support for "initializer_list": works
-- Checking C++11 support for "lambda"
-- Checking C++11 support for "lambda": works
-- Checking C++11 support for "long_long"
-- Checking C++11 support for "long_long": works
-- Checking C++11 support for "nullptr"
-- Checking C++11 support for "nullptr": works
-- Checking C++11 support for "regex"
-- Checking C++11 support for "regex": not supported
-- Checking C++11 support for "rvalue-references"
-- Checking C++11 support for "rvalue-references": works
-- Checking C++11 support for "sizeof_member"
-- Checking C++11 support for "sizeof_member": works
-- Checking C++11 support for "static_assert"
-- Checking C++11 support for "static_assert": works
-- Checking C++11 support for "variadic_templates"
-- Checking C++11 support for "variadic_templates": works
-- C++11 support found, required flags are: -std=c++11
-- Enabling ThreadDB support
-- Set arch and platform based definitions
-- Found g++, enabling -fvisibility=hidden
-- Options set
-- Set optimization flags
-- Building common...
-- Processing dependent target /home/jeg/krellroot_v2.2/lib64/libiberty_pic.a...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/jeg/krellroot_v2.2/lib64/libiberty_pic.a".
Call Stack (most recent call first):
  common/CMakeLists.txt:114 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building dynElf...
-- Processing dependent target /usr/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/usr/lib64/libelf.so".
Call Stack (most recent call first):
  elf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building dynDwarf...
-- Processing dependent target dynElf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/elf
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target /home/jeg/krellroot_v2.2/lib64/libdwarf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/jeg/krellroot_v2.2/lib64/libdwarf.so".
Call Stack (most recent call first):
  dwarf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target /usr/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/usr/lib64/libelf.so".
Call Stack (most recent call first):
  dwarf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building symLite...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target dynElf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/elf
-- Building dynC_API...
-- Processing dependent target dyninstAPI...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "dyninstAPI".
Call Stack (most recent call first):
  dynC_API/CMakeLists.txt:13 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building instructionAPI...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Building symtabAPI...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target dynElf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/elf
-- Processing dependent target /usr/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/usr/lib64/libelf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target dynDwarf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/dwarf
-- Processing dependent target /home/jeg/krellroot_v2.2/lib64/libdwarf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/jeg/krellroot_v2.2/lib64/libdwarf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target /usr/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/usr/lib64/libelf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building parseAPI...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/instructionAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/symtabAPI
-- Building pcontrol...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target symtabAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/symtabAPI
-- Building stackwalk...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/instructionAPI
-- Processing dependent target pcontrol...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/proccontrol
-- Processing dependent target dynDwarf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/dwarf
-- Processing dependent target dynElf...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/elf
-- Processing dependent target symtabAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/symtabAPI
-- Processing dependent target parseAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/parseAPI
-- Building patchAPI...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/instructionAPI
-- Processing dependent target parseAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/parseAPI
-- Building dyninstAPI...
-- Processing dependent target common...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/instructionAPI
-- Processing dependent target stackwalk...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/stackwalk
-- Processing dependent target pcontrol...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/proccontrol
-- Processing dependent target patchAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/patchAPI
-- Processing dependent target parseAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/parseAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/symtabAPI
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- The C compiler identification is GNU 4.8.2
-- Check for working C compiler: /opt/rh/devtoolset-2/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-2/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- -- Input platform: x86_64-unknown-linux2.4
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- The ASM compiler identification is GNU
-- Found assembler: /opt/rh/devtoolset-2/root/usr/bin/cc
-- dyninstAPI RT library SOVERSION: 9.0
-- dyninstAPI RT library LIBVERSION: 9.0.3
CMake Warning (dev) at CMakeLists.txt:141 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "dyninstAPI_RT".  Use
  the target name directly with add_custom_command, or use the generator
  _expression_ $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- dyninstAPI output location: /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/dyninstAPI_RT/libdyninstAPI_RT.so
-- Checking for 32-bit runtime library...
-- Performing Test CHECK_RT_LIB_32
-- Performing Test CHECK_RT_LIB_32 - Success
-- Disabling 32-bit runtime library; change BUILD_RTLIB_32 to ON and install 32-bit build environment to enable
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    NEED_NATIVE_ASSEMBLER


-- Build files have been written to: /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0/dyninstAPI_RT
-- Found Git: /usr/bin/git (found version "1.7.1")
-- Source tree is repository, building archive target
CMake Warning (dev) at CMakeLists.txt:128 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "package" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found LATEX: /usr/bin/latex   
-- Adding Unix-specific dependencies
-- Added libdwarf_imp and libelf_imp dependencies
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CHECK_RTLIB_32
    IBERTY_LIBRARY


-- Build files have been written to: /home/jeg/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx/dyninst-9.0.0
platform=x86_64
Scanning dependencies of target DyninstRT
[  0%] Building DyninstRT
Scanning dependencies of target dyninstAPI_RT
[  3%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o
[  7%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTmemEmulator.c.o
[ 10%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTposix.c.o
[ 14%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTlinux.c.o
[ 17%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap.c.o
[ 21%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap-linux.c.o
[ 25%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread.c.o
[ 28%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTspace.S.o
[ 32%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTsignal.c.o
[ 35%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 39%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_end.c.o
[ 42%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread-x86-64.c.o
[ 46%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTtlsgetaddr-x86.S.o
[ 50%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C shared library libdyninstAPI_RT.so
[ 50%] Built target dyninstAPI_RT
Scanning dependencies of target dyninstAPI_RT_static
[ 53%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTcommon.c.o
[ 57%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTmemEmulator.c.o
[ 60%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTposix.c.o
[ 64%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTlinux.c.o
[ 67%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap.c.o
[ 71%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap-linux.c.o
[ 75%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread.c.o
[ 78%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTspace.S.o
[ 82%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTsignal.c.o
[ 85%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 89%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_end.c.o
[ 92%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread-x86-64.c.o
[ 96%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTtlsgetaddr-x86.S.o
[100%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C static library libdyninstAPI_RT.a
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Scanning dependencies of target package
Packaging Dyninst
fatal: Unknown archive format 'tar.gz'
make[2]: *** [package] Error 128
make[1]: *** [CMakeFiles/package.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Packaging Dyninst
fatal: Unknown archive format 'tar.gz'
make[2]: *** [package] Error 128
make[1]: *** [CMakeFiles/package.dir/all] Error 2
make: *** [all] Error 2
~/OpenSpeedShop_ROOT/BUILD/hdn.cc.nx ~/OpenSpeedShop_ROOT
~/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for errors.

_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api



_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api


[← Prev in Thread] Current Thread [Next in Thread→]