Date: Wed, 05 Feb 2014 03:58:51 +0100 From: Jim Ohlstein <jim@ohlste.in> To: FreeBSD-gnats-submit@freebsd.org Cc: ruby@FreeBSD.org Subject: ports/186468: [PATCH] lang/ruby: rub19 won't build/install with lang/gcc installed on FreeBSD 10 Message-ID: <E1WAshP-000KGZ-2u@bromine.jlkhosting.com> Resent-Message-ID: <201402050300.s15301aI030748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186468 >Category: ports >Synopsis: [PATCH] lang/ruby: rub19 won't build/install with lang/gcc installed on FreeBSD 10 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 03:00:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jim Ohlstein >Release: FreeBSD 10.0-STABLE amd64 >Organization: >Environment: System: FreeBSD bromine.jlkhosting.com 10.0-STABLE FreeBSD 10.0-STABLE #0 r260997: Wed Jan 22 02:56:43 CET >Description: - lang/ruby19 requires libffi to build and run. lang/gcc installs a version of libffi.so in /usr/local/lib/gcc46/. # locate libffi /usr/local/lib/gcc46/libffi.a /usr/local/lib/gcc46/libffi.so /usr/local/lib/gcc46/libffi.so.4 # locate ffi.h /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/include/ffi.h - lang/ruby19 finds that version of libffi and does not build libffi from ports. ===> ruby-1.9.3.484_1,1 depends on file: /usr/local/bin/autoconf-2.69 - found ===> ruby-1.9.3.484_1,1 depends on shared library: libexecinfo.so - found ===> ruby-1.9.3.484_1,1 depends on shared library: libffi.so - found ===> ruby-1.9.3.484_1,1 depends on shared library: libyaml.so - found - During build, libffi is not found, and "fiddle" is not build. configuring fiber configuring fiddle ffi.h is missing. Please install libffi. Failed to configure fiddle. It will not be installed. configuring io/console -lang/ruby19 chokes on install ===> Installing for ruby-1.9.3.484_1,1 ===> Checking if lang/ruby19 already installed ===> Registering installation for ruby-1.9.3.484_1,1 pkg-static: lstat(/usr/ports/lang/ruby19/work/stage/usr/local/lib/ruby/1.9/amd64-freebsd10/fiddle.so): No such file or directory pkg-static: lstat(/usr/ports/lang/ruby19/work/stage/usr/local/lib/ruby/1.9/fiddle/closure.rb): No such file or directory pkg-static: lstat(/usr/ports/lang/ruby19/work/stage/usr/local/lib/ruby/1.9/fiddle/function.rb): No such file or directory pkg-static: lstat(/usr/ports/lang/ruby19/work/stage/usr/local/lib/ruby/1.9/fiddle.rb): No such file or directory pkg-static: lstat(/usr/ports/lang/ruby19/work/stage/usr/local/lib/ruby/1.9/fiddle/): No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/lang/ruby19 *** Error code 1 Stop. make: stopped in /usr/ports/lang/ruby19 Port maintainer (ruby@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: Make libffi and build and run dependency. --- ruby-1.9.3.484_1,1.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 342624) +++ Makefile (working copy) @@ -18,9 +18,11 @@ LICENSE_COMB= dual LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ - libffi.so:${PORTSDIR}/devel/libffi \ libyaml.so:${PORTSDIR}/textproc/libyaml +BUILD_DEPENDS+= libffi:${PORTSDIR}/devel/libffi +RUN_DEPENDS+= ${BUILD_DEPENDS} + GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ @@ -209,7 +211,6 @@ @${FIND} -ds ${RUBY_RIDIR}/ -type d -mindepth 1 | \ ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - # # Add generated doxygen files to pkg-plist # --- ruby-1.9.3.484_1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WAshP-000KGZ-2u>