mpfr patchfile missing

Ryan Schmidt ryandesign at macports.org
Tue Jul 20 16:24:43 PDT 2010


On Jul 20, 2010, at 18:08, Deepak Ramachandran wrote:

> I tried your suggestions for both problems. They failed, but I've attached the log files.  One of them referred to a logfile in the texmf directory. I attached the one i think it meant. 


> On Tue, Jul 20, 2010 at 3:53 PM, Ryan Schmidt wrote:
> 
>> On Jul 20, 2010, at 17:02, Deepak Ramachandran wrote:
>> 
>> > I installed latex and it was working normally. But at some point i think i did a self-update and then whenever i tried to run latex i got this:
>> >
>> > dyld: Library not loaded: /opt/local/lib/libpoppler.5.dylib Referenced from: /opt/local/bin/pdflatex
>> > Reason: image not found
>> > Trace/BPT trap
>> >
>> 
>> > I saw a message on the developers list that said this can be fixed by a revbump.
>> 
>> Your pdflatex (part of the texlive-latex package) is expecting to find version 5 of the poppler library; this library was part of the poppler 0.12.x software. Poppler was recently updated to version 0.14.x, which increased the library version to 6. Therefore texlive-latex needs to have its revision increased so users are advised (via "port outdated") that they need to rebuild. I have filed a ticket in the issue tracker for this problem for you:
>> 
>> http://trac.macports.org/ticket/25758
>> 
>> In the mean time, you can forcibly rebuild texlive-latex:
>> 
>> sudo port clean texlive-latex
>> sudo port -n upgrade --force texlive-latex

> <main.log>

This log shows you attempting to install texlive-latex and it failing at this step:

:info:activate fmtutil: running `pdftex -ini   -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ...
:info:activate dyld: Library not loaded: /opt/local/lib/libpoppler.5.dylib
:info:activate   Referenced from: /opt/local/bin/pdftex
:info:activate   Reason: image not found
:info:activate /opt/local/bin/fmtutil: line 341:  2952 Trace/BPT trap          ${1+"$@"}
:info:activate Error: `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed

/opt/local/bin/pdftex is provided by texlive-bin, so texlive-bin needs to be upgraded before texlive-latex can be built.

Unlike texlive-latex, texlive-bin already received a revision bump, so you should just be able to

sudo port clean texlive-bin
sudo port upgrade texlive-bin


>> > I'm not sure what that means so I just tried to selfupdate. However after selfupdate when i try to run upgrade I get:
>> >
>> > $ sudo port upgrade outdated
>> > ---> Computing dependencies for mpfr
>> > ---> Applying patches to mpfr
>> > Error: Target org.macports.patch returned: Patch file patch02 is missing
>> > Log for mpfr is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/main.log
>> > Error: Status 1 encountered during processing.
>> >
>> >
>> > I don't know what to do now (?)
>> 
>> Clean mpfr and try again. I checked just now, and the patchfiles do exist on several of the distfiles servers so they should have been downloaded to your computer during the fetch phase.
>> 
>> sudo port clean mpfr
>> sudo port upgrade mpfr
>> 
>> If it fails again, please provide the complete log file.

> <main.log>

This log shows mpfr again failing to find patch02 during the patch phase. I must admit I do not understand why, since it clearly shows in the checksum phase before it that it verified the correct checksums for all three patchfiles. You could try deleting the distfiles and patchfiles and trying again, but I don't know why that would help:

sudo port clean --all mpfr
sudo port upgrade mpfr

You are using MacPorts 1.9.1?


> <updmap.log>

This log appears to be unrelated.



More information about the macports-users mailing list