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 668926 - Fails to build on GNU/Hurd
Fails to build on GNU/Hurd
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Backend - XML
2.4.x
Other GNU Hurd
: Normal major
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2012-01-28 19:04 UTC by Sébastien Villemot
Modified: 2018-06-29 23:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for building on GNU/Hurd (2.34 KB, patch)
2012-01-28 19:04 UTC, Sébastien Villemot
committed Details | Review

Description Sébastien Villemot 2012-01-28 19:04:45 UTC
Created attachment 206336 [details] [review]
Patch for building on GNU/Hurd

This is Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408583

GnuCash fails to build on the Hurd, because the PATH_MAX constant is undefined on Hurd (see the Debian bug report for the exact location; the crash is in the XML backend).

I attach a patch which fixes the problem. I followed the advice given there:

http://www.gnu.org/software/hurd/hurd/porting/guidelines.html

Note that, with that patch, I was able to start GnuCash on Debian GNU/Hurd. It looks functional, but it crashes when trying to save a file. I will make a separate report for this different issue.
Comment 1 Christian Stimming 2012-01-28 22:02:36 UTC
Comment on attachment 206336 [details] [review]
Patch for building on GNU/Hurd

Not that I have any Hurd system in reach, but the patch looks fine so far.
Comment 2 Christian Stimming 2012-01-28 22:06:17 UTC
Comment on attachment 206336 [details] [review]
Patch for building on GNU/Hurd

r21900 (on SVN trunk), thanks!
Comment 3 John Ralls 2017-09-24 22:44:20 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 4 John Ralls 2018-06-29 23:05:36 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=668926. Please update any external references or bookmarks.