Github messages for voidlinux
 help / color / mirror / Atom feed
From: jesseadams <jesseadams@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] rbenv fails to compile ruby
Date: Mon, 18 Oct 2021 20:26:25 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33621@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

New issue by jesseadams on void-packages repository

https://github.com/void-linux/void-packages/issues/33621

Description:
### System

* xuname:  `Void 5.13.19_1 x86_64 GenuineIntel uptodate rFF`
* package:  gcc-10.2.1pre1_3

### Expected behavior

`rbenv install 3.0.2` downloads and compiles ruby 3.0.2

### Actual behavior

```
Installing ruby-3.0.2...

BUILD FAILED (VoidLinux rolling using ruby-build 20210928-4-g2b9424d)

Inspect or clean up the working tree at /tmp/ruby-build.20211018112122.8745.2yqy2e
Results logged to /tmp/ruby-build.20211018112122.8745.log

Last 10 log lines:
checking for ld... ld
checking for gcc-ar... gcc-ar
checking for g++... g++
checking for gcc-nm... gcc-nm
checking for gcc-ranlib... gcc-ranlib
checking for gcc... (cached) gcc
checking whether the C compiler works... no
configure: error: in `/tmp/ruby-build.20211018112122.8745.2yqy2e/ruby-3.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
```

### Steps to reproduce the behavior

```
# Install rbenv
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash

# Load rbenv into your environment
export PATH=~/.rbenv/bin:$PATH
rbenv init

# Instal ruby 3.0.2
rbenv install 3.0.2
```

This is my first attempt at using Void Linux, so I'm sorry if it is something simple that I just overlooked.


             reply	other threads:[~2021-10-18 18:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18 18:26 jesseadams [this message]
2021-10-18 18:46 ` jesseadams
2021-10-18 19:30 ` jesseadams
2021-10-18 19:30 ` [ISSUE] [CLOSED] " jesseadams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33621@inbox.vuxu.org \
    --to=jesseadams@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).