[MacPorts] #65100: weechat @3.5_0: ruby variant is not detected correctly
MacPorts
noreply at macports.org
Mon May 2 07:01:00 UTC 2022
#65100: weechat @3.5_0: ruby variant is not detected correctly
---------------------------+----------------------
Reporter: hexadecagram | Owner: cardi
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: weechat |
---------------------------+----------------------
Comment (by hexadecagram):
As demonstrated in my initial submission, I have ruby30 installed. If I
continue on with the build, the package ruby wants to build 1.8.7 from
source, which it succeeds in doing, however, the weechat build later
fails:
{{{
% sudo port clean weechat; sudo port install weechat
+aspell+lua+perl+python+ruby+scheme+tcl
---> Cleaning weechat
---> Computing dependencies for weechat
The following dependencies will be installed:
openssl10
ruby
Continue? [Y/n]:
---> Fetching archive for openssl10
...
---> Activating openssl10 @1.0.2u_4
---> Cleaning openssl10
---> Fetching archive for ruby
...
---> Activating ruby @1.8.7-p374_15
---> Cleaning ruby
---> Fetching archive for weechat
---> Attempting to fetch
weechat-3.5_0+aspell+lua+perl+python+python310+ruby+scheme+tcl.darwin_21.x86_64.tbz2
from https://packages.macports.org/weechat
---> Attempting to fetch
weechat-3.5_0+aspell+lua+perl+python+python310+ruby+scheme+tcl.darwin_21.x86_64.tbz2
from https://ywg.ca.packages.macports.org/mirror/macports/packages/weechat
---> Attempting to fetch
weechat-3.5_0+aspell+lua+perl+python+python310+ruby+scheme+tcl.darwin_21.x86_64.tbz2
from https://kmq.jp.packages.macports.org/weechat
---> Fetching distfiles for weechat
---> Verifying checksums for weechat
---> Extracting weechat
---> Configuring weechat
---> Building weechat
Error: Failed to build weechat: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_weechat/weechat/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port weechat failed
---> Some of the ports you installed have notes:
ruby has the following notes:
This port is deprecated since the project is no longer maintained
upstream. It is likely to be removed from
MacPorts at some point in the future. If you find this port useful and
would like to see it continue, please
consider posting to the macports-users mailing list. See
https://trac.macports.org/wiki/MailingLists for more
details.
To make this the default Ruby (i.e., the version run by the 'ruby'
commands), run:
sudo port select --set ruby ruby18
}}}
I will attach main.log if it's any consequence but the primary issue here
is that support for ruby 1.8.7 has long since ended: https://www.ruby-
lang.org/en/news/2011/10/06/plans-for-1-8-7/
Therefore, this actually seems to be a problem with the ruby package but I
figured the first step would be to make the maintainer for weechat
(@cardi) aware, on account of the upstream issue I linked.
--
Ticket URL: <https://trac.macports.org/ticket/65100#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list