Project

General

Profile

Bug #42032

build: cmake fails for lack of libcap-ng-devel, not installed by install-deps.sh

Added by Eric Ivancich 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The `cmake` command failed for me on master running Fedora 29. Seemed libcap-ng-devel was missing. Ran install-deps.sh and tried again and it still failed. Only after 'sudo dnf install -y libcap-ng-devel` did the cmake command succeed allowing me to build ceph.

History

#1 Updated by Nathan Cutler 6 months ago

  • Status changed from New to In Progress
  • Assignee set to Nathan Cutler

#2 Updated by Nathan Cutler 6 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Nathan Cutler to Jeff Layton
  • Pull request ID set to 29817

fixed by https://github.com/ceph/ceph/pull/29817 which was merged eight days ago

#3 Updated by Nathan Cutler 6 months ago

Eric, can you try again on tip of master?

#4 Updated by Nathan Cutler 6 months ago

Also, if the bug is still reproducible on the tip of master, please include a "typescript" of the full install-deps.sh output, obtained by:

$ script
$ ./install-deps.sh
$ <CTRL-Z>

#5 Updated by Eric Ivancich 6 months ago

  • Status changed from Resolved to New

I'm still experiencing the issue on the tip of master:

commit 8d6d084d08d28c6afc0dc5246efd43b0a3dca00d (HEAD -> master, ceph/master, ceph/HEAD)

Here is the typescript you asked for with both install-deps.sh and cmake commands. If I'm doing something wrong, please let me know.

Script started on 2019-09-25 15:56:59-04:00
ivancich@shishito:~/ceph-work1/ceph (master)$ ./install-deps.sh
Using dnf to install dependencies
[sudo] password for ivancich:
Last metadata expiration check: 2:32:53 ago on Wed Sep 25 13:24:18 2019.
Package blender-rpm-macros-1:2.79b-17.fc29.noarch is already installed.
Package blis-srpm-macros-0.4.1-2.fc29.noarch is already installed.
Package cmake-rpm-macros-3.14.5-1.fc29.noarch is already installed.
Package efi-srpm-macros-3-3.fc29.noarch is already installed.
Package erlang-rpm-macros-0.2.9-3.fc29.noarch is already installed.
Package fedora-rpm-macros-26-5.fc29.noarch is already installed.
Package flatpak-rpm-macros-27-6.fc29.noarch is already installed.
Package fpc-srpm-macros-1.1-5.fc29.noarch is already installed.
Package ghc-rpm-macros-1.9.5-5.fc29.noarch is already installed.
Package ghc-srpm-macros-1.4.2-8.fc29.noarch is already installed.
Package gnat-srpm-macros-4-6.fc29.noarch is already installed.
Package go-srpm-macros-2-18.fc29.noarch is already installed.
Package kde-apps-rpm-macros-6:4.14.38-9.fc29.noarch is already installed.
Package kernel-rpm-macros-119-1.fc29.noarch is already installed.
Package kf5-rpm-macros-5.58.0-1.fc29.noarch is already installed.
Package nim-srpm-macros-1-3.fc29.noarch is already installed.
Package ocaml-srpm-macros-5-4.fc29.noarch is already installed.
Package openblas-srpm-macros-2-4.fc29.noarch is already installed.
Package perl-srpm-macros-1-28.fc29.noarch is already installed.
Package postgresql-test-rpm-macros-10.9-1.fc29.x86_64 is already installed.
Package python-qt5-rpm-macros-5.11.3-1.fc29.noarch is already installed.
Package python-rpm-macros-3-37.fc29.noarch is already installed.
Package python-srpm-macros-3-37.fc29.noarch is already installed.
Package python2-rpm-macros-3-37.fc29.noarch is already installed.
Package python3-rpm-macros-3-37.fc29.noarch is already installed.
Package qt5-rpm-macros-5.11.3-1.fc29.noarch is already installed.
Package qt5-srpm-macros-5.11.3-1.fc29.noarch is already installed.
Package rust-srpm-macros-6-3.fc29.noarch is already installed.
Package typelib-srpm-macros-1-2.fc29.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 2:32:56 ago on Wed Sep 25 13:24:18 2019.
Package CUnit-devel-2.1.3-18.fc29.x86_64 is already installed.
Package boost-random-1.66.0-14.fc29.x86_64 is already installed.
Package checkpolicy-2.8-3.fc29.x86_64 is already installed.
Package cmake-3.14.5-1.fc29.x86_64 is already installed.
Package cryptsetup-2.0.6-1.fc29.x86_64 is already installed.
Package expat-devel-2.2.6-1.fc29.x86_64 is already installed.
Package fuse-devel-2.9.9-7.fc29.x86_64 is already installed.
Package gcc-c++-8.3.1-2.fc29.x86_64 is already installed.
Package gdbm-1:1.18-1.fc29.x86_64 is already installed.
Package gperf-3.1-6.fc29.x86_64 is already installed.
Package gperftools-devel-2.7-3.fc29.x86_64 is already installed.
Package java-1.8.0-openjdk-devel-1:1.8.0.212.b04-0.fc29.x86_64 is already installed.
Package jq-1.5-13.fc29.x86_64 is already installed.
Package junit-1:4.12-10.fc29.noarch is already installed.
Package keyutils-libs-devel-1.5.10-8.fc29.x86_64 is already installed.
Package leveldb-devel-1.20-3.fc29.x86_64 is already installed.
Package libaio-devel-0.3.111-3.fc29.x86_64 is already installed.
Package libbabeltrace-devel-1.5.6-1.fc29.x86_64 is already installed.
Package libblkid-devel-2.32.1-1.fc29.x86_64 is already installed.
Package libcurl-devel-7.61.1-11.fc29.x86_64 is already installed.
Package rdma-core-devel-16.2-3.fc28.x86_64 is already installed.
Package libnl3-devel-3.4.0-6.fc29.x86_64 is already installed.
Package liboath-devel-2.6.2-1.fc29.x86_64 is already installed.
Package librabbitmq-devel-0.9.0-2.fc29.x86_64 is already installed.
Package rdma-core-devel-16.2-3.fc28.x86_64 is already installed.
Package libtool-2.4.6-27.fc29.x86_64 is already installed.
Package libtool-ltdl-devel-2.4.6-27.fc29.x86_64 is already installed.
Package systemd-devel-239-12.git8bca462.fc29.x86_64 is already installed.
Package libuuid-devel-2.32.1-1.fc29.x86_64 is already installed.
Package libxml2-devel-2.9.8-5.fc29.x86_64 is already installed.
Package lttng-ust-devel-2.10.1-4.fc29.x86_64 is already installed.
Package lz4-devel-1.8.3-1.fc29.x86_64 is already installed.
Package make-1:4.2.1-10.fc29.x86_64 is already installed.
Package ncurses-devel-6.1-8.20180923.fc29.x86_64 is already installed.
Package nss-devel-3.44.0-2.fc29.x86_64 is already installed.
Package openldap-devel-2.4.46-10.fc29.x86_64 is already installed.
Package openssl-devel-1:1.1.1c-2.fc29.x86_64 is already installed.
Package parted-3.2-36.fc29.x86_64 is already installed.
Package patch-2.7.6-8.fc29.x86_64 is already installed.
Package perl-4:5.28.2-431.fc29.x86_64 is already installed.
Package pkgconf-pkg-config-1.5.3-2.fc29.x86_64 is already installed.
Package procps-ng-3.3.15-4.fc29.x86_64 is already installed.
Package python3-3.7.3-3.fc29.x86_64 is already installed.
Package python3-bcrypt-3.1.4-6.fc29.x86_64 is already installed.
Package python3-cherrypy-8.9.1-5.fc29.noarch is already installed.
Package python3-coverage-4.5.1-3.fc29.x86_64 is already installed.
Package python3-devel-3.7.3-3.fc29.x86_64 is already installed.
Package python3-jwt-1.6.4-1.fc29.noarch is already installed.
Package python3-nose-1.3.7-21.fc29.noarch is already installed.
Package python3-pecan-1.3.2-4.fc29.noarch is already installed.
Package python3-prettytable-0.7.2-15.fc29.noarch is already installed.
Package python3-pyOpenSSL-19.0.0-1.fc29.noarch is already installed.
Package python3-requests-2.20.0-1.fc29.noarch is already installed.
Package python3-routes-2.4.1-7.fc29.noarch is already installed.
Package python3-setuptools-40.8.0-1.fc29.noarch is already installed.
Package python3-six-1.11.0-6.fc29.noarch is already installed.
Package python3-sphinx-1:1.7.6-1.fc29.noarch is already installed.
Package python3-tox-3.4.0-1.fc29.noarch is already installed.
Package python3-virtualenv-16.0.0-5.fc29.noarch is already installed.
Package python3-werkzeug-0.14.1-7.fc29.noarch is already installed.
No matching package to install: 'python37-Cython'
Package redhat-lsb-core-4.1-45.fc29.x86_64 is already installed.
Package redhat-rpm-config-119-1.fc29.noarch is already installed.
Package selinux-policy-devel-3.14.2-60.fc29.noarch is already installed.
Package sharutils-4.15.2-13.fc29.x86_64 is already installed.
Package snappy-devel-1.1.7-8.fc29.x86_64 is already installed.
Package socat-1.7.3.2-7.fc29.x86_64 is already installed.
Package sudo-1.8.27-1.fc29.x86_64 is already installed.
Package systemd-udev-239-12.git8bca462.fc29.x86_64 is already installed.
Package util-linux-2.32.1-1.fc29.x86_64 is already installed.
Package valgrind-devel-1:3.15.0-1.fc29.x86_64 is already installed.
Package which-2.21-11.fc29.x86_64 is already installed.
Package xfsprogs-4.17.0-3.fc29.x86_64 is already installed.
Package xfsprogs-devel-4.17.0-3.fc29.x86_64 is already installed.
Package xmlsec1-1.2.25-5.fc29.x86_64 is already installed.
Package xmlsec1-devel-1.2.25-5.fc29.x86_64 is already installed.
Package xmlsec1-nss-1.2.25-5.fc29.x86_64 is already installed.
Package xmlsec1-openssl-1.2.25-5.fc29.x86_64 is already installed.
Package xmlsec1-openssl-devel-1.2.25-5.fc29.x86_64 is already installed.
Package xmlstarlet-1.6.1-11.fc29.x86_64 is already installed.
Package yasm-1.3.0-8.fc29.x86_64 is already installed.
Not all dependencies satisfied
Error: Some packages could not be found.
ivancich@shishito:~/ceph-work1/ceph (master)$ cd build/
ivancich@shishito:~/ceph-work1/ceph/build (master)$ ls
ivancich@shishito:~/ceph-work1/ceph/build (master)$ cmake \

.. \
-DENABLE_GIT_VERSION=OFF \
-DCMAKE_BUILD_TYPE=Debug \
-DBOOST_J=12 \
-DDIAGNOSTICS_COLOR=always \
-DWITH_MGR=ON \
-DWITH_CEPHFS=OFF \
-DWITH_RBD=OFF \
-DWITH_KRBD=OFF \
-DWITH_LEVELDB=OFF \
-DWITH_MGR_DASHBOARD_FRONTEND=OFF \
-DWITH_RDMA=OFF \
-DWITH_SEASTAR=OFF \
-DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3

-- The CXX compiler identification is GNU 8.3.1
-- The C compiler identification is GNU 8.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/lib64/ccache/cc
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for fallocate
-- Looking for fallocate - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for syncfs
-- Looking for syncfs - found
-- Looking for sync_file_range
-- Looking for sync_file_range - found
-- Looking for pwritev
-- Looking for pwritev - found
-- Looking for splice
-- Looking for splice - found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for name_to_handle_at
-- Looking for name_to_handle_at - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for accept4
-- Looking for accept4 - found
-- Looking for pthread_spin_init
-- Looking for pthread_spin_init - found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for pthread_get_name_np
-- Looking for pthread_get_name_np - not found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_rwlockattr_setkind_np
-- Looking for pthread_rwlockattr_setkind_np - found
-- Looking for eventfd
-- Looking for eventfd - found
-- Looking for getprogname
-- Looking for getprogname - not found
-- Looking for include file linux/types.h
-- Looking for include file linux/types.h - found
-- Looking for include file linux/version.h
-- Looking for include file linux/version.h - found
-- Looking for include file arpa/nameser_compat.h
-- Looking for include file arpa/nameser_compat.h - found
-- Looking for include file sys/mount.h
-- Looking for include file sys/mount.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/vfs.h
-- Looking for include file sys/vfs.h - found
-- Looking for include file sys/prctl.h
-- Looking for include file sys/prctl.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file valgrind/helgrind.h
-- Looking for include file valgrind/helgrind.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of u8
-- Check size of __u8 - done
-- Check size of __u16
-- Check size of __u16 - done
-- Check size of __u32
-- Check size of __u32 - done
-- Check size of __u64
-- Check size of __u64 - done
-- Check size of __s8
-- Check size of __s8 - done
-- Check size of __s16
-- Check size of __s16 - done
-- Check size of __s32
-- Check size of __s32 - done
-- Check size of __s64
-- Check size of __s64 - done
-- Looking for res_nquery
-- Looking for res_nquery - found
-- Looking for F_SETPIPE_SZ
-- Looking for F_SETPIPE_SZ - found
-- Looking for __func

-- Looking for func - found
-- Looking for PRETTY_FUNCTION
-- Looking for PRETTY_FUNCTION - found
-- Looking for getentropy
-- Looking for getentropy - found
-- Performing Test STRERROR_R_CHAR_P
-- Performing Test STRERROR_R_CHAR_P - Success
-- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_UNALIGNED_ACCESS
-- Performing Test HAVE_UNALIGNED_ACCESS - Success
-- Performing Test HAVE_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Found udev: /usr/lib64/libudev.so
-- Found blkid: /usr/lib64/libblkid.so
-- Found OpenLdap: /usr/include
-- Found fuse: /usr/include/fuse
-- Found xfs: /usr/lib64/libhandle.so
-- Found aio: /lib64/libaio.so
-- Found snappy: /lib64/libsnappy.so
-- Found LZ4: /usr/lib64/liblz4.so (found suitable version "1.8.3", minimum required is "1.7")
-- Found gperftools: /usr/include (found version "2.7")
-- Found keyutils: /usr/lib64/libkeyutils.so
-- Found CURL: /usr/lib64/libcurl.so (found version "7.61.1")
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1c")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.6")
-- Found OATH: /usr/lib64/liboath.so
'--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--disable-static' '--enable-symbol-hiding' '--enable-ipv6' '--enable-threaded-resolver' '--with-gssapi' '--with-nghttp2' '--with-ssl' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--enable-ldap' '--enable-ldaps' '--enable-manual' '--with-brotli' '--with-libidn2' '--with-libmetalink' '--with-libpsl' '--with-libssh' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
-
libcurl is linked with openssl: explicitly setting locks
-- ssl soname: libssl.so.1.1
-- crypto soname: libcrypto.so.1.1
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3") found components: Interpreter Development
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found LTTngUST: /usr/lib64/liblttng-ust.so;dl (found version "2.0.1")
-- Found babeltrace: /usr/include
-- BUILDING Boost Libraries at j 12
-- boost will be downloaded...
-- Found Boost: /home/ivancich/ceph-work1/ceph/build/boost/include
-- Found StdFilesystem: stdc++fs
-- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE
-- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE - Failed
-- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE
-- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE - Failed
-- Performing Test HAS_FORTIFY_SOURCE
-- Performing Test HAS_FORTIFY_SOURCE - Success
-- Performing Test HAS_STACK_PROTECT
-- Performing Test HAS_STACK_PROTECT - Success
-- Performing Test HAVE_INTEL_SSE
-- Performing Test HAVE_INTEL_SSE - Success
-- Performing Test HAVE_INTEL_SSE2
-- Performing Test HAVE_INTEL_SSE2 - Success
-- Performing Test HAVE_INTEL_SSE3
-- Performing Test HAVE_INTEL_SSE3 - Success
-- Performing Test HAVE_INTEL_SSSE3
-- Performing Test HAVE_INTEL_SSSE3 - Success
-- Performing Test HAVE_INTEL_PCLMUL
-- Performing Test HAVE_INTEL_PCLMUL - Success
-- Performing Test HAVE_INTEL_SSE4_1
-- Performing Test HAVE_INTEL_SSE4_1 - Success
-- Performing Test HAVE_INTEL_SSE4_2
-- Performing Test HAVE_INTEL_SSE4_2 - Success
-- Found Yasm: good -- capable of assembling x86_64
-- Performing Test HAVE_STDLIB_MAP_SPLICING
-- Performing Test HAVE_STDLIB_MAP_SPLICING - Success
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success
-- Found Python3: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3") found components: Interpreter Development
-- Could not find fmt, will build it
-- Version: 5.3.1
-- Build type: Debug
-- CXX_STANDARD: 17
-- Performing Test has_std_17_flag
-- Performing Test has_std_17_flag - Success
-- Performing Test has_std_1z_flag
-- Performing Test has_std_1z_flag - Success
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success
-- Performing Test SUPPORTS_INITIALIZER_LIST
-- Performing Test SUPPORTS_INITIALIZER_LIST - Success
-- Performing Test SUPPORTS_ENUM_BASE
-- Performing Test SUPPORTS_ENUM_BASE - Success
-- Performing Test SUPPORTS_TYPE_TRAITS
-- Performing Test SUPPORTS_TYPE_TRAITS - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Looking for open
-- Looking for open - found
-- Performing Test HAS_VTA
-- Performing Test HAS_VTA - Success
-- Found Cython3: 0.28
-- Found Python: /usr/bin/python3.7 (found version "3.7.3") found components: Interpreter
-- Performing Test HAS_WARNING_STRINGOP_TRUNCATION
-- Performing Test HAS_WARNING_STRINGOP_TRUNCATION - Success
-- Performing Test HAS_WARNING_DEPRECATED_COPY
-- Performing Test HAS_WARNING_DEPRECATED_COPY - Success
-- Performing Test HAS_WARNING_PESSIMIZING_MOVE
-- Performing Test HAS_WARNING_PESSIMIZING_MOVE - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Checking for module 'libcap-ng'
-- Package 'libcap-ng', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:457 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:642 (_pkg_check_modules_internal)
src/CMakeLists.txt:644 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/home/ivancich/ceph-work1/ceph/build/CMakeFiles/CMakeOutput.log".
See also "/home/ivancich/ceph-work1/ceph/build/CMakeFiles/CMakeError.log".
ivancich@shishito:~/ceph-work1/ceph/build (master)$ exit

Script done on 2019-09-25 15:58:01-04:00

#6 Updated by Jeff Layton 6 months ago

I think install-deps may be bailing out without installing it because of:

No matching package to install: 'python37-Cython'

Once dnf builddep fails, it just gives up at that point.

If I comment the corresponding BuildRequires line out of ceph.spec.in, then I can get libcap-ng-devel to install. Maybe install-deps.sh ought to fail with a more noticable error when it doesn't complete successfully?

#7 Updated by Eric Ivancich 6 months ago

  • Status changed from New to Closed

Jeff Layton wrote:

I think install-deps may be bailing out without installing it because of:

[...]

Once dnf builddep fails, it just gives up at that point.

If I comment the corresponding BuildRequires line out of ceph.spec.in, then I can get libcap-ng-devel to install. Maybe install-deps.sh ought to fail with a more noticable error when it doesn't complete successfully?

Thanks, Jeff.

#8 Updated by Jeff Layton 6 months ago

  • Status changed from Closed to In Progress

Let's keep this open for now. This is confusing, so it'd be good to have a more overt error there when this fails. Also, I'm not sure what's up with the cython package -- that still ought to be resolved.

#9 Updated by Nathan Cutler 6 months ago

@Jeff:

The last two lines emitted by install-deps.sh were:

Not all dependencies satisfied
Error: Some packages could not be found.

Doesn't that qualify as "failing with a noticeable error when it doesn't complete successfully"?

#10 Updated by Jeff Layton 6 months ago

Good point. The bigger question is why recent fedora versions aren't finding the python37-Cython package. I think this patch may be wrong

commit 6d2f66846d1b84595cfdf8ac13a7ed4e1ae608ce
Author: Kefu Chai <kchai@redhat.com>
Date:   Fri Aug 30 19:49:28 2019 +0800

    ceph.spec.in: s/pkgversion/version_nodots/

It's fine for centos/rhel, but Fedora still needs to use pkgversion, I think.

#12 Updated by Jeff Layton 6 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF