[MacPorts] #69796: libdispatch-legacy @84.5.5_2: build fails on Leopard PPC with many missing functions

MacPorts noreply at macports.org
Sun Apr 21 17:24:14 UTC 2024


#69796: libdispatch-legacy @84.5.5_2: build fails on Leopard PPC with many missing
functions
--------------------+--------------------------------
 Reporter:  kencu   |      Owner:  barracuda156
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libdispatch-legacy
--------------------+--------------------------------
 Just to record this here for anyone who might try to build libdispatch-
 legacy, there are a number of build errors on 10.5 PPC at least, eg:
 {{{
 :info:build     /Developer/usr/bin/gcc-4.2 -x c -arch ppc -fmessage-
 length=0 -pipe -Wno-trigraphs -Os -Werror -Wmissing-prototypes -Wreturn-
 type -Wunused-variable -Wshadow -Wnewline-eof -Wshorten-64-to-32
 -D__DARWIN_NON_CANCELABLE=1 -fstrict-aliasing -mtune=G4
 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build
 /libdispatch-generated-files.hmap
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build
 /libdispatch-own-target-headers.hmap
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build
 /libdispatch-all-target-headers.hmap -iquote
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build
 /libdispatch-project-headers.hmap -Wall -Wextra -Waggregate-return
 -Wfloat-equal -Wpacked -Wmissing-declarations -Wstrict-overflow=4
 -Wstrict-aliasing=2
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/Release
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/Release/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build/DerivedSources/ppc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build/DerivedSources
 -fno-unwind-tables -fno-exceptions
 -I/System/Library/Frameworks/System.framework/PrivateHeaders
 -fdiagnostics-show-option -fsched-interblock -freorder-blocks -DPRIVATE
 -I../Libc-594.9.5/pthreads -I../libclosure-38 -I../xnu-1504.15.3/libkern
 -pg -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/build/libdispatch.build/Release/libdispatch.build
 /Objects-profile/ppc/semaphore.o
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘_dispatch_get_thread_semaphore’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:52: error:
 ‘dispatch_semaphore_create’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.h:61)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘_dispatch_put_thread_semaphore’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:66: error:
 ‘dispatch_release’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/object.h:91)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘dispatch_group_create’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:73: error:
 ‘dispatch_semaphore_create’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.h:61)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘dispatch_semaphore_create’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:95: error:
 ‘dispatch_get_global_queue’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/queue.h:402)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘dispatch_group_enter’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:222: error:
 ‘dispatch_semaphore_wait’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.h:86)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘dispatch_group_leave’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:287: error:
 ‘dispatch_semaphore_signal’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.h:108)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘_dispatch_group_wake’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:345: error:
 ‘dispatch_async_f’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/queue.h:180)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c: In function
 ‘dispatch_group_async_f’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:522: error:
 ‘dispatch_group_enter’ is unavailable (declared at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/semaphore.c:199)
 }}}

 also, looks like it needs blocks functionality as well:
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_libdispatch-legacy/libdispatch-
 legacy/work/libdispatch-84.5.5/src/source.c:1767: error: expected
 expression before ‘^’ token
 }}}

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


More information about the macports-tickets mailing list