[Bug 270252] www/gitlab-ce

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Mar 2023 20:07:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270252

            Bug ID: 270252
           Summary: www/gitlab-ce
           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: fsbruva@yahoo.com
          Assignee: mfechner@FreeBSD.org
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)

Created attachment 240878
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240878&action=edit
Failure log with --trace

Upon building gitlab-ce (and about 500 other ports) with poudriere, the
resulting package is installable, but contains fatal errors. 

I am following the upgrade instructions, and when I get to the following
command:

 # su -l git -c "cd /usr/local/www/gitlab-ce && rake --trace  db:migrate
RAILS_ENV=production"

I get the following error (attached log):
rake aborted!
LoadError: cannot load such file -- net/smtp

My initial investigation leads me to believe it is related to mail 2.7.0, Ruby
3.1 and Rails 7. My attempts at excluding net-smtp due to being bundled in ruby
3.1 failed pretty spectacularly.

Some related reading:
https://stackoverflow.com/questions/70500220/rails-7-ruby-3-1-loaderror-cannot-load-such-file-net-smtp

https://github.com/mikel/mail/pull/1439/files 

https://github.com/rails/rails/pull/42366/files

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