andrewd18 / df-lnp-installer

An installation script for the Dwarf Fortress Lazy Newb Pack, for Linux.
Other
93 stars 35 forks source link

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting. #62

Open beLizzard1 opened 10 years ago

beLizzard1 commented 10 years ago

patching file init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available patching file d_init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting.

andrewd18 commented 10 years ago

What distribution are you using? What version of patch are you using? Is this being performed on a local drive or a network share? What kind of filesystem are you using?

On Fri, May 30, 2014 at 8:35 AM, Robert James notifications@github.com wrote:

patching file init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available patching file d_init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting.

— Reply to this email directly or view it on GitHub https://github.com/andrewd18/df-lnp-installer/issues/62.

beLizzard1 commented 10 years ago

Fedora 20.GNU patch 2.7.1. /home mounted by NFS. EXT4. Running it on the local disk makes no difference still fails.

andrewd18 commented 10 years ago

The reason I ask is because this is not a scripting issue on my end. This is a compatibility issue between patch and your filesystem. Patch cannot find the Access Control Lists (ACLs) that are supposed to be provided by your filesystem. I would bet you get the same errors when running patch against any file, not just while working with DF. You should file a bug report with Red Hat.

Red Hat has a list of open bugs regarding programs that don't support ACLs, NFS/GlusterFS being one of them. https://bugzilla.redhat.com/buglist.cgi?quicksearch=posix_acl_access

Most of their patches I've seen while browsing this morning have been applied to the upcoming Fedora 21 release. This probably means they have not been backported to Fedora 20.

However, none of that will get you playing DF today. So, what's the workaround for your use case?

  1. Edit df-lnp-installer.sh
  2. Any time you see a "patch " command followed by a "if ["$?" != "0" ]" command (like on line 1090), remove the entire IF block.

Notable cases:

On Fri, May 30, 2014 at 9:06 AM, Robert James notifications@github.com wrote:

Fedora 20.GNU patch 2.7.1. /home mounted by NFS. EXT4

— Reply to this email directly or view it on GitHub https://github.com/andrewd18/df-lnp-installer/issues/62#issuecomment-44654295 .