ports/160402: databases/ruby-bdb regression-test target broken; tests reveal serious problems with Ruby-1.9
Mikhail T.
mi at aldan.algebra.com
Fri Sep 2 18:20:12 UTC 2011
>Number: 160402
>Category: ports
>Synopsis: databases/ruby-bdb regression-test target broken; tests reveal serious problems with Ruby-1.9
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 02 18:20:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Mikhail T.
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
Virtual Estates, Inc. http://sybpipe.com/
>Environment:
System: FreeBSD narawntapu 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 12 22:48:33 EDT 2011 root at narawntapu:/usr/obj/home/src/sys/POWEREDGE2900 amd64
>Description:
The first problem is that the tests expect tmp/ subdirectory,
which needs to be created. This is fixed easily by the following
patch:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/ruby-bdb/Makefile,v
retrieving revision 1.62
diff -U 1 -r1.62 Makefile
--- Makefile 22 Apr 2011 11:38:15 -0000 1.62
+++ Makefile 2 Sep 2011 17:47:55 -0000
@@ -70,2 +70,3 @@
regression-test:
+ @${MKDIR} ${BUILD_WRKSRC}/tmp
( cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
Now, /running/ the tests reveals segmentation faults and other
serious problems, such as data discrepancies, when compiled
against Ruby-1.9
>How-To-Repeat:
Apply the above patch. Attempt `make regression-test' using Ruby-1.9
>Fix:
Apply the above patch. Stick to Ruby-1.8 for the time being.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list