This queue is for tickets about the IO-Prompt CPAN distribution.

Report information
The Basics
Id:
54807
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
salvatore.bonaccorso [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.997
Fixed in:
(no value)



Subject: IO-Prompt fails to build in environments without /dev/tty
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1242
Hi In Debian we have on buildd with sbuild no /dev/tty in the build-environment. Trying to build IO-Prompt in such an environment, fails the tests: # Failed test 'Output to /dev/tty' # at t/01.dependencies.t line 4. # Failed test 'Input from /dev/tty' # at t/01.dependencies.t line 5. # Looks like you failed 2 tests of 2. t/01.dependencies.t .. Trying to experiment with IO:Pty and adding the following patch: ---(patch)--------------------------------------------- +--- a/t/01.dependencies.t ++++ b/t/01.dependencies.t +@@ -1,5 +1,8 @@ + use Test::More tests => 2; ++use IO::Pty; + +-# Depends on hardcoded /dev/tty access +-ok( open(my $OUT, ">/dev/tty"), "Output to /dev/tty"); +-ok( open(my $IN, "</dev/tty"), "Input from /dev/tty"); ++$pty = new IO::Pty; ++$tty = $pty->ttyname(); ++ ++ok( open(my $OUT, ">$tty"), "Output to $tty"); ++ok( open(my $IN, "<$tty"), "Input from $tty"); ------------------------------------------------------- now IO-Prompt builds, however there is still: t/01.dependencies.t .. ok Too late to run CHECK block at /build/salvi-libio-prompt-perl_0.997-1-amd64-YbnibD/libio-prompt-perl-0.997-1/blib/lib/IO/Prompt.pm line 319. many thanks in advance considering looking into this, Bests Salvatore
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: API
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-23490-1440570106-1824.0-0-0@rt.cpan.org>
Message-ID: <rt-4.0.18-23490-1440570106-672.54807-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
From: ppisar@redhat.com
Content-Length: 266
Dne Pá 19.úno.2010 15:01:45, https://launchpad.net/~carnil napsal(a):
Show quoted text
> In Debian we have on buildd with sbuild no /dev/tty in the > build-environment. Trying to build IO-Prompt in such an environment,
Was this very same issue fixed in 0.997003 as CPAN RT#106521?
MIME-Version: 1.0
X-Spam-Status: No, score=-5.925 tagged_above=-99.9 required=10 tests=[AWL=0.673, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-23490-1440570106-1451.54807-5-0@rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-54807@rt.cpan.org> <rt-4.0.18-23490-1440570106-1451.54807-5-0@rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.107.6.166 with SMTP id f38mr1560233ioi.148.1440575013632; Wed, 26 Aug 2015 00:43:33 -0700 (PDT)
Message-ID: <CAATtAp7BEZ95+Orz4r54ZzdS27G8M_ZfKWnsqTBjnCKwRT7SPg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="001a113df81af5c2e8051e3201eb"
X-Spam-Score: -5.925
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0D1B6240334 for <cpan-bug+IO-Prompt@hipster.bestpractical.com>; Wed, 26 Aug 2015 03:43:42 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YnydHGlh0maw for <cpan-bug+IO-Prompt@hipster.bestpractical.com>; Wed, 26 Aug 2015 03:43:39 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9506C2402E7 for <bug-IO-Prompt@rt.cpan.org>; Wed, 26 Aug 2015 03:43:39 -0400 (EDT)
Received: (qmail 32285 invoked by alias); 26 Aug 2015 07:43:38 -0000
Received: from mail-io0-f174.google.com (HELO mail-io0-f174.google.com) (209.85.223.174) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 26 Aug 2015 00:43:37 -0700
Received: by iods203 with SMTP id s203so9170098iod.0 for <bug-IO-Prompt@rt.cpan.org>; Wed, 26 Aug 2015 00:43:33 -0700 (PDT)
Received: by 10.79.39.135 with HTTP; Wed, 26 Aug 2015 00:42:54 -0700 (PDT)
Delivered-To: cpan-bug+IO-Prompt@hipster.bestpractical.com
Subject: Re: [rt.cpan.org #54807] IO-Prompt fails to build in environments without /dev/tty
Return-Path: <thoughtstream@gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=GZJXHU3wLcwKLFGUaTHNMKQlwzKXBy2I1ChevitGfSA=; b=Fm8lJp8RYxNAa1Wuz7OcSv6G1jJbbDmz+4QStGv+2H2LWjxhu4pShWgm0BlEdbTS4S hvxVJ0/wqGo4fvQBprfB33ZLGXpWq2M9uAs9r+vTrA794GzJk44vfLh1qJACoIhkBzpp 4BPvXOcfN/nOaa72MHgW53NPg60Vq0FnuCOueSakrX+c+i+ONHNMCh3+8VDiF1i4dNs6 gGcwvtX8cJsYCkq8rXxvaQDp92y9AQ2op584EO9mDgpv1SavA29jloi8p58KW2bZs+eG XsY7pBEGfQrlkTUxq5AaCD3oI3RM9EnvQRqGcT24BpP2jYLQBSBffkLxEyGJrm9Bv0d+ Ayxg==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+IO-Prompt@hipster.bestpractical.com
X-RT-Mail-Extension: io-prompt
X-Google-Sender-Auth: cHJ9iddgEUhorHa2RlZh8KOD7w0
Sender: thoughtstream@gmail.com
Date: Wed, 26 Aug 2015 17:42:54 +1000
X-Spam-Level:
To: bug-IO-Prompt@rt.cpan.org
From: Damian Conway <damian@conway.org>
RT-Message-ID: <rt-4.0.18-24890-1440575023-1370.54807-0-0@rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 121
content-type: text/html; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 234
> Was this very same issue fixed in 0.997003 as CPAN RT#106521?

Yes, it was.
Thanks for noting the duplication.

Damian



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.