Package Details: cura-lulzbot 3.6.21-3

Git Clone URL: https://aur.archlinux.org/cura-lulzbot.git (read-only, click to copy)
Package Base: cura-lulzbot
Description: Cura LulzBot Edition for LulzBot 3D Printers by Aleph Objects, Inc.
Upstream URL: https://www.lulzbot.com/cura
Keywords: 3d aleph cura lulzbot printer slicer
Licenses: AGPL3
Conflicts: cura-lulzbot-git
Submitter: HarlemSquirrel
Maintainer: HarlemSquirrel
Last Packager: HarlemSquirrel
Votes: 2
Popularity: 0.31
First Submitted: 2018-07-24 06:02
Last Updated: 2020-01-18 16:55

Latest Comments

ubuntourist commented on 2020-01-21 18:28

The last several days, the build dies with:

ArcusCommunication.cpp:484:81: error: no matching function for call to ‘Arcus::Socket::takeNextMessage(bool)’

HarlemSquirrel commented on 2020-01-20 01:20

python-cx_freeze is now required

rew1red commented on 2020-01-17 05:02

I've encountered an error building on two systems now--

5.4.11-arch1-1 cura-lulzbot 3.6.21-2

Traceback (most recent call last):
  File "setup_linux.py", line 4, in <module>
    from cx_Freeze import setup, Executable, hooks
ModuleNotFoundError: No module named 'cx_Freeze'
make[2]: *** [CMakeFiles/build_app.dir/build.make:60: build_app] Error 1
make[1]: *** [CMakeFiles/Makefile2:622: CMakeFiles/build_app.dir/all] Error 2
make: *** [Makefile:106: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I assume a python build dependency (cx_freeze) is missing (now that we're building from source), but I'm not familiar enough with the build process to speculate. If I find an answer, I'll provide an update.

HarlemSquirrel commented on 2020-01-16 03:26

This package is now built from source rather than using the pre-built Debian package.

HarlemSquirrel commented on 2019-12-20 23:45

Looks like download links are broken at the moment. https://forum.lulzbot.com/t/lulzbot-cura-download-links-broken-and-alephobjects-com-appears-to-be-down/20158

HarlemSquirrel commented on 2018-12-02 00:06

Thank you for pointing this out! I've updated the PKGBUILD.

cyanide commented on 2018-12-01 23:22

For me, your fortran_lib_dir returns multiple lines and causes the sed command to fail:

sed: -e expression #1, char 73: unterminated `s' command
==> ERROR: A failure occurred in prepare().
    Aborting...
> dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/ -name libgfortran.so.3)
/usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0

Recommend you change the line to:

fortran_lib_dir=`dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/6* -name libgfortran.so.3)`
> dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/6* -name libgfortran.so.3)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0

HarlemSquirrel commented on 2018-11-26 00:52

Thanks for the heads up, @rew1red! I've updated this package to be more nimble with different versions of gcc6-fortran

rew1red commented on 2018-11-21 16:23

There seems to be an issue building right now. The dependency gcc6-fortran currently installs version 6.5.0-1 without an explicit version pin-- but the PKGBUILD edits cura-lulzbot so the LD_LIBRARY_PATH includes only 6.4.1.

For now, I'd recommend a version pin in the depends (if cura-lulzbot really needs 6.4.1), an updated LD_LIBRARY_PATH, or a better way of setting the path, so that an update to the AUR package gcc6-fortran does not break this package, as it is a strong dependency.

A potential "quick-fix" that incorporates both solutions:

diff --git i/PKGBUILD w/PKGBUILD
index 1f89931..125e26a 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -9,14 +9,14 @@ url='https://www.lulzbot.com/cura'
 license=('AGPLv3')
 source=("http://download.alephobjects.com/ao/aodeb/dists/stretch/main/binary-amd64/cura-lulzbot_${pkgver}_amd64.deb")
 md5sums=('321673809f286161e4b4198877dce3d1')
-depends=('gcc6-fortran')
+depends=('gcc6-fortran=6.5.0')

 prepare() {
   # Unpack the tarball containing the 'usr/' directory,
   # where all the essentials reside within the debian package
   tar zxf "${srcdir}/data.tar".gz -C "${srcdir}"

-  sed -i 's;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1:;' "${srcdir}/usr/bin/cura-lulzbot"
+  sed -i 's;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0:;' "${srcdir}/usr/bin/cura-lulzbot"
 }

 package() {

HarlemSquirrel commented on 2018-09-18 22:08

Note: It may be necessary to remove previous configuration files in ~/.local/share/cura-lulzbot/ when upgrading from 2.x to 3.x