** Changed in: freerdp2 (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to freerdp2 in Ubuntu.
https://bugs.launchpad.net/bugs/2075965
Title:
freerdp2: ftbfs with GCC-14
Status in freerdp2 package in Ubuntu:
New
Status in freerdp2 package in Debian:
Fix Released
Bug description:
Imported from Debian bug http://bugs.debian.org/1074969:
Package: src:freerdp2
Version: 2.11.5+dfsg1-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/freerdp2_2.11.5+dfsg1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
78 | encoder = (ASN1encoding_t)calloc(1, sizeof(struct
ASN1encoding_s));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/winpr/libwinpr/asn1/asn1.c:97:40: warning: array subscript 1
is outside array bounds of ‘struct ASN1encoding_s[1]’ [-Warray-bounds=]
97 | encoder[1].magic =
(ASN1magic_t)pParent;
| ~~~~~~~^~~
/<<PKGBUILDDIR>>/winpr/libwinpr/asn1/asn1.c:78:43: note: at offset 96 into
object of size 96 allocated by ‘calloc’
78 | encoder = (ASN1encoding_t)calloc(1, sizeof(struct
ASN1encoding_s));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 29%] Building C object
winpr/libwinpr/CMakeFiles/winpr.dir/sspicli/sspicli.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/sspicli/sspicli.c.o -MF
CMakeFiles/winpr.dir/sspicli/sspicli.c.o.d -o
CMakeFiles/winpr.dir/sspicli/sspicli.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/sspicli/sspicli.c
[ 29%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/crt/alignment.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/alignment.c.o -MF
CMakeFiles/winpr.dir/crt/alignment.c.o.d -o
CMakeFiles/winpr.dir/crt/alignment.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/alignment.c
[ 29%] Building C object
winpr/libwinpr/CMakeFiles/winpr.dir/crt/conversion.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/conversion.c.o -MF
CMakeFiles/winpr.dir/crt/conversion.c.o.d -o
CMakeFiles/winpr.dir/crt/conversion.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/conversion.c
[ 29%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/crt/buffer.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/buffer.c.o -MF
CMakeFiles/winpr.dir/crt/buffer.c.o.d -o CMakeFiles/winpr.dir/crt/buffer.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/buffer.c
[ 29%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/crt/memory.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/memory.c.o -MF
CMakeFiles/winpr.dir/crt/memory.c.o.d -o CMakeFiles/winpr.dir/crt/memory.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/memory.c
[ 30%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/crt/unicode.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/unicode.c.o -MF
CMakeFiles/winpr.dir/crt/unicode.c.o.d -o CMakeFiles/winpr.dir/crt/unicode.c.o
-c /<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c
[ 30%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/crt/string.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/crt/string.c.o -MF
CMakeFiles/winpr.dir/crt/string.c.o.d -o CMakeFiles/winpr.dir/crt/string.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/string.c
[ 30%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/bcrypt/bcrypt.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/bcrypt/bcrypt.c.o -MF
CMakeFiles/winpr.dir/bcrypt/bcrypt.c.o.d -o
CMakeFiles/winpr.dir/bcrypt/bcrypt.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/bcrypt/bcrypt.c
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c: In function
‘MultiByteToWideChar’:
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c:218:63: error: passing argument
3 of ‘ucnv_convert_72’ from incompatible pointer type
[-Wincompatible-pointer-types]
218 | ucnv_convert("UTF-16LE", "UTF-8",
targetStart, targetCapacity * sizeof(WCHAR),
|
^~~~~~~~~~~
| |
| LPWSTR
{aka short unsigned int *}
In file included from /<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c:34:
/usr/include/unicode/ucnv.h:1581:20: note: expected ‘char *’ but argument is
of type ‘LPWSTR’ {aka ‘short unsigned int *’}
1581 | char *target,
| ~~~~~~^~~~~~
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c: In function
‘WideCharToMultiByte’:
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c:356:83: error: passing argument
5 of ‘ucnv_convert_72’ from incompatible pointer type
[-Wincompatible-pointer-types]
356 | targetLength = ucnv_convert("UTF-8",
"UTF-16LE", NULL, 0, lpWideCharStr,
|
^~~~~~~~~~~~~
|
|
|
LPCWSTR {aka const short unsigned int *}
/usr/include/unicode/ucnv.h:1583:26: note: expected ‘const char *’ but
argument is of type ‘LPCWSTR’ {aka ‘const short unsigned int *’}
1583 | const char *source,
| ~~~~~~~~~~~~^~~~~~
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/unicode.c:363:53: error: passing argument
5 of ‘ucnv_convert_72’ from incompatible pointer type
[-Wincompatible-pointer-types]
363 | lpWideCharStr,
cchWideChar * sizeof(WCHAR), &error);
| ^~~~~~~~~~~~~
| |
| LPCWSTR {aka
const short unsigned int *}
/usr/include/unicode/ucnv.h:1583:26: note: expected ‘const char *’ but
argument is of type ‘LPCWSTR’ {aka ‘const short unsigned int *’}
1583 | const char *source,
| ~~~~~~~~~~~~^~~~~~
[ 30%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/rpc/rpc.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/libwinpr && /usr/bin/cc
-DFREERDP_EXPORTS -DHAVE_CONFIG_H -DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
-DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_POSIX_TIMER -DWITH_VERBOSE_WINPR_ASSERT
-DWITH_WCLIPBOARD_POSIX -D_FILE_OFFSET_BITS=64 -Dwinpr_EXPORTS
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/winpr/include
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/winpr/include
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/lodepng
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/trio
-I/<<PKGBUILDDIR>>/winpr/libwinpr/utils/. -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result
-Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden
-Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
-DWINPR_DLL -DWINPR_DLL -DWINPR_EXPORTS -O2 -g -DNDEBUG
-Wno-builtin-macro-redefined
-D__FILE__='"obj-x86_64-linux-gnu/winpr/libwinpr/CMakeFiles/winpr.dir/compiler_depend.ts"'
-fPIC -MD -MT winpr/libwinpr/CMakeFiles/winpr.dir/rpc/rpc.c.o -MF
CMakeFiles/winpr.dir/rpc/rpc.c.o.d -o CMakeFiles/winpr.dir/rpc/rpc.c.o -c
/<<PKGBUILDDIR>>/winpr/libwinpr/rpc/rpc.c
make[3]: *** [winpr/libwinpr/CMakeFiles/winpr.dir/build.make:1941:
winpr/libwinpr/CMakeFiles/winpr.dir/crt/unicode.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/string.c: In function ‘_wcsstr’:
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/string.c:175:24: warning: return discards
‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
175 | return str;
| ^~~
/<<PKGBUILDDIR>>/winpr/libwinpr/crt/string.c:181:32: warning: return discards
‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
181 | return str;
| ^~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:2584:
winpr/libwinpr/CMakeFiles/winpr.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:79: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freerdp2/+bug/2075965/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp