FS#46360 - [openra] Patch for latest Makefile features

Attached to Project: Community Packages
Opened by Matthias Mailänder (Mailaender) - Sunday, 20 September 2015, 06:31 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 10 November 2015, 15:58 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We now allow Linux packagers to generate and install man pages as well as AppStream metadata. Also the website URL has changed some time ago.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 10 November 2015, 15:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  Partially implemented
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 20 September 2015, 22:24 GMT
This gives me:

==> Starting package()...
Installing OpenRA to /build/openra/pkg/openra/usr/lib/openra
Installing OpenRA tools to /build/openra/pkg/openra/usr/lib/openra

Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/root/.openra" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /build/mono/src/mono-4.0.4/mcs/class/corlib/System.IO/Directory.cs:114
at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /build/mono/src/mono-4.0.4/mcs/class/corlib/System.IO/Directory.cs:78
at OpenRA.Platform.GetSupportDir () [0x00099] in /build/openra/src/OpenRA/OpenRA.Game/Platform.cs:91
at System.Lazy`1[System.String].CreateValue () [0x00075] in /build/mono/src/mono-4.0.4/external/referencesource/mscorlib/system/Lazy.cs:440
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/root/.openra" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /build/mono/src/mono-4.0.4/mcs/class/corlib/System.IO/Directory.cs:114
at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /build/mono/src/mono-4.0.4/mcs/class/corlib/System.IO/Directory.cs:78
at OpenRA.Platform.GetSupportDir () [0x00099] in /build/openra/src/OpenRA/OpenRA.Game/Platform.cs:91
at System.Lazy`1[System.String].CreateValue () [0x00075] in /build/mono/src/mono-4.0.4/external/referencesource/mscorlib/system/Lazy.cs:440
Makefile:325: recipe for target 'man-page' failed
Comment by Matthias Mailänder (Mailaender) - Monday, 21 September 2015, 05:39 GMT
Strange, it works in the VMs at https://build.opensuse.org/package/show/games:openra/release but I am not sure how best practices for PKGBUILD are when $HOME needs to get accessed.
Comment by Doug Newgard (Scimmia) - Monday, 21 September 2015, 05:49 GMT
$HOME cannot be accessed, period.
Comment by Matthias Mailänder (Mailaender) - Monday, 21 September 2015, 05:51 GMT
It shouldn't be necessary for man page generation, but as generic engine parts are re-used it is done automatically, but not really on purpose. You can report the problem at https://github.com/OpenRA/OpenRA/issues/new
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 21 September 2015, 11:20 GMT
It's trivial to check yourself: Just run extra-x86_64-build from devtools.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 02 November 2015, 05:52 GMT
So where we at with this?
Comment by Matthias Mailänder (Mailaender) - Wednesday, 04 November 2015, 20:47 GMT
Sorry, I don't run Arch Linux so I can't just "run extra-x86_64-build from devtools".

This was just meant to help tweak your packaging meta data a bit.

As your upstream we are also not really happy about https://aur.archlinux.org/packages/openra-bleed
Comment by Doug Newgard (Scimmia) - Wednesday, 04 November 2015, 23:42 GMT
AUR packages are user produced and supported content, they really have nothing to do with Arch proper.

Loading...