Opened 5 years ago

Closed 5 years ago

#59411 closed defect (invalid)

texlive-bin @2019.50896_1+x11 build failure

Reported by: pcd-leaf Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: catalina Cc: rubendibattista (Ruben Di Battista), cjones051073 (Chris Jones)
Port: texlive-bin

Description (last modified by jmroot (Joshua Root))

Dear all, I have recently up-graded to Catalina OSX. I have followed all the instructions to migrate properly https://trac.macports.org/wiki/Migration but i encountered troubles, specifically with installing texlive. I did the following steps:

  1. I installed X-Code new release, Version 11.1 (11A1027)
  2. I uninstalled all my ports sudo port -f uninstall installed; sudo rm -rf /opt/local/var/macports/build/*
  3. I installed I downloaded and installed https://github.com/macports/macports-base/releases/download/v2.6.2/MacPorts-2.6.2-10.15-Catalina.pkg
  4. I updated my ports sudo port -v selfupdate
  5. I installed sudo port -v install xorg-server which has been successful
  6. Then I tried to install texlive sudo port -v install texlive

with no success. Attached you will find the main.log for details. I already tried 3 times to complete all the preceeding steps with no success.... So if someone could explain to me what I am doing wrong or if anyone is experiencing the same hurdles please tell me. Many thanks for your help !

Attachments (2)

main.log (4.5 MB) - added by pcd-leaf 5 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log
ls_usr_local.log (27.0 KB) - added by pcd-leaf 5 years ago.
ls usr/local/*

Change History (13)

Changed 5 years ago by pcd-leaf

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log

comment:1 Changed 5 years ago by rubendibattista (Ruben Di Battista)

Cc: rubendibattista added

comment:2 Changed 5 years ago by rubendibattista (Ruben Di Battista)

You probably installed, for whatever reason, most probably compiling manually, stuff in /usr/local.

Check here for recommendations: https://trac.macports.org/ticket/56682 (i.e. delete libmpfr and libgmp from /usr/local)

Never mind. It seems a different issue. texlive-bin is somehow looking for stuff in /usr/local

:info:build libtool: link: /usr/bin/clang -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -o .libs/pdvitype pdvitype-pdvitype.o  libkanji.a lib/libp.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-2019.50896-stripped/texk/ptexenc/.libs/libptexenc.dylib lib/lib.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-2019.50896-stripped/texk/kpathsea/.libs/libkpathsea.dylib
:info:build clang: error: no such file or directory: '/usr/local/lib/libmpfr.a'
:info:build clang: error: no such file or directory: '/usr/local/lib/libgmp.a'
:info:build make[5]: *** [pmpost] Error 1
Last edited 5 years ago by rubendibattista (Ruben Di Battista) (previous) (diff)

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: catalina added; Texlive removed
Owner: set to drkp
Port: texlive-bin added
Priority: HighNormal
Status: newassigned
Summary: Catalina - Failed to build texlive-bintexlive-bin @2019.50896_1+x11 build failure
Type: updatedefect

comment:4 Changed 5 years ago by cjones051073 (Chris Jones)

Do you have anything installed under /usr/local ? i.e. what does running

ls /usr/local/*

return ?

FWIW, texlive-bin installs just fine for me here, on macOS 10.15 + Xcode 11.1, so I suspect its something related to what your system has in the above area. If you do have things installed in /usr/local, please remove them and try again.

( b.t.w. I assume you aren't trying to use Homebrew and Macports at the same time ;) ? )

comment:5 Changed 5 years ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

Changed 5 years ago by pcd-leaf

Attachment: ls_usr_local.log added

ls usr/local/*

comment:6 Changed 5 years ago by pcd-leaf

I have in the past used HomeBrew, but switched to Macports.

comment:7 Changed 5 years ago by cjones051073 (Chris Jones)

OK, so you have a lot of stuff installed in /usr/local. This is your problem, macPorts does not support this, you need to remove it.

See

https://trac.macports.org/wiki/FAQ#usrlocal

for more details.

comment:8 Changed 5 years ago by pcd-leaf

Thanks for the FAQ. Do you know if I can remove everything that is in /usr/local ?

comment:9 Changed 5 years ago by cjones051073 (Chris Jones)

Only you can decide that, as only you know the origins behind how what is there got installed...

Last edited 5 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:10 Changed 5 years ago by cjones051073 (Chris Jones)

At the very least though, if something is there in /usr/local because of homebrew, you need to make sure you have completely uninstalled everything you installed with homebrew. You need to check with the homebrew faqs etc. on how to do that ;)

comment:11 Changed 5 years ago by cjones051073 (Chris Jones)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.