[Bug 265114] devel/gitaly does not build (no required module provides package github.com/russross/blackfriday/v2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Jul 2022 13:15:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265114

            Bug ID: 265114
           Summary: devel/gitaly does not build (no required module
                    provides package github.com/russross/blackfriday/v2)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: max@mober.at
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Upgrade gitlab-ce to 15.1 using portmaster fails:

===>>> All >> gitaly-14.10.0 (3/637)

===>>> Returning to dependency check for devel/gitaly
===>>> Dependency check complete for devel/gitaly

===>>> All >> gitaly-14.10.0 (3/637)

===>  Cleaning for gitaly-15.1.0
===>  License MIT accepted by the user
===>   gitaly-15.1.0 depends on file: /usr/local/sbin/pkg - found
===>   gitaly-15.1.0 depends on file: /usr/local/bin/go118 - found
===>   gitaly-15.1.0 depends on package: ca_root_nss>0 - found
=> go.mod doesn't seem to exist in
/var/ports/distfiles/go/devel_gitaly/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.
=> Attempting to fetch
https://gitlab.com/gitlab-org/gitaly/-/raw/v15.1.0/go.mod
go.mod                                                2054  B   19 MBps    00s
=> gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz
doesn't seem to exist in
/var/ports/distfiles/go/devel_gitaly/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.
=> Attempting to fetch
https://gitlab.com/gitlab-org/gitaly/-/raw/v15.1.0/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz
fetch:
https://gitlab.com/gitlab-org/gitaly/-/raw/v15.1.0/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz:
Not Found
=> Attempting to fetch
https://gitlab.com/gitlab-org/gitaly/-/archive/9f4ac0e03ac72467cba99bf22348e9ad9bb50c27.tar.gz?dummy=/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz
fetch:
https://gitlab.com/gitlab-org/gitaly/-/archive/9f4ac0e03ac72467cba99bf22348e9ad9bb50c27.tar.gz?dummy=/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz:
size unknown
fetch:
https://gitlab.com/gitlab-org/gitaly/-/archive/9f4ac0e03ac72467cba99bf22348e9ad9bb50c27.tar.gz?dummy=/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz:
size of remote file is not known
gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348        3846 kB 8856 kBps    01s
===> Fetching all distfiles required by gitaly-15.1.0 for building
===> Fetching  dependencies
===>  Extracting for gitaly-15.1.0
=> SHA256 Checksum OK for
go/devel_gitaly/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0/go.mod.
=> SHA256 Checksum OK for
go/devel_gitaly/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0/gitlab-org-gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27_GL0.tar.gz.
===>   gitaly-15.1.0 depends on file: /usr/local/bin/ruby30 - found
===>  Patching for gitaly-15.1.0
===>   gitaly-15.1.0 depends on file: /usr/local/bin/ruby30 - found
===>  Applying FreeBSD patches for gitaly-15.1.0 from
/usr/ports/devel/gitaly/files
/usr/bin/sed -i.bak -e "s|%%PREFIX%%|/usr/local|"
/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27/config.toml.example
/bin/mv
/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27/config.toml.example
/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27/config.toml.sample
===>   gitaly-15.1.0 depends on executable: gem - found
===>   gitaly-15.1.0 depends on package: bash>0 - found
===>   gitaly-15.1.0 depends on package: git>=2.36.1 - found
===>   gitaly-15.1.0 depends on package: rubygem-bundler>=2.1.4 - found
===>   gitaly-15.1.0 depends on package: rubygem-rugged>=1.2<2 - found
===>   gitaly-15.1.0 depends on package: rubygem-github-linguist>=7.12.1<8 -
found
===>   gitaly-15.1.0 depends on package: rubygem-gitlab-markup>=1.8.0<1.9.0 -
found
===>   gitaly-15.1.0 depends on package: rubygem-activesupport61>=6.1.4.7<6.1.7
- found
===>   gitaly-15.1.0 depends on package: rubygem-rdoc>=6.3.2<7.0 - found
===>   gitaly-15.1.0 depends on package:
rubygem-gitlab-gollum-lib>=4.2.7.10.gitlab.2<4.2.8 - found
===>   gitaly-15.1.0 depends on package:
rubygem-gitlab-gollum-rugged_adapter>=0.4.4.4.gitlab.1<0.4.5.0 - found
===>   gitaly-15.1.0 depends on package: rubygem-grpc142>=1.42.0.pre1<2 - found
===>   gitaly-15.1.0 depends on package: rubygem-sentry-raven>=3.0<4 - found
===>   gitaly-15.1.0 depends on package: rubygem-faraday1>=1.0.1<2 - found
===>   gitaly-15.1.0 depends on package: rubygem-rbtrace>=0.4.14 - found
===>   gitaly-15.1.0 depends on package: rubygem-gitlab-labkit>=0.22.0<0.24 -
found
===>   gitaly-15.1.0 depends on package: rubygem-licensee>=9.14.1<9.15 - found
===>   gitaly-15.1.0 depends on package:
rubygem-google-protobuf319>=3.19.0<3.20 - found
===>   gitaly-15.1.0 depends on package:
rubygem-gitlab-license_finder>=6.14.2.1<7 - found
===>   gitaly-15.1.0 depends on file: /usr/local/bin/ruby30 - found
===>   gitaly-15.1.0 depends on package: gmake>=4.3 - found
===>   gitaly-15.1.0 depends on file: /usr/local/bin/go118 - found
===>   gitaly-15.1.0 depends on package: pkgconf>=1.3.0_1 - found
===>   gitaly-15.1.0 depends on shared library: libgit2.so - found
(/usr/local/lib/libgit2.so)
===>  Configuring for gitaly-15.1.0
===>  Building for gitaly-15.1.0
(cd
/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27/ruby
&& /bin/rm -f Gemfile.lock && bundle install --local)
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users
on this machine.
Resolving dependencies...
Using bundler 2.3.17
Using concurrent-ruby 1.1.10
Using minitest 5.16.1
Using zeitwerk 2.6.0
Using builder 3.2.4
Using erubi 1.10.0
Using racc 1.6.0
Using crass 1.0.6
Using rack 2.2.3.1
Using public_suffix 4.0.7
Using charlock_holmes 0.7.7
Using dotenv 2.7.6
Using escape_utils 1.2.0
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using multipart-post 2.2.3
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using faraday-retry 1.0.3
Using ruby2_keywords 0.0.5
Using ffi 1.15.5
Using json 2.6.2
Using mini_mime 1.1.2
Using rugged 1.2.0
Using mime-types-data 3.2022.0105
Using gitlab-markup 1.8.0
Using rouge 3.29.0
Using stringex 2.8.5
Using google-protobuf 3.19.4
Using opentracing 0.5.0
Using thrift 0.14.0
Using redis 4.7.0
Using rubyzip 2.3.2
Using thor 1.2.1
Using tomlrb 2.0.3
Using with_env 1.1.0
Using xml-simple 1.1.5
Using msgpack 1.5.2
Using optimist 3.0.1
Using stringio 3.0.2
Using i18n 1.10.0
Using tzinfo 2.0.4
Using rack-test 1.1.0
Using addressable 2.8.0
Using faraday-multipart 1.0.4
Using nokogiri 1.13.6
Using gemojione 3.2.0
Using mime-types 3.4.1
Using googleapis-common-protos-types 1.3.2
Using jaeger-client 1.1.0
Using pg_query 2.1.3
Using activesupport 6.1.6
Using github-linguist 7.21.0
Using psych 4.0.4
Using rbtrace 0.4.14
Using reverse_markdown 1.4.0
Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1
Using rails-dom-testing 2.0.3
Using loofah 2.18.0
Using grpc 1.42.0
Using rails-html-sanitizer 1.4.3
Using gitlab-license_finder 6.14.2.1
Using actionview 6.1.6
Using faraday 1.10.0
Using rdoc 6.4.0
Using sentry-raven 3.1.2
Using actionpack 6.1.6
Using sawyer 0.9.2
Using gitlab-labkit 0.23.0
Using sanitize 6.0.0
Using octokit 4.25.0
Using gitlab-gollum-lib 4.2.7.10.gitlab.2
Using licensee 9.14.1
Bundle complete! 15 Gemfile dependencies, 77 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
gmake[1]: Entering directory
'/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27'
/var/ports/distfiles/go/devel_gitaly/pkg/mod/github.com/go-enry/go-license-detector/v4@v4.3.0/licensedb/internal/processors/markup.go:8:2:
no required module provides package github.com/russross/blackfriday/v2; to add
it:
        go get github.com/russross/blackfriday/v2
gmake[1]: *** [Makefile:566:
/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27/_build/intermediate/praefect]
Error 1
gmake[1]: Leaving directory
'/var/ports/usr/ports/devel/gitaly/work/gitaly-9f4ac0e03ac72467cba99bf22348e9ad9bb50c27'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/gitaly

===>>> make build failed for devel/gitaly
===>>> Aborting update

===>>> Update for devel/gitaly failed
===>>> Aborting update

-- 
You are receiving this mail because:
You are the assignee for the bug.