Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 16:24:45 -0400 (EDT)
From:      Garrett Wollman <wollman@xyz.csail.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179313: ruby 1.9.3.429 disagrees with bsd.ruby.mk
Message-ID:  <201306042024.r54KOjo0041008@xyz.csail.mit.edu>
Resent-Message-ID: <201306042030.r54KU1UJ033127@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179313
>Category:       ports
>Synopsis:       ruby 1.9.3.429 disagrees with bsd.ruby.mk
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 04 20:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
MIT Computer Science & Artificial Intelligence Laboratory
>Environment:
System: FreeBSD xyz.csail.mit.edu 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #27 r250065M: Mon Apr 29 17:11:15 EDT 2013 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64

>Description:

bsd.ruby.mk thinks that RUBY_ARCH should be "amd64-freebsd9".  However,
the latest lang/ruby19 installs things in "x86_64-freebsd9".  The
result is an unusable package with architecture-dependent files missing.

>How-To-Repeat:

poudriere testport ... -o lang/ruby19

Extracts from the build logs:

./miniruby -I./lib -I. -I.ext/common  ./tool/rbinstall.rb --make="make" --dest-dir=""  --extout=".ext"  --mflags=""  --make-flags=" ARCH=amd64 OPSYS=FreeBSD OSREL=9.1 OSVERSION=901000 SYSTEMVERSION="  --data-mode=0644  --prog-mode=0755  --installed-list .installed.list  --mantype="doc" --install=all --rdoc-output=".ext/rdoc"
installing binary commands:   /prefix/ruby-1.9.3.429_1/bin
installing base libraries:    /prefix/ruby-1.9.3.429_1/lib
installing arch files:        /prefix/ruby-1.9.3.429_1/lib/ruby/1.9/x86_64-freebsd9
installing pkgconfig data:    /prefix/ruby-1.9.3.429_1/libdata/pkgconfig
installing extension objects: /prefix/ruby-1.9.3.429_1/lib/ruby/1.9/x86_64-freebsd9
installing extension objects: /prefix/ruby-1.9.3.429_1/lib/ruby/site_ruby/1.9/x86_64-freebsd9
installing extension objects: /prefix/ruby-1.9.3.429_1/lib/ruby/vendor_ruby/1.9/x86_64-freebsd9
installing extension headers: /prefix/ruby-1.9.3.429_1/include/ruby-1.9//x86_64-freebsd9

....

pkg-static: lstat(/prefix/ruby-1.9.3.429_1/include/ruby-1.9/amd64-freebsd9/ruby/config.h): No such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file: include/ruby-1.9/amd64-freebsd9/ruby/config.h
pkg-static: lstat(/prefix/ruby-1.9.3.429_1/include/ruby-1.9/amd64-freebsd9/ruby/): No such file or directory
pkg-static: DEVELOPER_MODE: Plist error: @dirrm include/ruby-1.9/amd64-freebsd9/ruby
pkg-static: lstat(/prefix/ruby-1.9.3.429_1/include/ruby-1.9/amd64-freebsd9/): No such file or directory
pkg-static: DEVELOPER_MODE: Plist error: @dirrm include/ruby-1.9/amd64-freebsd9
pkg-static: lstat(/prefix/ruby-1.9.3.429_1/lib/ruby/1.9/amd64-freebsd9/bigdecimal.so): No such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file: lib/ruby/1.9/amd64-freebsd9/bigdecimal.so
pkg-static: lstat(/prefix/ruby-1.9.3.429_1/lib/ruby/1.9/amd64-freebsd9/continuation.so): No such file or directory

...

>Fix:

Don't know -- do we want to follow Ruby here or do we want to hack
Ruby to use the same name as we do?  Where is Ruby even doing this?
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306042024.r54KOjo0041008>