From nobody Thu Mar 16 07:58:46 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pcflv5Mtlz3yWr9; Thu, 16 Mar 2023 07:58:51 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pcflv4vwrz3vdN; Thu, 16 Mar 2023 07:58:51 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678953531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=irU8r47oGWCzR+8IVAu56MlNoQMKsdw11I3S5TKjFbQ=; b=PrND6DJXA7PRG0BpzBNr2fTOBDDH85lBq6pgNXlH0tejxDytOf6yUo2Qz9pVXgc7/i10gR hM479n2WIBhUGlXllDVs/EzSz2jVWQEGvTRDWG2cTvzezOUM3MCkNXuiSZ1qTXU2CCepsb oO+snWn5scjHdrGeYrxPvkPFcLx6uDJrOR6kk/UYm30VTrLYkYxR9HYMleWQHY65G/jN+y ykdbl9J4U3ywbk0RegU2jZ9q1qHChBJmrHfnC2DqPxLYrcJxnn186ZInHTfsByn8VYJRWd rfXQ2dA5vuArgrJCvLRHKsBdLVNG/lHSdlZ95+8yOCuFOmg+M0GLoHN/eyBAVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678953531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=irU8r47oGWCzR+8IVAu56MlNoQMKsdw11I3S5TKjFbQ=; b=u1kigqFzBeD7qMOBBL7+4sMGltHBun5Wzck8kluMyCnR2Zyn5hib9suCFuDPU22kf8nBS4 ollq6ORmL5LhJEjfEl9x5x39hmGQ/dtVMQC+ugJnOslfZAwrA1zPEkqC+rUdooGVlYrKDo 1zzCJq771yAYsoADsLfb7apwFI2BWioXYxOb/RFLLA05GW6HShwUDkzyoGyosp9MB3a/lu EizUpIdwZnjIE35fwYAs8PwnIV9OmPGN6kMEiHwSdNn4UXuDYFULD1SjtfgVo/OVvIU3w9 hDhJQvpwVqaVaofsPtIb+oQ9jXoK2k0HbJA8B6/gSPnNA3sSQ9GhvAsuEWuDHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678953531; a=rsa-sha256; cv=none; b=s6WRA2vdrQ36sdq3O9vrE6dcWYtsm4Jdl+l5EllUXTTAUOB3tFzbhfU+kWfDxsG+a5EtWD 18klMkq4SnZof91J+HgqAeQ6Y7hRG3j8XTf3EnzFaIca/6tP/49zhMKDcnRFrMXRsNRoTF d3wW2D69Jm6J/r07Kuxo28B0x8UWaIVELNY7T4qFtvcN0Vg5GjjVGqimMHawQ1eX1N0Wto N42Lt14TofmS5EoRYVIKkKNfhSv8n2BzX/bIngaIx1kpr5SJi90eLz93B840PCVLXPahr4 F9G7cimZ/BV0/rB4b74OMH4RmuXG3Phc73OY9WsgktpWibY08lFWzI3YmJRwxQ== Received: from [192.168.0.151] (unknown [93.182.104.69]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Pcflt5b9PzQv6; Thu, 16 Mar 2023 07:58:50 +0000 (UTC) (envelope-from mfechner@freebsd.org) Message-ID: Date: Thu, 16 Mar 2023 09:58:46 +0200 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: git: 097770c474d4 - main - Mk/bsd.default-versions.mk: Change default version of Ruby To: Yasuhiro Kimura Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202303150710.32F7ABGP010652@gitrepo.freebsd.org> <0bffce9b-6d0c-d55f-a0b0-41e6c5a87475@freebsd.org> <20230316.155435.654841228738236445.yasu@utahime.org> Content-Language: en-US From: Matthias Fechner In-Reply-To: <20230316.155435.654841228738236445.yasu@utahime.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Am 16.03.2023 um 08:54 schrieb Yasuhiro Kimura: > 1. According to the bug report runtime error happens with following > error message. > > LoadError: cannot load such file -- net/smtp > > 2. There is following entry in the "Standard libraries updates" > section of Ruby 3.1.0 Release Notes > (https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/) > > ----------------------------------------------------------------- > The following default gems are now bundled gems. You need to add > the following libraries to Gemfile under the bundler environment. > > * net-ftp 0.1.3 > * net-imap 0.2.2 > * net-pop 0.1.1 > * net-smtp 0.3.1 > * matrix 0.4.2 > * prime 0.1.2 > * debug 1.4.0 > ----------------------------------------------------------------- > > 3. Our Ruby ports (lang/rubyXY) don't include bundled gems. > > So it seems www/gitlab-ce and/or its dependencies implicitly require > net-smtp without adding it to Gemfile. Thanks for this, I added now net-smtp but now I get another error message: root@gitlab:~ # su -l git -c "cd /usr/local/www/gitlab-ce && rake db:migrate RAILS_ENV=production --trace" ** Invoke db:migrate (first_time) ** Invoke db:load_config (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Psych::BadAlias: Unknown alias: base /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:30:in `visit' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:6:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:35:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:345:in `block in revive_hash' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `each' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `each_slice' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `revive_hash' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:30:in `visit' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:6:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:35:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:345:in `block in revive_hash' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `each' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `each_slice' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:343:in `revive_hash' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:30:in `visit' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:6:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:35:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:30:in `visit' /usr/local/lib/ruby/3.1/psych/visitors/visitor.rb:6:in `accept' /usr/local/lib/ruby/3.1/psych/visitors/to_ruby.rb:35:in `accept' /usr/local/lib/ruby/3.1/psych.rb:334:in `safe_load' /usr/local/lib/ruby/3.1/psych.rb:369:in `load' /usr/local/lib/ruby/gems/3.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:103:in `initialize' /usr/local/lib/ruby/gems/3.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `new' /usr/local/lib/ruby/gems/3.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `instance' /usr/local/lib/ruby/gems/3.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:37:in `[]' /usr/local/www/gitlab-ce/config/initializers/1_settings.rb:8:in `' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:681:in `load' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:681:in `block in load_config_initializer' /usr/local/lib/ruby/gems/3.1/gems/activesupport-6.1.7.2/lib/active_support/notifications.rb:205:in `instrument' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:680:in `load_config_initializer' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:634:in `block (2 levels) in ' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:633:in `each' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/engine.rb:633:in `block in ' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:32:in `instance_exec' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:32:in `run' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:61:in `block in run_initializers' /usr/local/lib/ruby/3.1/tsort.rb:228:in `block in tsort_each' /usr/local/lib/ruby/3.1/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' /usr/local/lib/ruby/3.1/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' /usr/local/lib/ruby/3.1/tsort.rb:431:in `each_strongly_connected_component_from' /usr/local/lib/ruby/3.1/tsort.rb:421:in `block in each_strongly_connected_component_from' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:50:in `each' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:50:in `tsort_each_child' /usr/local/lib/ruby/3.1/tsort.rb:415:in `call' /usr/local/lib/ruby/3.1/tsort.rb:415:in `each_strongly_connected_component_from' /usr/local/lib/ruby/3.1/tsort.rb:349:in `block in each_strongly_connected_component' /usr/local/lib/ruby/3.1/tsort.rb:347:in `each' /usr/local/lib/ruby/3.1/tsort.rb:347:in `call' /usr/local/lib/ruby/3.1/tsort.rb:347:in `each_strongly_connected_component' /usr/local/lib/ruby/3.1/tsort.rb:226:in `tsort_each' /usr/local/lib/ruby/3.1/tsort.rb:205:in `tsort_each' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/initializable.rb:60:in `run_initializers' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/application.rb:391:in `initialize!' /usr/local/www/gitlab-ce/config/environment.rb:7:in `' /usr/local/lib/ruby/gems/3.1/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require' /usr/local/lib/ruby/gems/3.1/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require' /usr/local/lib/ruby/gems/3.1/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `block in require' /usr/local/lib/ruby/gems/3.1/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:299:in `load_dependency' /usr/local/lib/ruby/gems/3.1/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `require' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/application.rb:367:in `require_environment!' /usr/local/lib/ruby/gems/3.1/gems/railties-6.1.7.2/lib/rails/application.rb:533:in `block in run_tasks_blocks' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:281:in `each' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute' /usr/local/lib/ruby/gems/3.1/gems/sentry-ruby-core-5.1.1/lib/sentry/rake.rb:24:in `execute' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:241:in `each' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:241:in `each' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:116:in `each' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/lib/rake/application.rb:80:in `run' /usr/local/lib/ruby/gems/3.1/gems/rake-13.0.6/exe/rake:27:in `' /usr/local/bin/rake:25:in `load' /usr/local/bin/rake:25:in `
' Tasks: TOP => db:migrate => db:load_config => environment Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook