Project

General

Profile

Bug #13038

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

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

Status:
Closed
Priority:
Normal
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 3 years ago

I think this may have been initially introduced in r55237.

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

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

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

Updated by swills (Steve Wills) over 3 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).

#4

Updated by nobu (Nobuyoshi Nakada) over 3 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]

Also available in: Atom PDF