FS#54924 - [latex2html] cannot be executed

Attached to Project: Arch Linux
Opened by Johannes Wienke (languitar) - Tuesday, 25 July 2017, 11:15 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 26 July 2017, 11:47 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

languitar@jaco /tmp [125]> latex2html -h
Failed to execute process '/usr/bin/latex2html'. Reason:
exec: Exec format error
The file '/usr/bin/latex2html' is marked as an executable but could not be run by the operating system.

Seems the script misses a #! line.

Additional info:
local/latex2html 2017.2-1
This task depends upon

Closed by  Ronald van Haren (pressh)
Wednesday, 26 July 2017, 11:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  removed the --enable-wrapper config flag in latex2html 2017.2-2
Comment by Doug Newgard (Scimmia) - Tuesday, 25 July 2017, 13:30 GMT
sounds like a shell problem. This file doesn't use a shebang, it should be evaluated by the shell, and start perl itself.

Edit, looking closer, does your perl even work at all?
Comment by Johannes Wienke (languitar) - Tuesday, 25 July 2017, 13:31 GMT
Yikes, never seen such a thing before. This makes latex2html unusable in fish sell.
Comment by Johannes Wienke (languitar) - Tuesday, 25 July 2017, 13:34 GMT Comment by Johannes Wienke (languitar) - Tuesday, 25 July 2017, 20:49 GMT
The upstream authors replied that this is caused by a flag in the PKGBUILD:

> This is caused by "--enable-wrapper" in the archlinux build script.
> It looks like latex2html is behaving as expected, so I will close.

So this needs to be fixed in the arch package.

Loading...