Hi all,

For me LyX fails to build on latest openSUSE Tumbleweed, which has now has Qt 6.9, so I suspect the Qt update is the culprit.

Happens both with 2.4.3 and 2.4.x branch. Have not tried master.

Below the log.

Cor

[   35s] Configuration
[   35s]   Host type:               x86_64-suse-linux-gnu
[ 35s] Special build flags: build=release callback-printing use-hunspell use-enchant
[   35s]   Bundled libraries:        nod
[   35s]   C++ Compiler:            g++ (14.2.1)
[   35s]   C++ Compiler flags:       -fPIC -O2 -std=c++17
[ 35s] 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
[   35s]   Linker flags:             -rdynamic
[   35s]   Linker user flags:       -flto=auto
[   35s]   Qt Frontend:
[   35s]       Qt version:         6.9.0
[   35s]   Packaging:               posix
[   35s]   LyX binary dir:          /usr/bin
[   35s]   LyX files dir:           /usr/share/lyx
[   35s]
[   35s] Configuration of LyX was successful.
[   35s] Type 'make' to compile the program,
[   35s] and then 'make install' to install it.
[   35s] + make -j4
[   35s] make  all-recursive
[ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3'
[   35s] Making all in autotests
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/autotests'
[   35s] make[2]: Nothing to be done for 'all'.
[ 35s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/autotests'
[   35s] Making all in config
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/config'
[   35s] make[2]: Nothing to be done for 'all'.
[ 35s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/config'
[   35s] Making all in development
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/development' [ 35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/development'
[   35s] make[3]: Nothing to be done for 'all-am'.
[ 35s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/development' [ 35s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/development'
[   35s] Making all in po
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/po'
[   35s] make[2]: Nothing to be done for 'all'.
[ 35s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/po'
[   35s] Making all in 3rdparty
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty'
[   35s] Making all in nod
[ 35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty/nod'
[   35s] make[3]: Nothing to be done for 'all'.
[ 35s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty/nod' [ 35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty'
[   35s] make[3]: Nothing to be done for 'all-am'.
[ 35s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty' [ 35s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/3rdparty'
[   35s] Making all in src
[ 35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src'
[   35s]   CHK      lyx_commit_hash.h
[   35s]   GEN      moc_PreviewLoader.cpp
[   35s]   GEN      moc_Compare.cpp
[   35s] make  all-recursive
[ 35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src'
[   35s] Making all in support
[ 35s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src/support'
[   35s]   GEN      moc_ConsoleApplicationPrivate.cpp
[   35s]   GEN      moc_FileMonitor.cpp
[   35s]   GEN      moc_SystemcallPrivate.cpp
[   35s] make  all-am
[ 35s] make[5]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src/support'
[   35s]   CXX      FileMonitor.o
[   35s]   CXX      checksum.o
[   35s]   CXX      convert.o
[   35s]   CXX      ConsoleApplication.o
[   35s]   CXX      counter_reps.o
[   35s]   CXX      debug.o
[   36s]   CXX      docstream.o
[   36s]   CXX      docstring.o
[   36s]   CXX      environment.o
[   37s]   CXX      FileName.o
[   37s]   CXX      filetools.o
[   37s]   CXX      ForkedCalls.o
[   38s]   CXX      gettext.o
[   38s]   CXX      gzstream.o
[   38s]   CXX      kill.o
[   38s]   CXX      lassert.o
[   39s]   CXX      Length.o
[   39s]   CXX      lengthcommon.o
[   39s]   CXX      lstrings.o
[   39s]   CXX      lyxtime.o
[   39s]   CXX      mutex.o
[   41s]   CXX      Messages.o
[ 41s] lyxtime.cpp: In function ‘time_t lyx::support::from_asctime_utc(std::string)’: [ 41s] lyxtime.cpp:72:27: warning: ‘void QDateTime::setTimeSpec(Qt::TimeSpec)’ is deprecated: Use setTimeZone() instead [-Wdeprecated-declarations]
[   41s]    72 |         loc_dt.setTimeSpec(Qt::UTC);
[   41s]       |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~
[   41s] In file included from /usr/include/qt6/QtCore/QDateTime:1,
[   41s]                  from lyxtime.cpp:20:
[   41s] /usr/include/qt6/QtCore/qdatetime.h:407:10: note: declared here
[   41s]   407 |     void setTimeSpec(Qt::TimeSpec spec);
[   41s]       |          ^~~~~~~~~~~
[   41s]   CXX      os.o
[   41s]   CXX      PathChanger.o
[   41s]   CXX      Package.o
[   41s]   CXX      qstring_helpers.o
[   41s]   CXX      socktools.o
[   41s]   CXX      Systemcall.o
[   41s]   CXX      TempFile.o
[   43s]   CXX      Timeout.o
[   43s] In file included from /usr/include/qt6/QtCore/qtmochelpers.h:21,
[   43s]                  from moc_SystemcallPrivate.cpp:12,
[   43s]                  from Systemcall.cpp:711:
[ 43s] /usr/include/qt6/QtCore/q20algorithm.h:149:62: error: ‘identity’ in namespace ‘lyx::support::q20’ does not name a type [ 43s] 149 | typename Predicate, typename Projection = q20::identity> [ 43s] | ^~~~~~~~ [ 43s] /usr/include/qt6/QtCore/q20algorithm.h:162:62: error: ‘identity’ in namespace ‘lyx::support::q20’ does not name a type [ 43s] 162 | typename Predicate, typename Projection = q20::identity> [ 43s] | ^~~~~~~~ [ 43s] /usr/include/qt6/QtCore/q20algorithm.h:175:62: error: ‘identity’ in namespace ‘lyx::support::q20’ does not name a type [ 43s] 175 | typename Predicate, typename Projection = q20::identity> [ 43s] | ^~~~~~~~
[   43s] make[5]: *** [Makefile:994: Systemcall.o] Error 1
[   43s] make[5]: *** Waiting for unfinished jobs....
[ 44s] make[5]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src/support'
[   44s] make[4]: *** [Makefile:835: all] Error 2
[ 44s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src/support'
[   44s] make[3]: *** [Makefile:2601: all-recursive] Error 1
[ 44s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src'
[   44s] make[2]: *** [Makefile:1694: all] Error 2
[ 44s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3/src'
[   44s] make[1]: *** [Makefile:581: all-recursive] Error 1
[ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lyx-2.4.3-build/lyx-2.4.3'
[   44s] make: *** [Makefile:476: all] Error 2
[   44s] error: Bad exit status from /var/tmp/rpm-tmp.UadnQe (%build)
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to