Received: (at 29219) by debbugs.gnu.org; 10 Nov 2017 12:22:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 10 07:22:43 2017
Received: from localhost ([127.0.0.1]:33281 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1eD8KZ-0006Ni-A1
for submit <at> debbugs.gnu.org; Fri, 10 Nov 2017 07:22:43 -0500
Received: from hera.aquilenet.fr ([141.255.128.1]:52530)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ludo@HIDDEN>) id 1eD8KX-0006Na-HI
for 29219 <at> debbugs.gnu.org; Fri, 10 Nov 2017 07:22:42 -0500
Received: from localhost (localhost [127.0.0.1])
by hera.aquilenet.fr (Postfix) with ESMTP id ABEA0FCC2;
Fri, 10 Nov 2017 13:22:42 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at 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 yHHy5jdyvYRv; Fri, 10 Nov 2017 13:22:41 +0100 (CET)
Received: from ribbon (unknown [193.50.110.148])
by hera.aquilenet.fr (Postfix) with ESMTPSA id 854A6FC68;
Fri, 10 Nov 2017 13:22:41 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Mekeor Melire <mekeor.melire@HIDDEN>
Subject: Re: bug#29219: CUPS filter still can't access Ghostscript (gs)
References: <87efp8fqab.fsf@HIDDEN> <87r2t7q0t5.fsf@HIDDEN>
<87a7zvfefe.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 20 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 10 Nov 2017 13:22:39 +0100
In-Reply-To: <87a7zvfefe.fsf@HIDDEN> (Mekeor Melire's message of "Thu, 09
Nov 2017 20:19:17 +0100")
Message-ID: <871sl6migg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 29219
Cc: 29219 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)
Hi Mekeor,
Mekeor Melire <mekeor.melire@HIDDEN> skribis:
> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
>> Mekeor Melire <mekeor.melire@HIDDEN> skribis:
>
>>> But although I was expecting commit
>>> 1728c411718e3b358c06561d6e80b47d7b331617=C2=B9 to fix this issue, when =
I try
>>> the ljet4=C2=B2 driver, I still get this error in /var/log/cups/error_l=
og=C2=B3:
>
>>> sh: gs: command not found
>>> Process is dying with \"Unable to determine number of pages, page c=
ount: -1
>>> \", exit stat 3
>
>> Just make sure to reconfigure from a recent-enough commit (run =E2=80=98=
guix
>> --version=E2=80=99 as root to see which commit you=E2=80=99re using.)
>
> Done. I'm running a recent-enough commit. (Namely
> 46dea1241c801af5aa65e0c7b4e84bb0aff11273.)
>
>> If it turns out you=E2=80=99re already using CUPS with commit
>> 1728c411718e3b358c06561d6e80b47d7b331617, could you reproduce the issue
>> while running =E2=80=9Cstrace -p PID -f -s 345 -o log=E2=80=9D, where PI=
D is the PID of
>> cupsd as shown by =E2=80=98herd status cups=E2=80=99?
>
> You can find the log here: <http://sprunge.us/UDOY>. These might be the
> interesting lines:
>
> $ grep -E '[^a-zA-Z0-9]gs' log
> 31377 execve("/gnu/store/=E2=80=A6-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 pdfp=
agecount =3D=3D flush currentdict pdfclose end end quit'"], 0x149e810 /* 33=
vars */ <unfinished ...>
> 31377 stat("/gnu/store/=E2=80=A6-cups-server-bin/lib/cups/filter/gs",=
0x7ffd7921b5c0) =3D -1 ENOENT (No such file or directory)
> 31377 stat("/gnu/store/=E2=80=A6-cups-2.2.4/bin/gs", 0x7ffd7921b5c0) =
=3D -1 ENOENT (No such file or directory)
> 31377 stat("/gnu/store/=E2=80=A6-cups-2.2.4/sbin/gs", 0x7ffd7921b5c0)=
=3D -1 ENOENT (No such file or directory)
> 31377 stat("/bin/gs", 0x7ffd7921b5c0) =3D -1 ENOENT (No such file o=
r directory)
> 31377 stat("/usr/bin/gs", 0x7ffd7921b5c0) =3D -1 ENOENT (No such file=
or directory)
> 31377 write(2, "sh: gs: command not found\n", 26) =3D 26
> 15154 <... read resumed> "sh: gs: command not found\n", 2047) =3D 26
> 15154 write(4, "D [09/Nov/2017:20:06:50 +0100] [Job 13] sh: gs: comma=
nd not found\n", 66) =3D 66
>
> Thank you for your help! How could we continue debugging?
IIUC, process 31377 is started by cupsd itself. Commit
1728c411718e3b358c06561d6e80b47d7b331617 wrapped the cups-filters
programs but not cupsd itself. Perhaps we need to wrap cupsd similarly?
Could you grep the source of cups itself to see if it contains this =E2=80=
=98gs=E2=80=99
invocation?
In the meantime, can you try adding ghostcript to your system profile?
That should work around the problem.
Thanks,
Ludo=E2=80=99.
bug-guix@HIDDEN:bug#29219; Package guix.
Full text available.
Received: (at 29219) by debbugs.gnu.org; 9 Nov 2017 19:19:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 09 14:19:27 2017
Received: from localhost ([127.0.0.1]:60807 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1eCsMI-0004OI-T8
for submit <at> 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 <mekeor.melire@HIDDEN>) id 1eCsMH-0004O6-HU
for 29219 <at> 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 <at> 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@HIDDEN> <87r2t7q0t5.fsf@HIDDEN>
From: Mekeor Melire <mekeor.melire@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#29219: CUPS filter still can't access Ghostscript (gs)
In-reply-to: <87r2t7q0t5.fsf@HIDDEN>
Date: Thu, 09 Nov 2017 20:19:17 +0100
Message-ID: <87a7zvfefe.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
Ludovic Courtès <ludo@HIDDEN> writes:
> Mekeor Melire <mekeor.melire@HIDDEN> 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: <http://sprunge.us/UDOY>. 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 */ <unfinished ...>
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
bug-guix@HIDDEN:bug#29219; Package guix.
Full text available.Received: (at 29219) by debbugs.gnu.org; 9 Nov 2017 09:05:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 09 04:05:46 2017 Received: from localhost ([127.0.0.1]:59428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eCimQ-0002CL-3G for submit <at> debbugs.gnu.org; Thu, 09 Nov 2017 04:05:46 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:45192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1eCimO-0002CD-TD for 29219 <at> debbugs.gnu.org; Thu, 09 Nov 2017 04:05:45 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 68650FCAA; Thu, 9 Nov 2017 10:05:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at 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 mH64TI6Vb5cn; Thu, 9 Nov 2017 10:05:44 +0100 (CET) Received: from ribbon (unknown [193.50.110.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B5D82F7E2; Thu, 9 Nov 2017 10:05:44 +0100 (CET) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mekeor Melire <mekeor.melire@HIDDEN> Subject: Re: bug#29219: CUPS filter still can't access Ghostscript (gs) References: <87efp8fqab.fsf@HIDDEN> Date: Thu, 09 Nov 2017 10:05:42 +0100 In-Reply-To: <87efp8fqab.fsf@HIDDEN> (Mekeor Melire's message of "Wed, 08 Nov 2017 21:50:52 +0100") Message-ID: <87r2t7q0t5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29219 Cc: 29219 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Hi, Mekeor Melire <mekeor.melire@HIDDEN> skribis: > I added two printers through CUPS' web interface (localhost:631) using > the PPD driver file which I downloaded (from openprinting.org): one > called ljet4 (which calls Ghostscript) and one called Postscript (which > just calls `cat`)=E2=81=B0. The latter worked. > > > But although I was expecting commit > 1728c411718e3b358c06561d6e80b47d7b331617=C2=B9 to fix this issue, when I = try > the ljet4=C2=B2 driver, I still get this error in /var/log/cups/error_log= =C2=B3: > > > sh: gs: command not found > Process is dying with \"Unable to determine number of pages, page cou= nt: -1 > \", exit stat 3 > > > Is anybody able to reproduce this issue? > > How can I be sure that the cups-service I'm running is the recent one > which includes that commit? (I tried pulling guix and rebuilding the > system afterwards and restarting cups-service afterwards.) Just make sure to reconfigure from a recent-enough commit (run =E2=80=98guix --version=E2=80=99 as root to see which commit you=E2=80=99re using.) If it turns out you=E2=80=99re already using CUPS with commit 1728c411718e3b358c06561d6e80b47d7b331617, could you reproduce the issue while running =E2=80=9Cstrace -p PID -f -s 345 -o log=E2=80=9D, where PID i= s the PID of cupsd as shown by =E2=80=98herd status cups=E2=80=99? TIA! Ludo=E2=80=99.
bug-guix@HIDDEN:bug#29219; Package guix.
Full text available.
Received: (at submit) by debbugs.gnu.org; 8 Nov 2017 20:51:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 08 15:51:07 2017
Received: from localhost ([127.0.0.1]:58976 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1eCXJT-0005IK-KP
for submit <at> debbugs.gnu.org; Wed, 08 Nov 2017 15:51:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39857)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mekeor.melire@HIDDEN>) id 1eCXJR-0005Hp-5o
for submit <at> debbugs.gnu.org; Wed, 08 Nov 2017 15:51:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <mekeor.melire@HIDDEN>) id 1eCXJK-0003I1-Tb
for submit <at> debbugs.gnu.org; Wed, 08 Nov 2017 15:50:59 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52429)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <mekeor.melire@HIDDEN>)
id 1eCXJK-0003Hx-Pw
for submit <at> debbugs.gnu.org; Wed, 08 Nov 2017 15:50:58 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59061)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <mekeor.melire@HIDDEN>) id 1eCXJJ-0003EL-Hc
for bug-guix@HIDDEN; Wed, 08 Nov 2017 15:50:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <mekeor.melire@HIDDEN>) id 1eCXJI-0003H0-B6
for bug-guix@HIDDEN; Wed, 08 Nov 2017 15:50:57 -0500
Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:46496)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from <mekeor.melire@HIDDEN>)
id 1eCXJI-0003Gf-3f
for bug-guix@HIDDEN; Wed, 08 Nov 2017 15:50:56 -0500
Received: by mail-wm0-x22b.google.com with SMTP id r68so13083585wmr.1
for <bug-guix@HIDDEN>; Wed, 08 Nov 2017 12:50:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=89zBYzWxInrKS4fhslrNCHS5gOzH8ly47dkwBMV6Fd0=;
b=bEHf2VKHZBnRkCz/bTPBnRZIC9WB6c/tFyzi9VET7bUqvQV4ECr87jswQkUOVmT3hm
eP6YAiIEIFcVBp3/JNkdOprg1IzORMt9Xo/OLM7nlQMyIKdbxifEHevpf0CEUd976VTw
UtXmXi2vay4Y2m9zFUeMwAcBcZkVFvBGc+SMgVf10wV5qbQh0J3DnwxAEhqQ8W8oOKpE
2wQEGJDW9ByvZsWyjfrc7AmbBxCnA3vn66PgWsDTJsaU3rm1/RsLj1egXnwmVMNbU7YF
XDncob5B4IWeOHYRmvqbDiGxK/5Iksbohs/PEmH0OtR+ilqOq/u7nBaoAHPnM1MRHeIB
NGJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=89zBYzWxInrKS4fhslrNCHS5gOzH8ly47dkwBMV6Fd0=;
b=eG3cV8AjxSwg3qbgvBR7gqel9n6Uiw+izIxmQL0by1WTOYRuv95Ewu2kgWgwexMCO5
jEhJPjaFj6DNqmsvvsiJStexPRwLZX2d1+NQnf3LrOuhj2g94iGi7dO7vWEdnzIvBVnL
woMQpVxegQBPfQVwCuH1OFZOGukt03PO86Mb3j9dJrgJe5vdHcCPzYfXf1U+twzrKx1Q
KIQWGD+Ih7Uz4eJVfWH3QjlYMPxKVGprnGSkKnoOYeDq349/f1GPbBRdQT3UccPQZpIF
XF58Gb8FWkbCphmK5Lor2+x0hIAloCvfszIhbLx381nzyEepuJGIuGKTVVsi/O/ec3Wo
k/Zg==
X-Gm-Message-State: AJaThX7Qcxn6ikCgB1jfzeAnyz+QqUpN2VcgOEYynURutiWoPoW7kUHJ
mx1H/O6MjeWWvnn7u6f5e0aJWA==
X-Google-Smtp-Source: ABhQp+RMJyQ8DYz1ReMoyDTOt+zPtCJTxJUC0Lsutlm0pqOODcf8+4wXHZuPllRShJf2+J7Za2j06g==
X-Received: by 10.28.175.73 with SMTP id y70mr1521992wme.21.1510174254505;
Wed, 08 Nov 2017 12:50:54 -0800 (PST)
Received: from melibre. ([2001:a61:22d3:8101:6a36:7529:e8d:e69b])
by smtp.gmail.com with ESMTPSA id b15sm6439888wrh.35.2017.11.08.12.50.53
for <bug-guix@HIDDEN>
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Wed, 08 Nov 2017 12:50:53 -0800 (PST)
From: Mekeor Melire <mekeor.melire@HIDDEN>
To: bug-guix@HIDDEN
Subject: CUPS filter still can't access Ghostscript (gs)
Date: Wed, 08 Nov 2017 21:50:52 +0100
Message-ID: <87efp8fqab.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)
I added two printers through CUPS' web interface (localhost:631) using
the PPD driver file which I downloaded (from openprinting.org): one
called ljet4 (which calls Ghostscript) and one called Postscript (which
just calls `cat`)⁰. The latter worked.
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
Is anybody able to reproduce this issue?
How can I be sure that the cups-service I'm running is the recent one
which includes that commit? (I tried pulling guix and rebuilding the
system afterwards and restarting cups-service afterwards.)
What am I doing wrong?
⁰: https://www.openprinting.org/ppd-o-matic.php?driver=Postscript&printer=Kyocera-FS-920&show=1
¹: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1728c411718e3b358c06561d6e80b47d7b331617
²: https://www.openprinting.org/ppd-o-matic.php?driver=ljet4&printer=Kyocera-FS-920&show=1
³: http://sprunge.us/EMbF
--
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868
Mekeor Melire <mekeor.melire@HIDDEN>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#29219; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.