[MacPorts] #35654: can't build iozone with MacPorts 2.1.99 on OSX 10.8
MacPorts
noreply at macports.org
Mon Aug 13 07:04:33 PDT 2012
#35654: can't build iozone with MacPorts 2.1.99 on OSX 10.8
---------------------------------------+------------------------------------
Reporter: reo.kashiwazaki@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 2.1.99
Keywords: | Port: iozone
---------------------------------------+------------------------------------
Too many build error is shown.
{{{
/Users/reo% port version
Version: 2.1.99
/Users/reo% uname -ar
Darwin chatam.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24
23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
/Users/reo% sudo port -d install iozone
Password:
DEBUG: Copying /Users/reo/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/benchmarks/iozone
DEBUG: OS darwin/12.0.0 (Mac OS X 10.8) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal
variant
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for iozone
DEBUG: iozone has no conflicts
DEBUG: Executing org.macports.main (iozone)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Skipping completed org.macports.archivefetch (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.checksum (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.extract (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.patch (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.configure (iozone)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Mon Aug 13 23:00:58 JST 2012
---> Building iozone
DEBUG: Executing org.macports.build (iozone)
DEBUG: Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/iozone3_408/src/current"
&& /usr/bin/make -j8 -w macosx CC=/usr/bin/clang CFLAGS="-O2 -arch x86_64"
LDFLAGS="-arch x86_64"'
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/iozone3_408/src/current"
&& /usr/bin/make -j8 -w macosx CC=/usr/bin/clang CFLAGS="-O2 -arch x86_64"
LDFLAGS="-arch x86_64"
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/iozone3_408/src/current'
Build iozone for MacOSX
Building fileop for MAC OS X
/usr/bin/clang -Wall -c -O -Dmacosx -O2 -arch x86_64 fileop.c -o
fileop_macosx.o
/usr/bin/clang -c -O -Dunix -Dbsd4_2 -Dmacosx -DHAVE_ANSIC_C -DNO_THREADS
\
-DNAME='"macosx"' -DSHARED_MEM -O2 -arch x86_64 iozone.c
-o iozone_macosx.o
In file included from fileop.c:52:
/usr/include/sys/stat.h:451:40: error: expected a platform name, e.g.,
'macosx'
int lchflags(const char *, __uint32_t)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:452:34: error: expected a platform name, e.g.,
'macosx'
int lchmod(const char *, mode_t) __OSX_AVAILABLE_STARTING(__MAC_10_5,
__IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:457:26: error: expected a platform name, e.g.,
'macosx'
int umaskx_np(filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1080:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.4,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:461:50: error: expected a platform name, e.g.,
'macosx'
int fstatx64_np(int, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:462:59: error: expected a platform name, e.g.,
'macosx'
int lstatx64_np(const char *, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:463:58: error: expected a platform name, e.g.,
'macosx'
int statx64_np(const char *, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:464:35: error: expected a platform name, e.g.,
'macosx'
int fstat64(int, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:465:44: error: expected a platform name, e.g.,
'macosx'
int lstat64(const char *, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:52:
/usr/include/sys/stat.h:466:43: error: expected a platform name, e.g.,
'macosx'
int stat64(const char *, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:451:40: error: expected a platform name, e.g.,
'macosx'
int lchflags(const char *, __uint32_t)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:452:34: error: expected a platform name, e.g.,
'macosx'
int lchmod(const char *, mode_t) __OSX_AVAILABLE_STARTING(__MAC_10_5,
__IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:53:
In file included from /usr/include/fcntl.h:23:
/usr/include/sys/fcntl.h:498:59: error: expected a platform name, e.g.,
'macosx'
int filesec_unset_property(filesec_t, filesec_property_t)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^
In file included from iozone.c/usr/include/AvailabilityInternal.h::831090:
:/usr/include/sys/stat.h100::457 :note: 26expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6':
error: expected a platform name, e.g., 'macosx' #define
__AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:1:16int umaskx_np(filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
:/usr/include/Availability.h :note: 155expanded from macro 'macosx':53:
note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep#define macosx 1
^ ^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1080:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.4,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:461:50: error: expected a platform name, e.g.,
'macosx'
int fstatx64_np(int, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:462:59: error: expected a platform name, e.g.,
'macosx'
int lstatx64_np(const char *, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:463:58: error: expected a platform name, e.g.,
'macosx'
int statx64_np(const char *, struct stat64 *, filesec_t)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:464:35: error: expected a platform name, e.g.,
'macosx'
int fstat64(int, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:465:44: error: expected a platform name, e.g.,
'macosx'
int lstat64(const char *, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:83:
/usr/include/sys/stat.h:466:43: error: expected a platform name, e.g.,
'macosx'
int stat64(const char *, struct stat64 *)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA);
^
/usr/include/Availability.h:155:53: note: expanded from macro
'__OSX_AVAILABLE_BUT_DEPRECATED'
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1086:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6
__attribute__((availability(macosx,introduced=10.5,deprecated=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:127:
In file included from /usr/include/fcntl.h:23:
/usr/include/sys/fcntl.h:498:59: error: expected a platform name, e.g.,
'macosx'
int filesec_unset_property(filesec_t, filesec_property_t)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1090:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:54:
/usr/include/sys/time.h:206:51: error: expected a platform name, e.g.,
'macosx'
int lutimes(const char *, const struct timeval *)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:283:
/usr/include/stdio.h:446:67: error: expected a platform name, e.g.,
'macosx'
int dprintf(int, const char * __restrict, ...) __printflike(2, 3)
__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:283:
/usr/include/stdio.h:447:72: error: expected a platform name, e.g.,
'macosx'
int vdprintf(int, const char * __restrict, va_list) __printflike(2, 0)
__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:283:
/usr/include/stdio.h:448:83: error: expected a platform name, e.g.,
'macosx'
ssize_t getdelim(char ** __restrict, size_t * __restrict, int, FILE *
__restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:283:
/usr/include/stdio.h:449:77: error: expected a platform name, e.g.,
'macosx'
ssize_t getline(char ** __restrict, size_t * __restrict, FILE *
__restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
In file included from /usr/include/stdlib.h:65:
In file included from /usr/include/sys/wait.h:117:
/usr/include/sys/resource.h:248:30: error: expected a platform name, e.g.,
'macosx'
int getiopolicy_np(int, int) __OSX_AVAILABLE_STARTING(__MAC_10_5,
__IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
In file included from /usr/include/stdlib.h:65:
In file included from /usr/include/sys/wait.h:117:
/usr/include/sys/resource.h:254:35: error: expected a platform name, e.g.,
'macosx'
int setiopolicy_np(int, int, int) __OSX_AVAILABLE_STARTING(__MAC_10_5,
__IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
/usr/include/stdlib.h:173:47: error: expected a platform name, e.g.,
'macosx'
int posix_memalign(void **, size_t, size_t)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1090:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:285:
/usr/include/unistd.h:689:51: error: expected a platform name, e.g.,
'macosx'
int gethostuuid(uuid_t, const struct timespec *)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_5
^
/usr/include/AvailabilityInternal.h:1084:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_5'
#define __AVAILABILITY_INTERNAL__MAC_10_5
__attribute__((availability(macosx,introduced=10.5)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:285:
/usr/include/unistd.h:701:48: error: expected a platform name, e.g.,
'macosx'
int mkpath_np(const char *path, mode_t omode)
__OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_5_0); /* returns errno */
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>In file included from fileop.c:55:
/usr/include/stdlib.h:270:9:1: note: expanded from macro
'__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_8
^
:/usr/include/AvailabilityInternal.h:571099:: 100error: :expected a
platform name, e.g., 'macosx'
note: expanded from macro '__AVAILABILITY_INTERNAL__MAC_10_8'
#define __AVAILABILITY_INTERNAL__MAC_10_8
__attribute__((availability(macosx,introduced=10.8)))
^
<command line>void arc4random_buf(void * /*buf*/, size_t /*nbytes*/)
__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
:3:/usr/include/Availability.h16::153 :note: 50expanded from macro
'macosx':
note: expanded from macro '__OSX_AVAILABLE_STARTING'#define macosx 1
^
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
/usr/include/stdlib.h:273:49: error: expected a platform name, e.g.,
'macosx'
arc4random_uniform(u_int32_t /*upper_bound*/)
__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_7
^
/usr/include/AvailabilityInternal.h:1095:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_7'
#define __AVAILABILITY_INTERNAL__MAC_10_7
__attribute__((availability(macosx,introduced=10.7)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
/usr/include/stdlib.h:275:31: error: expected a platform name, e.g.,
'macosx'
int atexit_b(void (^)(void)) __OSX_AVAILABLE_STARTING(__MAC_10_6,
__IPHONE_3_2);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1090:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from fileop.c:55:
/usr/include/stdlib.h:277:51: error: In file included from iozone.c:285:
/usr/include/unistd.h:746expected a platform name, e.g., 'macosx'
:58: size_t, int (^)(const void *, const void *))
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
error: expected a platform name, e.g., 'macosx'/usr/include/Availability.h
:153:50: note: int fgetattrlist(int,void*,void*,size_t,unsigned int)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);expanded from macro
'__OSX_AVAILABLE_STARTING'
^
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^/usr/include/Availability.h
:153:<scratch space>50::9 :note: 1expanded from macro
'__OSX_AVAILABLE_STARTING':
note: expanded from macro '__AVAILABILITY_INTERNAL'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
__AVAILABILITY_INTERNAL__MAC_10_6
^
^
/usr/include/AvailabilityInternal.h:<scratch space>1090::9100::1: note:
note: expanded from macro '__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
expanded from macro '__AVAILABILITY_INTERNAL'
^
__AVAILABILITY_INTERNAL__MAC_10_6
^
<command line>:1/usr/include/AvailabilityInternal.h::161090:100: note:
expanded from macro 'macosx'
#define macosx 1
: ^
note: expanded from macro '__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
In file included from iozone.c:285:
/usr/include/unistd.h:747:58: error: expected a platform name, e.g.,
'macosx'
int fsetattrlist(int,void*,void*,size_t,unsigned int)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
^
/usr/include/Availability.h:In file included from 153fileop.c::5055::
/usr/include/stdlib.hnote: :expanded from macro
'__OSX_AVAILABLE_STARTING'292
:45: #define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osxerror:
expected a platform name, e.g., 'macosx'
^
<scratch space>:int daemon(int, int) __DARWIN_1050(daemon)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_2_0,
__IPHONE_2_0);9
: ^1
: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^/usr/include/Availability.h:155:53: note:
expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED'
/usr/include/AvailabilityInternal.h
__AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep
^
:1090<scratch space>::1009:: 1note: :expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6'
note: expanded from macro '__AVAILABILITY_INTERNAL'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_5
^
<command line>:3/usr/include/AvailabilityInternal.h::161045:: 100note:
:expanded from macro 'macosx'
note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_5'
#define macosx 1
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_5
__attribute__((availability(macosx,introduced=10.0,deprecated=10.5)))
^
^
<command line>:1:16: note: expanded from macro 'macosx'
#define macosx 1
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from iozone.c:285:
/usr/include/unistd.h:768:51: error: expected a platform name, e.g.,
'macosx'
int ffsctl(int,unsigned long,void*,unsigned int)
__OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
^
/usr/include/Availability.h:153:50: note: expanded from macro
'__OSX_AVAILABLE_STARTING'
#define __OSX_AVAILABLE_STARTING(_osx, _ios)
__AVAILABILITY_INTERNAL##_osx
^
<scratch space>:9:1: note: expanded from macro '__AVAILABILITY_INTERNAL'
__AVAILABILITY_INTERNAL__MAC_10_6
^
/usr/include/AvailabilityInternal.h:1090:100: note: expanded from macro
'__AVAILABILITY_INTERNAL__MAC_10_6'
#define __AVAILABILITY_INTERNAL__MAC_10_6
__attribute__((availability(macosx,introduced=10.6)))
^
<command line>:3:16: note: expanded from macro 'macosx'
#define macosx 1
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [fileop_macosx.o] Error 1
make: *** Waiting for unfinished jobs....
20 errors generated.
make: *** [iozone_macosx.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/iozone3_408/src/current'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/work/iozone3_408/src/current"
&& /usr/bin/make -j8 -w macosx CC=/usr/bin/clang CFLAGS="-O2 -arch x86_64"
LDFLAGS="-arch x86_64"
Exit code: 2
Error: org.macports.build for port iozone returned: command execution
failed
DEBUG: Error code: CHILDSTATUS 23580 2
DEBUG: Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: targets not executed for iozone: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port iozone for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_iozone/iozone/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port iozone failed
/Users/reo%
}}}
--
Ticket URL: <https://trac.macports.org/ticket/35654>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list