[MacPorts] #39690: Some texlive ports print error messages at activation
#39690: Some texlive ports print error messages at activation --------------------------+---------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: --------------------------+---------------------- When upgrading the many outdated texlive ports today, many of them issued error messages at activation time, but MacPorts still shows them as active now. The full console log is attached, but there are many occurrences of this type of error: {{{ ---> Installing texlive-lang-european @30457_0+doc ---> Activating texlive-lang-european @30457_0+doc Error: org.macports.activate for port texlive-lang-european returned: command execution failed Please see the log file for port texlive-lang-european for details: /opt/local/var/macports/logs /_Users_rschmidt_macports_dports_tex_texlive-lang-european/texlive-lang- european/main.log Error: Problem while installing texlive-lang-european To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} That logfile is attached. It says: {{{ :info:activate ERROR: The following map file(s) couldn't be found: :info:activate ccpl.map (in /opt/local/var/db/texmf/web2c/updmap.cfg) :info:activate plother.map (in /opt/local/var/db/texmf/web2c/updmap.cfg) :info:activate pltext.map (in /opt/local/var/db/texmf/web2c/updmap.cfg) :info:activate tabvar.map (in /opt/local/var/db/texmf/web2c/updmap.cfg) :info:activate :info:activate Did you run mktexlsr? :info:activate :info:activate You can disable non-existent map entries using the option :info:activate --syncwithtrees. :info:activate :info:activate Command failed: /opt/local/bin/updmap-sys :info:activate Exit code: 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/39690> MacPorts <http://www.macports.org/> Ports system for OS X
#39690: Some texlive ports print error messages at activation ---------------------------+---------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ---------------------------+---------------------- Comment (by ryandesign@…): From my log: {{{ Warning: No port dvipng found in the index. }}} This was because in r107919 you incremented the revision to rebuild dvipng with the new libkpathsea, but I had the same revision increment already made locally for the impending gd2 update in #39550. I increased the revision further (locally) and rebuilt dvipng again, and deactivated and reactivated all the texlive ports I had installed. They all activated ok now, so I'm not sure if this was the culprit, or whether there is a missing dependency somewhere and the order of upgrades wasn't correct. -- Ticket URL: <https://trac.macports.org/ticket/39690#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39690: Some texlive ports print error messages at activation ---------------------------+---------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ---------------------------+---------------------- Comment (by dports@…): These error messages are unfortunately expected when upgrading from one major revision of the texlive ports to the next: when some of the installed ports have been upgraded but the others haven't yet, map/format generation in the post-activate hook may fail. This isn't a problem aside from the error message, since the final post-activate script will take care of it. (What we really want to do is run all the post-activate scripts after all the ports have been upgraded -- or, better still, run the post-activate script once rather than once per port -- but that would require something like Debian's dpkg triggers.) We should probably wrap some of the post-activate commands in a try block when failures are expected so they don't get reported, however. -- Ticket URL: <https://trac.macports.org/ticket/39690#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39690: Some texlive ports print error messages at activation ---------------------------+---------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: | ---------------------------+---------------------- Changes (by dports@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 dports@…]:
We should probably wrap some of the post-activate commands in a try block when failures are expected so they don't get reported, however.
Actually, we already do this for fmtutil, but we should now do it for updmap too. r107988 -- Ticket URL: <https://trac.macports.org/ticket/39690#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39690: Some texlive ports print error messages at activation ---------------------------+---------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: | ---------------------------+---------------------- Comment (by larryv@…): Has duplicate #39792. -- Ticket URL: <https://trac.macports.org/ticket/39690#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts