Skip to content

Instantly share code, notes, and snippets.

@omasanori
Created July 10, 2017 09:36
Show Gist options
  • Save omasanori/101f79c2dfe574f654893c9e18c3ef6d to your computer and use it in GitHub Desktop.
Save omasanori/101f79c2dfe574f654893c9e18c3ef6d to your computer and use it in GitHub Desktop.
Building Configuration with flpproto fails on CC7 when libcurl-devel is not installed
aliBuild can take the following packages from the system and will not build them:
FreeType
The following packages cannot be taken from the system and will be built:
Python-modules, sqlite, CMake, protobuf, Python, GCC-Toolchain, nanomsg, libpng, ZeroMQ, autotools, boost, GSL
Packages will be built in the following order:
- defaults-o2-daq@v1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- GSL@release-1-16
- [email protected]
- [email protected]
- [email protected]
- nanomsg@c52f1bedca6b72fb31b473929d99f2fe90a13445
- [email protected]
- Python@alice/v2.7.10
- [email protected]
- [email protected]
- ROOT@v6-08-02
- [email protected]
- [email protected]
- FairRoot@alice-dev-20170524
- [email protected]
- O2@dev
- flpproto (development package)
You have packages in development mode.
This means their source code can be freely modified under:
/home/o2/test/<package_name>
aliBuild does not automatically update such packages to avoid work loss.
In most cases this is achieved by doing in the package source directory:
git pull --rebase
Using cached build for defaults-o2-daq
Using cached build for autotools
Using cached build for sqlite
Using cached build for GCC-Toolchain
Using cached build for ZeroMQ
Using cached build for ApMon-CPP
Using cached build for CMake
Using cached build for protobuf
Using cached build for GSL
Using cached build for libpng
Using cached build for googletest
Using cached build for Vc
Using cached build for grpc
Using cached build for Python
Using cached build for Python-modules
Using cached build for boost
Using cached build for ROOT
Using cached build for DDS
Building [email protected]
ERROR: Error while executing /home/o2/test/sw/SPECS/slc7_x86-64/Configuration/v1.0.0-1/build.sh on `opal'.
ERROR: Log can be found in /home/o2/test/sw/BUILD/Configuration-latest/log.
ERROR: Please attach this file if you intend to request support.
ERROR: Build directory is /home/o2/test/sw/BUILD/Configuration-latest/Configuration.
WARNING: Package GCC-Toolchain cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; set -e
WARNING: which gfortran || { echo "gfortran missing"; exit 1; }
WARNING: which cc && test -f $(dirname $(which cc))/c++ && printf "#define GCCVER ((__GNUC__ << 16)+(__GNUC_MINOR__ << 8)+(__GNUC_PATCHLEVEL__))\n#if (GCCVER < 0x060200)\n#error \"System's GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version.\"\n#endif\n" | cc -xc++ - -c -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: GCC-Toolchain: /usr/bin/gfortran
WARNING: GCC-Toolchain: /usr/bin/cc
WARNING: GCC-Toolchain: <stdin>:3:2: error: #error "System's GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version."
WARNING: GCC-Toolchain:
WARNING:
WARNING: Package CMake cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; which cmake && case `cmake --version | sed -e 's/.* //' | cut -d. -f1,2,3 | head -n1` in [0-2]*|3.[0-7].*) exit 1 ;; esac
WARNING:
WARNING: with the following output:
WARNING:
WARNING: CMake: which: no cmake in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/o2/.local/bin:/home/o2/bin:/home/o2/.local/bin:/home/o2/bin)
WARNING: CMake:
WARNING:
SUCCESS: Required package curl will be picked up from the system.
WARNING: Package boost cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include \"boost/version.hpp\"\n# if (BOOST_VERSION < 105900)\n#error \"Cannot use system's boost. Boost > 1.59.00 required.\"\n#endif\nint main(){}" | gcc -I$(brew --prefix boost)/include -xc++ - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: boost: <stdin>:1:29: fatal error: boost/version.hpp: No such file or directory
WARNING: boost: compilation terminated.
WARNING: boost:
WARNING:
WARNING: Package protobuf cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include \"google/protobuf/any.h\"\nint main(){}" | c++ -I$(brew --prefix protobuf)/include -Wno-deprecated-declarations -xc++ - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: protobuf: <stdin>:1:33: fatal error: google/protobuf/any.h: No such file or directory
WARNING: protobuf: compilation terminated.
WARNING: protobuf:
WARNING:
WARNING: Package autotools cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; export PATH=$PATH:$(brew --prefix gettext || true)/bin
WARNING: which autoconf || { echo "autoconf missing" && exit 1; }
WARNING: which m4 || { echo "m4 missing" && exit 1; }
WARNING: which automake || { echo "automake missing" && exit 1; }
WARNING: which makeinfo || { echo "makeinfo missing" && exit 1; }
WARNING: which aclocal || { echo "aclocal missing" && exit 1; }
WARNING: which pkg-config || { echo "pkg-config missing" && exit 1; }
WARNING: which autopoint || { echo "autopoint / automake missing" && exit 1; }
WARNING: which libtool || { echo "libtool missing" && exit 1; }
WARNING:
WARNING: with the following output:
WARNING:
WARNING: autotools: /usr/bin/autoconf
WARNING: autotools: /usr/bin/m4
WARNING: autotools: /usr/bin/automake
WARNING: autotools: which: no makeinfo in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/o2/.local/bin:/home/o2/bin:/home/o2/.local/bin:/home/o2/bin:/bin)
WARNING: autotools: makeinfo missing
WARNING: autotools:
WARNING:
SUCCESS: Required package yacc-like will be picked up from the system.
WARNING: Package Python cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; python -c 'import sys; import sqlite3; sys.exit(1 if sys.version_info < (2, 7) else 0)' && pip --help > /dev/null && printf '#include "pyconfig.h"' | gcc -c -I$(python-config --includes) -xc -o /dev/null -
WARNING:
WARNING: with the following output:
WARNING:
WARNING: Python: /bin/sh: python-config: command not found
WARNING: Python: gcc: error: -E or -x required when input is from standard input
WARNING: Python:
WARNING:
SUCCESS: Required package bz2 will be picked up from the system.
WARNING: Package ZeroMQ cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include <zmq.h>\n#if(ZMQ_VERSION < 40103)\n#error \"zmq version >= 4.1.3 needed\"\n#endif\n int main(){}" | gcc -I$(brew --prefix zeromq)/include $([[ -d $(brew --prefix zeromq) ]] || echo "-l:libzmq.a") -xc++ - -o /dev/null 2>&1
WARNING:
WARNING: with the following output:
WARNING:
WARNING: ZeroMQ: <stdin>:1:17: fatal error: zmq.h: No such file or directory
WARNING: ZeroMQ: compilation terminated.
WARNING: ZeroMQ:
WARNING:
WARNING: Package nanomsg cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include \"nanomsg/nn.h\"\nint main(){}" | cc -I$(brew --prefix nanomsg)/include -Wno-deprecated-declarations -xc - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: nanomsg: <stdin>:1:24: fatal error: nanomsg/nn.h: No such file or directory
WARNING: nanomsg: compilation terminated.
WARNING: nanomsg:
WARNING:
SUCCESS: Required package termcap will be picked up from the system.
SUCCESS: Package FreeType will be picked up from the system.
WARNING: Package libpng cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include <png.h>\n" | gcc -xc++ - `libpng-config --cflags` -c -M 2>&1
WARNING:
WARNING: with the following output:
WARNING:
WARNING: libpng: /bin/sh: libpng-config: command not found
WARNING: libpng: <stdin>:1:17: fatal error: png.h: No such file or directory
WARNING: libpng: compilation terminated.
WARNING: libpng:
WARNING:
WARNING: Package sqlite cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf '#include <sqlite3.h>\nint main(){}\n' | cc -xc - -lsqlite3 -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: sqlite: <stdin>:1:21: fatal error: sqlite3.h: No such file or directory
WARNING: sqlite: compilation terminated.
WARNING: sqlite:
WARNING:
WARNING: Package GSL cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf "#include \"gsl/gsl_version.h\"\n#define GSL_V GSL_MAJOR_VERSION * 100 + GSL_MINOR_VERSION\n# if (GSL_V < 116)\n#error \"Cannot use system's gsl. Notice we only support versions from 1.16 (included)\"\n#endif\nint main(){}" | gcc -I$(brew --prefix gsl)/include -xc++ - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: GSL: <stdin>:1:29: fatal error: gsl/gsl_version.h: No such file or directory
WARNING: GSL: compilation terminated.
WARNING: GSL:
WARNING:
SUCCESS: Required package opengl will be picked up from the system.
SUCCESS: Required package Xdevel will be picked up from the system.
WARNING: Package Python-modules cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; python -c 'import matplotlib,numpy,certifi,IPython,ipywidgets,ipykernel,notebook.notebookapp,metakernel,yaml'
WARNING:
WARNING: with the following output:
WARNING:
WARNING: Python-modules: Traceback (most recent call last):
WARNING: Python-modules: File "<string>", line 1, in <module>
WARNING: Python-modules: ImportError: No module named matplotlib
WARNING: Python-modules:
WARNING:
The following packages will be picked up from the system:
- FreeType
If this is not you want, you have to uninstall / unload them.
The following packages will be build by aliBuild because they couldn't be picked up from the system:
- Python-modules
- sqlite
- CMake
- protobuf
- Python
- GCC-Toolchain
- nanomsg
- libpng
- ZeroMQ
- autotools
- boost
- GSL
This is not a real issue, but it might take longer the first time you invoke aliBuild.
+ case $ARCHITECTURE in
+ cmake /home/o2/test/sw/SOURCES/Configuration/v1.0.0/v1.0.0 -DCMAKE_INSTALL_PREFIX=/home/o2/test/sw/INSTALLROOT/444e66a43cf7f739b26553939406cff1b8827135/slc7_x86-64/Configuration/v1.0.0-1 -DCMAKE_PREFIX_PATH=/home/o2/test/sw/slc7_x86-64/protobuf/v3.0.2-1 -DBOOST_ROOT=/home/o2/test/sw/slc7_x86-64/boost/v1.64.0-alice1_O2_DAQ-1 -DBoost_DIR=/home/o2/test/sw/slc7_x86-64/boost/v1.64.0-alice1_O2_DAQ-1 -DBoost_INCLUDE_DIR=/home/o2/test/sw/slc7_x86-64/boost/v1.64.0-alice1_O2_DAQ-1/include
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /home/o2/test/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/cc
-- Check for working C compiler: /home/o2/test/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/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: /home/o2/test/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/c++
-- Check for working CXX compiler: /home/o2/test/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- unit_test_framework
-- program_options
-- Optional package rapidjson was not found
CMake Error at /home/o2/test/sw/slc7_x86-64/CMake/v3.8.2-1/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
/home/o2/test/sw/slc7_x86-64/CMake/v3.8.2-1/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
/home/o2/test/sw/slc7_x86-64/CMake/v3.8.2-1/share/cmake-3.8/Modules/FindCURL.cmake:48 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/ConfigurationDependencies.cmake:7 (find_package)
CMakeLists.txt:29 (include)
-- Configuring incomplete, errors occurred!
See also "/home/o2/test/sw/BUILD/444e66a43cf7f739b26553939406cff1b8827135/Configuration/CMakeFiles/CMakeOutput.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment