Opened 23 months ago
Last modified 23 months ago
#71700 assigned defect
zsv @0.3.8-alpha: build external/yajl_helper/yajl_helper.c:435:5: error: incompatible function pointer types
| Reported by: | ianthrive (Ian Timothy) | Owned by: | herby.gillot@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | ianthrive (Ian Timothy) | |
| Port: | zsv |
Description (last modified by ianthrive (Ian Timothy))
% doas port clean --all zsv && doas port install zsv
[...snip...]
---> Building zsv
Error: Failed to build zsv: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port zsv failed
% tail -n 18 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/main.log
:info:build external/yajl_helper/yajl_helper.c:435:5: error: incompatible function pointer types initializing 'int (*)(void *, const char *, size_t, int)' (aka 'int (*)(void *, const char *, unsigned long, int)') with an expression of type 'int (void *, const unsigned char *, unsigned int, int)' [-Wincompatible-function-pointer-types]
:info:build 435 | yajl_helper_error
:info:build | ^~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/zsv-0.3.8-alpha/build/Darwin/rel/clang-external/yajl_helper/yajl_helper.o] Error 1
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/zsv-0.3.8-alpha" && /usr/bin/make -C app build-cli CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/compwrap/cc/usr/bin/clang" CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/compwrap/cxx/usr/bin/clang++" OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/compwrap/objc/usr/bin/clang" OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c"
:info:build Exit code: 2
:error:build Failed to build zsv: command execution failed
:debug:build Error code: CHILDSTATUS 45429 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/main.log for details.
% port info zsv | head -n 1 \
&& uname -a \
&& sw_vers -ProductVersion \
&& port version \
&& port version pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p' \
&& xcodebuild -version
zsv @0.3.8-alpha (textproc)
Darwin ian.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64
15.2
Version: 2.10.5
Xcode 16.2
Build version 16C5032a
Change History (2)
comment:1 Changed 23 months ago by ianthrive (Ian Timothy)
| Description: | modified (diff) |
|---|
comment:2 Changed 23 months ago by ianthrive (Ian Timothy)
| Cc: | ianthrive added |
|---|---|
| Description: | modified (diff) |
Note: See
TracTickets for help on using
tickets.
