[Bug 273731] net/freerdp: 2.11.1 fails to build at least on stable/14, amd64

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Sep 2023 22:47:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273731

            Bug ID: 273731
           Summary: net/freerdp: 2.11.1 fails to build at least on
                    stable/14, amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vvd@FreeBSD.org
          Reporter: junchoon@dec.sakura.ne.jp
          Assignee: vvd@FreeBSD.org
             Flags: maintainer-feedback?(vvd@FreeBSD.org)

net/freerdp 2.11.1 fails to build as follows on stable/14, amd64.
Built with poudriere.

     (snip)

[ 95% 472/482] /usr/bin/cc -DBUILD_FULLSCREEN_SHELL -DBUILD_IVI
-DENABLE_XKBCOMMON -DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_EXPORTS
-DWITH_OPENSSL -D_FILE_OFFS
ET_BITS=64 -Duwac_EXPORTS -I/wrkdirs/usr/ports/net/freerdp/work/.build
-I/wrkdirs/usr/ports/net/freerdp/work/.build/include
-I/wrkdirs/usr/ports/net/freerdp/wor
k/freerdp-2.11.1/include
-I/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/winpr/include
-I/wrkdirs/usr/ports/net/freerdp/work/.build/winpr/include -I/wrkdir
s/usr/ports/net/freerdp/work/freerdp-2.11.1/rdtk/include
-I/wrkdirs/usr/ports/net/freerdp/work/.build/rdtk/include
-I/usr/local/include/libepoll-shim -I/wrkdirs
/usr/ports/net/freerdp/work/freerdp-2.11.1/uwac/include
-I/wrkdirs/usr/ports/net/freerdp/work/.build/uwac/include
-I/wrkdirs/usr/ports/net/freerdp/work/.build/u
wac/libuwac -O2 -pipe -march=haswell  -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wno-unused-parameter
-Wno-unused-macros -Wno-pa
dded -Wno-c11-extensions -Wno-gnu -Wno-unused-command-line-argument
-Wno-deprecated-declarations -fno-omit-frame-pointer -DWINPR_DLL -O2 -pipe
-march=haswell  -
fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-DNDEBUG -fPIC -MD -MT
uwac/libuwac/CMakeFiles/uwac.dir/keyboard-shortcuts-inhibit-uns
table-v1-protocol.c.o -MF
uwac/libuwac/CMakeFiles/uwac.dir/keyboard-shortcuts-inhibit-unstable-v1-protocol.c.o.d
-o uwac/libuwac/CMakeFiles/uwac.dir/keyboard-sh
ortcuts-inhibit-unstable-v1-protocol.c.o -c
/wrkdirs/usr/ports/net/freerdp/work/.build/uwac/libuwac/keyboard-shortcuts-inhibit-unstable-v1-protocol.c
samu: job failed with status 1: /usr/bin/cc -DFREERDP_EXPORTS -DHAVE_CONFIG_H
-DWINPR_EXPORTS -DWITH_OPENSSL -D_FILE_OFFSET_BITS=64
-I/wrkdirs/usr/ports/net/fre
erdp/work/.build -I/wrkdirs/usr/ports/net/freerdp/work/.build/include
-I/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/include
-I/wrkdirs/usr/ports/net/free
rdp/work/freerdp-2.11.1/winpr/include
-I/wrkdirs/usr/ports/net/freerdp/work/.build/winpr/include
-I/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/rdtk/inclu
de -I/wrkdirs/usr/ports/net/freerdp/work/.build/rdtk/include
-I/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/uwac/include -O2 -pipe
-march=haswell  -fstack
-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-Wno-unused-parameter -Wno-unused-macros -Wno-padded -Wno-c11-extensions
-Wno-gnu -Wno-unused
-command-line-argument -Wno-deprecated-declarations -fno-omit-frame-pointer
-DWINPR_DLL -O2 -pipe -march=haswell  -fstack-protector-strong -isystem
/usr/local/i
nclude -fno-strict-aliasing  -DNDEBUG -fPIE -MD -MT
client/Wayland/CMakeFiles/wlfreerdp.dir/wlfreerdp.c.o -MF
client/Wayland/CMakeFiles/wlfreerdp.dir/wlfreerdp.
c.o.d -o client/Wayland/CMakeFiles/wlfreerdp.dir/wlfreerdp.c.o -c
/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/client/Wayland/wlfreerdp.c
/wrkdirs/usr/ports/net/freerdp/work/freerdp-2.11.1/client/Wayland/wlfreerdp.c:637:19:
error: incompatible function pointer types assigning to 'OBJECT_NEW_FN' (a
ka 'void *(*)(void *)') from 'void *(const void *)'
[-Wincompatible-function-pointer-types]
        obj->fnObjectNew = uwac_event_clone;
                         ^ ~~~~~~~~~~~~~~~~
1 error generated.

     (snip)

4 warnings generated.
samu: subcommand failed
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/freerdp
=>> Cleaning up wrkdir
===>  Cleaning for freerdp-2.11.1
build of net/freerdp | freerdp-2.11.1 ended at Tue Sep 12 06:42:52 JST 2023
build time: 00:01:17
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.