Project

General

Profile

Support #16148

Support #16096: Fix problems found when attempting to build with gcc 6.3.0

cannot build pandora on Sierra

Added by Lynn Garren over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/10/2017
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
-
Co-Assignees:
Duration:

Description

This problem is specific to macOS Sierra.

using cmake v3_7_1

ROOTSYS: /Users/garren/unix/products/root/v6_08_06d/Darwin64bit+16-e14-nu-prof
+ which gcc
/Users/garren/unix/products/gcc/v6_3_0/Darwin64bit+16/bin/gcc
+ cd /Users/garren/unix/products/pandora/v03_00_00b/build/Darwin64bit+16-e14-nu-prof
+ export CC=gcc
+ CC=gcc
+ export CXX=g++
+ CXX=g++
+ export FC=gfortran
+ FC=gfortran
+ cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DPANDORA_MONITORING=ON -DCMAKE_INSTALL_PREFIX=/Users/garren/unix/products/pandora/v03_00_00b/Darwin64bit+16-e14-nu-prof -DROOT_DIR=/Users/garren/unix/products/root/v6_08_06d/Darwin64bit+16-e14-nu-prof/etc/cmake -DLAR_CONTENT_LIBRARY_NAME=LArPandoraContent -DCMAKE_CXX_FLAGS=-std=c++14 /Users/garren/unix/products/pandora/v03_00_00b/Darwin64bit+16-e14-nu-prof/pandora-v03-00-00
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Users/garren/unix/products/gcc/v6_3_0/Darwin64bit+16/bin/gcc
-- Check for working C compiler: /Users/garren/unix/products/gcc/v6_3_0/Darwin64bit+16/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Users/garren/unix/products/gcc/v6_3_0/Darwin64bit+16/bin/g++
-- Check for working CXX compiler: /Users/garren/unix/products/gcc/v6_3_0/Darwin64bit+16/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- PANDORA_SDK: ON
-- PANDORA_MONITORING: ON
-- LAR_PANDORA_CONTENT: OFF
-- LC_PANDORA_CONTENT: OFF
-- EXAMPLE_PANDORA_CONTENT: OFF
-- INSTALL_DOC: OFF
-- 
-- -------------------------------------------------------------------------------
-- Change values with: cmake -D<Variable>=<Value>
-- CMAKE_INSTALL_PREFIX = /Users/garren/unix/products/pandora/v03_00_00b/Darwin64bit+16-e14-nu-prof
-- CMAKE_BUILD_TYPE = MinSizeRel
-- INSTALL_DOC = OFF
-- CMAKE_MODULE_PATH =
--    /Users/garren/unix/products/pandora/v03_00_00b/Darwin64bit+16-e14-nu-prof/pandora-v03-00-00/cmakemodules;
--    /Users/garren/unix/products/root/v6_08_06d/Darwin64bit+16-e14-nu-prof/etc/cmake;
-- -------------------------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/garren/unix/products/pandora/v03_00_00b/build/Darwin64bit+16-e14-nu-prof
+ make -j8 install
Scanning dependencies of target PandoraSDK
[  6%] Creating directories for 'PandoraSDK'
[ 12%] Performing download step (git clone) for 'PandoraSDK'
Cloning into 'PandoraSDK-v03-00-00'...
fatal: unable to access 'https://github.com/PandoraPFA/PandoraSDK.git/': SSL certificate problem: Invalid certificate chain
Cloning into 'PandoraSDK-v03-00-00'...
fatal: unable to access 'https://github.com/PandoraPFA/PandoraSDK.git/': SSL certificate problem: Invalid certificate chain
Cloning into 'PandoraSDK-v03-00-00'...
fatal: unable to access 'https://github.com/PandoraPFA/PandoraSDK.git/': SSL certificate problem: Invalid certificate chain
-- Had to git clone more than once:
          3 times.
CMake Error at /Users/garren/unix/products/pandora/v03_00_00b/build/Darwin64bit+16-e14-nu-prof/PandoraSDK-v03-00-00/tmp/PandoraSDK-gitclone.cmake:56 (message):
  Failed to clone repository: 'https://github.com/PandoraPFA/PandoraSDK.git'

make[2]: *** [PandoraSDK-v03-00-00/src/PandoraSDK-stamp/PandoraSDK-download] Error 1
make[1]: *** [CMakeFiles/PandoraSDK.dir/all] Error 2

History

#1 Updated by Lynn Garren over 3 years ago

  • Assignee changed from John Marshall to Lynn Garren

This problem has something to do with the default git config, which now includes this line on both El Capitan and Sierra:

credential.helper=osxkeychain

This will be fixed by changing our source code tarball.

#2 Updated by Lynn Garren over 3 years ago

  • % Done changed from 0 to 100

problem resolved with pandora v03_00_00c
See build instructions here: https://github.com/PandoraPFA/PandoraPFA/blob/master/README.md

#3 Updated by Lynn Garren over 3 years ago

  • Status changed from Assigned to Resolved

#4 Updated by Lynn Garren over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF