#50269: qt4-mac @4.8.7_3: use of undeclared CoreWLAN identifiers --------------------------------+------------------------- Reporter: murrayeisenberg@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt4-mac | --------------------------------+------------------------- Comment (by murrayeisenberg@…): Replying to [comment:5 michaelld@…]:
This is quite strange. You're trying to build on OS X 10.11, but for some reason the qcorewlan code either has the incorrect value for `__MAC_OS_X_VERSION_MAX_ALLOWED` or `MAC_OS_X_VERSION_10_7`. The code in question is "qt-everywhere-opensource- src-4.8.7/src/plugins/bearer/corewlan/qcorewlanengine.mm" line 65, which reads: {{{ #if __MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 }}} This switch was added a long time ago & has worked nicely for -everyone- that I know of since it's addition. It's really strange that your setup is the first I've encountered where this switch isn't working.
I find nothing strange or odd in the log file. Just out of curiosity, did you do a full clean before trying to install? Sometimes cruft happens & that's the best way to get rid of it: {{{ sudo port clean qt4-mac sudo port upgrade qt4-mac }}}
That's really my best idea right now. That and maybe Xcode didn't get installed correctly somehow & to try reinstalling it?
Certainly I executed "sudo port clean qt4-mac" before attempting upgrade again. (I even did a clean re-install of Xcode 7.2 and the corresponding command-line tools, just in case.) And the defect is persisting now with OS X 10.11.3. -- Ticket URL: <https://trac.macports.org/ticket/50269#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X