After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774237 - FTBFS under some timezones (eg. GMT-14)
FTBFS under some timezones (eg. GMT-14)
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Build system
2.6.13
Other Linux
: Normal major
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2016-11-11 00:55 UTC by Dmitry Smirnov
Modified: 2018-06-29 23:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dmitry Smirnov 2016-11-11 00:55:40 UTC
As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841784

gnucash fails to build from source in unstable/amd64 under 
some timezones (eg. TZ="/usr/share/zoneinfo/Etc/GMT-14").

This is due to the use of gmtime and the day "wrapping" to the
previous so the test assertion fails:

  […]
  
  FAIL: test-csv-imp
  ==================
  
  /import-export/csv-imp/gnc-csv-model/parse date: 
  (/home/lamby/temp/cdt.20161024032458.8lL14gIH7K.db.gnucash/gnucash-2.6.13/src/import-export/csv-imp/test/.libs/lt-test-csv-imp:17582): gnc.import.csv-ERROR **: Parse_date failed for date '2013-08-01' and format '0'.
  Expected result: year 113, month 7, day 1
  Obtained result: year 113, month 6, day 31
  FAIL test-csv-imp (exit status: 133)
Comment 1 John Ralls 2016-12-10 22:33:50 UTC
This problem has been fixed in our software repository. The fix will go into the next software release.
Comment 2 John Ralls 2018-06-29 23:51:56 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=774237. Please update any external references or bookmarks.