Error with Qt 6 and autotools
Cor Blom
cornelisbb at gmail.com
Thu Aug 24 07:38:27 UTC 2023
Op 24-08-2023 om 00:50 schreef Jean-Marc Lasgouttes:
> Do you have a config.log? The configure mechanism for qt6 now relies on
> qmake, so there may be quirks.
[ 22s] run "./configure && make"
[ 22s]
[ 22s] + TEXMF=/usr/share/texmf
[ 22s] + CONFIG_SHELL=/usr/bin/bash
[ 22s] + export CONFIG_SHELL
[ 22s] + CFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -g'
[ 22s] + export CFLAGS
[ 22s] + CXXFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -g'
[ 22s] + export CXXFLAGS
[ 22s] + FFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -g '
[ 22s] + export FFLAGS
[ 22s] + FCFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -g '
[ 22s] + export FCFLAGS
[ 22s] + LDFLAGS=-flto=auto
[ 22s] + export LDFLAGS
[ 22s] + ./configure --host=x86_64-suse-linux-gnu
--build=x86_64-suse-linux-gnu --program-prefix=
--disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-build-type=rel --without-aspell --with-hunspell --with-enchant
--enable-qt6
[ 22s] configuring LyX version 2.4.0~RC1.devel
[ 22s] checking for build type... release
[ 22s] checking for version suffix...
[ 22s] checking whether Qt6 is requested... yes
[ 22s] checking build system type... x86_64-suse-linux-gnu
[ 22s] checking host system type... x86_64-suse-linux-gnu
[ 22s] checking target system type... x86_64-suse-linux-gnu
[ 22s] checking what packaging should be used... posix
[ 22s] checking whether to enable maintainer-specific portions of
Makefiles... no
[ 22s] checking whether make supports nested variables... yes
[ 22s] checking for a BSD-compatible install... /usr/bin/install -c
[ 22s] checking whether build environment is sane... yes
[ 22s] checking for a race-free mkdir -p... /usr/bin/mkdir -p
[ 22s] checking for gawk... gawk
[ 22s] checking whether make sets $(MAKE)... yes
[ 22s] checking whether UID '399' is supported by ustar format... yes
[ 22s] checking whether GID '399' is supported by ustar format... yes
[ 22s] checking how to create a ustar tar archive... gnutar
[ 22s] checking for a Python interpreter with version >= 2.7.0 or
3.5.0... python3
[ 22s] checking for python3... /usr/bin/python3
[ 22s] checking for python version... 3.11
[ 22s] checking for python platform... linux
[ 22s] checking for GNU default python prefix... ${prefix}
[ 22s] checking for GNU default python exec_prefix... ${exec_prefix}
[ 22s] checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.11/site-packages
[ 22s] checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib64/python3.11/site-packages
[ 22s] checking whether make supports the include directive... yes
(GNU style)
[ 22s] checking for x86_64-suse-linux-gnu-gcc... no
[ 22s] checking for gcc... gcc
[ 22s] checking whether the C compiler works... yes
[ 22s] checking for C compiler default output file name... a.out
[ 22s] checking for suffix of executables...
[ 22s] checking whether we are cross compiling... no
[ 22s] checking for suffix of object files... o
[ 22s] checking whether the compiler supports GNU C... yes
[ 22s] checking whether gcc accepts -g... yes
[ 22s] checking for gcc option to enable C11 features... none needed
[ 23s] checking whether gcc understands -c and -o together... yes
[ 23s] checking dependency style of gcc... none
[ 23s] checking for x86_64-suse-linux-gnu-ar... no
[ 23s] checking for x86_64-suse-linux-gnu-lib... no
[ 23s] checking for x86_64-suse-linux-gnu-link... no
[ 23s] checking for ar... ar
[ 23s] checking the archiver (ar) interface... ar
[ 23s] checking for x86_64-suse-linux-gnu-ranlib... no
[ 23s] checking for ranlib... ranlib
[ 23s] checking for x86_64-suse-linux-gnu-g++... no
[ 23s] checking for x86_64-suse-linux-gnu-c++... no
[ 23s] checking for x86_64-suse-linux-gnu-gpp... no
[ 23s] checking for x86_64-suse-linux-gnu-aCC... no
[ 23s] checking for x86_64-suse-linux-gnu-CC... no
[ 23s] checking for x86_64-suse-linux-gnu-cxx... no
[ 23s] checking for x86_64-suse-linux-gnu-cc++... no
[ 23s] checking for x86_64-suse-linux-gnu-cl.exe... no
[ 23s] checking for x86_64-suse-linux-gnu-FCC... no
[ 23s] checking for x86_64-suse-linux-gnu-KCC... no
[ 23s] checking for x86_64-suse-linux-gnu-RCC... no
[ 23s] checking for x86_64-suse-linux-gnu-xlC_r... no
[ 23s] checking for x86_64-suse-linux-gnu-xlC... no
[ 23s] checking for x86_64-suse-linux-gnu-clang++... no
[ 23s] checking for g++... g++
[ 23s] checking whether the compiler supports GNU C++... yes
[ 23s] checking whether g++ accepts -g... yes
[ 23s] checking for g++ option to enable C++11 features... none needed
[ 23s] checking dependency style of g++... none
[ 23s] checking how to run the C++ preprocessor... g++ -E
[ 23s] checking whether the compiler is clang... no
[ 23s] checking for a good C++ mode... -std=c++17
[ 23s] checking whether STL is libstdc++... yes
[ 23s] checking whether STL is libstdc++ using the C++11 ABI... yes
[ 23s] checking for std::call_once availability... yes
[ 23s] checking for x86_64-suse-linux-gnu-gcc... no
[ 23s] checking for x86_64-suse-linux-gnu-objcc... no
[ 23s] checking for x86_64-suse-linux-gnu-objc... no
[ 23s] checking for x86_64-suse-linux-gnu-cc... no
[ 23s] checking for x86_64-suse-linux-gnu-CC... no
[ 23s] checking for x86_64-suse-linux-gnu-clang... no
[ 23s] checking for gcc... gcc
[ 23s] checking whether the compiler supports GNU Objective C... no
[ 23s] checking whether gcc accepts -g... no
[ 23s] checking dependency style of gcc... none
[ 23s] checking dependency style of gcc... (cached) none
[ 23s] checking for extra library directory... NONE
[ 23s] checking for extra include directory... NONE
[ 23s] checking for extra lib+include directory... NONE
[ 23s] checking for main in -lshlwapi... no
[ 24s] checking for main in -lpsapi... no
[ 24s] checking for main in -lgdi32... no
[ 24s] checking for main in -lole32... no
[ 24s] checking whether to use included nod library... yes
[ 24s] checking whether to use included boost library... no
[ 24s] checking for boost library... yes
[ 24s] checking for stdio.h... yes
[ 24s] checking for stdlib.h... yes
[ 24s] checking for string.h... yes
[ 24s] checking for inttypes.h... yes
[ 24s] checking for stdint.h... yes
[ 25s] checking for strings.h... yes
[ 25s] checking for sys/stat.h... yes
[ 25s] checking for sys/types.h... yes
[ 25s] checking for unistd.h... yes
[ 25s] checking for sys/select.h... yes
[ 25s] checking for sys/socket.h... yes
[ 25s] checking whether byte ordering is bigendian... no
[ 25s] checking whether printing callstack is possible... (cached) yes
[ 25s] checking whether make_unique is defined by header memory... yes
[ 25s] checking size of wchar_t... 4
[ 25s] checking for wchar_t... yes
[ 26s] checking for unsigned long long int... yes
[ 26s] checking for long long int... yes
[ 26s] checking for grep that handles long lines and -e... /usr/bin/grep
[ 26s] checking for egrep... /usr/bin/grep -E
[ 26s] checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld
[ 26s] checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU
ld... yes
[ 26s] checking for shared library run path origin... done
[ 26s] checking for iconv... yes
[ 26s] checking for working iconv... yes
[ 26s] checking for iconv declaration...
[ 26s] extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
[ 26s] checking whether to use included iconv library... no
[ 26s] checking whether to use included zlib library... no
[ 26s] checking for zlib.h... yes
[ 26s] checking for gzopen in -lz... yes
[ 26s] checking whether to build dv2dt and dt2dv... no
[ 26s] checking for magic.h... yes
[ 27s] checking for magic_open in -lmagic... yes
[ 27s] checking for x86_64-suse-linux-gnu-pkg-config...
/usr/bin/x86_64-suse-linux-gnu-pkg-config
[ 27s] checking pkg-config is at least version 0.9.0... yes
[ 27s] checking for qmake-qt6... no
[ 27s] checking for qmake6... qmake6
[ 27s] checking for Qt6... yes
[ 27s] checking for QtGui/qtgui-config.h... yes
[ 27s] checking for QtGui/private/qtgui-config_p.h... no
[ 27s] checking whether Qt uses the X Window system... no
[ 27s] checking for moc... /usr/libexec/qt6/moc
[ 27s] checking for uic... /usr/libexec/qt6/uic
[ 27s] checking for rcc... /usr/libexec/qt6/rcc
[ 27s] checking whether NLS is requested... yes
[ 27s] checking for a sed that does not truncate output... /usr/bin/sed
[ 27s] checking for msgfmt... /usr/bin/msgfmt
[ 27s] checking for gmsgfmt... /usr/bin/msgfmt
[ 27s] checking for xgettext... /usr/bin/xgettext
[ 27s] checking for msgmerge... /usr/bin/msgmerge
[ 27s] checking for sys/mkdev.h... no
[ 27s] checking for sys/sysmacros.h... yes
[ 27s] checking for sys/time.h... yes
[ 27s] checking for sys/types.h... (cached) yes
[ 27s] checking for sys/select.h... (cached) yes
[ 27s] checking for locale.h... yes
[ 27s] checking for utime.h... yes
[ 27s] checking for sys/utime.h... no
[ 27s] checking for mode_t... yes
[ 28s] checking for off_t... yes
[ 28s] checking for pid_t... yes
[ 28s] checking for size_t... yes
[ 28s] checking for uid_t in sys/types.h... yes
[ 28s] checking whether PATH_MAX is defined by header limits.h... yes
[ 28s] checking for chmod... yes
[ 28s] checking for close... yes
[ 28s] checking for _close... no
[ 28s] checking for fork... yes
[ 29s] checking for getpid... yes
[ 29s] checking for _getpid... no
[ 29s] checking for lockf... yes
[ 29s] checking for lstat... yes
[ 29s] checking for mkfifo... yes
[ 29s] checking for open... yes
[ 29s] checking for _open... no
[ 29s] checking for pclose... yes
[ 30s] checking for _pclose... no
[ 30s] checking for popen... yes
[ 30s] checking for _popen... no
[ 30s] checking for readlink... yes
[ 30s] checking for putenv... yes
[ 30s] checking for setenv... yes
[ 31s] checking for strerror... yes
[ 31s] checking for unsetenv... yes
[ 31s] checking for mkdir... yes
[ 31s] checking for _mkdir... no
[ 31s] checking whether mkdir takes one argument... no
[ 31s] checking types of arguments for select... int,fd_set *,struct
timeval *
[ 31s] checking whether to use included hunspell library... no
[ 31s] checking for HUNSPELL... yes
[ 31s] checking whether to use hunspell... yes
[ 31s] checking whether hunspell C++ (rather than C) ABI is
provided... yes
[ 31s] checking for ENCHANT... yes
[ 31s] checking whether to use enchant... yes
[ 32s] checking whether enchant is version 2.x at least... yes
[ 32s] checking for mythes.hxx... yes
[ 32s] checking checking for MyThes library... -lmythes-1.2
[ 32s] checking whether to use included MyThes library... no
[ 32s] Set to installing internal saxon.
[ 32s] Set to installing XSLT Stylesheets.
[ 32s] checking for fcntl... yes
[ 32s] checking for library containing gethostbyname... none required
[ 32s] checking for library containing socket... none required
[ 32s] checking that generated files are newer than configure... done
[ 32s] configure: creating ./config.status
[ 33s] config.status: creating Makefile
[ 33s] config.status: creating lyx.1
[ 33s] config.status: creating 3rdparty/Makefile
[ 33s] config.status: creating 3rdparty/boost/Makefile
[ 33s] config.status: creating 3rdparty/dtl/Makefile
[ 33s] config.status: creating 3rdparty/hunspell/Makefile
[ 33s] config.status: creating 3rdparty/mythes/Makefile
[ 33s] config.status: creating 3rdparty/nod/Makefile
[ 33s] config.status: creating 3rdparty/libiconv/Makefile
[ 33s] config.status: creating 3rdparty/zlib/Makefile
[ 33s] config.status: creating autotests/Makefile
[ 33s] config.status: creating config/Makefile
[ 33s] config.status: creating development/Makefile
[ 33s] config.status: creating development/MacOSX/Makefile
[ 33s] config.status: creating development/MacOSX/Info.plist
[ 33s] config.status: creating development/MacOSX/lyxrc.dist
[ 33s] config.status: creating development/MacOSX/spotlight/Makefile
[ 33s] config.status: creating development/cygwin/Makefile
[ 33s] config.status: creating development/cygwin/lyxrc.dist
[ 33s] config.status: creating development/lyx.spec
[ 33s] config.status: creating lib/lyx.desktop-temp
[ 33s] config.status: creating lib/Makefile
[ 33s] config.status: creating lib/doc/Makefile
[ 33s] config.status: creating lib/lyx2lyx/lyx2lyx_version.py
[ 33s] config.status: creating lib/lyx2lyx/Makefile
[ 33s] config.status: creating m4/Makefile
[ 33s] config.status: creating po/Makefile.in
[ 33s] config.status: creating sourcedoc/Doxyfile
[ 33s] config.status: creating sourcedoc/Makefile
[ 33s] config.status: creating src/client/Makefile
[ 33s] config.status: creating src/client/lyxclient.1
[ 33s] config.status: creating src/Makefile
[ 33s] config.status: creating src/tex2lyx/Makefile
[ 33s] config.status: creating src/tex2lyx/tex2lyx.1
[ 33s] config.status: creating src/convert/Makefile
[ 33s] config.status: creating src/support/Makefile
[ 33s] config.status: creating src/frontends/Makefile
[ 33s] config.status: creating src/frontends/qt/Makefile
[ 33s] config.status: creating config.h
[ 33s] config.status: executing depfiles commands
[ 33s] config.status: executing po-directories commands
[ 33s] config.status: creating po/POTFILES
[ 33s] config.status: creating po/Makefile
[ 33s]
[ 33s] Configuration
[ 33s] Host type: x86_64-suse-linux-gnu
[ 33s] Special build flags: build=release callback-printing
use-hunspell use-enchant
[ 33s] Bundled libraries: nod
[ 33s] C++ Compiler: g++ (13.2.1)
[ 33s] C++ Compiler flags: -fPIC -O2 -std=c++17
[ 33s] C++ Compiler user flags: -std=c++17 -O2 -Wall
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection
-Werror=return-type -flto=auto -g
[ 33s] Linker flags: -rdynamic
[ 33s] Linker user flags: -flto=auto
[ 33s] Qt Frontend:
[ 33s] Qt version: 6.5.2
[ 33s] Packaging: posix
[ 33s] LyX binary dir: /usr/bin
[ 33s] LyX files dir: /usr/share/lyx
[ 33s]
[ 33s] Configuration of LyX was successful
More information about the lyx-devel
mailing list