From unknown Fri Aug 15 04:02:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65357 <65357@debbugs.gnu.org> To: bug#65357 <65357@debbugs.gnu.org> Subject: Status: [PATCH] gnu: scilab: Fix compilation error. Reply-To: bug#65357 <65357@debbugs.gnu.org> Date: Fri, 15 Aug 2025 11:02:49 +0000 retitle 65357 [PATCH] gnu: scilab: Fix compilation error. reassign 65357 guix-patches submitter 65357 Nicolas Graves severity 65357 normal tag 65357 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 14:15:53 2023 Received: (at submit) by debbugs.gnu.org; 17 Aug 2023 18:15:53 +0000 Received: from localhost ([127.0.0.1]:45560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWhXF-0002k9-5r for submit@debbugs.gnu.org; Thu, 17 Aug 2023 14:15:53 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWhXD-0002FG-3H for submit@debbugs.gnu.org; Thu, 17 Aug 2023 14:15:52 -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 1qWhX0-0006lc-EW for guix-patches@gnu.org; Thu, 17 Aug 2023 14:15:38 -0400 Received: from 6.mo560.mail-out.ovh.net ([87.98.165.38]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWhWk-0003Eb-7N for guix-patches@gnu.org; Thu, 17 Aug 2023 14:15:32 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.146.163]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id DADD0262CC for ; Thu, 17 Aug 2023 18:15:15 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-m4ftt (unknown [10.110.208.233]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9711F1FD79; Thu, 17 Aug 2023 18:15:15 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-m4ftt with ESMTPSA id E45gILNj3mTcGwUAhlNb1g (envelope-from ); Thu, 17 Aug 2023 18:15:15 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-98R00225c3376d-4ea7-4bf3-8342-655f6f177346, 94D1ECF69F653A5B61349447FA5F912069200D13) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: guix-patches@gnu.org Subject: [PATCH] gnu: scilab: Fix compilation error. Date: Thu, 17 Aug 2023 20:15:07 +0200 Message-ID: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Efraim Flashner , Eric Bavier Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7184085833751323362 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudduuddguddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeefheegheelffeljeehhfegfeekkedttedvvefhvddugfegheeufffftdfhudelleenucffohhmrghinhepshgtihhlrggsrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=87.98.165.38; envelope-from=ngraves@ngraves.fr; helo=6.mo560.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --- gnu/packages/maths.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8b765e886b..7a6a26d806 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8546,6 +8546,10 @@ (define-public scilab "__threadSignal InterpReady;" "\n" "__threadSignalLock InterpReadyLock;" "\n"))) + ;; Fix CPP compilation errors. + (substitute* "modules/output_stream/src/cpp/diary_manager.cpp" + (("if \\(array_size > 0\\)") + "if (*array_size > 0)")) ;; Set SCIHOME to /tmp before macros compilation. (setenv "SCIHOME" "/tmp")))))) (home-page "https://scilab.org") base-commit: 9896b37ac53e9b0504de55dd5ba4bfa2c241a7ed prerequisite-patch-id: cccdad83975cbf04d7bd618c2c1a4b4de6fa7fd2 prerequisite-patch-id: 6f28833d2efa054d55126980f87ba4d2fdd13c6d prerequisite-patch-id: afc6cadece838372370f7093f863ce8eaae7bc55 prerequisite-patch-id: b9330c12700355319c104aa3b493eafe03cbb619 prerequisite-patch-id: 46fa9c5a48fcc5b13409049b14b6e7314a6d6956 prerequisite-patch-id: 846f8b50b8de749caaa459b874087d06e15e0a80 prerequisite-patch-id: 023101e5a315951ce9786fb8230955c97001dac9 prerequisite-patch-id: d4b0193f128d8236026e079e746ea0cf6c4c0af0 prerequisite-patch-id: d73442d6d7c88e7375e9de0a9cd655cacb7766f9 prerequisite-patch-id: d8a56dd7bc6c1c3ba3ac0f77b2402b9c6469cfb2 prerequisite-patch-id: 3bc2b2eecd799be8d8b0f96b850ef83a6306dab7 prerequisite-patch-id: 798d4a277eff03a59339af4ebe19406682f361ab prerequisite-patch-id: 3f65e9cdab64edeacfeb5748cd4fb130839b2b30 prerequisite-patch-id: 6f8225b63a1dd1866b05bb91544e49d7c096601c prerequisite-patch-id: ff71ec9bdf6337390a720db4535268af271e32df prerequisite-patch-id: c6b40cc38f5bdfab229ac3d7ed4346c5d9f1b2f7 prerequisite-patch-id: 9ab6dade9e641d5e667ba6a61dbfbb3d32c943a6 prerequisite-patch-id: 4fcae29a8f6dd95716669680141da315acaf6e59 prerequisite-patch-id: 0a5a6da0061188dc9be59bc9829db53288307c58 prerequisite-patch-id: 83c4b7d9d831990e4d37ba89c584d773c872ba6b prerequisite-patch-id: 1c8dddf99041cf399b8836e3ad6721d7bbcebb7c prerequisite-patch-id: 773df13cc85606b205d1d914e59525b7a6820a1d prerequisite-patch-id: 6f8974ce8c0a3a25721a41781f9b0dfd61e96cf4 prerequisite-patch-id: d219948d28923c5ccd34b63f988032df33f2f336 prerequisite-patch-id: 0bd75bb28df9ccf3405caf8217d708afc978047d prerequisite-patch-id: 26476dd782cf8f5e427d4bd36ac85957538a0aa3 prerequisite-patch-id: b5f87c460fd984c41fbb52e7e0dc305c20c46f22 prerequisite-patch-id: 5502b9c6a64abaca6a9921f25cd324869d26aa1e prerequisite-patch-id: a7e84bb368349566e9a6fdbe49a371fdb464bb1e prerequisite-patch-id: a84a766ceef6bedd5da3f9512c87a2c2a11ff33f prerequisite-patch-id: 0175b2b1cbbc15c1c775147821715bca9e3303a3 prerequisite-patch-id: 9c20b408ac8aa275ecba58383d83be5cef7647df prerequisite-patch-id: 836749cd3bd3b86f64de637c3c2df48a3608f09f prerequisite-patch-id: 28ea1ddbef32a1bc9e908f3f9c7466953c60f13d prerequisite-patch-id: 52a78e387e36e6408d7147950195d552e4e41528 prerequisite-patch-id: 87fee01a70d4b8cbfca44cc0a9c9f54471a92d18 prerequisite-patch-id: 8c8cdb345e815fc3332805ca224103f185d4a568 prerequisite-patch-id: 3434c5caf1eba9e9a64c673681e5911d2c1d9232 prerequisite-patch-id: c45bf303726fb3dacee01a66c0ff75105a81164d prerequisite-patch-id: d44a1adb0404f23522aac21fa8a7f26be7ddabdc prerequisite-patch-id: e422fe29bbcef80260b190637faa1a4953c3f1cb prerequisite-patch-id: 285479a1a1e46e6f0f8aba5429edfa400c81b32b prerequisite-patch-id: 30fcff6f8c9328c71d3fca609cddde0b56973bb7 prerequisite-patch-id: 70bb47ccac3375de893e4e640ce7c59369a05a39 prerequisite-patch-id: cc3d79386ca4a93146dc195cd5732764f1ac447f prerequisite-patch-id: 2686866ec4bf08c7faa05b17cb84d9e0c13ec12c prerequisite-patch-id: 369b61e07e3c90151a5414b784513b9ae3d3e978 prerequisite-patch-id: 065651c3a8cee63b725d7f86c080c274b494627e prerequisite-patch-id: 1ee71844f0c9a0112a456e5b76079239906a7fb8 prerequisite-patch-id: c7b3d9c5bff04c16576781eff50ce37f7c49131c prerequisite-patch-id: c8b8fe8dc51fea0b8a2626cf7031f01b6000e023 prerequisite-patch-id: 182e25335d4c357001f4f8bed2b3f89b91d9cae5 prerequisite-patch-id: c0ea00d5f4c6a83642a92c9341f0288fbfe3095a prerequisite-patch-id: 795d31cc33a24a6a57e67af31b65acd8faa8187c prerequisite-patch-id: 358af8aa7fa71b5cb8fbe6dde29d141bb7c57f1e prerequisite-patch-id: b9ab3ee98a9d4ca518a4d99042982d64fbce5d05 prerequisite-patch-id: 12b76e9c2751da73ed64c9489b15f74ff17568cf prerequisite-patch-id: eb618ab7b10483d917c308a38792af98baa517e2 prerequisite-patch-id: aca7b0d7b302853e522f47700d0780a96b4a72e6 prerequisite-patch-id: c6bbe6026bfcd2c9ff6e06efc5b8424a6943d1bf prerequisite-patch-id: 1dc9b52f102fa787539119b849a14224ef7b4fa5 prerequisite-patch-id: 5f664cb2fd995a53765c5ffc19a708ac795cc0c4 prerequisite-patch-id: 8e234d0f4d93d2aad499eec8842be3d28da98707 prerequisite-patch-id: 40b6c9f09f27833367a71ec25d77afae4d2a835e prerequisite-patch-id: 45e65ea00ece53f3496251401acd464081f8ca7a prerequisite-patch-id: c12968d02d99c253f858586a86b16fa32d41f1c1 prerequisite-patch-id: 5f3241174d47de322626fe034db348320830997d prerequisite-patch-id: 86baa45ec2aad977c8c8135f7613aa391155de6d prerequisite-patch-id: 05e12788823a88a516418532f9bf441ceebc53b6 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 14:42:25 2023 Received: (at 65357) by debbugs.gnu.org; 17 Aug 2023 18:42:26 +0000 Received: from localhost ([127.0.0.1]:45618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWhwv-0003o4-MR for submit@debbugs.gnu.org; Thu, 17 Aug 2023 14:42:25 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:58162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWhws-0003no-Pr for 65357@debbugs.gnu.org; Thu, 17 Aug 2023 14:42:23 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CC80E51D; Thu, 17 Aug 2023 20:42:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zop_aApKqNkX; Thu, 17 Aug 2023 20:42:14 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4D3453AA; Thu, 17 Aug 2023 20:42:14 +0200 (CEST) Date: Thu, 17 Aug 2023 20:42:12 +0200 From: Andreas Enge To: Nicolas Graves Subject: Re: [bug#65357] [PATCH] gnu: scilab: Fix compilation error. Message-ID: References: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65357 Cc: Eric Bavier , 65357@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Nicolas, Am Thu, Aug 17, 2023 at 08:15:07PM +0200 schrieb Nicolas Graves: > + (substitute* "modules/output_stream/src/cpp/diary_manager.cpp" > + (("if \\(array_size > 0\\)") > + "if (*array_size > 0)")) the fix looks right to me. But our scilab version is 8 years old, while there are newer versions around. Would it make sense to rather update the package to a newer version? (I had a look at 5.2.2, 6.0.0 and 6.1.1, but all of them would still require your suggested fix.) Andreas From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 18 14:23:39 2023 Received: (at 65357) by debbugs.gnu.org; 18 Aug 2023 18:23:39 +0000 Received: from localhost ([127.0.0.1]:48766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX48J-0003Ns-0K for submit@debbugs.gnu.org; Fri, 18 Aug 2023 14:23:39 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:51208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX48G-0003Ne-07 for 65357@debbugs.gnu.org; Fri, 18 Aug 2023 14:23:37 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2628F277; Fri, 18 Aug 2023 20:23:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E0TvF4s4JLXE; Fri, 18 Aug 2023 20:23:28 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2913E62; Fri, 18 Aug 2023 20:23:27 +0200 (CEST) Date: Fri, 18 Aug 2023 20:23:25 +0200 From: Andreas Enge To: Nicolas Graves Subject: Re: [bug#65357] [PATCH] gnu: scilab: Fix compilation error. Message-ID: References: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gTUM/1aRXDu/o/A8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65357 Cc: Eric Bavier , 65357@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --gTUM/1aRXDu/o/A8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Am Thu, Aug 17, 2023 at 08:42:12PM +0200 schrieb Andreas Enge: > the fix looks right to me. But our scilab version is 8 years old, while there > are newer versions around. Would it make sense to rather update the package > to a newer version? (I had a look at 5.2.2, 6.0.0 and 6.1.1, but all of them > would still require your suggested fix.) I have pushed the fix and updated scilab to 5.2.2. I have also tried 6.1.1, and attached is how far I got. The lines for including strings.h instead of string.h are a failed attempt to have strcasecmp defined; with and without it the error message is In file included from ../../modules/ast/includes/types/arrayof.hxx:33, from ../../modules/ast/includes/types/double.hxx:28, from ../../modules/ast/includes/symbol/variables.hxx:24, from ../../modules/ast/includes/symbol/context.hxx:25, from ../../modules/ast/includes/ast/runvisitor.hxx:19, from ../../modules/ast/includes/ast/execvisitor.hxx:19, from src/cpp/funcmanager.cpp:31: src/cpp/funcmanager.cpp: In member function ‘bool FuncManager::AppendModules()’: ../../modules/string/includes/os_string.h:107:25: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? 107 | #define stricmp strcasecmp | ^~~~~~~~~~ src/cpp/funcmanager.cpp:134:9: note: in expansion of macro ‘stricmp’ 134 | if (stricmp("utf-8", encoding) == 0) | ^~~~~~~ The file looks unchanged in the latest git commit of scilab, and I have not seen a corresponding patch in the Debian package, so I have given up. Andreas --gTUM/1aRXDu/o/A8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="scilab.diff" diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1666d6e420..837d055c8e 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8457,7 +8457,7 @@ (define-public optizelle (define-public scilab (package (name "scilab") - (version "5.5.2") + (version "6.1.1") (source (origin (method url-fetch) @@ -8465,9 +8465,9 @@ (define-public scilab (string-append "https://www.scilab.org/download/" version "/scilab-" version "-src.tar.gz")) (sha256 - (base32 "0phg9pn24yw98hbh475ik84dnikf1225b2knh7qbhdbdx6fm2d57")))) + (base32 "01s28d162znwl7na0qlclzmfg6h7kwgmly1hr5vc51fkidilf4z5")))) (build-system gnu-build-system) - (native-inputs (list pkg-config gfortran)) + (native-inputs (list pkg-config gfortran eigen)) (inputs (list libxml2 `(,pcre "bin") `(,pcre "out") @@ -8495,7 +8495,9 @@ (define-public scilab "--without-javasci" "--disable-build-help" "--with-external-scirenderer" - ;; Tcl and Tk library locations. + ;; Disable the Scicos modelica compiler, which requires ocamlc. + "--without-modelica" + ;; Header and library locations. (string-append "--with-tcl-include=" (string-drop-right (search-input-file %build-inputs "include/tcl.h") @@ -8512,6 +8514,10 @@ (define-public scilab (string-drop-right (search-input-directory %build-inputs "lib/tk8.6") (string-length "/tk8.6"))) + (string-append "--with-eigen-include=" + (string-drop-right + (search-input-file %build-inputs "include/eigen3/Eigen/Sparse") + (string-length "/Eigen/Sparse"))) ;; There are some 2018-fortran errors that are ignored ;; with this fortran compiler flag. "FFLAGS=-fallow-argument-mismatch") @@ -8538,6 +8544,9 @@ (define-public scilab (("(H5Rdereference\\(_iDatasetId, H5R_OBJECT, )&(.*)\\);$" all common ref) (string-append common ref))) + (substitute* "modules/string/includes/os_string.h" + (("#include ") + "#include ")) ;; fix multiple definitions (substitute* "modules/tclsci/src/c/TCL_Command.h" (("^__thread") @@ -8562,4 +8571,4 @@ (define-public scilab statistical analysis, image enhancement, fluid dynamics simulations, numerical optimization, and modeling, simulation of explicit and implicit dynamical systems and symbolic manipulations.") - (license license:cecill))) ;CeCILL v2.1 + (license license:gpl2+))) --gTUM/1aRXDu/o/A8-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 12:48:12 2023 Received: (at control) by debbugs.gnu.org; 21 Aug 2023 16:48:12 +0000 Received: from localhost ([127.0.0.1]:57603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY84a-0002k3-4B for submit@debbugs.gnu.org; Mon, 21 Aug 2023 12:48:12 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:19667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY84V-0002ia-TA for control@debbugs.gnu.org; Mon, 21 Aug 2023 12:48:10 -0400 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.01,190,1684792800"; d="scan'208";a="63881567" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 18:47:58 +0200 Date: Mon, 21 Aug 2023 18:47:57 +0200 Message-Id: <87edjw8hqa.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #65357 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) close 65357 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 05:47:54 2023 Received: (at 65357) by debbugs.gnu.org; 30 Aug 2023 09:47:54 +0000 Received: from localhost ([127.0.0.1]:52162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbHnl-0002Ei-Tb for submit@debbugs.gnu.org; Wed, 30 Aug 2023 05:47:54 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:37482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbHni-0002DY-Hn for 65357@debbugs.gnu.org; Wed, 30 Aug 2023 05:47:53 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 70718483; Wed, 30 Aug 2023 11:47:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-mwDK_V7UYJ; Wed, 30 Aug 2023 11:47:36 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DCF1814F; Wed, 30 Aug 2023 11:47:35 +0200 (CEST) Date: Wed, 30 Aug 2023 11:47:34 +0200 From: Andreas Enge To: Nicolas Graves Subject: Re: [bug#65357] [PATCH] gnu: scilab: Fix compilation error. Message-ID: References: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65357 Cc: Eric Bavier , 65357@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Fri, Aug 18, 2023 at 08:23:25PM +0200 schrieb Andreas Enge: > ../../modules/string/includes/os_string.h:107:25: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? > 107 | #define stricmp strcasecmp > | ^~~~~~~~~~ > src/cpp/funcmanager.cpp:134:9: note: in expansion of macro ‘stricmp’ > 134 | if (stricmp("utf-8", encoding) == 0) > | ^~~~~~~ > The file looks unchanged in the latest git commit of scilab, and I have not > seen a corresponding patch in the Debian package, so I have given up. "man strcasecmp" has this to say: NOTES The strcasecmp() and strncasecmp() functions first appeared in 4.4BSD, where they were declared in . Thus, for reasons of historical compatibility, the glibc header file also de‐ clares these functions, if the _DEFAULT_SOURCE (or, in glibc 2.19 and earlier, _BSD_SOURCE) feature test macro is defined. So it might be enough to just add "#define _DEFAULT_SOURCE" somewhere. Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 08:18:18 2023 Received: (at 65357-done) by debbugs.gnu.org; 31 Aug 2023 12:18:18 +0000 Received: from localhost ([127.0.0.1]:55121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbgcs-000452-BU for submit@debbugs.gnu.org; Thu, 31 Aug 2023 08:18:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:41796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbgcp-00044n-Sw for 65357-done@debbugs.gnu.org; Thu, 31 Aug 2023 08:18:16 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4B46A17DD; Thu, 31 Aug 2023 14:18:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZCuyS5rMgM0t; Thu, 31 Aug 2023 14:18:00 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BEFAF3F4; Thu, 31 Aug 2023 14:18:00 +0200 (CEST) Date: Thu, 31 Aug 2023 14:17:59 +0200 From: Andreas Enge To: Nicolas Graves Subject: Re: [bug#65357] [PATCH] gnu: scilab: Fix compilation error. Message-ID: References: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65357-done Cc: Eric Bavier , Efraim Flashner , 65357-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Wed, Aug 30, 2023 at 11:47:34AM +0200 schrieb Andreas Enge: > So it might be enough to just add "#define _DEFAULT_SOURCE" somewhere. This was not the problem. As the topic of this issue is solved and none of us is going to continue the investigations for updating scilab, I am closing the issue. Andreas From unknown Fri Aug 15 04:02:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Sep 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator