Project

General

Profile

Actions

Bug #13038

closed

ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h

Added by swills (Steve Wills) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:78664]

Description

When trying to build ruby 2.4 on FreeBSD, it fails with error:

string.c:33:11: fatal error: 'crypt.h' file not found

Updated by swills (Steve Wills) over 7 years ago

I think this may have been initially introduced in r55237.

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Status changed from Open to Feedback
  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED

What version of FreeBSD?
FreeBSD 10.1 and FreeBSD 11.0 seem fine.

Updated by swills (Steve Wills) over 7 years ago

Now that you mention it, I am only seeing the issue on 12.0-CURRENT (r306554, which is about 2 months old at this point, need to update).

Actions #4

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Status changed from Feedback to Closed

Applied in changeset r57090.


configure.in: no crypt.h on FreeBSD 12

  • configure.in (crypt.h): crypt_r() was added in FreeBSD 12.0 but
    is declared in unistd.h. [ruby-core:78664] [Bug #13038]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0