[MacPorts] #69961: curlhandle build fails on 10.6: error: ‘CURLINFO_CERTINFO’ undeclared etc.

MacPorts noreply at macports.org
Sun May 12 04:22:25 UTC 2024


#69961: curlhandle build fails on 10.6: error: ‘CURLINFO_CERTINFO’ undeclared etc.
-----------------------------------------+------------------------
 Reporter:  barracuda156                 |      Owner:  (none)
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.9.3
 Keywords:  tiger, leopard, snowleopard  |       Port:  curlhandle
-----------------------------------------+------------------------
 {{{
     /Developer/usr/bin/gcc-4.2 -x objective-c -arch ppc -fmessage-length=0
 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type
 -Wunused-variable -mtune=G4 -mmacosx-version-min=10.6 -gdwarf-2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/CURLHandle.hmap
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources/ppc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources
 -include
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /CURLHandle_Prefix-cllsgzinpxcnsobyajmfdzwbvhpo/CURLHandle_Prefix.pch -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m
 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build
 /Objects-normal/ppc/CURLHandle.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:
 In function ‘-[CURLHandle loadRequest:error:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:651:
 error: ‘CURLINFO_CERTINFO’ undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:651:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:651:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:
 In function ‘-[CURLHandle curlReadPtr:size:number:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:765:
 warning: ‘NSError’ may not respond to ‘-debugDescription’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:765:
 warning: (Messages without a matching method signature
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:765:
 warning: will be assumed to return ‘id’ and accept
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:765:
 warning: ‘...’ as arguments.)

 CompileC build/CURLHandle.build/Release/CURLHandle.build/Objects-
 normal/ppc/CURLProtocol.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m
 normal ppc objective-c com.apple.compilers.gcc.4_2
     cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource
     /Developer/usr/bin/gcc-4.2 -x objective-c -arch ppc -fmessage-length=0
 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type
 -Wunused-variable -mtune=G4 -mmacosx-version-min=10.6 -gdwarf-2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/CURLHandle.hmap
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources/ppc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources
 -include
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /CURLHandle_Prefix-cllsgzinpxcnsobyajmfdzwbvhpo/CURLHandle_Prefix.pch -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m
 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build
 /Objects-normal/ppc/CURLProtocol.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m:
 In function ‘-[CURLProtocol startLoading]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m:22:
 error: ‘DISPATCH_QUEUE_PRIORITY_DEFAULT’ undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m:22:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLProtocol.m:22:
 error: for each function it appears in.)

 CompileC build/CURLHandle.build/Release/CURLHandle.build/Objects-
 normal/ppc/CURLFTPSession.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m
 normal ppc objective-c com.apple.compilers.gcc.4_2
     cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource
     /Developer/usr/bin/gcc-4.2 -x objective-c -arch ppc -fmessage-length=0
 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type
 -Wunused-variable -mtune=G4 -mmacosx-version-min=10.6 -gdwarf-2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/CURLHandle.hmap
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources/ppc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources
 -include
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /CURLHandle_Prefix-cllsgzinpxcnsobyajmfdzwbvhpo/CURLHandle_Prefix.pch -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m
 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build
 /Objects-normal/ppc/CURLFTPSession.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘-[CURLFTPSession initWithRequest:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:22:
 warning: ‘CURLFTPSession’ may not respond to ‘-validateRequest:’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:22:
 warning: (Messages without a matching method signature
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:22:
 warning: will be assumed to return ‘id’ and accept
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:22:
 warning: ‘...’ as arguments.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘-[CURLFTPSession useCredential:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:61:
 error: ‘CURLOPT_USERNAME’ undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:61:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:61:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:64:
 error: ‘CURLOPT_PASSWORD’ undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘-[CURLFTPSession setBaseRequest:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:73:
 warning: ‘CURLFTPSession’ may not respond to ‘-validateRequest:’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘-[CURLFTPSession
 createFileAtPath:contents:withIntermediateDirectories:error:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:235:
 warning: ‘CURLFTPSession’ may not respond to
 ‘-createFileWithRequest:error:progressBlock:’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:235:
 warning: initialization makes integer from pointer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘-[CURLFTPSession
 createFileAtPath:withContentsOfURL:withIntermediateDirectories:error:progressBlock:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:267:
 warning: ‘CURLFTPSession’ may not respond to
 ‘-createFileWithRequest:error:progressBlock:’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:267:
 warning: initialization makes integer from pointer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:
 In function ‘+[CURLFTPSession URLWithPath:relativeToURL:]’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLFTPSession.m:407:
 warning: ‘NSURL’ may not respond to ‘-URLByAppendingPathComponent:’
 }}}

 It also unconditionally assumes `libdispatch`, which gonna break it on <
 10.6.

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


More information about the macports-tickets mailing list