Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#61447 closed defect (fixed)

git-lfs @2.12.1: build fails on macOS 11.0.1 "Big Sur" (x86_64)

Reported by: alexmarkley (Alex Markley) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: Tatsh (Andrew Udvare), jdswinbank (John Swinbank), tgyurci (Teubel György), Tommaso93, elventear (Pepe Barbe), mkuron (Michael Kuron), martinr448, mattbishop (Matt Bishop), timmr, fritzt0, radarhere (Andrew Murray), antimirov (Yevgen Antymyrov), stuartthebruce, judaew (Vadym-Valdis Yudaiev), rieder (Steven Rieder)
Port: git-lfs

Description

As the title says, using Macports (master branch build) on macOS 11.0.1 "Big Sur". (Regular x86_64 Mac)

The build fails with an error about ruby gem "mini_portfile2" which is apparently too new?

:info:build /opt/local/lib/ruby2.7/2.7.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'mini_portile2' (~> 2.4.0) - did find: [mini_portile2-2.5.0] (Gem::MissingSpecVersionError)
:info:build Checked in 'GEM_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_git-lfs/git-lfs/work/.home/.gem/ruby/2.7.0:/opt/local/lib/ruby2.7/gems/2.7.0', execute `gem env` for more information
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `each'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1373:in `activate'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `each'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1373:in `activate'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:296:in `block in activate_bin_path'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:295:in `synchronize'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:295:in `activate_bin_path'
:info:build 	from /opt/local/bin/ronn-2.7:23:in `<main>'
:info:build /opt/local/lib/ruby2.7/2.7.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'mini_portile2' (~> 2.4.0) - did find: [mini_portile2-2.5.0] (Gem::MissingSpecVersionError)
:info:build Checked in 'GEM_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_git-lfs/git-lfs/work/.home/.gem/ruby/2.7.0:/opt/local/lib/ruby2.7/gems/2.7.0', execute `gem env` for more information
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `each'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1373:in `activate'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `each'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems/specification.rb:1373:in `activate'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:296:in `block in activate_bin_path'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:295:in `synchronize'
:info:build 	from /opt/local/lib/ruby2.7/2.7.0/rubygems.rb:295:in `activate_bin_path'
:info:build 	from /opt/local/bin/ronn-2.7:23:in `<main>'
:info:build make: *** [man/git-lfs-clean.1] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [man/git-lfs-checkout.1] Error 1

Log is also attached.

Attachments (2)

main.log (116.4 KB) - added by alexmarkley (Alex Markley) 3 years ago.
main.log
patch-update-rb-ronn-ng.diff (6.8 KB) - added by judaew (Vadym-Valdis Yudaiev) 3 years ago.
Update ronn-rb to 0.9.1

Download all attachments as: .zip

Change History (31)

Changed 3 years ago by alexmarkley (Alex Markley)

Attachment: main.log added

main.log

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

Owner: set to raimue
Status: newassigned

comment:2 Changed 3 years ago by Tatsh (Andrew Udvare)

Also having this issue.

comment:3 Changed 3 years ago by Tatsh (Andrew Udvare)

Cc: Tatsh added

Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Update ronn-rb to 0.9.1

comment:4 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

This issue is related to ronn-ng not working. Below I attach a patch to update the package to 0.9.1 and replace rdiscount with kramdown.

But the package still doesn't work because of mini_portile2, 2.4.0 is required (in Macports it's 2.5.0). I tried patching the Gemfile.lock but it didn't help. This dependency is not useds anywhere else in the project.

https://github.com/macports/macports-ports/pull/9116

Version 1, edited 3 years ago by judaew (Vadym-Valdis Yudaiev) (previous) (next) (diff)

comment:5 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

I think that in the pull-request I solved the given problem. Please do a review.

comment:6 Changed 3 years ago by jdswinbank (John Swinbank)

Cc: jdswinbank added

comment:7 Changed 3 years ago by tgyurci (Teubel György)

Cc: tgyurci added

comment:8 Changed 3 years ago by Tommaso93

Cc: Tommaso93 added

comment:9 Changed 3 years ago by Tommaso93

I have the same problem. What do I have to update?

comment:10 Changed 3 years ago by Tommaso93

Any updates?

comment:11 Changed 3 years ago by Tatsh (Andrew Udvare)

The pull request is still being worked on.

comment:12 Changed 3 years ago by elventear (Pepe Barbe)

Cc: elventear added

comment:13 Changed 3 years ago by radarhere (Andrew Murray)

Cc: radarhere added

comment:14 Changed 3 years ago by mkuron (Michael Kuron)

Cc: mkuron added

comment:15 Changed 3 years ago by alexmarkley (Alex Markley)

For folks (like me) who just need to get around this problem, you can temporarily use the "official" git-lfs binary from the Git LFS project homepage: https://git-lfs.github.com/

I just tossed the git-lfs binary into my ~/bin/ directory for now, until the Macports build is fixed.

comment:16 Changed 3 years ago by martinr448

Cc: martinr448 added

comment:17 Changed 3 years ago by mattbishop (Matt Bishop)

Cc: mattbishop added

comment:18 Changed 3 years ago by timmr

Cc: timmr added

comment:19 Changed 3 years ago by fritzt0

Cc: fritzt0 added

comment:20 Changed 3 years ago by radarhere (Andrew Murray)

Cc: radarhere removed

comment:21 Changed 3 years ago by radarhere (Andrew Murray)

Cc: radarhere added

comment:22 Changed 3 years ago by antimirov (Yevgen Antymyrov)

Cc: antimirov added

comment:23 Changed 3 years ago by stuartthebruce

Cc: stuartthebruce added

comment:24 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Cc: judaew added

comment:25 Changed 3 years ago by rieder (Steven Rieder)

Cc: rieder added

comment:26 Changed 3 years ago by Tatsh (Andrew Udvare)

The PR was merged https://github.com/macports/macports-ports/pull/9116 and I was able to install/run this without an issue. This ticket can be closed.

comment:27 Changed 3 years ago by stuartthebruce

I am now also able to install this,

Stuart-laptop:~> uname -a
Darwin Stuart-laptop.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

Stuart-laptop:~> git-lfs --version
git-lfs
/2.12.1 (GitHub; darwin amd64; go 1.15.6)

comment:28 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

[396d3cf6f901dd4be94b345f02019823ed9f4bf3/macports-ports]

For future reference, you can automatically close a ticket when a PR is merged by putting a line in the commit message body with Closes: followed by the ticket URL, e.g.:

Closes: https://trac.macports.org/ticket/61447

comment:29 in reply to:  28 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Replying to jmroot:

[396d3cf6f901dd4be94b345f02019823ed9f4bf3/macports-ports]

For future reference, you can automatically close a ticket when a PR is merged by putting a line in the commit message body with Closes: followed by the ticket URL, e.g.:

Closes: https://trac.macports.org/ticket/61447

Thanks so much!

Note: See TracTickets for help on using tickets.