From patchwork Mon Jun 2 02:12:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nomike X-Patchwork-Id: 42972 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6F39F27BC4A; Mon, 2 Jun 2025 03:13:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F161A27BC49 for ; Mon, 2 Jun 2025 03:13:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uLufl-0005P3-1P; Sun, 01 Jun 2025 22:13:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uLufg-0005NR-3q for guix-patches@gnu.org; Sun, 01 Jun 2025 22:13:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uLuff-00052D-My for guix-patches@gnu.org; Sun, 01 Jun 2025 22:13:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ZLdp+T9uAivvM25u/oQym76Ye6RlaxRaPVtIq8vBMyA=; b=CUYTo3Nq3u+/gNzpgGc4C4hCxyZ94VpG+Eb7QKczGGj/nxis0iDDqAA8WnZYxrmceJ+GFzX2rD7hbWIoOcLPrpwj3uEnKvEurl90LI7jB9y5vr2ahMayG90iXn4isnOgpmYoXTztmXT7WZzEjqTvHuIfwXNsqZLy4yqhW/AUqhscbR5VhOz04sSqdFu6zfs0CV3W/QT46IOxJKbdQPW7fB9brow8r2iaizAFWS7eh6/EYdws1MXPJ5BROUNsRjENkP2NYOgks+3CaNutypqXCDGqOpHpza0v25AJRe28/HAU43u6KXXTEOa2nqbeMzYJdxHr6g9Oi+lJkoPIJqN+Zw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uLuff-00062Z-Gv for guix-patches@gnu.org; Sun, 01 Jun 2025 22:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78668] [PATCH 4/4] gnu: openscad: Update to 2025.06.01 Resent-From: nomike Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Jun 2025 02:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78668@debbugs.gnu.org Cc: nomike Received: via spool by 78668-submit@debbugs.gnu.org id=B78668.174883037923176 (code B ref 78668); Mon, 02 Jun 2025 02:13:03 +0000 Received: (at 78668) by debbugs.gnu.org; 2 Jun 2025 02:12:59 +0000 Received: from localhost ([127.0.0.1]:44536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uLufa-00061i-17 for submit@debbugs.gnu.org; Sun, 01 Jun 2025 22:12:59 -0400 Received: from camel.cherry.relay.mailchannels.net ([23.83.223.29]:25081) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uLufW-00061O-Mt for 78668@debbugs.gnu.org; Sun, 01 Jun 2025 22:12:56 -0400 X-Sender-Id: dreamhost|x-authsender|nomike@nomike.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id AE036782977; Mon, 2 Jun 2025 02:12:53 +0000 (UTC) Received: from pdx1-sub0-mail-a206.dreamhost.com (100-118-166-165.trex-nlb.outbound.svc.cluster.local [100.118.166.165]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 63643782B23; Mon, 2 Jun 2025 02:12:53 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1748830373; a=rsa-sha256; cv=none; b=QN0f0ztRGwx4+0Z0N0on4VFHTazxu+Wwskhjsuq8zpU1pQq0xfvbFNk6xR4b0L9GkZLKSX EiKfQncfdy5B7PkLuukIyTWBggOhRSsUYqAwcnG7O5Vv08hOIMRjGQCNX8cb21Z3OqCRmO amattH1YzxCsRauhJ9M3sPaW0eYiIRreFSmEy8woC9z2OdGL/1bughrMzlNj/XHU/nUMNf GwinLWapPnNDGCzjOQ1qoHyhq6cu/3Lk6LMQn4GQbLtW6sf5Yxy/5tVb8Hw6iljDYPIfaM ecdUa7ruWAdGzQ/VWt/+rtgzKJ48C3LXrBWdJ4Ae/+0KTeYPAotDWrhYv3SzEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1748830373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ZLdp+T9uAivvM25u/oQym76Ye6RlaxRaPVtIq8vBMyA=; b=Lq/hrx7cnH/3i1gqTdpSJ/UC3aKdLvDIk0FXCkhpLC3C8YwxJ1TEguvBGfJj8qWeNO17hE +Su0ppO+DGLVxXQzgKGoW15gHlIowZj0u20fDfNcjJ0NDivKsyMnsoRs5PkQqSmgj5tG0s 2jU/JnoqYRzUmAxUAcTZGymOmJmIVhV1MZTIy4xvxxsU8MEOwEhxQYFDRfyybmEvFFWqux Q0SVTe0hTaBOor+hyI6IcomqMw7TxsXD5cVb716GT3ZEnvh5rnK/B8JurP1Tm287UHufEE ZCPHODardWr6QY4Hug44jPs7nNDk+5elaQpzGwwpODMNjYRarAR+AicJa58hwA== ARC-Authentication-Results: i=1; rspamd-76569d6b7-8kvd6; auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@nomike.com X-Sender-Id: dreamhost|x-authsender|nomike@nomike.com X-MC-Relay: Bad X-MailChannels-SenderId: dreamhost|x-authsender|nomike@nomike.com X-MailChannels-Auth-Id: dreamhost X-Tart-Invention: 425cd703521a8539_1748830373652_2949983262 X-MC-Loop-Signature: 1748830373652:10516764 X-MC-Ingress-Time: 1748830373652 Received: from pdx1-sub0-mail-a206.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.118.166.165 (trex/7.0.3); Mon, 02 Jun 2025 02:12:53 +0000 Received: from localhost (84-112-221-106.cable.dynamic.surfer.at [84.112.221.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nomike@nomike.com) by pdx1-sub0-mail-a206.dreamhost.com (Postfix) with ESMTPSA id 4b9cnJ6BNSzC9; Sun, 1 Jun 2025 19:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com; s=dreamhost; t=1748830373; bh=ZLdp+T9uAivvM25u/oQym76Ye6RlaxRaPVtIq8vBMyA=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=LnoBMUlnuGl8LAxuUNkd+ZYPQlp0LM4KSBQxfyn9WVVqFEFH5ksG3Ud2uz8KZuX1H tftl7PCzmmBSJRG6KDseH4OFNbJ3PtCBfzv5STnhfPjBgD7FA3t+hcIwIeDIv5QbbG s0WUXuu+roU+Yalar62jE0RoGtrIX35TD/mngGn6Wc0mf6dNRESItvwTSqZreNrFNw SCl+bHn5IaDGKG+ay1KRZyLDVkGzofE+OsMYreBniD/zaq5Ii0YKX0Xj+SCKnGGMJe W5En89eYPqjQ8O4uGtWcHjZO93cQ/Tvea1dDUd4xHa/DWhbkXhREjc/PQeDFCiFrfj MhoRUBrE7GwIQ== From: nomike Date: Mon, 2 Jun 2025 04:12:30 +0200 Message-ID: <20250602021230.3231771-4-nomike@nomike.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250602021230.3231771-1-nomike@nomike.com> References: <20250602021230.3231771-1-nomike@nomike.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (openscad): Update to 2025.06.01, unundle bundles libraries, fix all tests, properly comment all fixes currently in place including links to upstream tickets. Change-Id: I8537290ebd23c14f1d5eef66440d905db7a1e773 --- gnu/packages/engineering.scm | 58 ++++++--- ...cted-test-results-to-acommodate-diff.patch | 117 ++++++++++++++++++ 2 files changed, 158 insertions(+), 17 deletions(-) create mode 100644 gnu/packages/patches/openscad-fix-path-in-expected-test-results-to-acommodate-diff.patch diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index d9be7a50c4..a2a7177b79 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3189,8 +3189,8 @@ (define-public python-lcapy (license license:lgpl2.1+))) (define-public openscad - (let ((commit "72c9919d63116f8e711f3566ae34e9eb63a2d6e6") - (version "2025.05.08") + (let ((commit "7245089d3226de41ab55faee62ffe326f6efcb69") + (version "2025.06.01") (revision "0")) (package (name "openscad") @@ -3201,23 +3201,27 @@ (define-public openscad (uri (git-reference (url "https://github.com/openscad/openscad") (commit commit) + ;; Needed for libraries/MCAD, a library specific to OpenSCAD + ;; which is included as a submodule. All other libraries are + ;; deleted in the patch-source build phase. (recursive? #t))) (sha256 - (base32 "077x7s3z65mz6rnrzan3qn06045d2fkqnd6ss6ibw1fhlaypzfbf")) + (base32 "1bkzrjjp0qvfg7pj24j5pa0i6zj0zsqjb5z4w4l6pjdb5q9in0qi")) + (patches (search-patches + "openscad-fix-path-in-expected-test-results-to-acommodate-diff.patch")) (file-name (git-file-name name version)))) (build-system qt-build-system) (arguments (list #:configure-flags #~(list "-DCMAKE_BUILD_TYPE=Release" - "-DUSE_BUILTIN_OPENCSG=ON" + "-DUSE_BUILTIN_CLIPPER2=OFF" + "-DUSE_BUILTIN_MANIFOLD=OFF" + "-DUSE_BUILTIN_OPENCSG=OFF" "-DMANIFOLD_PYBIND=OFF" "-DMANIFOLD_TEST=OFF" - "-DENABLE_TESTS=OFF" "-DEXPERIMENTAL=ON" - "-DSNAPSHOT=ON" "-DENABLE_PYTHON=ON" - "-DUSE_BUILTIN_CLIPPER2=OFF" (string-append "-DOPENSCAD_VERSION=" #$version) (string-append "-DOPENSCAD_COMMIT=" @@ -3226,27 +3230,47 @@ (define-public openscad "-DENABLE_GLX=ON") #:phases #~(modify-phases %standard-phases - (delete 'check) (add-after 'unpack 'patch-source (lambda* (#:key inputs #:allow-other-keys) - ;; + ;; Delete all unbundled libraries to replace them with guix + ;; packages. + (delete-file-recursively "submodules") + ;; Fix: Dependency lib3mf is not found due to using a wrong + ;; variable name in the CMake config (see + ;; https://github.com/openscad/openscad/issues/5877). (substitute* "cmake/Modules/FindLib3MF.cmake" (("PC_LIB3MF_INCLUDE_DIRS") "PC_LIB3MF_INCLUDEDIR")) (substitute* "CMakeLists.txt" - ;; + ;; Remove bundled libraries from cmake. + (("add_subdirectory\\(submodules\\)") + "") + ;; Fix detection of EGL (see + ;; https://github.com/openscad/openscad/issues/5880). (("target_link_libraries\\(OpenSCAD PRIVATE OpenGL::EGL\\)") - " find_package(ECM REQUIRED NO_MODULE) + "find_package(ECM REQUIRED NO_MODULE) list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) find_package(EGL REQUIRED) target_link_libraries(OpenSCAD PRIVATE EGL::EGL)") - ;; - (("find_package\\(Nettle 3.4\\)") - "find_package(Nettle 3.4 REQUIRED)") ;; Use the system sanitizers-cmake module. (("\\$\\{CMAKE_SOURCE_DIR\\}/submodules/sanitizers-cmake/cmake") (string-append (assoc-ref inputs "sanitizers-cmake") - "/share/sanitizers-cmake/cmake")))))))) + "/share/sanitizers-cmake/cmake"))) + ;; Fix test-tool expecting build directory to be a direct + ;; subdirectory of the source directory (see + ;; https://github.com/openscad/openscad/issues/5937). + (substitute* "tests/test_cmdline_tool.py" + (("build_to_test_sources = \"../../tests\"") + "build_to_test_sources = \"../../source/tests\"")))) + (add-before 'check 'patch-tests + (lambda _ + ;; Fix tests expecting build directory to be a direct descendant + ;; of the source dir (see + ;; https://github.com/openscad/openscad/issues/5938). + (copy-recursively "../source/color-schemes" "./color-schemes") + (copy-recursively "../source/shaders" "./shaders") + ;; Required for fontconfig + (setenv "HOME" "/tmp")))))) (inputs (list boost cairomm cgal @@ -3267,7 +3291,7 @@ (define-public openscad libxml2 libzip manifold - mesa ; or libglvnd if we had mesa-glvnd, too + mesa ;or libglvnd if we had mesa-glvnd, too mimalloc mpfr nettle @@ -3275,9 +3299,9 @@ (define-public openscad python python-numpy python-pillow - python-pip qscintilla qtbase-5 + qtgamepad qtmultimedia-5 qtsvg-5 qtwayland-5 diff --git a/gnu/packages/patches/openscad-fix-path-in-expected-test-results-to-acommodate-diff.patch b/gnu/packages/patches/openscad-fix-path-in-expected-test-results-to-acommodate-diff.patch new file mode 100644 index 0000000000..595acb8a68 --- /dev/null +++ b/gnu/packages/patches/openscad-fix-path-in-expected-test-results-to-acommodate-diff.patch @@ -0,0 +1,117 @@ +From 4fd0053f89728d03c3123c9473c36209556d1018 Mon Sep 17 00:00:00 2001 +From: nomike +Date: Sat, 31 May 2025 23:54:08 +0200 +Subject: [PATCH] Fix path in expected test results to acommodate different + directory structure in guix build + (see https://github.com/openscad/openscad/issues/5938) +--- + .../echo/bitwise-operators-expected.echo | 10 +++++----- + .../echo/include-recursive-test-expected.echo | 18 +++++++++--------- + .../echo/include-tests-expected.echo | 8 ++++---- + tests/regression/echo/linenumber-expected.echo | 18 +++++++++--------- + tests/regression/echo/use-tests-expected.echo | 8 ++++---- + 5 files changed, 31 insertions(+), 31 deletions(-) + +diff --git a/tests/regression/echo/bitwise-operators-expected.echo b/tests/regression/echo/bitwise-operators-expected.echo +index d85a95915..91f3155ba 100644 +--- a/tests/regression/echo/bitwise-operators-expected.echo ++++ b/tests/regression/echo/bitwise-operators-expected.echo +@@ -1,8 +1,8 @@ +-WARNING: Hexadecimal constant "0x10000000000000000" too large in file ../../tests/data/scad/functions/bitwise-operators.scad, line 106 +-WARNING: Integer "0x1000000000000001" cannot be represented precisely in file ../../tests/data/scad/functions/bitwise-operators.scad, line 108 +-WARNING: Integer "1152921504606846977" cannot be represented precisely in file ../../tests/data/scad/functions/bitwise-operators.scad, line 109 +-WARNING: Integer "0xfffffffffffffff0" cannot be represented precisely in file ../../tests/data/scad/functions/bitwise-operators.scad, line 113 +-WARNING: Integer "18446744073709551600" cannot be represented precisely in file ../../tests/data/scad/functions/bitwise-operators.scad, line 113 ++WARNING: Hexadecimal constant "0x10000000000000000" too large in file ../../source/tests/data/scad/functions/bitwise-operators.scad, line 106 ++WARNING: Integer "0x1000000000000001" cannot be represented precisely in file ../../source/tests/data/scad/functions/bitwise-operators.scad, line 108 ++WARNING: Integer "1152921504606846977" cannot be represented precisely in file ../../source/tests/data/scad/functions/bitwise-operators.scad, line 109 ++WARNING: Integer "0xfffffffffffffff0" cannot be represented precisely in file ../../source/tests/data/scad/functions/bitwise-operators.scad, line 113 ++WARNING: Integer "18446744073709551600" cannot be represented precisely in file ../../source/tests/data/scad/functions/bitwise-operators.scad, line 113 + ECHO: "Expect two warnings:" + WARNING: undefined operation (number | bool) in file bitwise-operators.scad, line 42 + WARNING: undefined operation (bool | number) in file bitwise-operators.scad, line 44 +diff --git a/tests/regression/echo/include-recursive-test-expected.echo b/tests/regression/echo/include-recursive-test-expected.echo +index c20e44cbe..855c16d10 100644 +--- a/tests/regression/echo/include-recursive-test-expected.echo ++++ b/tests/regression/echo/include-recursive-test-expected.echo +@@ -1,12 +1,12 @@ +-WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 1 +-WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 2 +-WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 3 +-WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 1 +-WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 2 +-WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 3 +-WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 1 +-WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 2 +-WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../tests/data/scad/misc/include-recursive-test.scad, line 3 ++WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 1 ++WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 2 ++WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 3 ++WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 1 ++WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 2 ++WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 3 ++WARNING: Can't open include file 'include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 1 ++WARNING: Can't open include file '../misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 2 ++WARNING: Can't open include file '../../scad/misc/include-recursive-test.scad'. in file ../../source/tests/data/scad/misc/include-recursive-test.scad, line 3 + ECHO: "INC" + ECHO: "INC" + ECHO: "INC" +diff --git a/tests/regression/echo/include-tests-expected.echo b/tests/regression/echo/include-tests-expected.echo +index d0aaecf88..64098d5d6 100644 +--- a/tests/regression/echo/include-tests-expected.echo ++++ b/tests/regression/echo/include-tests-expected.echo +@@ -1,6 +1,6 @@ +-WARNING: Can't open include file 'not_exist.scad'. in file ../../tests/data/scad/misc/sub1/included.scad, line 3 +-WARNING: Can't open include file 'non/existent/path/non-file'. in file ../../tests/data/scad/misc/include-tests.scad, line 8 +-WARNING: Can't open include file 'test/'. in file ../../tests/data/scad/misc/include-tests.scad, line 20 +-WARNING: Can't open include file '/'. in file ../../tests/data/scad/misc/include-tests.scad, line 23 ++WARNING: Can't open include file 'not_exist.scad'. in file ../../source/tests/data/scad/misc/sub1/included.scad, line 3 ++WARNING: Can't open include file 'non/existent/path/non-file'. in file ../../source/tests/data/scad/misc/include-tests.scad, line 8 ++WARNING: Can't open include file 'test/'. in file ../../source/tests/data/scad/misc/include-tests.scad, line 20 ++WARNING: Can't open include file '/'. in file ../../source/tests/data/scad/misc/include-tests.scad, line 23 + ECHO: "included.scad" + ECHO: "included2.scad" +diff --git a/tests/regression/echo/linenumber-expected.echo b/tests/regression/echo/linenumber-expected.echo +index 35a74ebe0..f243ae2c0 100644 +--- a/tests/regression/echo/linenumber-expected.echo ++++ b/tests/regression/echo/linenumber-expected.echo +@@ -1,12 +1,12 @@ +-WARNING: Can't open library 'line 1'. in file ../../tests/data/scad/misc/linenumber.scad, line 1 +-WARNING: Can't open include file 'line 1'. in file ../../tests/data/scad/misc/linenumber.scad, line 1 +-WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../tests/data/scad/misc/linenumber.scad, line 7 +-WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../tests/data/scad/misc/linenumber.scad, line 8 +-WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../tests/data/scad/misc/linenumber.scad, line 9 +-WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../tests/data/scad/misc/linenumber.scad, line 10 +-WARNING: Can't open include file 'line 9'. in file ../../tests/data/scad/misc/linenumber.scad, line 10 +-WARNING: new lines 'use<>'-statement is not defined - behavior may change in the future in file ../../tests/data/scad/misc/linenumber.scad, line 16 +-WARNING: Can't open library 'line 16'. in file ../../tests/data/scad/misc/linenumber.scad, line 16 ++WARNING: Can't open library 'line 1'. in file ../../source/tests/data/scad/misc/linenumber.scad, line 1 ++WARNING: Can't open include file 'line 1'. in file ../../source/tests/data/scad/misc/linenumber.scad, line 1 ++WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../source/tests/data/scad/misc/linenumber.scad, line 7 ++WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../source/tests/data/scad/misc/linenumber.scad, line 8 ++WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../source/tests/data/scad/misc/linenumber.scad, line 9 ++WARNING: new lines in 'include<>'-statement is not defined - behavior may change in the future in file ../../source/tests/data/scad/misc/linenumber.scad, line 10 ++WARNING: Can't open include file 'line 9'. in file ../../source/tests/data/scad/misc/linenumber.scad, line 10 ++WARNING: new lines 'use<>'-statement is not defined - behavior may change in the future in file ../../source/tests/data/scad/misc/linenumber.scad, line 16 ++WARNING: Can't open library 'line 16'. in file ../../source/tests/data/scad/misc/linenumber.scad, line 16 + WARNING: Unable to convert cube(size="line 3", ...) parameter to a number or a vec3 of numbers in file linenumber.scad, line 3 + WARNING: Unable to convert cube(size="line 12", ...) parameter to a number or a vec3 of numbers in file linenumber.scad, line 12 + WARNING: Unable to convert cube(size="line 18", ...) parameter to a number or a vec3 of numbers in file linenumber.scad, line 18 +diff --git a/tests/regression/echo/use-tests-expected.echo b/tests/regression/echo/use-tests-expected.echo +index 2da158d03..1cfa234e7 100644 +--- a/tests/regression/echo/use-tests-expected.echo ++++ b/tests/regression/echo/use-tests-expected.echo +@@ -1,7 +1,7 @@ +-WARNING: Can't open library ''. in file ../../tests/data/scad/misc/use-tests.scad, line 2 +-WARNING: Can't open library 'non/existent/path/non-file'. in file ../../tests/data/scad/misc/use-tests.scad, line 8 +-WARNING: Can't open library 'test/'. in file ../../tests/data/scad/misc/use-tests.scad, line 20 +-WARNING: Can't open library '/'. in file ../../tests/data/scad/misc/use-tests.scad, line 23 ++WARNING: Can't open library ''. in file ../../source/tests/data/scad/misc/use-tests.scad, line 2 ++WARNING: Can't open library 'non/existent/path/non-file'. in file ../../source/tests/data/scad/misc/use-tests.scad, line 8 ++WARNING: Can't open library 'test/'. in file ../../source/tests/data/scad/misc/use-tests.scad, line 20 ++WARNING: Can't open library '/'. in file ../../source/tests/data/scad/misc/use-tests.scad, line 23 + WARNING: Ignoring unknown module 'test3' in file use-tests.scad, line 42 + WARNING: Ignoring unknown module 'test4' in file use-tests.scad, line 43 + WARNING: Ignoring unknown variable "test2_variable" in file use-tests.scad, line 49 +-- +2.49.0