Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640838 - media-gfx/curaengine-2.3.1: emake failed: fatal error: cppunit/extensions/TestFactoryRegistry.h: No such file or directory
Summary: media-gfx/curaengine-2.3.1: emake failed: fatal error: cppunit/extensions/Tes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 620376
  Show dependency tree
 
Reported: 2017-12-12 17:36 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-05-05 11:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,48.66 KB, text/plain)
2017-12-12 17:36 UTC, Thomas Deutschmann (RETIRED)
Details
curaengine-2.3.1.patch (file_640838.txt,521 bytes, patch)
2018-03-09 05:59 UTC, Michael 'veremitz' Everitt
Details | Diff
curaengine-2.3.1-remove-gcodeplannertest.patch (file_640838.txt,10.07 KB, patch)
2018-03-09 06:05 UTC, Michael 'veremitz' Everitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-12 17:36:36 UTC
Created attachment 509622 [details]
build.log

[ 78%] Building CXX object CMakeFiles/PolygonUtilsTest.dir/tests/main.cpp.o
/usr/bin/i686-pc-linux-gnu-g++ -DARCUS -I/var/tmp/portage/media-gfx/curaengine-2.3.1/work/curaengine-2.3.1_build -I/var/tmp/portage/media-gfx/curaengine-2.3.1/work/CuraEngine-2.3.1/libs   -DNDEBUG -O2 -pipe -march=pentium4m -mtune=pentium4m -Wall -static-libstdc++   -std=gnu++11 -o CMakeFiles/PolygonUtilsTest.dir/tests/main.cpp.o -c /var/tmp/portage/media-gfx/curaengine-2.3.1/work/CuraEngine-2.3.1/tests/main.cpp
/var/tmp/portage/media-gfx/curaengine-2.3.1/work/CuraEngine-2.3.1/tests/main.cpp:4:52: fatal error: cppunit/extensions/TestFactoryRegistry.h: No such file or directory
 #include <cppunit/extensions/TestFactoryRegistry.h>
                                                    ^
compilation terminated.
make[2]: *** [CMakeFiles/PolygonUtilsTest.dir/build.make:63: CMakeFiles/PolygonUtilsTest.dir/tests/main.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/curaengine-2.3.1/work/curaengine-2.3.1_build'
make[1]: *** [CMakeFiles/Makefile2:295: CMakeFiles/PolygonUtilsTest.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-gfx/curaengine-2.3.1/work/curaengine-2.3.1_build'
make: *** [Makefile:163: all] Error 2
 * ERROR: media-gfx/curaengine-2.3.1::gentoo failed (compile phase):
 *   emake failed



Portage 2.3.13 (python 3.5.4-final-0, default/linux/x86/13.0, gcc-6.4.0, glibc-2.25-r9, 4.12.14-gentoo i686)
=================================================================
System uname: Linux-4.12.14-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108084 total,   1040660 free
KiB Swap:     488276 total,    486228 free
Timestamp of repository gentoo: Tue, 12 Dec 2017 11:45:32 +0000
Head commit of repository gentoo: d11c2bb7cc47ca9e465feebf22bf03a286bca2e3

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMAKEPATH="/usr/lib/tmake/linux-g++"
TMUX="/tmp/tmux-0/default,5292,0"
TMUX_PANE="%2"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 1 Michael 'veremitz' Everitt 2018-03-09 05:59:51 UTC
Created attachment 523076 [details, diff]
curaengine-2.3.1.patch

Fixed missing dependency on dev-util/cppunit for tests.
Comment 2 Michael 'veremitz' Everitt 2018-03-09 06:05:14 UTC
Created attachment 523078 [details, diff]
curaengine-2.3.1-remove-gcodeplannertest.patch

Unfortunately this now unveils a further test failure as noted in https://github.com/Ultimaker/CuraEngine/issues/404 which I have successfully patched out in the enclosed attachment.
Comment 3 Michael 'veremitz' Everitt 2018-03-09 06:21:49 UTC
Pull request will be incoming shortly with both these changes.
Comment 4 Larry the Git Cow gentoo-dev 2018-04-01 11:54:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8621ceccf75e62382b2921228551c788ff2b2910

commit 8621ceccf75e62382b2921228551c788ff2b2910
Author:     M. J. Everitt <m.j.everitt@iee.org>
AuthorDate: 2018-03-09 07:30:35 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-04-01 11:54:03 +0000

    media-gfx/curaengine: Add missing DEPs, remove broken test
    
    Tests require missing dev-util/cppinit.
    Docs require missing media-gfx/graphviz to provide 'dot'.
    GCodePlannerTest broken per https://github.com/Ultimaker/CuraEngine/issues/404
    
    Bug: https://bugs.gentoo.org/640838
    Closes: https://github.com/gentoo/gentoo/pull/7401
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 media-gfx/curaengine/curaengine-2.3.1-r1.ebuild    | 45 ++++++++++++++++++++++
 media-gfx/curaengine/curaengine-2.6.0-r1.ebuild    | 44 +++++++++++++++++++++
 .../curaengine-2.3.1-remove-gcodeplannertest.patch | 14 +++++++
 3 files changed, 103 insertions(+)}