[MacPorts] #62013: gtime +universal: error: redefinition of '_OSSwapInt64'

MacPorts noreply at macports.org
Sat Jan 9 10:02:38 UTC 2021


#62013: gtime +universal: error: redefinition of '_OSSwapInt64'
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.4
 Keywords:  bigsur        |       Port:  gtime
--------------------------+--------------------
 Looks like the universal build tries to include headers for multiple
 architectures at the same time

 {{{
 :info:build In file included from lib/unistd.c:3:
 :info:build In file included from lib/unistd.h:88:
 :info:build In file included from lib/stdlib.h:28:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:66:
 :info:build In file included from lib/sys/wait.h:28:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/wait.h:110:
 :info:build In file included from lib/sys/resource.h:29:
 :info:build In file included from lib/sys/types.h:28:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/types.h:81:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/machine/endian.h:35:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/endian.h:99:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/_endian.h:130:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/_OSByteOrder.h:80:
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/arm/OSByteOrder.h:41:1:
 error: redefinition of '_OSSwapInt64'
 :info:build _OSSwapInt64(
 :info:build ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/i386/_OSByteOrder.h:70:1:
 note: previous definition is here
 :info:build _OSSwapInt64(
 :info:build ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62013>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list