Package Details: cura-lulzbot 3.6.8-1

Git Clone URL: https://aur.archlinux.org/cura-lulzbot.git (read-only)
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: AGPLv3
Submitter: HarlemSquirrel
Maintainer: HarlemSquirrel
Last Packager: HarlemSquirrel
Votes: 1
Popularity: 0.025469
First Submitted: 2018-07-24 06:02
Last Updated: 2019-05-05 18:43

Latest Comments

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