From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6Hy5BO41SGFkbwEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 09:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id Uu5IAO41SGFZVQAAbx9fmQ (envelope-from ) for ; Mon, 20 Sep 2021 07:19:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4FE223BF2 for ; Mon, 20 Sep 2021 09:19:09 +0200 (CEST) Received: from localhost ([::1]:43796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSDa0-0007sP-PY for larch@yhetil.org; Mon, 20 Sep 2021 03:19:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSDXh-0005Ij-DH for guix-devel@gnu.org; Mon, 20 Sep 2021 03:16:45 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:49718 helo=imta-38.everyone.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSDXf-0001CU-Ax for guix-devel@gnu.org; Mon, 20 Sep 2021 03:16:45 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 18K7CZh3025426; Mon, 20 Sep 2021 00:16:34 -0700 X-Eon-Originating-Account: JyxmjYdpqef-pSOUFB6rJFmbSHLQ2f68fjdd5bnjRMo X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 53b927e5) id m0116293.613be82d.72622; Mon, 20 Sep 2021 00:16:32 -0700 X-Eon-Sig: AQMHrIJhSDVQqEWOxQIAAAAC,66b52f03c8d2ae7d02ab23faead02b1b X-Eip: QjANw4bT4uUlZN764L4aoJzuu_nF2Ady7UUA6GRryUY Date: Mon, 20 Sep 2021 09:16:22 +0200 From: Bengt Richter To: pinoaffe Subject: Re: Question about prusaslicer package Message-ID: <20210920071622.GA11727@LionPure> References: <87y27szrqb.fsf@airmail.cc> <87v92wzrol.fsf@airmail.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87v92wzrol.fsf@airmail.cc> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: vTbQprPSFmpYhty-77KD1MiunumYSCIm X-Proofpoint-GUID: vTbQprPSFmpYhty-77KD1MiunumYSCIm X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-20_03:2021-09-17, 2021-09-20 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 mlxscore=0 clxscore=1034 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109200043 Received-SPF: pass client-ip=216.200.145.35; envelope-from=bokr@oz.net; helo=imta-38.everyone.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632122349; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Hn9pG+AAPkqOL9q+v7JOGRDdpYeyvM9+qjMcrG6cMHo=; b=COjaVaB5CuLTDa/6Vr56aEa02e5vEZ1fQt3Z8UbcfyZwKsWe9zeHmJUgUxS291O0VWD3nY pmky7WXCbhWs3qYQvqjI3+MsD70o0VsKRGn50W91siKU9K4oOMhZLnqBbbvNL9/KjMwJZW 06GoRD3/bFn3OpjNzmsMaN0C/YlCUUy6rRPqasT/VyrjmGkV4iiCx0mM9dVsKpDZnmkCtH f/o9oMjZlCng9A/1eT2tmF2SAsYkpi5HCaYa12TnaUJAExjUwL9ywCDS0z98f93nDxDbLU FqMhjYSLdvqk8X160ew2vlrZ9mDIvmNzHZ+kH2RgPHwO+9fs4rF2sHdp5ybmVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632122349; a=rsa-sha256; cv=none; b=hDJkLBMm7h55lAmfJIPfS+6osNlf6GdzFi56rRtkrv393oW+LINqw30ZbIMYooUGjDQ1o9 qwBjz5g4lz27USY8qbaV9aLgk+BZhPN8HDt62ryDd/kV1NloDZ/1iWMZG22qxeR2APT7ln gD3rsqMsEncUDknyc+30WxB+oEyNmI86R6URVhIhH3xaQMDKoCJcKZ+Rk6+oU5Gunl+Epd 12dabvQoJLkhn7/9ftHpk+BabRZSFXSKmk6IyJ2vxEm10TvjGWcYnJ5Of+ryCe6ryYrauR MZoYw1BuWfKELCscuXMs5yWdd2ndO+CxmuMSaXW9PfSUm0iAmLp1IYfjqqlH0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.38 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A4FE223BF2 X-Spam-Score: -0.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: N3CjAW0CScgj Hi pinoaffe, On +2021-09-19 14:16:26 +0200, pinoaffe wrote: > Ah I forgot the attachment... > > > pinoaffe writes: > > > Hi guix, > > > > I recently made an attempt at packaging prusaslicer (just the > > commandline interface, I couldn't get the GUI to work). > > > > It does build successfully, and I've attached my package definition. > > > > I ran into a weird bug where, for whatever reason, the commandline > > utility only works if I run it from inside the directory where the > > prusa-slicer binary is located. > > > > Does anyone have a clue as to what might be going wrong? > > (or, better yet, how to fix it?) > > > > kind regards, > > pinoaffe > --8<---------------cut here---------------start------------->8--- from info execv, at the bottom could this be a clue? NOTES The default search path (used when the environment does not contain the variable PATH) shows some variation across systems. It generally includes /bin and /usr/bin (in that order) and may also include the current working directory. ^^^ On some other systems, the current working is included after /bin and /usr/bin, as an anti-Trojan-horse measure. The glibc implementation long followed the traditional default where the current working direc‐ tory is included at the start of the search path. However, some code refactoring during the development of glibc 2.24 caused the current ^^^^^^^^^^ ?? working directory to be dropped altogether from the default ^^^^^^^^^^^^^^^^^^ search path. This accidental behavior change is considered mildly beneficial, and won't be re‐ verted. --8<---------------cut here---------------end--------------->8--- Might you have a script making relative helper-script calls that depends on searching in the current directory, and works if your cwd is there but not if you execute from elsewhere? Though if it works, I guess that would suggest you have pre 2.24 glibc? Not sure where I saw more info, so can't say. Maybe changing some relative path to absolute could be a workaround? HTH :) -- Regards, Bengt Richter