Re: git: 1a6659dcb611 - main - devel/rubygem-rdoc: Update to 6.4.0
- In reply to: Matthias Fechner : "Re: git: 1a6659dcb611 - main - devel/rubygem-rdoc: Update to 6.4.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Dec 2021 15:07:59 UTC
Hi Matthias, From: Matthias Fechner <mfechner@FreeBSD.org> Subject: Re: git: 1a6659dcb611 - main - devel/rubygem-rdoc: Update to 6.4.0 Date: Mon, 27 Dec 2021 09:33:10 +0100 > Am 25.12.2021 um 09:19 schrieb Yasuhiro Kimura: >> -PORTVERSION= 6.3.3 >> +PORTVERSION= 6.4.0 >> CATEGORIES= devel rubygems >> MASTER_SITES= RG >> @@ -10,6 +10,8 @@ LICENSE= GPLv2 RUBY >> LICENSE_COMB= dual >> LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.rdoc >> +RUN_DEPENDS= rubygem-psych>=4.0.0:textproc/rubygem-psych >> + > > it seems that this version has some problems, I see segfaults using > it: > > su -l git -c "cd /usr/local/www/gitlab-ce && RAILS_ENV=production > NODE_ENV=production USE_DB=false SKIP_STORAGE_VALIDATION=true > NODE_OPTIONS='--max_old_space_size=3584' bundle exec rake > gitlab:assets:compile" > warning Resolution field "chokidar@3.4.0" is incompatible with > requested version "webpack#watchpack#chokidar@^3.4.1" > warning Resolution field "chokidar@3.4.0" is incompatible with > requested version "watchpack#watchpack-chokidar2#chokidar@^2.1.8" > `yarn:check` finished in 3.943853259 seconds > rake aborted! > Psych::BadAlias: Unknown alias: base > /usr/local/www/gitlab-ce/config/initializers/1_settings.rb:8:in `<top > (required)>' > /usr/local/www/gitlab-ce/config/environment.rb:7:in `<top (required)>' > /usr/local/www/gitlab-ce/lib/gitlab/task_helpers.rb:18:in > `invoke_and_time_task' > /usr/local/www/gitlab-ce/lib/tasks/gitlab/assets.rake:61:in `each' > /usr/local/www/gitlab-ce/lib/tasks/gitlab/assets.rake:61:in `block (3 > levels) in <top (required)>' > /usr/local/bin/bundle:23:in `load' > /usr/local/bin/bundle:23:in `<main>' > Tasks: TOP => gettext:po_to_json => environment > (See full trace by running task with --trace) > > I will try now to make rdoc 6.3.3 available as extra port. > > If you upgrade such a central rubygem port, could you please do at > least a testbuild of www/gitlab-ce the next time? > > Thanks > Matthias > After reading your mail I tried build of www/gitlab-ce with following conditions. Host: 13.0-RELEASE-p4 amd64 Poudriere: 3.3.7 Jail: 13.0-RELEASE-p4 amd64 Ports tree: 1dd141b73480 of main, committed at Sun Dec 26 09:32:11 2021 +0900 At first it failed because requirement of rdoc is '~> 6.3.2'. So I applied following patch. diff --git a/www/gitlab-ce/files/patch-Gemfile b/www/gitlab-ce/files/patch-Gemfile index de7b3a0bd6e1..36f1b7b36907 100644 --- a/www/gitlab-ce/files/patch-Gemfile +++ b/www/gitlab-ce/files/patch-Gemfile @@ -17,6 +17,15 @@ gem 'graphlient', '~> 0.4.0' # Used by BulkImport feature (group::import) gem 'hashie' +@@ -158,7 +157,7 @@ gem 'github-markup', '~> 1.7.0', require: 'github/mark + gem 'commonmarker', '~> 0.23.2' + gem 'kramdown', '~> 2.3.1' + gem 'RedCloth', '~> 4.3.2' +-gem 'rdoc', '~> 6.3.2' ++gem 'rdoc', '~> 6.4.0' + gem 'org-ruby', '~> 0.9.12' + gem 'creole', '~> 0.5.0' + gem 'wikicloth', '0.8.1' @@ -330,117 +329,14 @@ gem 'batch-loader', '~> 2.0.1' gem 'peek', '~> 1.1' Then build completed successfully. So, though patch is necessary to built it successfuly, segfaults didn't happen with rdoc 6.4.0. --- Yasuhiro Kimura