bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: pspp-0.6.2 CentOS-5 x86_64 make check failure


From: John Darrington
Subject: Re: PSPP-BUG: pspp-0.6.2 CentOS-5 x86_64 make check failure
Date: Sat, 24 Nov 2012 12:25:35 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Thanks for the bug report.

It looks as if this is a problem restricted to the interpretation of dates.
My guess is that it is 64 bit specific.

This part of the code is normally taken care of by Ben Pfaff, who is 
probably celebrating Thanksgiving right now, so it may be a week or so
before he get's around to looking at it.

0.6.2 is about 3 years old now. 0.7.9 -- although not an official release,
I think has been much more widely tested.  It is likely that this problem
has already been fixed in 0.7.9.  It also has a lot more features than 0.6.2


Regards,


John


On Fri, Nov 23, 2012 at 06:27:54PM +0100, Tru Huynh wrote:
     Hello,
     
     I am runing CentOS-5 x86_64 and try to build pspp.
     
     address@hidden pspp-0.6.2]$ rpm -q gcc perl gtk2-devel
     gcc-4.1.2-52.el5_8.1.x86_64
     perl-5.8.8-38.el5_8.x86_64
     gtk2-devel-2.10.4-21.el5_7.7.x86_64 (too old for the gui)
     
     ./configure --prefix=/c5/shared/pspp/0.6.2 --without-gui && make check
     <....>
     PASS: tests/stats/ntiles.sh
     PASS: tests/stats/percentiles-enhanced.sh
     854c854
     < xdate.date(date.mdy(9,29,41) + time.hms(4,25,9)) / 86400 => 131107.00
     ---
     > xdate.date(date.mdy(9,29,41) + time.hms(4,25,9)) / 86400 => 167632.00
     1023c1023
     < xdate.tday(date.mdy(9,29,41) + time.hms(4,25,9)) => 131107.00
     ---
     > xdate.tday(date.mdy(9,29,41) + time.hms(4,25,9)) => 167632.00
     1083c1083
     < xdate.wkday(date.mdy(9,29,41)) => 2.00
     ---
     > xdate.wkday(date.mdy(9,29,41)) => 1.00
     1103c1103
     < xdate.year(date.mdy(9,29,41) + time.hms(4,25,9)) => 1941.00
     ---
     > xdate.year(date.mdy(9,29,41) + time.hms(4,25,9)) => 2041.00
     1122,1123c1122,1123
     < datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'years') => -54.00
     < datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'years') => -1.00
     ---
     > datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'years') => 45.00
     > datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'years') => 98.00
     1144,1145c1144,1145
     < datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'quarters') => -217.00
     < datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'quarters') => -6.00
     ---
     > datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'quarters') => 182.00
     > datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'quarters') => 393.00
     1166,1167c1166,1167
     < datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'months') => -652.00
     < datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'months') => -18.00
     ---
     > datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'months') => 547.00
     > datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'months') => 1181.00
     1188,1189c1188,1189
     < datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'weeks') => -2838.00
     < datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'weeks') => -81.00
     ---
     > datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'weeks') => 2379.00
     > datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'weeks') => 5136.00
     1210,1211c1210,1211
     < datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'days') => -19872.00
     < datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'days') => -567.00
     ---
     > datediff(date.mdy(9,29,41), date.mdy(2,25,1996), 'days') => 16653.00
     > datediff(date.mdy(9,29,41), date.mdy(4,19,43), 'days') => 35958.00
     1232,1233c1232,1233
     < datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'years') => 54.00
     < datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'years') => 1.00
     ---
     > datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'years') => -45.00
     > datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'years') => -98.00
     1254,1255c1254,1255
     < datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'months') => 652.00
     < datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'months') => 18.00
     ---
     > datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'months') => -547.00
     > datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'months') => -1181.00
     1276,1277c1276,1277
     < datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'quarters') => 217.00
     < datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'quarters') => 6.00
     ---
     > datediff(date.mdy(2,25,1996), date.mdy(9,29,41), 'quarters') => -182.00
     > datediff(date.mdy(4,19,43), date.mdy(9,29,41), 'quarters') => -393.00
     compare optimizing output
     FAILED
     FAIL: tests/expressions/expressions.sh
     PASS: tests/expressions/epoch.sh
     PASS: tests/expressions/randist.sh
     PASS: tests/expressions/valuelabel.sh
     PASS: tests/expressions/variables.sh
     PASS: tests/expressions/vectors.sh
     PASS: tests/command/get-data-gnm.sh
     .......
     PASS: tests/libpspp/abt-test
     ........
     PASS: tests/libpspp/bt-test
     .....
     PASS: tests/libpspp/heap-test
     ..............................
     PASS: tests/libpspp/ll-test
     ...............................
     PASS: tests/libpspp/llx-test
     ...
     PASS: tests/libpspp/range-map-test
     ....
     PASS: tests/libpspp/range-set-test
     .................
     PASS: tests/libpspp/sparse-array-test
     .
     PASS: tests/libpspp/str-test
     .....
     PASS: tests/libpspp/tower-test
     =====================================
     1 of 160 tests failed
     Please report to address@hidden
     =====================================
     make[3]: *** [check-TESTS] Error 1
     make[3]: Leaving directory `/dev/shm/pspp-0.6.2'
     make[2]: *** [check-am] Error 2
     make[2]: Leaving directory `/dev/shm/pspp-0.6.2'
     make[1]: *** [check-recursive] Error 1
     make[1]: Leaving directory `/dev/shm/pspp-0.6.2'
     make: *** [check] Error 2
     
     -- 
     Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
     mailto:address@hidden | tel/fax +33 1 45 68 87 37/19
     Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]