Created attachment 540662 [details] emerge-info.txt Error copying directory from "/var/tmp/portage/media-gfx/curaengine-3.4.1/work/CuraEngine-3.4.1/resources" to "/var/tmp/portage/media-gfx/curaengine-3.4.1/work/curaengine-3.4.1_build".
Can you please submit the full build log? Thank you
https://paste.pound-python.org/show/TZ9WtDKN5DrQLtZBlLe6/ cannot to create attach: Request Timeout Server timeout waiting for the HTTP request from the client. Apache Server at bugs.gentoo.org Port 443
Created attachment 541012 [details] build.log
Created attachment 541862 [details, diff] Patch for curaengine-3.4.1 Hi. Something in the cmake-utils_src_configure trigger the add_custom_command in the CMakeLists.txt. By removing it it builds ok. Place patch in /etc/portage/patches/media-gfx/curaengine-3.4.1/ and emerge. Regards Kjell Claesson
I can confirm both that the issue exists on my machine and that the supplied patch fixes the issue. The reason why the custom command fails is that the resources are distributed as part of cura, not curaengine so the source directory in the copy does not exist. I did not investigate why the custom command is triggered, as noted by Kjell Claesson.
This custom command been removed from upstream: https://github.com/Ultimaker/CuraEngine/commit/5aad55bf67e52ce5bdb27a3925af8a4cab441b38#diff-af3b638bc2a3e6c650974192a53c7291 Seems like tarball been changed somehow after 3.4.1 tag, because I've compiled this version without problems some time ago.
It's a cmake 3.12.0 Downgrading to dev-util/cmake-3.11.4-r1 fixed the issue.
The cmake(1) -E copy_directory tool now fails when the source directory does not exist. Previously it succeeded by creating an empty destination directory. https://cmake.org/cmake/help/latest/release/3.12.html
So can you confirm that the patch here works fine for new cmake and does not cause any further problems? I am in testing stage now.
Yes, I used it as user patch and compiled on latest cmake.
Just hit this here too. Applying the patch indeed fixes the issue. Can we get a revbump with the patch?
Fixed upstream with commit 'Remove outdated copy of command_line_settings.json' from 18.06.2018 on master branch - https://github.com/Ultimaker/CuraEngine/commit/5aad55bf67e52ce5bdb27a3925af8a4cab441b38#diff-af3b638bc2a3e6c650974192a53c7291 therfore major releases after 3.x are not affected.