View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017229 | Scribus | 3rd Party | public | 2024-06-01 08:13 | 2024-09-16 20:54 |
Reporter | fordfrog | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Gentoo Linux | ||||
Product Version | 1.7.0.svn | ||||
Fixed in Version | 1.6.2.svn | ||||
Summary | 0017229: scribus fails to compile with boost 1.85.0 | ||||
Description | this is the error: [59/1191] /usr/bin/x86_64-pc-linux-gnu-g++ -DAPPDATADIR=\"/usr/share/metainfo/\" -DDESKTOPDIR=\"/usr/share/applications/\" -DDOCDIR=\"/usr/share/doc/scribus-9999/\" -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DICONDIR=\"/usr/share/scribus-9999/icons/\" -DLIBDIR=\"/usr/lib64/scribus-9999/\" -DPLUGINDIR=\"/usr/lib64/scribus-9999/plugins/\" -DQMLDIR=\"/usr/share/scribus-9999/qml/\" -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAMPLESDIR=\"/usr/share/scribus-9999/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus-9999/scripts/\" -DSHAREDIR=\"/usr/share/scribus-9999/\" -DTEMPLATEDIR=\"/usr/share/scribus-9999/templates/\" -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom/scribus_2geom_lib_autogen/include -I/usr/include/qt6/QtCore -I/usr/include/qt6 -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtDBus -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtOpenGL -I/usr/include/qt6/QtOpenGLWidgets -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtXml -I/usr/include/qt6/QtSvg -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus -I/usr/include/libxml2 -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999 -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/hunspell -DHAVE_MEMRCHR -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -O2 -pipe -frecord-gcc-switches -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DCOMPILE_SCRIBUS_MAIN_APP -MD -MT scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o -MF scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o.d -o scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o -c /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp FAILED: scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DAPPDATADIR=\"/usr/share/metainfo/\" -DDESKTOPDIR=\"/usr/share/applications/\" -DDOCDIR=\"/usr/share/doc/scribus-9999/\" -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DICONDIR=\"/usr/share/scribus-9999/icons/\" -DLIBDIR=\"/usr/lib64/scribus-9999/\" -DPLUGINDIR=\"/usr/lib64/scribus-9999/plugins/\" -DQMLDIR=\"/usr/share/scribus-9999/qml/\" -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAMPLESDIR=\"/usr/share/scribus-9999/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus-9999/scripts/\" -DSHAREDIR=\"/usr/share/scribus-9999/\" -DTEMPLATEDIR=\"/usr/share/scribus-9999/templates/\" -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom/scribus_2geom_lib_autogen/include -I/usr/include/qt6/QtCore -I/usr/include/qt6 -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtDBus -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtOpenGL -I/usr/include/qt6/QtOpenGLWidgets -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtXml -I/usr/include/qt6/QtSvg -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus -I/usr/include/libxml2 -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999 -I/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/hunspell -DHAVE_MEMRCHR -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -O2 -pipe -frecord-gcc-switches -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DCOMPILE_SCRIBUS_MAIN_APP -MD -MT scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o -MF scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o.d -o scribus/third_party/lib2geom/CMakeFiles/scribus_2geom_lib.dir/bezier-utils.cpp.o -c /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp: In function ‘unsigned int Geom::copy_without_nans_or_adjacent_duplicates(const Point*, unsigned int, Point*)’: /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:178:21: error: return type of ‘int Geom::Point::operator==(const Geom::Point&)’ is not ‘bool’ 178 | if ( src_pt != dest[di] | ~~~~~~~^~~~~~~~~~~ /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:178:21: note: used as rewritten candidate for comparison of ‘const Geom::Point’ and ‘Geom::Point’ /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp: In function ‘void Geom::generate_bezier(Point*, const Point*, const double*, unsigned int, const Point&, const Point&, double)’: /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:385:34: warning: C++20 says that these are ambiguous, even though the second is reversed: 385 | if (bezier[1] != bezier[0]) { | ^ In file included from /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.h:41, from /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:54: /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/point.h:124:16: note: candidate 1: ‘int Geom::Point::operator==(const Geom::Point&)’ (rewritten) 124 | inline int operator == (const Point &in_pnt) { | ^~~~~~~~ /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/point.h:124:16: note: candidate 2: ‘int Geom::Point::operator==(const Geom::Point&)’ (reversed) /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/point.h:124:16: note: try making the operator a ‘const’ member function /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:385:23: error: return type of ‘int Geom::Point::operator==(const Geom::Point&)’ is not ‘bool’ 385 | if (bezier[1] != bezier[0]) { | ~~~~~~~~~~^~~~~~~~~~~~ /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/third_party/lib2geom/bezier-utils.cpp:385:23: note: used as rewritten candidate for comparison of ‘Geom::Point’ and ‘Geom::Point’ ninja: build stopped: subcommand failed. we have the issue with 1.6.1 after the boost update. i also checked the current development branch and the issue is there too. | ||||
Steps To Reproduce | just compile it with boost enabled | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-01 08:13 | fordfrog | New Issue | |
2024-06-01 22:05 | jghali | Note Added: 0051185 | |
2024-06-01 22:05 | jghali | Assigned To | => jghali |
2024-06-01 22:05 | jghali | Status | new => resolved |
2024-06-01 22:05 | jghali | Resolution | open => fixed |
2024-06-01 22:05 | jghali | Fixed in Version | => 1.6.2.svn |
2024-09-16 20:54 | cbradney | Status | resolved => closed |