Skip to content

Instantly share code, notes, and snippets.

@jortel
Last active January 15, 2019 17:19
Show Gist options
  • Select an option

  • Save jortel/8bea3b50c08dcfd6311d0c954eb45815 to your computer and use it in GitHub Desktop.

Select an option

Save jortel/8bea3b50c08dcfd6311d0c954eb45815 to your computer and use it in GitHub Desktop.
[jortel@f27a pulp-certguard]$ sudo pip3 install createrepo-c
Collecting createrepo-c
Using cached https://files.pythonhosted.org/packages/e6/64/5d15820ea82fa1fdae773fbccef14b0aaf240eb0be17423811e010c16deb/createrepo_c-0.11.1.post1.tar.gz
Installing build dependencies ... done
Building wheels for collected packages: createrepo-c
Running setup.py bdist_wheel for createrepo-c ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-tl26t06m/createrepo-c/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-7ufcs7o9 --python-tag cp36:
--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-tl26t06m/createrepo-c/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying "Unix Makefiles" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.3.1
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-tl26t06m/createrepo-c/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Unix Makefiles" generator - success
--------------------------------------------------------------------------------
-- The C compiler identification is GNU 7.3.1
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBZip2.cmake:51 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/setuptools_wrap.py", line 548, in setup
languages=cmake_languages
File "/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/cmaker.py", line 232, in configure
os.path.abspath(CMAKE_BUILD_DIR)))
An error occurred while configuring with CMake.
Command:
"cmake" "/tmp/pip-install-tl26t06m/createrepo-c" "-G" "Unix Makefiles" "-DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-install" "-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3" "-DPYTHON_VERSION_STRING:STRING=3.6.5" "-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.6m" "-DPYTHON_LIBRARY:FILEPATH=/usr/lib64/libpython3.6m.so" "-DSKBUILD:BOOL=TRUE" "-DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/resources/cmake" "-DBIN_INSTALL_DIR:PATH=src/python/createrepo_c/data/bin" "-DBUILD_LIBCREATEREPO_C_SHARED:BOOL=OFF" "-DCREATEREPO_C_INSTALL_DEVELOPMENT:BOOL=OFF" "-DCREATEREPO_C_INSTALL_MANPAGES:BOOL=OFF" "-DENABLE_BASHCOMP:BOOL=OFF" "-DENABLE_DRPM:BOOL=OFF" "-DCMAKE_BUILD_TYPE:STRING=Release"
Source directory:
/tmp/pip-install-tl26t06m/createrepo-c
Working directory:
/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-build
Please see CMake's output for more information.
----------------------------------------
Failed building wheel for createrepo-c
Running setup.py clean for createrepo-c
Failed to build createrepo-c
Installing collected packages: createrepo-c
Running setup.py install for createrepo-c ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-tl26t06m/createrepo-c/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-o6qogp8g/install-record.txt --single-version-externally-managed --compile:
--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-tl26t06m/createrepo-c/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying "Unix Makefiles" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.3.1
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-tl26t06m/createrepo-c/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Unix Makefiles" generator - success
--------------------------------------------------------------------------------
-- The C compiler identification is GNU 7.3.1
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBZip2.cmake:51 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/setuptools_wrap.py", line 548, in setup
languages=cmake_languages
File "/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/cmaker.py", line 232, in configure
os.path.abspath(CMAKE_BUILD_DIR)))
An error occurred while configuring with CMake.
Command:
"cmake" "/tmp/pip-install-tl26t06m/createrepo-c" "-G" "Unix Makefiles" "-DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-install" "-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3" "-DPYTHON_VERSION_STRING:STRING=3.6.5" "-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.6m" "-DPYTHON_LIBRARY:FILEPATH=/usr/lib64/libpython3.6m.so" "-DSKBUILD:BOOL=TRUE" "-DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-fhh75_to/lib/python3.6/site-packages/skbuild/resources/cmake" "-DBIN_INSTALL_DIR:PATH=src/python/createrepo_c/data/bin" "-DBUILD_LIBCREATEREPO_C_SHARED:BOOL=OFF" "-DCREATEREPO_C_INSTALL_DEVELOPMENT:BOOL=OFF" "-DCREATEREPO_C_INSTALL_MANPAGES:BOOL=OFF" "-DENABLE_BASHCOMP:BOOL=OFF" "-DENABLE_DRPM:BOOL=OFF" "-DCMAKE_BUILD_TYPE:STRING=Release"
Source directory:
/tmp/pip-install-tl26t06m/createrepo-c
Working directory:
/tmp/pip-install-tl26t06m/createrepo-c/_skbuild/linux-x86_64-3.6/cmake-build
Please see CMake's output for more information.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-tl26t06m/createrepo-c/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-o6qogp8g/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-tl26t06m/createrepo-c/
[jortel@f27a pulp-certguard]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment