From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 09 14:19:27 2017 Received: (at 29219) by debbugs.gnu.org; 9 Nov 2017 19:19:27 +0000 Received: from localhost ([127.0.0.1]:60807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCsMI-0004OI-T8 for submit@debbugs.gnu.org; Thu, 09 Nov 2017 14:19:27 -0500 Received: from mail-wr0-f174.google.com ([209.85.128.174]:47585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCsMH-0004O6-HU for 29219@debbugs.gnu.org; Thu, 09 Nov 2017 14:19:26 -0500 Received: by mail-wr0-f174.google.com with SMTP id k61so6575651wrc.4 for <29219@debbugs.gnu.org>; Thu, 09 Nov 2017 11:19:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding; bh=tEKZmuDwFBeyiftGdw+6lVR8yTyJ7bYtBQgs2ZFvkxs=; b=gL6zrPgjIuJ/8DGABo0zfMjlSjZ73fLxct4/WSF7+6kVdPNVj4vSl3bdGcL9Ldx+7f WiXpXT4iTAznK2VVL/3W523FmGVvjVEOP60PApLwEL9zvrLRPvuxmSEklWvlRoYR5gyp WL+0C9fz8gdz2hYueiduZoV5dYdHeUvFUyzLrU3JaJSY2oy4BrvUnRORoz4bZEEs1Djk oWQ/0U8oXBmT2ATw4J074SbS532BmiCHZ6oIgaDt9oA/X61Tg0DszV42LbE0ReUE891s PKsqwXAPW3gbilhttNZdGneUtII+W6KzM1pjyj1y/Hj7+an1YCkL0OSlXNGn+N9uiapg jgcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=tEKZmuDwFBeyiftGdw+6lVR8yTyJ7bYtBQgs2ZFvkxs=; b=qKzD/H7QyF5aHR3x3pwkK6M3RLJh7+9xCQMJ2pq6XnSlQ2q2pVXOLOLci5L4zwoNnW MHf1BTeAo/ap7MrV1XX4u9uqnwp+kXaeY29DEa3TWHw7MK1hak3o2oOjE+bq7P7BBuDo Zq9GE7ocPJiuOdYxSnIl8PcoYOSfJxFmzJsRp71zG5nNHiRN832syzYWdTD5F15Zrrvh cUMsWY5f1l/lhg+KCuaerKzFVlYfFUcW5JT5DI3JJ4LmNKUQaatrNuEeVzjh+e6jS06c LAjeIeMWF9bApZG4IXgI2OFGJONR2lblvtx8e6C8BVcg0J5O8VFVhpecRKkirZc6v39c RLuQ== X-Gm-Message-State: AJaThX48HBe+aVAZ8yy1YnLBz+M36I2SRUuddFX6hLeMvGDFYPHL+bk3 ixK87Zo71t6lPCNiQpglxL/o7w== X-Google-Smtp-Source: ABhQp+QvWO64F4ujAzLoXzSCBf+7AeJeDzf5FDx2Y49y6Kl0Ewf1Muvbd7Mc2U6rWchfF8E0dvlYGA== X-Received: by 10.223.134.250 with SMTP id 55mr1375564wry.249.1510255159406; Thu, 09 Nov 2017 11:19:19 -0800 (PST) Received: from melibre. ([2001:a61:22f5:1001:6e8:37fd:49a6:1267]) by smtp.gmail.com with ESMTPSA id m8sm6314582wrg.55.2017.11.09.11.19.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 11:19:18 -0800 (PST) References: <87efp8fqab.fsf@gmail.com> <87r2t7q0t5.fsf@gnu.org> From: Mekeor Melire To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#29219: CUPS filter still can't access Ghostscript (gs) In-reply-to: <87r2t7q0t5.fsf@gnu.org> Date: Thu, 09 Nov 2017 20:19:17 +0100 Message-ID: <87a7zvfefe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29219 Cc: 29219@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: -2.3 (--) Ludovic Courtès writes: > Mekeor Melire skribis: >> But although I was expecting commit >> 1728c411718e3b358c06561d6e80b47d7b331617¹ to fix this issue, when I try >> the ljet4² driver, I still get this error in /var/log/cups/error_log³: >> sh: gs: command not found >> Process is dying with \"Unable to determine number of pages, page count: -1 >> \", exit stat 3 > Just make sure to reconfigure from a recent-enough commit (run ‘guix > --version’ as root to see which commit you’re using.) Done. I'm running a recent-enough commit. (Namely 46dea1241c801af5aa65e0c7b4e84bb0aff11273.) > If it turns out you’re already using CUPS with commit > 1728c411718e3b358c06561d6e80b47d7b331617, could you reproduce the issue > while running “strace -p PID -f -s 345 -o log”, where PID is the PID of > cupsd as shown by ‘herd status cups’? You can find the log here: . These might be the interesting lines: $ grep -E '[^a-zA-Z0-9]gs' log 31377 execve("/gnu/store/…-bash-static-4.4.12/bin/sh", ["sh", "-c", "gs -dNODISPLAY -q -c '/pdffile (/var/spool/cups/tmp/foomatic-4ngnEr) (r) file def pdfdict begin pdffile pdfopen begin (PageCount: ) print pdfpagecount == flush currentdict pdfclose end end quit'"], 0x149e810 /* 33 vars */ 31377 stat("/gnu/store/…-cups-server-bin/lib/cups/filter/gs", 0x7ffd7921b5c0) = -1 ENOENT (No such file or directory) 31377 stat("/gnu/store/…-cups-2.2.4/bin/gs", 0x7ffd7921b5c0) = -1 ENOENT (No such file or directory) 31377 stat("/gnu/store/…-cups-2.2.4/sbin/gs", 0x7ffd7921b5c0) = -1 ENOENT (No such file or directory) 31377 stat("/bin/gs", 0x7ffd7921b5c0) = -1 ENOENT (No such file or directory) 31377 stat("/usr/bin/gs", 0x7ffd7921b5c0) = -1 ENOENT (No such file or directory) 31377 write(2, "sh: gs: command not found\n", 26) = 26 15154 <... read resumed> "sh: gs: command not found\n", 2047) = 26 15154 write(4, "D [09/Nov/2017:20:06:50 +0100] [Job 13] sh: gs: command not found\n", 66) = 66 Thank you for your help! How could we continue debugging? -- mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868