Bug 2045263 - cloudcompare: FTBFS in Fedora rawhide/f36
Summary: cloudcompare: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cloudcompare
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-25 16:16 UTC by Fedora Release Engineering
Modified: 2022-05-07 04:13 UTC (History)
2 users (show)

Fixed In Version: cloudcompare-2.11.3-1.fc37 cloudcompare-2.11.3-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 04:13:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-25 16:16 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-25 16:16 UTC, Fedora Release Engineering
no flags Details
state.log (1002 bytes, text/plain)
2022-01-25 16:16 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-25 16:16:46 UTC
cloudcompare failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81770222


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix cloudcompare at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
cloudcompare will be orphaned. Before branching of Fedora 37,
cloudcompare will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-25 16:16:52 UTC
Created attachment 1853822 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-25 16:16:55 UTC
Created attachment 1853823 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-25 16:16:57 UTC
Created attachment 1853824 [details]
state.log

Comment 4 Miro Hrončok 2022-01-25 17:03:40 UTC
[ 42%] Building CXX object libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o
cd /builddir/build/BUILD/CloudCompare-2.9.1/build/libs/qCC_io && /usr/bin/g++ -DCC_DXF_SUPPORT -DCC_GDAL_SUPPORT -DCC_LAS_SUPPORT -DCC_SHP_SUPPORT -DQCC_IO_LIB_EXPORTS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLEXTENSIONS_LIB -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -I/builddir/build/BUILD/CloudCompare-2.9.1/build/libs/qCC_io -I/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io -I/builddir/build/BUILD/CloudCompare-2.9.1/build/libs/qCC_io/QCC_IO_LIB_autogen/include -I/usr/include/qt5/QtPrintSupport -I/usr/include/liblas -I/builddir/build/BUILD/CloudCompare-2.9.1/contrib/dxflib-3.17.0/src -I/usr/include/gdal -I/builddir/build/BUILD/CloudCompare-2.9.1/CC/include -I/builddir/build/BUILD/CloudCompare-2.9.1/libs/CCFbo/include -I/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtOpenGLExtensions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c++14 -fPIC -fopenmp -DNDEBUG -fPIC -fPIC -MD -MT libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o -MF CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o.d -o CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o -c /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp
make[2]: Leaving directory '/builddir/build/BUILD/CloudCompare-2.9.1/build'
In file included from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrix.h:22,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccIncludeGL.h:24,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLDrawContext.h:21,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccDrawableObject.h:22,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccBBox.h:22,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccHObject.h:23,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/FileIOFilter.h:22,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.h:24,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp:20:
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h: In member function 'virtual bool ccGLMatrixTpl<T>::toAsciiFile(QString, int) const':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:355:117: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  355 |                         stream << m_mat[i] << " " << m_mat[i + 4] << " " << m_mat[i + 8] << " " << m_mat[i + 12] << endl;
      |                                                                                                                     ^~~~
In file included from /usr/include/qt5/QtCore/QTextStream:1,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:31:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp: In function 'double swapD(double)':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp:79:42: error: aggregate 'std::array<char, 8> p' has incomplete type and cannot be defined
   79 |         std::array<char, sizeof(double)> p;
      |                                          ^
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp: In member function 'virtual CC_FILE_ERROR ShpFilter::saveToFile(ccHObject*, const std::vector<GenericDBFField*>&, QString, FileIOFilter::SaveParameters&)':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp:1123:43: warning: enum constant in boolean context [-Wint-in-bool-context]
 1123 |                         outputShapeType = SHP_POLYLINE ? SHP_POLYGON : SHP_POLYGON_Z;
      |                                           ^~~~~~~~~~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp: In member function 'virtual CC_FILE_ERROR ShpFilter::loadFile(QString, ccHObject&, FileIOFilter::LoadParameters&)':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp:1722:94: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations]
 1722 |                                                         if (lsfDlg.listWidget->isItemSelected(lsfDlg.listWidget->item(i)))
      |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/QListWidget:1,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/build/libs/qCC_io/ui_importDBFFieldDlg.h:18,
                 from /builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_io/ShpFilter.cpp:24:
/usr/include/qt5/QtWidgets/qlistwidget.h:261:10: note: declared here
  261 |     bool isItemSelected(const QListWidgetItem *item) const;
      |          ^~~~~~~~~~~~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h: In instantiation of 'bool ccGLMatrixTpl<T>::toAsciiFile(QString, int) const [with T = double]':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:344:15:   required from here
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:355:117: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  355 |                         stream << m_mat[i] << " " << m_mat[i + 4] << " " << m_mat[i + 8] << " " << m_mat[i + 12] << endl;
      |                                                                                                                     ^~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:355:114: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  355 |                         stream << m_mat[i] << " " << m_mat[i + 4] << " " << m_mat[i + 8] << " " << m_mat[i + 12] << endl;
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h: In instantiation of 'bool ccGLMatrixTpl<T>::toAsciiFile(QString, int) const [with T = float]':
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:344:15:   required from here
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:355:117: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  355 |                         stream << m_mat[i] << " " << m_mat[i + 4] << " " << m_mat[i + 8] << " " << m_mat[i + 12] << endl;
      |                                                                                                                     ^~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/builddir/build/BUILD/CloudCompare-2.9.1/libs/qCC_db/ccGLMatrixTpl.h:355:114: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  355 |                         stream << m_mat[i] << " " << m_mat[i + 4] << " " << m_mat[i + 8] << " " << m_mat[i + 12] << endl;
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~




https://koschei.fedoraproject.org/package/cloudcompare indicates this started with GCC 12.


Upstream removed this code completely in https://github.com/CloudCompare/CloudCompare/pull/825

It might be a good time to actually upgrade this thing :/

Comment 5 Ben Cotton 2022-02-08 20:53:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 6 Charalampos Stratakis 2022-03-29 02:24:47 UTC
PR: https://src.fedoraproject.org/rpms/cloudcompare/pull-request/8

Comment 7 Fedora Update System 2022-03-30 21:56:33 UTC
FEDORA-2022-db3e30ea66 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-db3e30ea66

Comment 8 Fedora Update System 2022-03-30 21:57:41 UTC
FEDORA-2022-db3e30ea66 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-03-30 23:26:55 UTC
FEDORA-2022-edf000f82e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-edf000f82e

Comment 10 Fedora Update System 2022-03-31 18:25:25 UTC
FEDORA-2022-edf000f82e has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-edf000f82e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-edf000f82e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-05-07 04:13:49 UTC
FEDORA-2022-edf000f82e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.