Package Details: slic3r-prusa3d 1.41.2-1

Git Clone URL: https://aur.archlinux.org/slic3r-prusa3d.git (read-only)
Package Base: slic3r-prusa3d
Description: Updated Slic3r by Prusa3D with many bugfixes and new features
Upstream URL: http://www.prusa3d.com/
Licenses: AGPL3
Submitter: CReimer
Maintainer: CReimer
Last Packager: CReimer
Votes: 33
Popularity: 2.749463
First Submitted: 2016-10-30 19:16
Last Updated: 2018-12-09 22:18

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Teteros commented on 2018-12-05 11:35

Since they are just tests (and only 2 fail) try commenting out the check() block (# in front of lines 54-59) as the package will build without it regardless.

Any ideas if it's an upstream issue? You could post a build log, check works for me so it might be just on a perl dependency I have on my system that the current PKGBUILD does not specify though.

DrJPepper commented on 2018-12-03 14:44

Thanks Teteros. However, 2 tests out of 55 still fail for me. I'm assuming this is no longer caused by prove though; guess I'll still have to leave the package held back for now.

Teteros commented on 2018-12-03 01:56

@DrJPepper Changing the two sed lines to sed -i "s|/usr/bin/prove|$(command -v prove)|g" CTestTestfile.cmake should do the trick.

Patch for the maintainer:

diff --git PKGBUILD PKGBUILD
index 894befd..5c0f1f4 100644
--- PKGBUILD
+++ PKGBUILD
@@ -6,7 +6,7 @@

 _pkgname=slic3r-prusa3d
 pkgname=${_pkgname}
-pkgver=1.41.1
+pkgver=1.41.2
 pkgrel=1
 pkgdesc="Updated Slic3r by Prusa3D with many bugfixes and new features"
 arch=('i686' 'x86_64')
@@ -53,8 +53,7 @@ build() {

 check() {
   cd "${srcdir}/Slic3r/build"
-  sed -i 's/\/usr\/bin\/prove/prove/g' CTestTestfile.cmake
-  sed -i 's/"\/usr\/bin\/perl"//g' CTestTestfile.cmake
+  sed -i "s|/usr/bin/prove|$(command -v prove)|g" CTestTestfile.cmake
   ctest -V
 }

DrJPepper commented on 2018-11-29 15:55

@pboutach could you post your working package build? I've tried your solution as well and a few other things and just cannot get it to work.

pboutach commented on 2018-11-01 16:13

Hi, I run Manjaro. The 'prove' executable is in '/usr/bin/core_perl/prove'. Due to this the test using 'prove' fail and as a result the instillation fails. One possible solution is to substitute in PKGBUILD 'check()' function the line

sed -i 's/\/usr\/bin\/prove/prove/g' CTestTestfile.cmake

with:

if [[ -f /usr/bin/core_perl/prove ]] ; then

sed -i 's/"\/bin\/prove"/"\/usr\/bin\/core_perl\/prove"/g' CTestTestfile.cmake

else

sed -i 's/"\/usr\/bin\/prove"/"prove"/g' CTestTestfile.cmake

fi

or better:

PROVE=$(command -v prove)

sed -i "s|/bin/prove|$PROVE|g" CTestTestfile.cmake

Salamandar commented on 2018-09-27 13:56

I can't compile with the last version :

-- AlienWx_FIND_COMPONENTS=base;core;adv;html;gl Can't locate Alien/wxWidgets.pm in @INC (you may need to install the Alien::wxWidgets module) (@INC contains: /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at -e line 15. BEGIN failed--compilation aborted at -e line 15. CMake Error at cmake/modules/FindAlienWx.cmake:89 (include): include could not find load file:

/home/salamandar/.cache/trizen/slic3r-prusa3d/src/Slic3r/build/xs/AlienWx_TEMP_INCLUDE.txt

Call Stack (most recent call first): xs/CMakeLists.txt:606 (find_package)

EDIT : OK, the perl-alien-wxwidgets did not bump its rev number, so I had to update it manually.

ctag commented on 2018-09-04 15:28

Thanks for the fast turn around on the new version, but the updated package fails to install for me with:

slic3r-prusa3d: /usr/lib64 exists in filesystem (owned by filesystem)

CReimer commented on 2018-09-04 10:59

Well yes, I know about all this, and I'm still working in fixing this. But I didn't want to let you wait for a new version.

trilader commented on 2018-09-04 10:11

I noticed that besides boost missing from makedepends the build process also complains about missing gtest and downloading and building it locally (no matter if the tests acutually run or not) and missing curl and GLEW.

So I propose the following changes: Add to depends: 'glew' 'curl' Add to makedepends: 'boost' 'gtest'

Also I can't reproduce the GUI not working thing from Doctor_Propain but that might be because of the GLEW dependency.

Doctor_Propain commented on 2018-09-04 00:41

boost seems to be a required build dependency now (in addition to boost-libs). Without it installed, I got an Environment variable not set: Boost_INCLUDE_DIR. Note I used trizen to install this. The problem could be on my end.

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: /tmp/trizen-user/slic3r-prusa3d/src/Slic3r/build/nlopt-src/test/Boost_INCLUDE_DIR

Edit: Also, now, strangely, the GUI no longer works, even though I have perl-wx-glcanvas installed. However the error message that I'm getting is:

slic3r-prusa3d --gui Can't locate Wx.pm in @INC (you may need to install the Wx module) (@INC contains: /usr/bin/lib /usr/lib/slic3r-prusa3d/ /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at /usr/lib/slic3r-prusa3d/Slic3r/GUI/2DBed.pm line 10. BEGIN failed--compilation aborted at /usr/lib/slic3r-prusa3d/Slic3r/GUI/2DBed.pm line 10. Compilation failed in require at /usr/lib/slic3r-prusa3d/Slic3r/GUI.pm line 9. BEGIN failed--compilation aborted at /usr/lib/slic3r-prusa3d/Slic3r/GUI.pm line 9. Compilation failed in require at (eval 96) line 1.