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 2 years ago. Updated over 2 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

Associated revisions

Revision 6b1e24ea
Added by nobu (Nobuyoshi Nakada) over 2 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 57090
Added by nobu (Nobuyoshi Nakada) over 2 years ago

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]

Revision 57090
Added by nobu (Nobuyoshi Nakada) over 2 years ago

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]

Revision 57090
Added by nobu (Nobuyoshi Nakada) over 2 years ago

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]

Revision 57090
Added by nobu (Nobuyoshi Nakada) over 2 years ago

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]

Revision 5d629280
Added by nobu (Nobuyoshi Nakada) over 2 years ago

no crypt.h on FreeBSD 12

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 57091
Added by nobu (Nobuyoshi Nakada) over 2 years ago

no crypt.h on FreeBSD 12

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

Revision 57091
Added by nobu (Nobuyoshi Nakada) over 2 years ago

no crypt.h on FreeBSD 12

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

Revision 57091
Added by nobu (Nobuyoshi Nakada) over 2 years ago

no crypt.h on FreeBSD 12

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

Revision 57091
Added by nobu (Nobuyoshi Nakada) over 2 years ago

no crypt.h on FreeBSD 12

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

History

Updated by swills (Steve Wills) over 2 years ago

I think this may have been initially introduced in r55237.

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