From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 01:09:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC5016A41F for ; Thu, 6 Oct 2005 01:09:26 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CE2B43D45 for ; Thu, 6 Oct 2005 01:09:24 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Wed, 05 Oct 2005 21:09:21 -0400 id 0038407A.43447943.000040F2 Received: by localhost (sSMTP sendmail emulation); Wed, 5 Oct 2005 21:09:21 -0400 Date: Wed, 5 Oct 2005 21:09:21 -0400 From: Mark Bucciarelli To: freebsd-questions@freebsd.org Message-ID: <20051006010921.GD1936@rabbit> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Cannot open /dev/tty for read X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 01:09:27 -0000 I get the error in the subject line when trying to install the www/interchange port inside a jail. The full output of the make command is below. I'm using the standard devfs rule set 4 with the following addition: # devfs -m /web/jail/myjail/dev rule apply add path 'tty' unhide >From inside the jail: # ls -l /dev/tty crw-rw-rw- 1 root wheel 5, 1 Oct 5 21:06 /dev/tty The offending line in Makefile.PL is my $term; if($TermRead) { here. ----> $term = new Term::ReadLine 'MakeFile'; $Prompt_sub = sub { my($prompt, $default) = @_; $prompt .= "[$default] " if defined $default && !$ENV{PERL_RL}; return $term->readline($prompt, $default); }; } If I comment this out and just use Perl instead of Term::Readline, the install completes successfully. Am I doing something wrong with devfs or should I file a problem report against this port? Here's the full output of the make install: # make -DCHECK_FOR_IC_USER install clean ===> Installing for interchange-4.8.7 ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/SQL/Statement.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/Storable.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/Safe/Hole.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/Digest/MD5.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/MIME/Base64.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/LWP/Simple.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/URI/URL.pm - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.p - found ===> interchange-4.8.7 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/Term/ReadKey.pm - found ===> interchange-4.8.7 depends on file: /usr/local/bin/perl5.8.7 - found ===> Generating temporary packing list ===> Checking if www/interchange already installed Writing /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Interchange/.packlist /usr/local/bin/perl5.8.7 Makefile.PL force nocpaninstall=1 INTERCHANGE_USER=interch final=/usr/local/interchange Cannot open /dev/tty for read at Makefile.PL line 64 *** Error code 16 Stop in /usr/ports/www/interchange/work/interchange-4.8.7. *** Error code 1 Stop in /usr/ports/www/interchange. Regards, m