Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16545 closed defect (fixed)

gnucash port doesn't work with data files on hard drive served up by airport extreme

Reported by: bzbarsky (Boris Zbarsky) Owned by: jmroot (Joshua Root)
Priority: High Milestone:
Component: ports Version: 1.6.0
Keywords: dataloss Cc:
Port: gnucash

Description

In particular, trying to save clobbers the data file. This is http://bugzilla.gnome.org/show_bug.cgi?id=549595 but even with that patch saving doesn't work. The problem is that the gnucash code is checking for EOPNOTSUPP, but link() is returning ENOTSUP. On Linux the two are always equal, but the OS X errno.h defines them to different things if DARWIN_UNIX03 is defined (which it apparently is when building gnucash).

Setting a high priority, since this leads to dataloss.

Attachments (1)

patch-enotsup.diff (1.1 KB) - added by bzbarsky (Boris Zbarsky) 16 years ago.
This fixes the problem. It applies on top of the patch in http://bugzilla.gnome.org/show_bug.cgi?id=549595

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by bzbarsky (Boris Zbarsky)

Attachment: patch-enotsup.diff added

This fixes the problem. It applies on top of the patch in http://bugzilla.gnome.org/show_bug.cgi?id=549595

comment:1 Changed 16 years ago by bzbarsky (Boris Zbarsky)

I have also filed this bug on upstream gnucash at http://bugzilla.gnome.org/show_bug.cgi?id=552306

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Added the patches in r39987. Please confirm that the port works correctly now (I don't have an AirPort base station to test with).

comment:4 Changed 16 years ago by bzbarsky (Boris Zbarsky)

Looks good to me (as in, produces the same source as what I tested my patch with).

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.