Actions
Bug #42612
closed"install-deps.sh" fails with "rpmspec: command not found" on openSUSE Tumbleweed 20191101
% Done:
0%
Description
The subject tells it all: running install-deps.sh
fails with an error:
# bash -x ./install-deps.sh + set -e + DIR=/tmp/install-deps.2006 + trap 'rm -fr /tmp/install-deps.2006' EXIT + mkdir -p /tmp/install-deps.2006 ++ id -u + test 0 '!=' 0 + export LC_ALL=C + LC_ALL=C ++ uname -m + ARCH=x86_64 + for_make_check=false + tty -s + for_make_check=true ++ uname + '[' xLinuxx = xFreeBSDx ']' + '[' ']' + with_seastar=false + source /etc/os-release ++ NAME='openSUSE Tumbleweed' ++ ID=opensuse-tumbleweed ++ ID_LIKE='opensuse suse' ++ VERSION_ID=20191101 ++ PRETTY_NAME='openSUSE Tumbleweed' ++ ANSI_COLOR='0;32' ++ CPE_NAME=cpe:/o:opensuse:tumbleweed:20191101 ++ BUG_REPORT_URL=https://bugs.opensuse.org ++ HOME_URL=https://www.opensuse.org/ ++ LOGO=distributor-logo + case "$ID" in + echo 'Using zypper to install dependencies' Using zypper to install dependencies + zypp_install='zypper --gpg-auto-import-keys --non-interactive install --no-recommends' + zypper --gpg-auto-import-keys --non-interactive install --no-recommends systemd-rpm-macros Loading repository data... Reading installed packages... 'systemd-rpm-macros' is already installed. No update candidate for 'systemd-rpm-macros-4-2.7.noarch'. The highest available version is already installed. Resolving package dependencies... Nothing to do. + munge_ceph_spec_in false true /tmp/install-deps.2006/ceph.spec + local with_seastar=false + shift + local for_make_check=true + shift + local OUTFILE=/tmp/install-deps.2006/ceph.spec + sed -e s/@//g + false + true + sed -i -e 's/%bcond_with make_check/%bcond_without make_check/g' /tmp/install-deps.2006/ceph.spec ++ rpmspec -q --buildrequires /tmp/install-deps.2006/ceph.spec ./install-deps.sh: line 418: rpmspec: command not found + zypper --gpg-auto-import-keys --non-interactive install --no-recommends Too few arguments. At least one package name is required. install (in) [OPTIONS] <CAPABILITY|RPM_FILE_URI> ... Install packages with specified capabilities or RPM files with specified location. A capability is NAME[.ARCH][OP<VERSION>], where OP is one of <, <=, =, >=, >. Command options: -t, --type <TYPE> Type of package (package, patch, pattern, product). -n, --name Select packages by plain name, not by capability. Default: false -C, --capability Select packages solely by capability. Default: false --details Show the detailed installation summary. Default: false --from <ALIAS|#|URI> Select packages from the specified repository. --oldpackage Allow to replace a newer item with an older one. Handy if you are doing a rollback. Unlike --force it will not enforce a reinstall. Default: false --allow-unsigned-rpm Silently install unsigned rpm packages given as commandline parameters. Default: false -f, --force Install even if the item is already installed (reinstall), downgraded or changes vendor or architecture. Default: false -r, --repo <ALIAS|#|URI> Work only with the specified repository. -y, --no-confirm Don't require user interaction. Alias for the --non-interactive global option. Default: true -D, --dry-run Don't change anything, just report what would be done. A meaningful file conflict check can only be performed if used together with '--download-only'. Default: false --replacefiles Install the packages even if they replace files from other, already installed, packages. Default is to treat file conflicts as an error. --download-as-needed disables the fileconflict check. Default: false -l, --auto-agree-with-licenses Automatically say 'yes' to third party license confirmation prompt. See 'man zypper' for more details. Default: false --download <MODE> Set the download-install mode. Available modes: only, in-advance, in-heaps, as-needed Default: DownloadDefault -d, --download-only Only download the packages, do not install. Solver options --debug-solver Create a solver test case for debugging. --force-resolution Force the solver to find a solution (even an aggressive one) rather than asking. -R, --no-force-resolution Do not force the solver to find a solution, let it ask. --solver-focus <MODE> Set the solvers general attitude when resolving a job. --recommends Install also recommended packages in addition to the required ones. --no-recommends Do not install recommended packages, only required ones. Expert options --allow-downgrade --no-allow-downgrade Whether to allow downgrading installed resolvables. --allow-name-change --no-allow-name-change Whether to allow changing the names of installed resolvables. --allow-arch-change --no-allow-arch-change Whether to allow changing the architecture of installed resolvables. --allow-vendor-change --no-allow-vendor-change Whether to allow changing the vendor of installed resolvables. + exit 1 + rm -fr /tmp/install-deps.2006
Indeed, the command rpmspec
was not available. It is included in package rpm-build
, which probably should be installed by install-deps.sh
beforehand.
Updated by Nathan Cutler over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 32083
Updated by Nathan Cutler over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43280: nautilus: "install-deps.sh" fails with "rpmspec: command not found" on openSUSE Tumbleweed 20191101 added
Updated by Nathan Cutler about 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions