[Bug 276833] devel/libdispatch: build fails due to call to undeclared function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Feb 2024 09:49:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276833 Bug ID: 276833 Summary: devel/libdispatch: build fails due to call to undeclared function Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fluffy@FreeBSD.org Reporter: sergey.koupreyenko@gmail.com Flags: maintainer-feedback?(fluffy@FreeBSD.org) Assignee: fluffy@FreeBSD.org Poudriere log: =>> Building devel/libdispatch build started at Mon Feb 5 12:38:19 MSK 2024 port directory: /usr/ports/devel/libdispatch package name: libdispatch-5.5,1 building for: FreeBSD freebsd.fractel.priv 14.0-STABLE FreeBSD 14.0-STABLE 1400506 amd64 maintained by: fluffy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 525 Oct 19 10:46 /usr/ports/devel/libdispatch/Makefile Poudriere version: poudriere-git-3.4.0 Host OSVERSION: 1400506 Jail OSVERSION: 1400506 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400506 UNAME_v=FreeBSD 14.0-STABLE 1400506 UNAME_r=14.0-STABLE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.0 MASTERMNT=/poudriere/data/.m/14-stable-amd64-default-amd64/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/poudriere/data/.m/14-stable-amd64-default-amd64/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-stable-amd64-default-amd64 SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/14-stable-amd64-default-amd64/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.0 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- fluffy@FreeBSD.org --End MAINTAINER-- ... /usr/local/llvm17/bin/clang -DDISPATCH_USE_DTRACE=0 -DHAVE_CONFIG_H -D_WITH_DPRINTF -Ddispatch_EXPORTS -I/wrkdirs/usr/ports/devel/libdispatch/work/.build -I/wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE -I/wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src -I/wrkdirs/usr/ports/devel/libdispatch/work/.build/src -I/wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/private -I/wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/BlocksRuntime -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -fPIC -fvisibility=hidden -Wall -Wextra -Warray-bounds-pointer-arithmetic -Wassign-enum -Watomic-properties -Wcomma -Wconditional-uninitialized -Wconversion -Wcovered-switch-default -Wdate-time -Wdeprecated -Wdocumentation -Wdouble-promotion -Wduplicate-enum -Wexpansion-to-defined -Wfloat-equal -Widiomatic-parentheses -Winfinite-recursion -Wmissing-prototypes -Wnewline-eof -Wnullable-to-nonnull-conversion -Wobjc-interface-ivars -Wover-aligned -Wpacked -Wpointer-arith -Wselector -Wshadow -Wshorten-64-to-32 -Wsign-conversion -Wstatic-in-inline -Wsuper-class-method-mismatch -Wswitch -Wunguarded-availability -Wunreachable-code -Wunused -Wno-unknown-warning-option -Wno-trigraphs -Wno-four-char-constants -Wno-disabled-macro-expansion -Wno-pedantic -Wno-bad-function-cast -Wno-c++-compat -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-cast-align -Wno-cast-qual -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-missing-variable-declarations -Wno-old-style-cast -Wno-padded -Wno-reserved-id-macro -Wno-shift-sign-overflow -Wno-undef -Wno-unreachable-code-aggressive -Wno-unused-macros -Wno-used-but-marked-unused -Wno-void-pointer-to-int-cast -Wno-vla -Wno-error=assign-enum -fno-exceptions -fblocks -momit-leaf-frame-pointer -pthread -MD -MT src/CMakeFiles/dispatch.dir/shims/lock.c.o -MF src/CMakeFiles/dispatch.dir/shims/lock.c.o.d -o src/CMakeFiles/dispatch.dir/shims/lock.c.o -c /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/shims/lock.c /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/shims/lock.c:541:10: error: call to undeclared function '_dispatch_ulock_wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | return _dispatch_ulock_wait(address, value, 0, flags); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/shims/lock.c:541:10: note: did you mean 'dispatch_block_wait'? /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/dispatch/block.h:327:1: note: 'dispatch_block_wait' declared here 327 | dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/shims/lock.c:546:8: error: call to undeclared function '_dispatch_ulock_wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | rc = _dispatch_ulock_wait(address, value, (uint32_t)usecs, flags); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-5.5-RELEASE/src/shims/lock.c:723:27: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'dispatch_lock' (aka 'unsigned int') [-Wshorten-64-to-32] 723 | _dispatch_thread_switch(new_v, 0, timeout++); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ 1 warning and 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/libdispatch =>> Cleaning up wrkdir ===> Cleaning for libdispatch-5.5,1 build of devel/libdispatch | libdispatch-5.5,1 ended at Mon Feb 5 12:39:33 MSK 2024 build time: 00:01:14 !!! build failure encountered !!! -- You are receiving this mail because: You are the assignee for the bug.