Attempting to build Calligra 2.9.2 on openSUSE 13.2. When I run make the process fails after gmic with an error Makefile:126: recipe for toarge 'all' failed. Reproducible: Always Steps to Reproduce: 1. downloaded the latest stable release (calligra-2.9.2.tar.xz) 2. run cmake 3. run make and process dies after libgmic Actual Results: make fails with the following: [ 9%] Built target kplatokernel Linking CXX static library ../../../../lib/libgmic.a cd /home/SysDwnlds/source/kde/build/calligra/krita/plugins/extensions/gmic && /usr/bin/cmake -P CMakeFiles/gmic.dir/cmake_clean_target.cmake cd /home/SysDwnlds/source/kde/build/calligra/krita/plugins/extensions/gmic && /usr/bin/cmake -E cmake_link_script CMakeFiles/gmic.dir/link.txt --verbose=1 /usr/bin/ar cq ../../../../lib/libgmic.a CMakeFiles/gmic.dir/gmic_automoc.cpp.o CMakeFiles/gmic.dir/3rdparty/gmic/gmic.cpp.o /usr/bin/ranlib ../../../../lib/libgmic.a make[2]: Leaving directory '/home/SysDwnlds/source/kde/build/calligra' /usr/bin/cmake -E cmake_progress_report /home/SysDwnlds/source/kde/build/calligra/CMakeFiles [ 9%] Built target gmic make[1]: Leaving directory '/home/SysDwnlds/source/kde/build/calligra' Makefile:126: recipe for target 'all' failed Expected Results: successful build Here is my FindPackage.txt -- The following OPTIONAL packages have been found: * ICU , "International Components for Unicode (ICU) Library" , <http://icu-project.org> "Required by Calligra's default database handler for Kexi and Words." * OpenGL , "OpenGL support" "Required by Gemini, parts of Krita and optionally by flake" * GSL , "GNU Scientific Library" , <http://www.gnu.org/software/gsl> "Required by Krita's Transform tool and Sheets' solver plugin" * KdepimLibs (required version >= 4.6.0) * Eigen3 * QCA2 * Exiv2 , "Image metadata library and tools" , <http://www.exiv2.org> "Required by Krita" * Soprano , "KDE4 RDF handling library" , <http://soprano.sourceforge.net/> "Required to handle RDF metadata in ODF" * LCMS2 * Vc (required version >= 0.6.70) , "Portable, zero-overhead SIMD library for C++" , <http://code.compeng.uni-frankfurt.de/projects/vc> "Required by the Krita for vectorization" * KActivities (required version >= 6.1.0) , "Activities interface library" , <https://projects.kde.org/projects/kde/kdelibs/kactivities> "Required for Activities integration." * Fontconfig , "Library for configuring and customizing font access" , <http://fontconfig.org> "Required to handle exact font size" * Freetype , "A Free, High-Quality, and Portable Font Engine" , <http://www.freetype.org/> "Required to handle exact font size" * KDeclarative * SharedMimeInfo , "Shared Mime Info" , <http://freedesktop.org/wiki/Software/shared-mime-info> "Required to determine file types OpenRaster (Krita default format), SVM or all of MSOOXML." * Okular , "Okular ODP Plugin" , <http://okular.kde.org/> "Required to build the Okular OpenDocument Presenter plugin" * LibRevenge , "A base library for writing document import filters" , <http://sf.net/p/libwpd/librevenge/> "Required by various import filters" * LibOdfGen , "Open Document Format Generation Library" , <http://sf.net/p/libwpd/libodfgen/> "Required by various import filters" * LibWps , "Microsoft Works Document Library" , <http://libwps.sourceforge.net/> "Required by the Words WPS import filter" * LibWpg , "WordPerfect Graphics Library" , <http://libwpg.sourceforge.net/> "Required by the Karbon WPG import filter" * LibVisio , "Visio Import Filter Library" , <https://wiki.documentfoundation.org/DLP/Libraries/libvisio> "Required by the Flow visio import filter" * LibWpd , "WordPerfect Document Library" , <http://libwpd.sourceforge.net/> "Required by the Words WPD import filter" * LibEtonyek , "Apple Keynote Document Library" , <https://wiki.documentfoundation.org/DLP/Libraries/libetonyek> "Required by the Stage keynote import filter" * Poppler * MySQL * FreeTDS , "Open source implementation of the TDS (Tabular Data Stream) protocol" , <http://www.freetds.org> "Required by Kexi Sybase driver" * XBase , "XBase compatible C++ class library" , <http://linux.techass.com/projects/xdb> "Required by Kexi XBase driver" * GLIB2 * FFTW3 , "A fast, free C FFT library" , <http://www.fftw.org/> "Required by the Krita for fast convolution operators" * GLEW , "The OpenGL Extension Wrangler Library" , <http://glew.sourceforge.net> "Required by the Krita shader filter plugin" * OCIO , "The OpenColorIO Library" , <http://www.opencolorio.org> "Required by the Krita LUT docker" * OpenMP * CURL * OpenEXR , "High dynamic-range (HDR) image file format" , <http://www.openexr.com> "Required by the Krita OpenEXR filter" * TIFF * Kdcraw * Spnav , "3Dconnexion device driver and SDK" , <http://spacenav.sourceforge.net/> "Required by SpaceNavigator 3D mouse plugin" * Iconv , "Iconv" , <http://www.gnu.org/software/libiconv/> "Required by the msword .doc filter" * Threads * OpenSSL * Pstoedit * OpenJPEG * JPEG -- The following REQUIRED packages have been found: * Automoc4 * KDE4Internal * KDE4 (required version >= 4.3.0) * Perl * Boost * PNG * Phonon * X11 * Qt4 * ZLIB -- The following OPTIONAL packages have not been found: * CalligraSqlite (required version >= 3.6.16) * CalligraMarble * Libgit2 * Libqgit2 * CalligraPostgreSQL * Cauchy
Hi, Your bug report doesn't include the actual compile error -- so it's hard to say what's going wrong. But I build Calligra 2.9 all the time on my opensuse 13.2 system, so I am pretty sure that this is a local issue, not a general one.
Created attachment 92146 [details] attachment-4118-0.html What information do I need to provide, is there an error or log file? Or can you assist me with where I should look in my build directory (or is something missing in the source directory) so that I can resolve this issue. The reason I am trying to build 2.9.2 is that it resolves the bug I reported in 2.9.1 (ref. Bug 346197). OpenSUSE has not released updated packages for 2.9.2. I followed the directions provided via the Calligra build webpage ( https://community.kde.org/Calligra/Building), checked to make sure I installed all of the dependencies and also attempted to build an app-specific products set and still get the same error. Any help or direction you could provide would be extremely helpful. Thanks you in advance Adam On Tue, Apr 21, 2015 at 4:05 AM, Boudewijn Rempt <boud@valdyas.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=346421 > > Boudewijn Rempt <boud@valdyas.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |boud@valdyas.org > > --- Comment #1 from Boudewijn Rempt <boud@valdyas.org> --- > Hi, > > Your bug report doesn't include the actual compile error -- so it's hard > to say > what's going wrong. But I build Calligra 2.9 all the time on my opensuse > 13.2 > system, so I am pretty sure that this is a local issue, not a general one. > > -- > You are receiving this mail because: > You reported the bug. >
If it's just about Krita, you might find the Cat guide easier to follow, it suffers much less from over-editing: http://www.davidrevoy.com/article193/building-krita-on-linux-for-cats (I may be the only person who when he types 'cat' in his url bar gets this as the first suggestion...). As for info: please attach the entire output of running cmake and make to the bug report.
Created attachment 92147 [details] attachment-5324-0.html Do you want cmake run in fulldebug and make with the verbose option set? On Tue, Apr 21, 2015 at 2:33 PM, Boudewijn Rempt <boud@valdyas.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=346421 > > --- Comment #3 from Boudewijn Rempt <boud@valdyas.org> --- > If it's just about Krita, you might find the Cat guide easier to follow, it > suffers much less from over-editing: > http://www.davidrevoy.com/article193/building-krita-on-linux-for-cats (I > may be > the only person who when he types 'cat' in his url bar gets this as the > first > suggestion...). > > As for info: please attach the entire output of running cmake and make to > the > bug report. > > -- > You are receiving this mail because: > You reported the bug. >
No, just run cmake, then run make in a terminal and attach the whole output to this bug.
Created attachment 92157 [details] Log of output from the cmake command cmake -DCMAKE_INSTALL_PREFIX=$SRCBLDPATH/kde/inst $SRCBLDPATH/kde/src/Calligra -DPRODUCTSET=DESKTOP -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS=-fuse-linker-plugin -DCMAKE_CXX_FLAGS=-fuse-linker-plugin 2>&1 | tee Calligra-cmakeLog_4-21-15
Created attachment 92158 [details] Log of output from the make command cmake -DCMAKE_INSTALL_PREFIX=$SRCBLDPATH/kde/inst $SRCBLDPATH/kde/src/Calligra -DPRODUCTSET=DESKTOP -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS=-fuse-linker-plugin -DCMAKE_CXX_FLAGS=-fuse-linker-plugin 2>&1 | tee Calligra-cmakeLog_4-21-15
make -j7 2>%1 | tee Calligra_2.9.2_4-21-15_makelog
Hum... That make output still doesn't contain the real error! I don't understand that...
i also had problems compiling krita on archlinux until i applied a patch from the arch repo. https://projects.archlinux.org/svntogit/packages.git/plain/trunk/libwps-0.4.patch?h=packages/calligra krita requires libwps 0.3 while arch has libwps 0.4
(In reply to var.spool.mail700 from comment #10) > https://projects.archlinux.org/svntogit/packages.git/plain/trunk/libwps-0.4. > patch?h=packages/calligra > > krita requires libwps 0.3 while arch has libwps 0.4 Would be really nice to see this patch applied because LibreOffice now requires libwps[>=0.4.0] and Calligra still requires 0.3.
I'll try to build with the patch. Note that Krita does _not_ need or use libwps, that's only for a filter plugin for other applications in the calligra suite.
Krita isn't part of calligra anymore.