[MacPorts] #53781: disktype fails to build
MacPorts
noreply at macports.org
Mon Mar 13 01:15:04 UTC 2017
#53781: disktype fails to build
------------------------+-------------------
Reporter: Polyergic | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords:
Port: disktype |
------------------------+-------------------
Comment (by Polyergic):
Tried again, same result, but the errors appear to be in a different file
- changed from `file.c` to `cdaccess.c`:
{{{
:info:build gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -Wall -c cdaccess.c
:info:build In file included from /usr/include/Availability.h:184:0,
:info:build from /usr/include/stdio.h:65,
:info:build from global.h:33,
:info:build from main.c:28:
:info:build
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h:53:34:
error: 'introduced' undeclared here (not in a function)
:info:build kCFISO8601DateFormatWithYear API_AVAILABLE(macosx(10.12),
ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 0),
:info:build ^
:info:build gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -Wall -c cdimage.c
:info:build
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:777:39:
error: 'deprecated' undeclared here (not in a function)
:info:build const CFStringRef kCFURLLabelColorKey API_DEPRECATED("Use
NSURLLabelColorKey", macosx(10.6, 10.12), ios(4.0, 10.0), watchos(2.0,
3.0), tvos(9.0, 10.0));
:info:build ^
:info:build
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:777:39:
error: 'message' undeclared here (not in a function)
:info:build const CFStringRef kCFURLLabelColorKey API_DEPRECATED("Use
NSURLLabelColorKey", macosx(10.6, 10.12), ios(4.0, 10.0), watchos(2.0,
3.0), tvos(9.0, 10.0));
:info:build ^
}}}
Another error, which I did not notice before but was in the original log,
also appears to have change files - from `dos.c` to `cdrom.c`:
{{{
:info:build gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -Wall -c cdrom.c
:info:build In file included from
/System/Library/Frameworks/Security.framework/Headers/Security.h:81:0,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
:info:build from main.c:31:
:info:build
/System/Library/Frameworks/Security.framework/Headers/Authorization.h:194:7:
error: variably modified 'bytes' at file scope
:info:build char bytes[kAuthorizationExternalFormLength];
:info:build ^~~~~
}}}
Does it mean anything that both files seem to be CD related? I'm running
this on a MacBook Pro (13-inch, Mid 2012), which does have an internal CD
drive.
The commands I ran were `port clean --all disktype` and `port upgrade
outdated`; there were no other outdated ports.
--
Ticket URL: <https://trac.macports.org/ticket/53781#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list