[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

Sergio Durigan Junior 1933378 at bugs.launchpad.net
Wed Jul 7 19:45:00 UTC 2021


Just to reinforce what was discussed, I can also confirm this bug.

@Heather, the requests package doesn't contain/depend on python-
requests, so I don't think there's anything we should do there.

I'm left wondering whether other packages depend on python-requests to
be built.

Either way, I see two possible solutions here:

- Remove the python-requests build-dependency from mongodb.  A quick
inspection (grep "import.*requests" -r) tells me that python-requests is
only used inside the buildscripts/ and the pytest/ directories.  I also
did a full rebuild here and confirmed that everything passes, so I
*think* it should be OK to just drop python-requests from B-D.

- Reintroduce python-requests to the archive.  While this would
guarantee that mongodb (and possibly other packages that B-D on python-
requests) builds fine, it would also mean going through a more extensive
SRU process, I think.

I'm leaning towards the first solution here.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

Status in mongodb package in Ubuntu:
  Confirmed
Status in requests package in Ubuntu:
  Confirmed

Bug description:
  root at focal:~/mongodb-3.6.9+really3.6.8+90~g8e540c0b6d# apt build-dep .
  Note, using directory '.' to get the build dependencies
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   builddeps:. : Depends: python-requests but it is not installable
  E: Unable to correct problems, you have held broken packages.

  root at focal:~/mongodb-3.6.9+really3.6.8+90~g8e540c0b6d# apt-get install python-requests
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package python-requests

  ------
  Need to drop support for Python2 in mongodb-server-core focal [0] 
  [0] https://launchpad.net/ubuntu/+source/requests/2.22.0-2ubuntu1

  installed version: 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5
  series release: focal 
  container: LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions



More information about the foundations-bugs mailing list