[MacPorts] #59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger

MacPorts noreply at macports.org
Sat Feb 8 23:58:00 UTC 2020


#59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger
-------------------------------------------------+-------------------------
  Reporter:  dgelessus                           |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  tiger i386
      Port:  libcxx llvm-3.4 clang-3.4 llvm-3.7  |
  clang-3.7                                      |
-------------------------------------------------+-------------------------

Comment (by dgelessus):

 > initially I have had some kind of trouble building libcxx -- I'll try
 again.

 Let me know if you run into anything. My test environment isn't completely
 clean (I uninstall and rebuild ports selectively as needed), so it's
 possible that some steps work on my machine but not with a fresh MacPorts
 install.

 > just an FYI, it turns out port:libxml2 and port:icu are not actually
 needed for any versions of llvm or clang

 At the moment llvm/clang isn't the issue. I have already rebuilt 3.4 and
 3.7 with your changes that removed the libxml2 dependency, and I can't
 build any newer Clangs yet, because I don't have CMake working yet. CMake
 has some dependencies that require icu/libxml2, and in those places we
 probably can't just remove the libxml2 dependencies. (The dependency
 chains are cmake -> curl -> libpsl -> glib2 -> libxml2, and cmake ->
 libarchive -> libxml2.)

 I was now able to build icu by forcing `configure.compiler=macports-gcc-7`
 (`macports-gcc-6` fails with a weird error that I didn't bother to debug).
 All other dependencies of cmake built normally. I'm now trying to see if I
 can build cmake itself using `macports-gcc-7` as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/59717#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list