3.55.1 - Compile error on openSUSE

Moderator: Project members

Post Reply
Message
Author
Coffeinflash
500 Command not understood
Posts: 2
Joined: 2021-08-10 06:27
First name: Robert
Last name: Unknown

3.55.1 - Compile error on openSUSE

#1 Post by Coffeinflash » 2021-08-10 06:33

Good morning,

I am trying to build version 3.55.1 for openSUSE using OBS, but building fails with:

Code: Select all

[  433s] /usr/bin/g++ -std=c++17 -DHAVE_CONFIG_H   -I../../config -I/usr/include/p11-kit-1  -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXGTK__  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread    -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -c -o filezilla-welcome_dialog.o `test -f 'welcome_dialog.cpp' || echo './'`welcome_dialog.cpp
[  433s] welcome_dialog.cpp: In member function 'bool CWelcomeDialog::Run(wxWindow*, bool)':
[  433s] welcome_dialog.cpp:122:26: error: operands to '?:' have different types 'wxString' and 'const std::__cxx11::basic_string<wchar_t>'
[  433s]   122 |         InitFooter(force ? wxString() : resources);
[  433s]       |                    ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[  433s] welcome_dialog.cpp:122:26: note:   and each type can be converted to the other
[  433s] make[4]: *** [Makefile:2898: filezilla-welcome_dialog.o] Error 1
[  433s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/filezilla-3.55.1/src/interface'
[  433s] make[4]: *** Waiting for unfinished jobs....
The complete build-log can be found here: https://build.opensuse.org/public/build ... zilla/_log

Building this project succedded with versions < 3.55.

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: 3.55.1 - Compile error on openSUSE

#2 Post by botg » 2021-08-10 07:23

You can remove the line entirely, it is a no-op on third-party builds.

Coffeinflash
500 Command not understood
Posts: 2
Joined: 2021-08-10 06:27
First name: Robert
Last name: Unknown

Re: 3.55.1 - Compile error on openSUSE

#3 Post by Coffeinflash » 2021-08-10 09:45

Thank you, it worked!

Post Reply