Bug 164135 - lang/ruby18 build failed with clang
Summary: lang/ruby18 build failed with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 10:30 UTC by Kazutoshi Kubota
Modified: 2012-01-18 03:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kazutoshi Kubota 2012-01-15 10:30:12 UTC
lang/ruby18 is failed to build with clang.

clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include   -I/usr/include -fPIC -I/usr/include -O2 -pipe -fno-strict-aliasing  -fPIC  -c openssl_missing.c
openssl_missing.c:28:22: error: non-void function 'HMAC_CTX_copy' should return
      a value [-Wreturn-type]
    if (!out || !in) return;
                     ^
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-01-15 10:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool) 

http://people.freebsd.org/~pgollucci/FreeBSD/diffs/lang_ruby18-1.8.7.352.diff

should fix this, but needs to be tested.
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-17 05:59:11 UTC
Responsible Changed
From-To: ruby->pgollucci

I will take it.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-17 20:50:48 UTC
State Changed
From-To: open->feedback

Request Feedback: this affects the port, not the package, also its fbsd 
defaulty to leave the module commented out by default on install
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-18 03:06:06 UTC
State Changed
From-To: feedback->closed

Committed, Thanks!