Date: Fri, 2 Sep 2011 13:50:59 -0400 (EDT) From: "Mikhail T." <mi@aldan.algebra.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160402: databases/ruby-bdb regression-test target broken; tests reveal serious problems with Ruby-1.9 Message-ID: <201109021750.p82HoxRN026573@narawntapu.narawntapu> Resent-Message-ID: <201109021820.p82IKBxg065472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109021750.p82HoxRN026573>