[Bug 280273] www/gitlab-ce service start error on 17.1+
Date: Sun, 14 Jul 2024 11:53:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280273 Bug ID: 280273 Summary: www/gitlab-ce service start error on 17.1+ Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd@gbtechlab.com Starting gitlab with "service start gitlab" for poudriere-built or pkg version of gitlab-ce beginning with version 17.1, results in error. It is due to read-only systems not being able to accommodate the creation of a new folder which represents what appears to be a relative path from the built process. As discussed in https://forums.freebsd.org/threads/service-start-error-on-poudriere-built-gitlab.94051/#post-662465 There is a .bundle directory which is appearing in the new versions that is prompting this path. Earlier versions are reported to not have this directory. On systems that are not read-only, a new directory is created on the root path with bundles that appear to duplicate existing bundles in the project's bin directory. Error: Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Bundler::GenericSystemCallError: There was an error accessing `/wrkdirs/usr/ports/www/gitlab/work-ce/gitlab-foss-v17.1.1/.bin`. The underlying system error is Errno::EROFS: Read-only file system @ dir_s_mkdir - /wrkdirs /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/shared_helpers.rb:119:in `rescue in filesystem_access' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/shared_helpers.rb:104:in `filesystem_access' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler.rb:511:in `mkdir_p' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler.rb:122:in `bin_path' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:116:in `generate_bundler_executable_stubs' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/gem_installer.rb:79:in `generate_executable_stubs' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:132:in `do_install' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:86:in `call' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:66:in `call' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:244:in `install_in_parallel' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:201:in `install' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:89:in `block in run' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:12:in `block in lock' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:9:in `open' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:9:in `lock' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:71:in `run' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:23:in `install' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli/install.rb:63:in `run' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:247:in `block in install' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/settings.rb:158:in `temporary' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:246:in `install' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:35:in `dispatch' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:29:in `start' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/exe/bundle:28:in `block in <top (required)>' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' /s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/exe/bundle:20:in `<top (required)>' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `<main>' An error occurred while installing rake (13.2.1), and Bundler cannot continue. In Gemfile: cssbundling-rails was resolved to 1.4.0, which depends on railties was resolved to 7.0.8.4, which depends on rake Could not create Gemfile.lock for gitlab, please report this using FreeBSD Bugtracker, https://bugs.freebsd.org/ -- You are receiving this mail because: You are the assignee for the bug.