#62693 closed defect (worksforme)
cctools (presumably): No port llvm-10 found in the index
Reported by: | thetrial (alabay) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | legacy-os, elcapitan | Cc: | kencu (Ken) |
Port: | cctools |
Description
I have a strange error and cannot file that properly due to the lack of a logfile.
Two 10.11.6 machines run the same macports setup (same requested ports), a Mac Pro (2,1) and a MacBook Pro (5,5). On the MacBook Pro everything runs through (except keepassxc, but that is another story), on the Mac Pro I get an untypical error:
Warning: No port llvm-10 found in the index. ---> Computing dependencies for cctoolsError: Problem while installing cctools Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Exactly this way, with no new line, no log, nothing. So I’m not sure to what this error could belong. To cctools? To macports itself?
Change History (15)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Owner: | changed from jeremyhu, to jeremyhu |
---|
comment:3 Changed 4 years ago by thetrial (alabay)
No, I get this output:
llvm-10 @10.0.1_1 (lang) Sub-ports: clang-10, lldb-10 Variants: assertions, debug, ocaml, polly, universal Description: The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!) These libraries are built around a well specified code representation known as the LLVM intermediate representation ("LLVM IR"). Homepage: https://llvm.org/ Extract Dependencies: xz Build Dependencies: cmake, pkgconfig, cctools, clang-9.0 Library Dependencies: libedit, libffi, ncurses, xar, zlib, libcxx Runtime Dependencies: perl5, llvm_select Platforms: darwin License: NCSA Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Email: larryv@macports.org, GitHub: larryv Email: kencu@macports.org, GitHub: kencu
comment:4 Changed 4 years ago by thetrial (alabay)
Still the same here. This is really strange due to there is no log or clear statement except »Warning: No port llvm-10 found in the index«.
comment:5 Changed 4 years ago by kencu (Ken)
do you have xcode installed? or just the command-line tools?
comment:6 Changed 4 years ago by kencu (Ken)
also, do you already have some version of cctools installed? if so, what?
port -v installed cctools
comment:7 Changed 4 years ago by thetrial (alabay)
I have xcode installed.
port -v installed cctools
None of the specified ports are installed.
comment:8 Changed 4 years ago by kencu (Ken)
here's what I see:
$ uname -a Darwin os-x-10.11-el-capitan.shared 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64
$ port -v MacPorts 2.6.4 Entering shell mode... ("help" for help, "quit" to quit) [Users/me] > quit
$ port info cctools cctools @949.0.1 (devel) Variants: [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, xcode Description: A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms. Homepage: https://opensource.apple.com/source/cctools/ Build Dependencies: libunwind-headers Library Dependencies: llvm-10 Platforms: darwin License: (APSL-2 or GPL-2+) Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Email: kencu@macports.org, GitHub: kencu Policy: openmaintainer
$ sudo port install cctools ---> Computing dependencies for cctools The following dependencies will be installed: bzip2 gettext icu libcxx libedit libffi libiconv libxml2 llvm-10 llvm_select ncurses openssl xar xz zlib Continue? [Y/n]: Y ---> Activating libcxx @5.0.1_4 ---> Cleaning libcxx ---> Activating ncurses @6.2_1 ---> Cleaning ncurses ---> Activating libedit @20210216-3.1_0 ---> Cleaning libedit ---> Activating libffi @3.3_1 ---> Cleaning libffi ---> Activating llvm_select @2_0 ---> Cleaning llvm_select ---> Activating bzip2 @1.0.8_0 ---> Cleaning bzip2 ---> Fetching archive for icu ---> Attempting to fetch icu-67.1_4.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/icu ---> Attempting to fetch icu-67.1_4.darwin_15.x86_64.tbz2.rmd160 from https://ywg.ca.packages.macports.org/mirror/macports/packages/icu ---> Installing icu @67.1_4 ---> Activating icu @67.1_4 ---> Cleaning icu ---> Activating libiconv @1.16_1 ---> Cleaning libiconv ---> Activating gettext @0.19.8.1_2 ---> Cleaning gettext ---> Activating xz @5.2.5_0 ---> Cleaning xz ---> Activating zlib @1.2.11_0 ---> Cleaning zlib ---> Activating libxml2 @2.9.10_1 ---> Cleaning libxml2 ---> Activating openssl @1.1.1k_0 ---> Cleaning openssl ---> Activating xar @1.8.0.452_0 ---> Cleaning xar ---> Activating llvm-10 @10.0.1_1 ---> Cleaning llvm-10 ---> Activating cctools @949.0.1_0+llvm10 ---> Cleaning cctools ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
comment:9 Changed 4 years ago by kencu (Ken)
what prefix are you building into? Do you have to build llvm-10 etc, or are you getting it from the buildbot? Are you using +universal, or just normal?
comment:10 Changed 4 years ago by kencu (Ken)
I can only guess the MacPro is somehow hosed. Diskutil check, some mod in the ports tree you made, some ports overlay, anything?
I would try for a bit, and if no happiness, go the "macports migration guide", check out how to save a list of all your installed ports, do that, then uninstall and completely blow out macports, reinstall it, and restore your ports.
Life is too short sometimes for extensive, inexplicable weirdness (IMHO) as much as we would love to tell you exactly what it is that is wrong on the MacPro, it may not be worth that amount of effort to sort out.
comment:11 Changed 4 years ago by thetrial (alabay)
I did not request cctools, I guess it is a dependency (?). That’s the reason why I don’t know about llvm-10.
I can try this.
uname -a Darwin xxx 15.6.0 Darwin Kernel Version 15.6.0: Mon Nov 13 21:58:35 PST 2017; root:xnu-3248.72.11~1/RELEASE_X86_64 x86_64 port info cctools cctools @949.0.1 (devel) Variants: [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, xcode Description: A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms. Homepage: https://opensource.apple.com/source/cctools/ Build Dependencies: libunwind-headers Library Dependencies: llvm-10 Platforms: darwin License: (APSL-2 or GPL-2+) Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Email: kencu@macports.org, GitHub: kencu Policy: openmaintainer
The reason I don’t want to set that up again is that e.g. keepassxc than would be lost. That built unteil 2.6.3 … since then boo. I’ll try to manually install cctools … and see what happens.
comment:12 Changed 4 years ago by thetrial (alabay)
Well, it starts with …
sudo port install cctools Password: ---> Computing dependencies for cctools The following dependencies will be installed: llvm-10 Continue? [Y/n]: ---> Fetching archive for llvm-10
aaand …
---> Attempting to fetch llvm-10-10.0.1_1.darwin_15.x86_64.tbz2 from https://packages.macports.org/llvm-10 ---> Attempting to fetch llvm-10-10.0.1_1.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/llvm-10 ---> Installing llvm-10 @10.0.1_1 ---> Activating llvm-10 @10.0.1_1 ---> Cleaning llvm-10 ---> Fetching archive for cctools ---> Attempting to fetch cctools-949.0.1_0+llvm10.darwin_15.x86_64.tbz2 from https://packages.macports.org/cctools ---> Attempting to fetch cctools-949.0.1_0+llvm10.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/cctools ---> Installing cctools @949.0.1_0+llvm10 ---> Activating cctools @949.0.1_0+llvm10 ---> Cleaning cctools ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
Why did that work now?! It ran through as if there was no problem. But unrequested it gave an error?! I’ll see what comes next with an update outdated.
comment:13 Changed 4 years ago by thetrial (alabay)
Well, this time it became …
Error: Problem while installing libgcc10
I don’t know if that has to do with this …
:info:build <built-in>: internal compiler error: Illegal instruction: 4
I’ll look at this later. If necessary, I’ll file the next problem for libgcc10 :-)
comment:14 Changed 4 years ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
ok. well, it was something, but we may never know exactly what. I'll close this, if you get clarity in libgcc10 that can be a new ticket.
comment:15 Changed 4 years ago by jmroot (Joshua Root)
Looks rather like a circular dependency. Could be something like #62345.
You might get a bit more information with the -d option. Does e.g.
port info llvm-10
also fail?