FS#37718 - [imake] xmkmf not work

Attached to Project: Arch Linux
Opened by Lara Maia (mrk3004) - Sunday, 10 November 2013, 11:16 GMT
Last edited by Jan de Groot (JGC) - Monday, 09 December 2013, 12:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Terminal output:
Failed to execute process '/usr/bin/xmkmf'. Reason:
exec: Exec format error
The file '/usr/bin/xmkmf' is marked as an executable but could not be run by the operating system.


Additional info:
imake 1.0.6-1

Steps to reproduce:
run xmkmf
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 09 December 2013, 12:44 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Monday, 11 November 2013, 14:46 GMT
Works fine here. Which architecture?
Comment by Lara Maia (mrk3004) - Monday, 11 November 2013, 15:53 GMT
x86_64
Comment by Jan de Groot (JGC) - Monday, 11 November 2013, 16:15 GMT
Guess you should reinstall imake then, as I can't reproduce it on x86_64 here.
Comment by Lara Maia (mrk3004) - Monday, 11 November 2013, 18:20 GMT
Not work when default shell is fish. I tested in bash and worked.

Missing shebangs in source?
Comment by Jan de Groot (JGC) - Monday, 11 November 2013, 18:43 GMT
Ah, fun... the script is affected by the same issue xorg-xinit was affected by: they abuse cpp to generate shellscript files, latest versions of cpp keeps newlines, so the file starts with lots of blank lines before it prints the shebang line.

Loading...