Package Details: openscad-git r11416.f891a73-1

Git Clone URL: https://aur.archlinux.org/openscad-git.git (read-only, click to copy)
Package Base: openscad-git
Description: The programmers solid 3D CAD modeller
Upstream URL: https://github.com/openscad/openscad
Licenses: GPL2
Conflicts: openscad
Provides: openscad
Submitter: None
Maintainer: TurtleRuss
Last Packager: TurtleRuss
Votes: 21
Popularity: 0.29
First Submitted: 2011-02-25 03:29 (UTC)
Last Updated: 2025-05-16 17:43 (UTC)

Required by (24)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

jlefler commented on 2024-01-04 22:37 (UTC)

With a clean build, OpenSCAD crashes when attempting to export to STL. The (ancient) non-git version of OpenSCAD package does not. The problem appears to be related to the dialog that OpenSCAD shows to pick the filename to save to. Reports on the OpenSCAD git lead me to think there might be some relationship to icons, but the only error I get in the console is: [1] 786643 segmentation fault (core dumped) openscad --debug all

Is it possible we have a library we need that isn't listed as a dependency? Any advice on how I can start debugging this?

p60091 commented on 2023-05-22 01:45 (UTC) (edited on 2023-05-22 01:57 (UTC) by p60091)

After applying the following, it builds successfully in clean chroot; the patch adds tbb dependency and submodule pull:

@@ -21,7 +21,8 @@ depends=(
        'qt5-base'
        'qt5-gamepad'
        'qt5-multimedia'
-       'qt5-svg')
+       'qt5-svg'
+       'tbb')
 makedepends=('git' 'boost' 'cmake' 'eigen' 'imagemagick' 'python')
 source=("$_pkg::git+$url"
         'MCAD::git+https://github.com/openscad/MCAD'
@@ -41,6 +42,7 @@ prepare() {
        git config submodule.libraries/MCAD.url "$srcdir/MCAD"
        git -c protocol.file.allow=always submodule update
        sed -i 's/ping files.openscad.org/ping archlinux.org/' resources/CMakeLists.txt
+       git submodule update --init --recursive
 }

 build() {

gyscos commented on 2023-05-08 14:50 (UTC)

Hi, this package does not seem to currently build properly? It looks like it may be missing some (recursive) submodules.

cmsigler commented on 2022-11-12 15:29 (UTC) (edited on 2022-11-12 15:34 (UTC) by cmsigler)

Hi,

In my testing, @wallace11 patch needs this stanza added to it:

@@ -56,8 +56,8 @@

 package() {
   cd "$_gitname/build"
-  make INSTALL_ROOT="$pkgdir"  install
-  cd "$_gitname"
+  make DESTDIR="$pkgdir"  install
+  cd ..
   install -Dm644 "resources/icons/openscad.desktop" "$pkgdir/usr/share/applications/openscad.desktop"
   install -Dm644 "resources/icons/openscad-128.png" "$pkgdir/usr/share/pixmaps/openscad.png"
 }

After adding that it builds successfully in a clean chroot :)

Patch posted at https://pastebin.com/BfbMVN41 -- HTH!

Clemmitt

wallace11 commented on 2022-11-07 00:01 (UTC)

A patch for successfully building in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index 491ac28..98bd84e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,8 @@ url="http://openscad.org/"
 provides=('openscad')
 conflicts=('openscad')
 depends=('qt5-base' 'qscintilla-qt5' 'cgal' 'opencsg' 'boost-libs'
-         'qt5-multimedia' 'libzip' 'qt5-gamepad')
-makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache')
+         'qt5-multimedia' 'libzip' 'qt5-gamepad' 'qt5-svg')
+makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache' 'cmake' 'python')
 source=('git+https://github.com/openscad/openscad.git'
         'git+https://github.com/openscad/MCAD.git'
         'git+https://github.com/microsoft/mimalloc.git')

dack commented on 2022-09-15 23:44 (UTC)

This is missing a build dependency for cmake. Cmake is not part of base-devel, so build fails in a clean chroot.

traysh commented on 2022-09-01 23:13 (UTC)

I could fix the problem by editing /lib64/cmake/CGAL/CGALConfig.cmake. I think there is a but in this file, and I reported it to CGAL.

traysh commented on 2022-09-01 22:11 (UTC)

hey @cmsigler, Thanks for your answer. I tried to use you patch, but the build fails the same way with it. I also tried installing cgal-git from aur, but it did not help =(

cmsigler commented on 2022-08-30 11:41 (UTC)

@traysh,

Please grab the patch I posted below on 2022-08-04 and patch PKGBUILD, then run makepkg. I just tested building from this patched PKGBUILD and it was successful :) HTH.

Clemmitt

traysh commented on 2022-08-25 23:29 (UTC)

can't build this package:

-- Using header-only CGAL CMake Error at CMakeLists.txt:303 (find_package): Found package configuration file:

/lib64/cmake/CGAL/CGALConfig.cmake

but it set CGAL_FOUND to FALSE so package "CGAL" is considered to be NOT FOUND. -- Configuring incomplete, errors occurred!

any tips?