From jralls at ceridwen.us Fri Apr 3 19:20:22 2026 From: jralls at ceridwen.us (John Ralls) Date: Fri, 3 Apr 2026 16:20:22 -0700 Subject: 5.15 flatpak $buildid In-Reply-To: References: Message-ID: <0C0815F2-F25B-46E7-B8BB-BAC8597B382D@ceridwen.us> I figured out the date problem. There are two parts: First, there?s a typo at https://github.com/Gnucash/gnucash/blob/d42e2c5e40216f4a587e1efaef618229174087d2/CMakeLists.txt#L177: The path to libgnucash/core-utils/gnc-vcs-info.h is missing a ?/? so instead of using the file from the tarball cmake is invoking cmake/no-vcs2version-info.cmake. That calls string(TIMESTAMP GNC_VCS_REV_DATE ?%Y-%m-%d?) to set the date to today. Apparently the system clock on the flathub build machine is (or at least was on Sunday) messed up, producing the bogus build and copyright dates. I?ve pushed that flathub, should have a new 3.15-1 with the correct build id and copyright date in a couple of hours. Regards, John Ralls > On Mar 31, 2026, at 10:38?AM, John Ralls wrote: > > Well, I found the Build ID problem easily enough, I?d made a mistake with the variable name (BUILD_ID instead of GNUCASH_BUILD_ID) in the manifest. The copyright date is still wrong, CMake seems to think it?s doing a git build instead of a distribution tarball one and since there?s no .git directory it?s getting the date wrong. > > Regards, > John Ralls > > >> On Mar 31, 2026, at 6:56?AM, Christopher Lam wrote: >> >> Hi John, >> The flatpak build id and date are mangled somehow! >> Build ID: 5.15-unknown-commit(2011-11-11) >> Finance::Quote: 1.68 >> Copyright ? 1997-2011 The GnuCash contributors >> >> _______________________________________________ >> gnucash-devel mailing list >> gnucash-devel at gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel at gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel