https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/freerdp-2.11.5-r2 fails to compile. Discovered on: x86 (internal ref: tinderbox_x86) System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Created attachment 888453 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Package 'libavresample', required by 'virtual:world', not found FAILED: libfreerdp/CMakeFiles/freerdp.dir/core/info.c.o /var/tmp/portage/net-misc/freerdp-2.11.5-r2/work/freerdp-2.11.5/libfreerdp/core/info.c:88:39: error: initialization of ‘const WCHAR *’ {aka ‘const short unsigned int *’} from incompatible pointer type ‘BYTE *’ {aka ‘unsigned char *’} [-Wincompatible-pointer-types]
/var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/winpr/libwinpr/crt/unicode.c: In function ‘MultiByteToWideChar’: /var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/winpr/libwinpr/crt/unicode.c:218:63: error: passing argument 3 of ‘ucnv_convert’ 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 /var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/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, | ~~~~~~^~~~~~ /var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/winpr/libwinpr/crt/unicode.c: In function ‘WideCharToMultiByte’: /var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/winpr/libwinpr/crt/unicode.c:356:83: error: passing argument 5 of ‘ucnv_convert’ 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, | ~~~~~~~~~~~~^~~~~~ /var/tmp/portage/net-misc/freerdp-2.11.6/work/freerdp-2.11.6/winpr/libwinpr/crt/unicode.c:363:53: error: passing argument 5 of ‘ucnv_convert’ 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, | ~~~~~~~~~~~~^~~~~~
That's with 2.11.6
upstream bug https://github.com/FreeRDP/FreeRDP/issues/10177
gcc14_tinderbox has reproduced this issue with version 2.11.6 - Updating summary.
*** Bug 932383 has been marked as a duplicate of this bug. ***
*** Bug 932384 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60fc3847889e2aec2dad46dfe47f078a294c3ed8 commit 60fc3847889e2aec2dad46dfe47f078a294c3ed8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-05-22 02:15:15 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-05-22 02:15:15 +0000 net-misc/freerdp: add -Wno-error=incompatible-pointer-types to CFLAGS Bug: https://bugs.gentoo.org/927731 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-misc/freerdp/freerdp-2.11.7.ebuild | 3 +++ net-misc/freerdp/freerdp-2.9999.ebuild | 3 +++ 2 files changed, 6 insertions(+)
2.11.7 works for me
Still fails for me. https://bugs.gentoo.org/show_bug.cgi?id=932461
(In reply to Chris Smith from comment #11) > Still fails for me. > https://bugs.gentoo.org/show_bug.cgi?id=932461 For which reason it is failing for you?
(In reply to Agostino Sarubbo from comment #12) > (In reply to Chris Smith from comment #11) > > Still fails for me. > > https://bugs.gentoo.org/show_bug.cgi?id=932461 > > For which reason it is failing for you? The link to new bug report.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94869783f600713d9427b23943ff920e1289fc6 commit f94869783f600713d9427b23943ff920e1289fc6 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-11-01 14:46:39 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-11-01 14:46:39 +0000 net-misc/freerdp: drop 2.11.5-r10 Bug: https://bugs.gentoo.org/927731 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> net-misc/freerdp/Manifest | 1 - net-misc/freerdp/freerdp-2.11.5-r10.ebuild | 168 ----------------------------- 2 files changed, 169 deletions(-)