Opened 14 years ago
Closed 14 years ago
#26586 closed defect (fixed)
latex2html @2008, Revision 2 (print) Install failure
Reported by: | vances (Vance Shipley) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | latex2html |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Installation of the port failed:
$ sudo port install latex2html ---> Computing dependencies for bzip2 ---> Fetching bzip2 ---> Attempting to fetch bzip2-1.0.6.tar.gz from http://www.bzip.org/1.0.6 ---> Verifying checksum(s) for bzip2 ---> Extracting bzip2 ---> Applying patches to bzip2 ---> Configuring bzip2 ---> Building bzip2 ---> Staging bzip2 into destroot ---> Computing dependencies for bzip2 ---> Installing bzip2 @1.0.6_0 ---> Deactivating bzip2 @1.0.5_3+darwin ---> Activating bzip2 @1.0.6_0 ---> Cleaning bzip2 ---> Computing dependencies for latex2html ---> Staging latex2html into destroot Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_latex2html/work/destroot/opt/local/bin/pstoimg": no such file or directory Error: Target org.macports.destroot returned: reinplace sed(1) failed Log for latex2html is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_latex2html/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (2)
Change History (6)
Changed 14 years ago by vances (Vance Shipley)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Please remember to use WikiFormatting so your posts are legible.
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.bz2 added |
---|
log showing the actual problem
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
I get this too. Your log doesn't show the problem though, since it skips the configure and build phases. (You hadn't cleaned before installing.) I attached a log showing the real problem, which I think is:
:info:configure checking for gs... /opt/local/bin/gs :info:configure checking for ghostscript version... no :info:configure Error: could not determine gs version :info:configure Warning: Will not be able to generate images due to above failure.
:info:build /opt/local/bin/perl /opt/local/var/macports/build/_Users_rschmidt_macports_dports_print_latex2html/work/latex2html-2008/config/build.pl -x pstoimg :info:build build.pl (Revision 1.6) :info:build /opt/local/var/macports/build/_Users_rschmidt_macports_dports_print_latex2html/work/latex2html-2008/config/build.pl: Warning: Skipping build of pstoimg because of missing external programs. :info:build touch pstoimg
:info:destroot Warning: pstoimg not installed, because build failed.
:debug:destroot Executing proc-post-org.macports.destroot-destroot-0 :debug:destroot couldn't read file "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_print_latex2html/work/destroot/opt/local/bin/pstoimg": no such file or directory
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
I believe the source of the problem is that the ghostscript port currently is at version 9.00rc2, a release candidate, and so "gs -h" prints this as its first line:
GPL Ghostscript RELEASE CANDIDATE 9.00 (2010-09-01)
Looking in latex2html's config/config.pl script, it is expecting the string to match this regular expression:
/Ghostscript\s*(?:Version|(?:PRE-|BETA |TESTER )RELEASE|)\s*(\d+[.]?\d*)/i
It's not expecting the words "release candidate" to appear there.
Indeed, I was not expecting our ghostscript port to be at a release candidate version; we use only stable versions unless there's a good reason not to. I have requested ghostscript be updated to 9.00 final in #26588 which should resolve this. I will also look into fixing latex2html to be able to detect release candidate versions of ghostscript.
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed latex2html to handle release candidate versions of ghostscript in r71773.
Log file