[MacPorts] #60567: uhd @3.15.0.0: fatal error: 'CoreFoundation/CFBase.h' file not found (was: Error building UHD)
MacPorts
noreply at macports.org
Tue Jun 30 04:00:24 UTC 2020
#60567: uhd @3.15.0.0: fatal error: 'CoreFoundation/CFBase.h' file not found
---------------------------+-----------------------
Reporter: dani-hopkins | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: uhd |
---------------------------+-----------------------
Comment (by ryandesign):
Replying to [comment:5 michaelld]:
> Try with the "-s" to build it from source instead of trying to download
the pre-compiled binary.
It's obviously already building from source, after failing to download a
binary.
Replying to [comment:10 dani-hopkins]:
> i have just uploaded the text file that was in the zip folder as when i
clicked on the attachment here it didnt show any english. the text file
does. apologies if i have sentthe same thing twice and you could access
the file form the zip folder
I've deleted this attachment since it was the same content as the bz2 you
uploaded already.
Replying to [comment:12 dani-hopkins]:
> it is asking me to update my os now, i am on catalina. i have tried
putting that into terminal and it says command not found. i will try the
OS update and try to instal xcode again as when i do install or update
xcode it tells me its all upto date
Michael wasn't asking you to put anything into your Terminal; he was
showing us which lines of the log you attached contain the relevant error
message. It said `fatal error: 'CoreFoundation/CFBase.h' file not found`,
and that's odd, because that header should exist. What happens when you
run this in the Terminal:
{{{
ls -l
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h
}}}
On our Catalina buildbot worker, that file exists, and
[https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/29172/steps
/install-port/logs/stdio the build of uhd 3.15.0.0 succeeded]. So I agree
with Michael in suspecting something strange about your computer—not
Xcode, since this port doesn't use Xcode, but rather the command line
tools. You may need to update or reinstall them.
Another possibility is that the port actually is using Xcode, even though
it does not declare that (it does not say `use_xcode yes`). Your log shows
you do not have Xcode installed. If the port is trying to find CFBase.h in
Xcode, the fact that you don't have Xcode could explain the error message
about it not being there. You could try installing Xcode.
--
Ticket URL: <https://trac.macports.org/ticket/60567#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list