Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64586 closed defect (fixed)

mongodb @5.0.6 build failure: requests-oauthlib requirement version-locked to 1.3.0

Reported by: ziggy90127 (ziggy90127) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mongodb, mongodb-devel

Description (last modified by jmroot (Joshua Root))

# Mac OS 10.14.6

# new Command Line Tools 13.3.1 installed

# new Xcode 13.3.1 installed

# new MacPorts-2.7.1-10.14-Mojave.pkg installed

# missing dependency installed

sudo port install py39-pip

sudo port install mongodb

# install fails # missing directories while looking for mongodb-5.0.6_0.darwin_18.x86_64.tbz2: # http://packages.macports.org/mongodb directory does not exist # http://ywg.ca.packages.macports.org/mirror/macports/packages/mongodb directory does not exist # http://kmq.jp.packages.macports.org/mongodb directory does not exist

# Compile of mongodb-src-r5.0.6.tar.gz fails

--->  Computing dependencies for mongodb
--->  Fetching archive for mongodb
--->  Attempting to fetch mongodb-5.0.6_0.darwin_18.x86_64.tbz2 from http://packages.macports.org/mongodb
--->  Attempting to fetch mongodb-5.0.6_0.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/mongodb
--->  Attempting to fetch mongodb-5.0.6_0.darwin_18.x86_64.tbz2 from http://kmq.jp.packages.macports.org/mongodb
--->  Building mongodb
Error: Failed to build mongodb: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port mongodb failed

Attachments (1)

main.log (319.7 KB) - added by ziggy90127 (ziggy90127) 2 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by ziggy90127 (ziggy90127)

Attachment: main.log added

main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to ryandesign
Port: mongodb added
Status: newassigned
Summary: sudo port install mongodbmongodb @5.0.6 build failure: requests-oauthlib requirement version-locked to 1.3.0
:info:build (requests-oauthlib 1.3.1 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages), Requirement.parse('requests-oauthlib==1.3.0'))

It claims to need the requests-oauthlib python module at exactly version 1.3.0, whereas py-requests-oauthlib is currently 1.3.1.

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Port: mongodb-devel added
Status: assignedaccepted

Great. I already reverted two commits worth of their overzealous dependency pinning but I guess not this one. The developers erroneously closed my bug report as a duplicate and have not yet reopened it.

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 067ac9f2319467cce02b9c67eca97bf59bdfd5f9/macports-ports (master):

mongodb, mongodb-devel: Unpin more dependencies

Closes: #64586

comment:4 Changed 2 years ago by ziggy90127 (ziggy90127)

I've tested and it installs! Thank you!

Note: See TracTickets for help on using tickets.