Bug#383746: qof: FTBFS (hppa, sparc, m68k): test suite failures - help required
> The 'main' function at the end of qof-0.7.0/qof/test/test-date.c > contains a DEBUG section that can be enabled by either using #define > TEST_DEBUG 1 or by commenting out the #ifdef and #endif in each case. > Compiling and running the test (either directly or using make check) > will then create a debug file, "test-date.trace". Would you mind > attaching "test-date.trace" please? The attachment is from a build on etch rather than sid. Enter in test-date.c: main() Info: run_qoftime_test(): base date for section =2006-07-13 23:20:27.000345634 + Info: run_qoftime_test(): same time previous day = 2006-07-12 23:20:27.000345634 + Info: run_qoftime_test(): same time previous month = 2006-06-13 23:20:27.000345634 + Info: run_qoftime_test(): same time previous year = 2005-07-13 23:20:27.000345634 + Debug: qof_date_format_set_date_separator(): Prevented attempt to override a default format Enter in qofdate.c: qof_date_format_add() str=%T Leave: qof_date_format_add() successful Enter in qofdate.c: qof_date_format_add() str=%a%A%b%B%c%C%d%D%e%F%f%r Leave: qof_date_format_add() %a%A%b%B%c%C%d%D%e%F%f%r creates a string 'MonMondayAugAugustMon Aug 21 02:45:34 2006202108/21/06212006-08-21%f02:45:34 AM' that is too long! Max=41 str_len=79 Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: qof_date_to_struct_tm(): date too large for struct tm Error: strftime_case(): locale format out of range. Error: qof_date_print(): qof extended strftime failed Error: stamp_and_scan(): df=5 str=1995-03-26T06:00:00Z scan=1995-03-26T11:00:00Z Error: stamp_and_scan(): df=5 str=1995-03-26T05:58:20Z scan=1995-03-26T10:58:20Z Error: stamp_and_scan(): df=5 str=1974-10-27T14:28:56Z scan=1974-10-27T19:28:56Z Error: stamp_and_scan(): df=5 str=2032-03-28T06:25:31Z scan=2032-03-28T11:25:31Z Error: stamp_and_scan(): df=5 str=2006-10-29T07:20:21Z scan=2006-10-29T12:20:21Z Error: stamp_and_scan(): df=5 str=1980-04-27T08:01:40Z scan=1980-04-27T13:01:40Z Error: stamp_and_scan(): df=5 str=2006-04-02T07:00:00Z scan=2006-04-02T12:00:00Z Error: stamp_and_scan(): df=5 str=2020-10-25T06:59:31Z scan=2020-10-25T11:59:31Z Error: stamp_and_scan(): df=5 str=2025-02-07T11:22:45Z scan=2025-02-07T16:22:45Z Error: stamp_and_scan(): df=5 str=2020-10-25T06:59:31Z scan=2020-10-25T11:59:31Z Error: stamp_and_scan(): df=5 str=2006-04-02T06:59:59Z scan=2006-04-02T11:59:59Z Error: stamp_and_scan(): df=5 str=2006-04-02T07:00:00Z scan=2006-04-02T12:00:00Z Error: stamp_and_scan(): df=5 str=2006-04-02T14:00:00Z scan=2006-04-02T19:00:00Z Error: stamp_and_scan(): df=5 str=2006-04-02T15:00:00Z scan=2006-04-02T20:00:00Z Error: stamp_and_scan(): df=5 str=2028-05-09T05:00:00Z scan=2028-05-09T10:00:00Z Error: stamp_and_scan(): df=5 str=1944-10-09T04:00:00Z scan=1944-10-09T09:00:00Z Error: stamp_and_scan(): df=5 str=1965-03-07T19:31:04Z scan=1965-03-08T00:31:04Z Error: stamp_and_scan(): df=5 str=1933-10-02T03:00:00Z scan=1933-10-02T08:00:00Z Error: stamp_and_scan(): df=5 str=1907-10-07T03:34:29Z scan=1907-10-07T08:34:29Z Error: stamp_and_scan(): df=5 str=1891-12-04T01:45:53Z scan=1891-12-04T06:45:53Z Error: stamp_and_scan(): df=5 str=1244-03-01T04:59:59Z scan=1244-03-01T09:59:59Z Error: stamp_and_scan(): df=5
Bug#383746: qof: FTBFS (hppa, sparc, m68k): test suite failures - help required
Clint Adams wrote: >> Alternatively, if someone can build libqof1_0.7.0-1 on hppa (and >> possibly sparc / m68k too) and report back - maybe upload the packages >> for that arch if QOF builds properly - I'll be very grateful. > > I can reproduce the failure on sparc. What additional output would be > helpful? The 'main' function at the end of qof-0.7.0/qof/test/test-date.c contains a DEBUG section that can be enabled by either using #define TEST_DEBUG 1 or by commenting out the #ifdef and #endif in each case. Compiling and running the test (either directly or using make check) will then create a debug file, "test-date.trace". Would you mind attaching "test-date.trace" please? Thanks. -- Neil Williams = http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/ signature.asc Description: OpenPGP digital signature
Bug#383746: qof: FTBFS (hppa, sparc, m68k): test suite failures - help required
Neil Williams wrote: > > Alternatively, if someone can build libqof1_0.7.0-1 on hppa (and > possibly sparc / m68k too) and report back - maybe upload the packages > for that arch if QOF builds properly - I'll be very grateful. Sorry, I meant that if the working hppa build could be uploaded and someone can possibly build QOF on sparc and m68k too and report back, I'll be very grateful. -- Neil Williams = http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/ signature.asc Description: OpenPGP digital signature
Bug#383746: qof: FTBFS (hppa, sparc, m68k): test suite failures - help required
> Alternatively, if someone can build libqof1_0.7.0-1 on hppa (and > possibly sparc / m68k too) and report back - maybe upload the packages > for that arch if QOF builds properly - I'll be very grateful. I can reproduce the failure on sparc. What additional output would be helpful? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#383746: qof: FTBFS (hppa, sparc, m68k): test suite failures - help required
I need some help fixing this. I'm the upstream developer and co-maintainer for libqof1 and I am in the NM process, so don't have direct access to hppa, sparc or m68k where this problem occurs. sparc and m68k are flagged as "not keeping up so never mind" so I haven't looked into those two. Since the upload, I have been monitoring the buildd reports and trying to identify the source of the problem. However, my AM has built libqof1_0.7.0-1 on hppa without problems, yet the buildd hppa build log shows the same test failures. It is possible to simply disable the tests (which have not been enabled in previous releases) and let the package build, albeit with bugs on these architectures. Alternatively, if someone can build libqof1_0.7.0-1 on hppa (and possibly sparc / m68k too) and report back - maybe upload the packages for that arch if QOF builds properly - I'll be very grateful. The test failures appear in a section of code that tests conversions of seconds (64bit) into date strings and date strings back to seconds, using extended versions of strftime and strptime that can handle 64bit dates on 32bit systems. The code compiles fine, it's only the tests that fail and not all such tests fail - although the precise number of failures changes between architectures. hppa buildd log: http://buildd.debian.org/fetch.php?&pkg=qof&ver=0.7.0-1&arch=hppa&stamp=1155137213&file=log&as=raw sparc buildd log: http://buildd.debian.org/fetch.php?&pkg=qof&ver=0.7.0-1&arch=sparc&stamp=1155137227&file=log&as=raw m68k buildd log: http://buildd.debian.org/fetch.php?&pkg=qof&ver=0.7.0-1&arch=m68k&stamp=1155144846&file=log&as=raw -- Neil Williams = http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/ signature.asc Description: OpenPGP digital signature