Package Details: prusa-slicer-git 2.7.4-1

Git Clone URL: https://aur.archlinux.org/prusa-slicer-git.git (read-only, click to copy)
Package Base: prusa-slicer-git
Description: G-code generator for 3D printers (Prusa fork of Slic3r) (git version)
Upstream URL: https://github.com/prusa3d/PrusaSlicer
Licenses: AGPL3
Conflicts: prusa-slicer
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 14
Popularity: 0.000003
First Submitted: 2019-07-08 08:14 (UTC)
Last Updated: 2024-04-11 14:51 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

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

synthead commented on 2025-02-03 19:33 (UTC)

It looks like the sources are looking for automake 16:

[68/200] Performing build step for 'dep_MPFR'
FAILED: dep_MPFR-prefix/src/dep_MPFR-stamp/dep_MPFR-build /home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR-stamp/dep_MPFR-build 
cd /home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR && make -j && /usr/bin/cmake -E touch /home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR-stamp/dep_MPFR-build
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR/missing' autoconf
 cd . && /bin/sh /home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR/missing automake-1.16 --gnu
/home/melissa/aur/prusa-slicer-git/src/deps/build/dep_MPFR-prefix/src/dep_MPFR/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:430: Makefile.in] Error 1
make: *** Waiting for unfinished jobs....
aclocal.m4:17: warning: this file was generated for autoconf 2.71.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

I have automake installed on my system, but it's apparently too new:

$ pacaur -Qi automake
Name            : automake
Version         : 1.17-1
Description     : A GNU tool for automatically creating Makefiles
Architecture    : any
URL             : https://www.gnu.org/software/automake
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : perl  bash
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1654.66 KiB
Packager        : Lukas Fleischer <lfleischer@archlinux.org>
Build Date      : Sat 20 Jul 2024 02:26:35 AM PDT
Install Date    : Mon 22 Jul 2024 09:36:14 AM PDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Salamandar commented on 2024-04-11 14:42 (UTC)

Patched the issue reported here: https://github.com/prusa3d/PrusaSlicer/issues/12455

grappas commented on 2024-04-01 13:59 (UTC)

fatal: bad object 72f6a4e7c7dccc47f203ce8c27b3022c6d7743e8

gyscos commented on 2023-06-03 22:07 (UTC) (edited on 2023-06-09 23:58 (UTC) by gyscos)

Current status as of RC-1:

All cherry picked commits have been merged, so just remove/comment any git cherry-pick line from the PKGBUILD.

The openSSL race-condition build failure is still there, and it's still random, so just retry if it fails once.

Previous update:

Current status as of beta 4:

Of the 3 cherry-picked commits, one was rebased (and is now 2c21a503b7861b6b993cc07f1433eb5a2d891a83), the other two have been merged.

So the 3 cherry-pick commands should be replaced with the single git cherry-pick 2c21a503b7861b6b993cc07f1433eb5a2d891a83. It currently builds fine with this.

jamincollins commented on 2023-05-31 19:51 (UTC)

Looks like SRCINFO didn't get updated.

Salamandar commented on 2023-05-31 19:37 (UTC)

FYI, build should be fixed now.

jamincollins commented on 2023-05-31 18:06 (UTC)

Rather than fighting with compiling the git version (there are now other issues than the three listed), I created a new package that will be updated for every release build published on GitHub: https://aur.archlinux.org/packages/prusa-slicer-rel-bin

gyscos commented on 2023-05-21 10:31 (UTC) (edited on 2023-05-21 10:43 (UTC) by gyscos)

There's 3 different issues affecting this package at the moment:

  • The current 0001-Fix-format-string.patch is outdated and should just be removed. You can remove the patch -p1 ... line from the prepare() step.
  • Until the linked PR (https://github.com/prusa3d/PrusaSlicer/pull/10499) has been merged (it hasn't yet at this time), it needs to be manually checked out (or applied via a new patch file) before attempting to build. I decided to apply it as a patch, so I don't need to rebase the branch on the latest master (and indeed the latest master has since moved forward).
  • Random race conditions during the vendored OpenSSL compilation lead to random build failures, but re-trying compilation can work eventually (it did for me). You might also try single-threaded build as others mentioned, but build will likely take forever (I haven't tried that).

For the first two fixes, here's a patch file that will update the PKGBUILD and local patch files: https://gist.github.com/gyscos/347bf2d62cf93eb8d6d8c0b93341c344

auditor_3d commented on 2023-05-19 19:07 (UTC)

@gyscos, so explain this to a layman. What is going on here? I am getting the same error. You sayin just keep trying to build it until it works?

gyscos commented on 2023-05-16 13:51 (UTC) (edited on 2023-05-19 02:07 (UTC) by gyscos)

For me, this now fails applying the patch:

==> Starting prepare()...
patching file src/slic3r/GUI/ImGuiWrapper.cpp
Hunk #1 FAILED at 460.
1 out of 1 hunk FAILED -- saving rejects to file src/slic3r/GUI/ImGuiWrapper.cpp.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

Essentially the patch is no longer required on the latest commits.

The remaining issues look fixed with https://github.com/prusa3d/PrusaSlicer/pull/10499

We could either take this PR as a patch, or checkout the branch directly.

The random failure when compiling OpenSSL is a bit annoying, but even on a 5900X (24 threads), it only affected me ~50% of the time, so re-running had a good chance of succeeding.