[MacPorts] #53975: GnuTLS @3.5.11 fails to build to PPC Tiger, Mac OS X 10.4.11, because of unavailable Availability.h C header file

MacPorts noreply at macports.org
Fri Apr 14 07:11:30 UTC 2017


#53975: GnuTLS @3.5.11 fails to build to PPC Tiger, Mac OS X 10.4.11, because of
unavailable Availability.h C header file
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.1
 Keywords:  Tiger      |       Port:  gnutls
-----------------------+--------------------
 {{{
 libtool: compile:  /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H
 -I. -I.. -DLOCALEDIR=\"/opt/local/share/locale\" -I./../gl -I./../gl
 -I./includes -I./x509 -I./includes -I./includes -I./x509
 -I/opt/local/include/p11-kit-1 -I./opencdk -I/opt/local/include -fno-
 common -W -Wabi -Waddress -Wall -Wattributes -Wbad-function-cast -Wcast-
 align -Wchar-subscripts -Wcomment -Wcomments -Wdeprecated -Wdeprecated-
 declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-
 labels -Wextra -Wformat-extra-args -Wformat-security -Wformat-zero-length
 -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self
 -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-
 declarations -Wmissing-field-initializers -Wmissing-include-dirs
 -Wmissing-prototypes -Wmultichar -Wnested-externs -Wnonnull -Wold-style-
 definition -Woverflow -Woverride-init -Wpacked -Wparentheses -Wpointer-
 arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-type
 -Wsequence-point -Wshadow -Wstrict-aliasing -Wstrict-prototypes -Wswitch
 -Wtrigraphs -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-function
 -Wunused-label -Wunused-macros -Wunused-parameter -Wunused-value -Wunused-
 variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings
 -Wnormalized=nfc -Wno-missing-field-initializers -Wno-missing-field-
 initializers -Wno-unused-parameter -fdiagnostics-show-option
 -I/opt/local/include/p11-kit-1 -pipe -Os -arch ppc -MT system/certs.lo -MD
 -MP -MF system/.deps/certs.Tpo -c system/certs.c  -fno-common -DPIC -o
 system/.libs/certs.o
 cc1: warning: command line option "-Wabi" is valid for C++/ObjC++ but not
 for C
 cc1: warning: command line option "-Wdeprecated" is valid for C++/ObjC++
 but not for C
 system/certs.c:50:27: error: Availability.h: No such file or directory
 make[4]: *** [system/certs.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11/lib'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11/lib'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11/lib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.5.11"
 && /usr/bin/make -w all
 Exit code: 2
 }}}

 Leopard, Mac OS X 10.5, has:

 {{{
 /Volumes/Leopard/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/AvailabilityMacros.h
 /Volumes/Leopard/Developer/SDKs/MacOSX10.4u.sdk/usr/include/AvailabilityMacros.h
 /Volumes/Leopard/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/AvailabilityMacros.h
 /Volumes/Leopard/Developer/SDKs/MacOSX10.5.sdk/usr/include/Availability.h
 /Volumes/Leopard/Developer/SDKs/MacOSX10.5.sdk/usr/include/AvailabilityInternal.h
 /Volumes/Leopard/Developer/SDKs/MacOSX10.5.sdk/usr/include/AvailabilityMacros.h
 /Volumes/Leopard/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/AvailabilityMacros.h
 /Volumes/Leopard/usr/include/Availability.h
 /Volumes/Leopard/usr/include/AvailabilityInternal.h
 }}}

 Tiger has:

 {{{
 /Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/AvailabilityMacros.h
 /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/AvailabilityMacros.h
 /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-
 darwin7/4.0.0/include/AvailabilityMacros.h
 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/AvailabilityMacros.h
 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/AvailabilityMacros.h
 /System/Library/Perl/Extras/5.8.6/HeaderDoc/Availability.list
 /opt/mports/trunk/dports/devel/ld64/files/ld64-97-no-Availability.h.patch
 /usr/include/AvailabilityMacros.h
 }}}

 Its AvailabilityMacros.h file seems to be equivalent to Availability.h.

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


More information about the macports-tickets mailing list