Re: Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
On Sun, Sep 24, 2023 at 1:36 PM Sam Varshavchik wrote: > > Martin Gansser writes: > > > I have copied the virtual machine from a Windows computer to my Fedora 38 > > computer and shotcut can no longer be compiled here, but it can on the > > Windows computer. > > Do I have to repair the file system on the Linux computer or do anything > > else? > > You snipped out the relevant details of the filesystem being corrupted due > to a likely RAM error. > > The bad RAM could be on either machine. If the bad RAM was on your Windows > computer, you copied it off unstable hardware, and your entire VM's > integrity has been compromised in some unknown way. > > You might try making another copy of the VM, and if you don't end up with > identical corruption it likely indicates that the bad RAM corrupted the > data in transit, and the original VM image is /probably/ ok. However until > you isolate and replace the faulty RAM you can't really do anything with > some guarantee of stability. Only after identifying and replacing the faulty > RAM you can then make another copy of the VM with some level of confidence. Other than that, I'm not sure why this needs to be built inside a Fedora VM on a Fedora host. I would first try building with mock on the Fedora host *outside* the VM. Fabio ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
Martin Gansser writes: I have copied the virtual machine from a Windows computer to my Fedora 38 computer and shotcut can no longer be compiled here, but it can on the Windows computer. Do I have to repair the file system on the Linux computer or do anything else? You snipped out the relevant details of the filesystem being corrupted due to a likely RAM error. The bad RAM could be on either machine. If the bad RAM was on your Windows computer, you copied it off unstable hardware, and your entire VM's integrity has been compromised in some unknown way. You might try making another copy of the VM, and if you don't end up with identical corruption it likely indicates that the bad RAM corrupted the data in transit, and the original VM image is /probably/ ok. However until you isolate and replace the faulty RAM you can't really do anything with some guarantee of stability. Only after identifying and replacing the faulty RAM you can then make another copy of the VM with some level of confidence. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
I have copied the virtual machine from a Windows computer to my Fedora 38 computer and shotcut can no longer be compiled here, but it can on the Windows computer. Do I have to repair the file system on the Linux computer or do anything else? Regards Martin ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
On Sun, Sep 24, 2023 at 11:48:13AM +0200, Fabio Valentini wrote: > On Sun, Sep 24, 2023 at 11:39 AM Dominik 'Rathann' Mierzejewski > wrote: > > > > > /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program > > > 556 | { return hasPro`erty(TextBaselineOffset) ? > > > doubleProperty(TextBaselineOffset) : 0.0; } > > > |^ > > > > This is the first error. The rest follows from it. > > What *is* weird, however, is that this seems to point at Qt's own > header files, and this file doesn't seem to have changed in three > years: > https://github.com/qt/qtbase/blame/dev/src/gui/text/qtextformat.h#L557 > And there's also no Fedora patches for qt6-qtbase that change this file. Character 'p' - which should be in this place - is 0x70, character '`' is 0x60. That's one bit error. Typical when using non-ECC memory or filesystems without checksums. -- Tomasz TorczTo co nierealne – tutaj jest normalne. to...@pipebreaker.pl Ziomale na życie mają tu patenty specjalne. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
On Sun, Sep 24, 2023 at 11:39 AM Dominik 'Rathann' Mierzejewski wrote: > > On Sunday, 24 September 2023 at 11:11, Martin Gansser wrote: > > Hi, > > shotcut compilation [1] fails with "error: ‘hasPro’ was not declared in > > this scope" message > [...] > > In file included from /usr/include/qt6/QtGui/QTextCharFormat:1, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/../../../../src/qmltypes/qmlrichtext.h:39, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/moc_qmlrichtext.cpp:9, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp:70: > > /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program > > 556 | { return hasPro`erty(TextBaselineOffset) ? > > doubleProperty(TextBaselineOffset) : 0.0; } > > |^ > > This is the first error. The rest follows from it. What *is* weird, however, is that this seems to point at Qt's own header files, and this file doesn't seem to have changed in three years: https://github.com/qt/qtbase/blame/dev/src/gui/text/qtextformat.h#L557 And there's also no Fedora patches for qt6-qtbase that change this file. Fabio ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
On Sunday, 24 September 2023 at 11:11, Martin Gansser wrote: > Hi, > shotcut compilation [1] fails with "error: ‘hasPro’ was not declared in this > scope" message [...] > In file included from /usr/include/qt6/QtGui/QTextCharFormat:1, > from > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/../../../../src/qmltypes/qmlrichtext.h:39, > from > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/moc_qmlrichtext.cpp:9, > from > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp:70: > /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program > 556 | { return hasPro`erty(TextBaselineOffset) ? > doubleProperty(TextBaselineOffset) : 0.0; } > |^ This is the first error. The rest follows from it. Regards, Dominik -- Fedora https://fedoraproject.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
shotcut compilation fails with "error: ‘hasPro’ was not declared in this scope"
Hi, shotcut compilation [1] fails with "error: ‘hasPro’ was not declared in this scope" message .. [52/208] /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"23.09.12\" -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/include -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/CuteLogger/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/mlt-7/mlt++ -isystem /usr/include/mlt-7 -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQuickWidgets -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -c /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp FAILED: src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"23.09.12\" -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/include -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/CuteLogger/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/mlt-7/mlt++ -isystem /usr/include/mlt-7 -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQuickWidgets -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -c /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp In file included from /usr/include/qt6/QtGui/QTextCharFormat:1, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/../../../../src/qmltypes/qmlrichtext.h:39, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/moc_qmlrichtext.cpp:9, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp:70: /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program 556 | { return hasPro`erty(TextBaselineOffset) ?