Project

General

Profile

Actions

Bug #50040

closed

nautilus: install-deps.sh broken on nautilus/bionic

Added by Yuri Weinstein about 3 years ago. Updated about 3 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

./install-deps.sh
Using apt-get to install dependencies
Reading package lists... Done
Building dependency tree       
Reading state information... Done
equivs is already the newest version (2.1.0).
devscripts is already the newest version (2.17.12ubuntu1.1).
The following packages were automatically installed and are no longer required:
  dh-python libexpat1-dev libpython3-dev libpython3.6-dev python3-dev python3.6-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dpkg-dev is already the newest version (1.19.0.5ubuntu2.3).
The following packages were automatically installed and are no longer required:
  dh-python libexpat1-dev libpython3-dev libpython3.6-dev python3-dev python3.6-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
mk-build-deps: warning: can't parse dependency libxmlsec1               libxmlsec1-nss               libxmlsec1-openssl               libxmlsec1-dev               lsb-release
Use of uninitialized value $positive in concatenation (.) or string at /usr/bin/mk-build-deps line 515.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'ceph-build-deps' in '../ceph-build-deps_14.2.18-1_amd64.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package ceph-build-deps.
(Reading database ... 41991 files and directories currently installed.)
Preparing to unpack ceph-build-deps_14.2.18-1_amd64.deb ...
Unpacking ceph-build-deps (14.2.18-1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dh-python libexpat1-dev libpython3-dev libpython3.6-dev python3-dev python3.6-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ceph-build-deps (14.2.18-1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dh-python libexpat1-dev libpython3-dev libpython3.6-dev python3-dev python3.6-dev
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph-build-deps
0 upgraded, 0 newly installed, 1 to remove and 94 not upgraded.
After this operation, 9216 B disk space will be freed.
(Reading database ... 41995 files and directories currently installed.)
Removing ceph-build-deps (14.2.18-1) ...
./install-deps.sh: line 441: virtualenv: command not found
./install-deps.sh: line 444: /root/wip-yuri8-testing/install-deps-python2.7_tmp/bin/pip: No such file or directory
./install-deps.sh: line 445: /root/wip-yuri8-testing/install-deps-python2.7_tmp/bin/pip: No such file or directory
./install-deps.sh: line 446: /root/wip-yuri8-testing/install-deps-python2.7_tmp/bin/virtualenv: No such file or directory
./install-deps.sh: line 449: /root/wip-yuri8-testing/install-deps-python2.7/bin/activate: No such file or directory
./install-deps.sh: line 426: pip: command not found

Actions #1

Updated by Brad Hubbard about 3 years ago

  • Subject changed from install-deps.sh broken on nautilus/bionic to nautilus: install-deps.sh broken on nautilus/bionic

Key issue here appears to be this.

mk-build-deps: warning: can't parse dependency libxmlsec1               libxmlsec1-nss               libxmlsec1-openssl               libxmlsec1-dev 

This is happening because of missing commas at the end of these lines.

$ grep -C1 libxmlsec debian/control 
               librdkafka-dev,
# Make-Check   libxmlsec1
# Make-Check   libxmlsec1-nss
# Make-Check   libxmlsec1-openssl
# Make-Check   libxmlsec1-dev
               lsb-release,

Seems like https://github.com/ceph/ceph/pull/40407 somehow activated this code which I guess has been dormant prior to that?

Anyway, this has been fixed in master so we just need to backport f6d7fd28afc3173f023fc290ad57fbcd9e0f3789.

Actions #2

Updated by Brad Hubbard about 3 years ago

  • Pull request ID set to 40482
Actions #3

Updated by Brad Hubbard about 3 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Brad Hubbard
Actions #4

Updated by Brad Hubbard about 3 years ago

  • Pull request ID changed from 40482 to 40485
Actions #5

Updated by Brad Hubbard about 3 years ago

  • Assignee changed from Brad Hubbard to Kefu Chai
Actions #6

Updated by Kefu Chai about 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF