Opened 5 years ago
Last modified 5 years ago
#60414 assigned defect
base: (linux) failed to determine number of available CPUs — at Version 8
Reported by: | kencu (Ken) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | linux | Cc: | |
Port: |
Description (last modified by kencu (Ken))
Warning: failed to determine the number of available CPUs (probably not supported on this platform) Warning: defaulting to 2 jobs, consider setting buildmakejobs to a nonzero value in macports.conf
when running PortIndex after installing MacPorts 2.6.2 on Ubuntu Linux 20.04, this error is noted a number of times when parsing the Portfiles of various ports.
Change History (8)
comment:1 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
comment:2 Changed 5 years ago by kencu (Ken)
Yeah -- dunno -- Ryan is asking us to make sure that our Portfiles work on Linux -- so I figured I might as well start to figure out if MacPorts works on Linux at all, and start opening some tickets to see what is what when it comes to MacPorts on Linux.
If it is going to be a "wontfix" for any linux issues, we might as well stop trying to support it with "platform darwin" everywhere. That could be a reasonable decision, I don't know.
comment:3 Changed 5 years ago by kencu (Ken)
As an aside, MP 2.6.2 installs on linux (Ubuntu 20.04, six days old now) with no trouble at all, after installing some required packages that are normally found on MacOS system installations, all of them (pretty much) outlined on the MP install page. So that went very smoothly, and kudos there to Josh et al...
comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
When any of us have an issue with an older system, we usually turn to ... Ken.
I am not sure if we have an equivalent person for Linux.
I would be happy to look around for a solution, but maintaining ports on the different versions of macOS is tricky enough.
Perhaps I am getting too far afield of this ticket.
How much effort to put into Linux may be an issue for the mailing lis.
In the meantime, as I said, I will try to solve this particular problem as best I am able.
comment:5 Changed 5 years ago by kencu (Ken)
Totally agree -- linux is kinda fun... up to the group. I certainly don't need to open any tickets.
Is there interest in a one-pager about how to install MacPorts on Ubuntu? That is actually pretty simple, if we want to encourage that process.
comment:6 Changed 5 years ago by kencu (Ken)
Hmmm ... may not be worth spending time on, in the end. Nothing will install, at all, not even a single simple port. Unless we get really lucky and there is some setting in macports.conf that suddenly makes it all work, this looks like a project...
comment:7 Changed 5 years ago by jmroot (Joshua Root)
This doesn't actually break anything and isn't really a problem with a specific port, base just has no support for determining the number of CPUs on Linux. You'll see this any time the default value of build.jobs is read.
comment:8 Changed 5 years ago by kencu (Ken)
Description: | modified (diff) |
---|---|
Owner: | MarcusCalhoun-Lopez deleted |
Port: | qt513-qtbase-docs removed |
Summary: | qt513-qtbase-docs: (linux) failed to determine number of available CPUs → base: (linux) failed to determine number of available CPUs |
Unfortunately, I have no access to a Linux machine to track down this error.
Unless someone can offer any insight, we might have to close it as won't fix.