Created attachment 625428 [details] build.log (gzipped) Doing my regular emerge -vaUuD world, I found a consistent failure in kde-apps/cantor-19.12.3. Last error lines: [ 88%] Building CXX object src/CMakeFiles/cantorpart.dir/markdownentry.cpp.o cd /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dcantorpart_EXPORTS -I/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build/src -I/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src -I/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build/src/cantorpart_autogen/include -I/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/lib -I/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build/src/lib -isystem /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build/thirdparty/src/discount_project -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5 -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/Solid -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KArchive -isystem /usr/include/qt5/QtSvg -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -DQT_NO_DEBUG -DNDEBUG -O2 -march=native -mmmx -mpopcnt -msse -msse2 -msse3 -msse4.1 -msse4.2 -mssse3 -mavx -maes -mfpmath=sse -pipe -fno-stack-protector -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/cantorpart.dir/markdownentry.cpp.o -c /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp:44:10: fatal error: mkdio.h: No such file or directory 44 | #include <mkdio.h> | ^~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/cantorpart.dir/build.make:192: src/CMakeFiles/cantorpart.dir/markdownentry.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build' make[1]: *** [CMakeFiles/Makefile2:992: src/CMakeFiles/cantorpart.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3_build' make: *** [Makefile:130: all] Error 2 The problem seems to be with thirdparty/discount-2.2.6-patched/mkdio.h, which is not being generated. A thirdparty/discount-2.2.6-patched/mkdio.h.in file exists, and thirdparty/discount-2.2.6-patched/configure.sh does refer to it: GENERATE="Makefile version.c mkdio.h" if [ "$PKGCONFIG" ]; then GENERATE="$GENERATE libmarkdown.pc" fi AC_OUTPUT $GENERATE I guess the configure script is not being called?
Created attachment 625430 [details] emerge --info kde-apps/cantor
Please test with discount-2.2.4.
Do you mean, install app-text/discount-2.2.4 and then rebuild? (note right now I do not have app-text/discount installed at all)
I installed =app-text/discount-2.2.4 and was able to merge cantor now. Note I did not have any version of discount installed before. The cantor build was using an embedded version called "thirdparty/discount-2.2.6-patched". The embedded version still needs fixing though, or a dependency on app-text/discount needs to be added to the kde-apps/cantor ebuild.
Just had to rebuild kde-apps/cantor-19.12.3, since I've changed from python_single_target_python3_6 to python_single_target_python3_7. Now I get a different error: /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp: In member function ‘bool MarkdownEntry::renderMarkdown(QString&)’: /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp:392:25: error: ‘mkd_latextext’ was not declared in this scope; did you mean ‘mkd_text’? 392 | int latexDataSize = mkd_latextext(mdHandle, &latexData); | ^~~~~~~~~~~~~ | mkd_text I still have app-text/discount-2.2.4 installed, which was the only way I could get this to build, per my previous comment. I have not rebuilt neither discount nor cantor since then. I've checked that the system mkdio.h, from app-text/discount-2.2.4, does not indeed declare any mkd_latextext. I don't know how this built in the first place. kde-apps/cantor has an embedded version of discount, which is patched and *does* define mkd_latextext. But that embedded version was not generating its mkdio.h, leading to the error I reported in the original description of this bug. I only installed app-text/discount-2.2.4 as a workaround. Through all of this, I don't really care about cantor anyway. I just get it because of kdeedu-meta, which I also don't care about but it gets pulled in as a transitive dependency from kde-apps/kde-meta by way of kde-apps/kde-apps-meta, without any chance of disabling it. I want most of KDE but would be happy to remove kde-apps/kdeedu-meta and get rid of cantor, if only kde-apps/kde-apps-meta had some USE flags.
I've filed bug #717384 separately to ask for USE flags in kde-apps/kde-apps-meta. But if and until then, it would be nice to get cantor building.
For some reason this works just fine for me (and we haven't got any other report so far), with or without markdon-2.2.6 installed. mkdio.h is however being generated in cantor-19.12.3_build/thirdparty/src/discount_project/mkdio.h
Hello, I'd like to report the same issues from merging Cantor. First, without app-text/discount, I get the same /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp:44:10: fatal error: mkdio.h: No such file or directory 44 | #include <mkdio.h> | ^~~~~~~~~ as described in the first message in this report. I then merged app-text/discount as was suggested, and then I got /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp: In member function ‘bool MarkdownEntry::renderMarkdown(QString&)’: /var/tmp/portage/kde-apps/cantor-19.12.3/work/cantor-19.12.3/src/markdownentry.cpp:392:25: error: ‘mkd_latextext’ was not declared in this scope; did you mean ‘mkd_text’? 392 | int latexDataSize = mkd_latextext(mdHandle, &latexData); | ^~~~~~~~~~~~~ | mkd_text as Israel described in the third to last post. I've included 'emerge --info' as well as the build logs for Cantor with and without Discount in this Gist: https://gist.github.com/AuroransSolis/e282a393ef136f9d23033af9aa61f199.
could it be a dependency-problem? I just compiled it successfully: /var/log/portage/kde-apps:cantor-20.04.3-r1:20200926-084650.log contains /var/tmp/portage/kde-apps/cantor-20.04.3-r1/work/cantor-20.04.3/src/markdownentry.cpp:45:10: fatal error: mkdio.h: No such file or directory on my terminal I have: / # emerge -v1 --update --deep --with-bdeps=y --newuse --verbose-conflicts --autounmask-backtrack=y kde-apps/kdeedu-meta These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild r U ] media-libs/ilmbase-2.5.2:0/25::gentoo [2.3.0:0/24::gentoo] USE="-large-stack% -static-libs -test%" ABI_X86="32 (64) (-x32)" 26.881 KiB [ebuild r U ] media-libs/openexr-2.5.2:0/25::gentoo [2.3.0:0/24::gentoo] USE="-doc% -examples -static-libs -test% -utils%" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx" 26.881 KiB [ebuild rR ] media-gfx/imagemagick-7.0.10.28:0/7.0.10::gentoo USE="X bzip2 corefonts cxx fontconfig jpeg jpeg2k lcms openexr openmp pango perl png svg tiff truetype webp xml zlib -djvu -fftw -fpx -graphviz -hdri -heif -jbig -lqr -lzma (-opencl) -postscript -q32 -q8 -raw -static-libs -test -wmf" 0 KiB [ebuild rR ] kde-frameworks/kimageformats-5.70.0:5/5.70::gentoo USE="openexr -debug -eps -test" 0 KiB [ebuild rR ~] media-gfx/mandelbulber-2.12-r1::gentoo USE="opencl openexr tiff -sndfile" 0 KiB [ebuild U ] kde-apps/cantor-20.04.3-r1:5::gentoo [20.04.3:5::gentoo] USE="analitza handbook -R -debug (-julia) -lua -postscript -python -qalculate -test" PYTHON_SINGLE_TARGET="python3_7 -python3_8" 0 KiB [ebuild rR ] kde-apps/kio-extras-20.04.3:5::gentoo USE="X activities handbook man openexr phonon samba sftp -debug -mtp -nfs -taglib -test" 0 KiB [ebuild rR ~] media-gfx/gmic-2.9.1::gentoo USE="X cli curl ffmpeg fftw gimp jpeg openexr openmp png qt5 tiff zlib -graphicsmagick -krita -opencv -static-libs" 0 KiB Total: 8 packages (3 upgrades, 5 reinstalls), Size of downloads: 53.761 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: media-gfx/gimp:2 (media-gfx/gimp-2.10.18-r2:2/2::gentoo, ebuild scheduled for merge) USE="aalib alsa jpeg2k mng openexr postscript udev webp wmf xpm (-aqua) -debug -doc -gnome -heif (-python) -test -unwind -vector-icons" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" PYTHON_SINGLE_TARGET="python2_7" conflicts with <media-gfx/gimp-2.10.0 required by (media-plugins/gimp-lensfun-0.2.4-r1:0/0::gentoo, installed) USE="openmp" ABI_X86="(64)" ^ ^^^^^^ The following packages are causing rebuilds: (media-libs/openexr-2.5.2:0/25::gentoo, ebuild scheduled for merge) causes rebuilds for: (media-gfx/gmic-2.9.1:0/0::gentoo, ebuild scheduled for merge) (media-gfx/mandelbulber-2.12-r1:0/0::gentoo, ebuild scheduled for merge) (media-libs/gegl-0.4.22:0.4/0.4::gentoo, ebuild scheduled for merge) (media-gfx/imagemagick-7.0.10.28:0/7.0.10::gentoo, ebuild scheduled for merge) (kde-apps/kio-extras-20.04.3:5/5::gentoo, ebuild scheduled for merge) (media-gfx/gimp-2.10.18-r2:2/2::gentoo, ebuild scheduled for merge) (kde-frameworks/kimageformats-5.70.0:5/5.70::gentoo, ebuild scheduled for merge) (media-libs/ilmbase-2.5.2:0/25::gentoo, ebuild scheduled for merge) causes rebuilds for: (media-gfx/mandelbulber-2.12-r1:0/0::gentoo, ebuild scheduled for merge) (media-gfx/gmic-2.9.1:0/0::gentoo, ebuild scheduled for merge) (media-libs/openexr-2.5.2:0/25::gentoo, ebuild scheduled for merge) (kde-frameworks/kimageformats-5.70.0:5/5.70::gentoo, ebuild scheduled for merge) >>> Verifying ebuild manifests >>> Running pre-merge checks for kde-apps/cantor-20.04.3-r1 >>> Running pre-merge checks for media-gfx/gmic-2.9.1 >>> Emerging (1 of 8) media-libs/ilmbase-2.5.2::gentoo >>> Installing (1 of 8) media-libs/ilmbase-2.5.2::gentoo >>> Emerging (2 of 8) media-libs/openexr-2.5.2::gentoo >>> Installing (2 of 8) media-libs/openexr-2.5.2::gentoo >>> Emerging (3 of 8) media-gfx/imagemagick-7.0.10.28::gentoo >>> Emerging (4 of 8) kde-frameworks/kimageformats-5.70.0::gentoo >>> Emerging (5 of 8) media-gfx/mandelbulber-2.12-r1::gentoo >>> Emerging (6 of 8) kde-apps/cantor-20.04.3-r1::gentoo >>> Emerging (7 of 8) kde-apps/kio-extras-20.04.3::gentoo >>> Failed to emerge media-gfx/mandelbulber-2.12-r1, Log file: >>> '/var/log/portage/media-gfx:mandelbulber-2.12-r1:20200926-084646.log' >>> Installing (4 of 8) kde-frameworks/kimageformats-5.70.0::gentoo >>> Failed to emerge kde-apps/cantor-20.04.3-r1, Log file: >>> '/var/log/portage/kde-apps:cantor-20.04.3-r1:20200926-084650.log' >>> Installing (3 of 8) media-gfx/imagemagick-7.0.10.28::gentoo >>> Installing (7 of 8) kde-apps/kio-extras-20.04.3::gentoo >>> Jobs: 5 of 8 complete, 2 failed Load avg: 4.15, 5.93, 5.28 * Error messages for package media-gfx/mandelbulber-2.12-r1: * ERROR: media-gfx/mandelbulber-2.12-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/mandelbulber-2.12-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/mandelbulber-2.12-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:mandelbulber-2.12-r1:20200926-084646.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/mandelbulber-2.12-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mandelbulber-2.12-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/mandelbulber-2.12-r1/work/mandelbulber2-2.12-1' * S: '/var/tmp/portage/media-gfx/mandelbulber-2.12-r1/work/mandelbulber2-2.12-1' * Error messages for package kde-apps/cantor-20.04.3-r1: * ERROR: kde-apps/cantor-20.04.3-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=kde-apps/cantor-20.04.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=kde-apps/cantor-20.04.3-r1::gentoo'`. * The complete build log is located at '/var/log/portage/kde-apps:cantor-20.04.3-r1:20200926-084650.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/kde-apps/cantor-20.04.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-apps/cantor-20.04.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/kde-apps/cantor-20.04.3-r1/work/cantor-20.04.3_build' * S: '/var/tmp/portage/kde-apps/cantor-20.04.3-r1/work/cantor-20.04.3' * * The following 2 packages have failed to build, install, or execute * postinst: * * (media-gfx/mandelbulber-2.12-r1:0/0::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/media-gfx:mandelbulber-2.12-r1:20200926-084646.log' * (kde-apps/cantor-20.04.3-r1:5/5::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/kde-apps:cantor-20.04.3-r1:20200926-084650.log' * * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: media-libs/ilmbase-2.5.2 * - /usr/lib32/libHalf.so.24 * - /usr/lib32/libHalf.so.24.0.0 * used by /usr/lib32/libIlmImf-2_3.so.24 (preserved) * used by /usr/lib32/libIlmImf-2_3.so.24.0.0 (preserved) * - /usr/lib32/libIex-2_3.so.24 * - /usr/lib32/libIex-2_3.so.24.0.0 * used by /usr/lib32/libIlmImf-2_3.so.24 (preserved) * used by /usr/lib32/libIlmImf-2_3.so.24.0.0 (preserved) * - /usr/lib32/libIlmThread-2_3.so.24 * - /usr/lib32/libIlmThread-2_3.so.24.0.0 * used by /usr/lib32/libIlmImf-2_3.so.24 (preserved) * used by /usr/lib32/libIlmImf-2_3.so.24.0.0 (preserved) * - /usr/lib64/libHalf.so.24 * - /usr/lib64/libHalf.so.24.0.0 * used by /usr/bin/mandelbulber2 (media-gfx/mandelbulber-2.12-r1) * used by /usr/bin/povray (media-gfx/povray-3.7.0.0-r1) * used by /usr/lib64/libgmic.so.1 () * - /usr/lib64/libIex-2_3.so.24 * - /usr/lib64/libIex-2_3.so.24.0.0 * used by /usr/bin/povray (media-gfx/povray-3.7.0.0-r1) * - /usr/lib64/libIlmThread-2_3.so.24 * - /usr/lib64/libIlmThread-2_3.so.24.0.0 * used by /usr/lib64/libIlmImf-2_3.so.24 (preserved) * used by /usr/lib64/libIlmImf-2_3.so.24.0.0 (preserved) >>> package: media-libs/openexr-2.5.2 * - /usr/lib32/libIlmImf-2_3.so.24 * - /usr/lib32/libIlmImf-2_3.so.24.0.0 * used by /usr/lib32/libopencv_imgcodecs.so.4.1.2 (media-libs/opencv-4.1.2-r3) * - /usr/lib64/libIlmImf-2_3.so.24 * - /usr/lib64/libIlmImf-2_3.so.24.0.0 * used by /usr/bin/mandelbulber2 (media-gfx/mandelbulber-2.12-r1) * used by /usr/bin/povray (media-gfx/povray-3.7.0.0-r1) * used by /usr/lib64/gegl-0.2/exr-load.so (media-libs/gegl-0.2.0-r6) * used by 3 other files Use emerge @preserved-rebuild to rebuild packages using these libraries / # emerge -v1 --update --deep --with-bdeps=y --newuse --verbose-conflicts --autounmask-backtrack=y kde-apps/kdeedu-meta --exclude=media-gfx/mandelbulber These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] kde-apps/cantor-20.04.3-r1:5::gentoo [20.04.3:5::gentoo] USE="analitza handbook -R -debug (-julia) -lua -postscript -python -qalculate -test" PYTHON_SINGLE_TARGET="python3_7 -python3_8" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Running pre-merge checks for kde-apps/cantor-20.04.3-r1 >>> Emerging (1 of 1) kde-apps/cantor-20.04.3-r1::gentoo >>> Installing (1 of 1) kde-apps/cantor-20.04.3-r1::gentoo >>> Jobs: 1 of 1 complete Load avg: 4.51, 4.79, 4.81 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Please re-open if this is being reproduced with 20.08.3.
@Andreas, I was just updating and the merge to 22.08.3 failed, I emerged discount and the emerge succeeded.
same for kde-apps/cantor-23.04.2::gentoo : builds only with app-text/discount-2.2.7c::gentoo installed, not without, last installed version 22.12.3 in May worked fine without that dependency...