Package Details: perl-expect 1.33-1

Git Clone URL: https://aur.archlinux.org/perl-expect.git (read-only)
Package Base: perl-expect
Description: automate interactions with command line programs that expose a text terminal interface.
Upstream URL: https://metacpan.org/release/Expect
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: jnbek
Last Packager: jnbek
Votes: 79
Popularity: 0.501617
First Submitted: 2009-05-22 05:19
Last Updated: 2016-06-13 17:10

Latest Comments

jnbek commented on 2016-06-10 19:35

I'll take a look

yampilop commented on 2016-06-10 19:11

$ yaourt perl-expect
1 aur/perl-expect 1.32-1 (77) (1,13)
automate interactions with command line programs that expose a text terminal interface.
2 aur/perl-expect-simple 0.04-3 (2) (0,00)
Expect::Simple - wrapper around the Expect module
==> Introduzca el número de los paquetes desea instalar (ejemplos: 1 2 3 ó 1-3)
==> ---------------------------------------------------------------------------
==> 1


==> Descargando PKGBUILD para perl-expect desde AUR...
x .SRCINFO
x PKGBUILD
Artefact2 commented on 2013-05-31 12:36
Package does not build, fails with: http://paste.artefact2.com/p/a63b418

jnbek commented on 2013-05-31 20:24
this 'looks' like an upstream bug, I'll investigate further.

snark.real commented on 2014-06-23 04:39
Please update source to
source=("http://cpan.metacpan.org/authors/id/R/RG/RGIERSIG/Expect-1.21.tar.gz")

JohnnyDeacon commented on 2014-08-19 13:16
== Making package: perl-expect 1.29-1 (Tue Aug 19 08:12:28 COT 2014)
== Checking runtime dependencies...
== Checking buildtime dependencies...
== Missing dependencies:
- perl-test-exception=0.32
== ERROR: Could not resolve all dependencies.
The build failed.

chaitan94 commented on 2016-02-27 06:12
For people getting "ERROR: Could not resolve all dependencies."

This worked for me:
1) Install perl-test-exception first
yaourt -S perl-test-exception
2) Retry installing perl-expect
yaourt -S perl-expect

perl-expect 1.32-1 (2015-06-16 20:53)
(Paquete sin soporte: ¡podría ser peligroso!)
==> ¿Quiere editar PKGBUILD? [S/n] ("A" para anular)
==> ------------------------------------------------
==> n

==> dependencias de perl-expect:
- perl-io-tty (paquete encontrado)
- perl-test-exception>=0.32 (paquete encontrado)


==> Continuar compilando perl-expect? [S/n]
==> ---------------------------------------
==>

==> Compilando e instalando el paquete
==> Instalar o compilar las dependencias que faltan para perl-expect:
resolviendo dependencias…
buscando conflictos entre paquetes…

Paquetes (3) perl-sub-uplevel-0.25-1 perl-io-tty-1.12-3 perl-test-exception-0.43-1

Tamaño total de la descarga: 0,05 MiB
Tamaño total de la instalación: 0,25 MiB

:: ¿Continuar con la instalación? [S/n]
:: Recibiendo los paquetes…
perl-sub-uplevel-0.25-1-any 10,1 KiB 0,00B/s 00:00 [####################################################] 100%
perl-test-exception-0.43-1-any 12,7 KiB 0,00B/s 00:00 [####################################################] 100%
perl-io-tty-1.12-3-x86_64 29,7 KiB 113K/s 00:00 [####################################################] 100%
(3/3) comprobando las claves del depósito [####################################################] 100%
(3/3) verificando la integridad de los paquetes [####################################################] 100%
(3/3) cargando los archivos de los paquetes [####################################################] 100%
(3/3) comprobando conflictos entre archivos [####################################################] 100%
(3/3) comprobando el espacio disponible en el disco [####################################################] 100%
:: Procesando los cambios de los paquetes...
(1/3) instalando perl-sub-uplevel [####################################################] 100%
(2/3) instalando perl-test-exception [####################################################] 100%
(3/3) instalando perl-io-tty [####################################################] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/1) Updating manpage index...
==> Creando el paquete: perl-expect 1.32-1 (vie jun 10 16:04:20 ART 2016)
==> Comprobando dependencias mientras se ejecuta…
==> Comprobando dependencias mientras se compila…
==> Recibiendo las fuentes…
-> Descargando Expect-1.32.tar.gz…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 160 100 160 0 0 163 0 --:--:-- --:--:-- --:--:-- 163
100 61592 100 61592 0 0 17901 0 0:00:03 0:00:03 --:--:-- 26343
==> Validando los archivos source con md5sums…
Expect-1.32.tar.gz ... Aprobado
==> Validando los archivos source con sha512sums…
Expect-1.32.tar.gz ... Aprobado
==> Extrayendo las fuentes…
-> Extrayendo Expect-1.32.tar.gz con bsdtar
==> Iniciando build()…
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Expect
Writing MYMETA.yml and MYMETA.json
cp lib/Expect.pm blib/lib/Expect.pm
Manifying 1 pod document
==> Iniciando check()…
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-test.t ....... # Basic tests...
t/01-test.t ....... 1/14 # Testing exec failure...
t/01-test.t ....... 2/14 # Testing exp_continue...
# number of timeout calls in 5 sec: 4
t/01-test.t ....... 4/14 # timeout shouldn't destroy accum contents
t/01-test.t ....... 5/14 # Testing -notransfer...
t/01-test.t ....... 6/14 # Testing raw reversing...
# isatty($exp): YES
# Called: 3
# Elapsed time: 6 delay by expect: 4.5
# Elapsed time: 6 delay by expect: 3.9
# Elapsed time: 6 delay by expect: 4.3
# Called: 3
t/01-test.t ....... 7/14 # Check if the raw pty can handle large chunks of text at once
# ------------------------------------------------------------------------------
# The following tests check system-dependend behaviour, so even if some fail,
# Expect might still be perfectly usable for you!
# ------------------------------------------------------------------------------
# Length: 512
# Good, your raw pty can handle lines of at least 512 bytes at a time.
# Status: match
t/01-test.t ....... 8/14 # Check if the default pty can handle large chunks of text at once
# ------------------------------------------------------------------------------
# The following tests check system-dependend behaviour, so even if some fail,
# Expect might still be perfectly usable for you!
# ------------------------------------------------------------------------------
# Length: 164
# Good, your default pty can handle lines of at least 164 bytes at a time.
# Status: match
t/01-test.t ....... 9/14 # Testing controlling terminal...
# Checking if exit status is returned correctly...
# soft_close: 0x2A00
t/01-test.t ....... 11/14 # Checking if signal exit status is returned correctly...
# soft_close: 0x000F
t/01-test.t ....... 12/14 #
# Checking if EOF on pty slave is correctly reported to master...
# (this fails on about 50% of the supported systems, so don't panic!
# Expect will work anyway!)
#
t/01-test.t ....... ok
t/02-bc.t ......... skipped: See https://rt.cpan.org/Ticket/Display.html?id=98495
t/03-log.t ........ # Test created for https://rt.cpan.org/Ticket/Display.html?id=62359 related to clear_accum
t/03-log.t ........ ok
t/04-multiline.t .. ok
t/10-internal.t ... ok
t/11-calc.t ....... 1/22 # SPACE
t/11-calc.t ....... ok
All tests successful.
Files=6, Tests=97, 64 wallclock secs ( 0.06 usr 0.00 sys + 0.41 cusr 0.06 csys = 0.53 CPU)
Result: PASS
==> Entrando en entorno fakeroot…
==> Iniciando package()…
HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)
Makefile:419: fallo en las instrucciones para el objetivo 'manifypods'
make: *** [manifypods] Error 1
==> ERROR: Se produjo un fallo en package().
Cancelando…
==> ERROR: Makepkg no ha podido compilar perl-expect.
==> ¿Reiniciar la compilación de perl-expect? [s/N]
==> -----------------------------------------------
==> s

==> ¿Quiere editar PKGBUILD? [S/n] ("A" para anular)
==> ------------------------------------------------
==> n

==> dependencias de perl-expect:
- perl-io-tty (ya instalado)
- perl-test-exception>=0.32 (ya instalado)


==> Continuar compilando perl-expect? [S/n]
==> ---------------------------------------
==>

==> Compilando e instalando el paquete
==> Creando el paquete: perl-expect 1.32-1 (vie jun 10 16:05:36 ART 2016)
==> Comprobando dependencias mientras se ejecuta…
==> Comprobando dependencias mientras se compila…
==> Recibiendo las fuentes…
-> Expect-1.32.tar.gz ha sido encontrado
==> Validando los archivos source con md5sums…
Expect-1.32.tar.gz ... Aprobado
==> Validando los archivos source con sha512sums…
Expect-1.32.tar.gz ... Aprobado
==> Extrayendo las fuentes…
-> Extrayendo Expect-1.32.tar.gz con bsdtar
==> Eliminando el directorio $pkgdir/…
==> Iniciando build()…
Generating a Unix-style Makefile
Writing Makefile for Expect
Writing MYMETA.yml and MYMETA.json
Skip blib/lib/Expect.pm (unchanged)
Manifying 1 pod document
==> Iniciando check()…
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-test.t ....... # Basic tests...
t/01-test.t ....... 1/14 # Testing exec failure...
t/01-test.t ....... 2/14 # Testing exp_continue...
# number of timeout calls in 5 sec: 4
t/01-test.t ....... 4/14 # timeout shouldn't destroy accum contents
t/01-test.t ....... 5/14 # Testing -notransfer...
t/01-test.t ....... 6/14 # Testing raw reversing...
# isatty($exp): YES
# Called: 3
# Elapsed time: 7 delay by expect: 4.5
# Elapsed time: 5 delay by expect: 3.9
# Elapsed time: 6 delay by expect: 4.3
# Called: 3
t/01-test.t ....... 7/14 # Check if the raw pty can handle large chunks of text at once
# ------------------------------------------------------------------------------
# The following tests check system-dependend behaviour, so even if some fail,
# Expect might still be perfectly usable for you!
# ------------------------------------------------------------------------------
# Length: 512
# Good, your raw pty can handle lines of at least 512 bytes at a time.
# Status: match
t/01-test.t ....... 8/14 # Check if the default pty can handle large chunks of text at once
# ------------------------------------------------------------------------------
# The following tests check system-dependend behaviour, so even if some fail,
# Expect might still be perfectly usable for you!
# ------------------------------------------------------------------------------
# Length: 164
# Good, your default pty can handle lines of at least 164 bytes at a time.
# Status: match
t/01-test.t ....... 9/14 # Testing controlling terminal...
# Checking if exit status is returned correctly...
# soft_close: 0x2A00
t/01-test.t ....... 11/14 # Checking if signal exit status is returned correctly...
# soft_close: 0x000F
t/01-test.t ....... 12/14 #
# Checking if EOF on pty slave is correctly reported to master...
# (this fails on about 50% of the supported systems, so don't panic!
# Expect will work anyway!)
#
t/01-test.t ....... ok
t/02-bc.t ......... skipped: See https://rt.cpan.org/Ticket/Display.html?id=98495
t/03-log.t ........ # Test created for https://rt.cpan.org/Ticket/Display.html?id=62359 related to clear_accum
t/03-log.t ........ ok
t/04-multiline.t .. ok
t/10-internal.t ... ok
t/11-calc.t ....... 1/22 # SPACE
t/11-calc.t ....... ok
All tests successful.
Files=6, Tests=97, 64 wallclock secs ( 0.06 usr 0.00 sys + 0.39 cusr 0.08 csys = 0.53 CPU)
Result: PASS
==> Entrando en entorno fakeroot…
==> Iniciando package()…
HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)
Makefile:419: fallo en las instrucciones para el objetivo 'manifypods'
make: *** [manifypods] Error 1
==> ERROR: Se produjo un fallo en package().
Cancelando…
==> ERROR: Makepkg no ha podido compilar perl-expect.
==> ¿Reiniciar la compilación de perl-expect? [s/N]
==> -----------------------------------------------
==>

chaitan94 commented on 2016-02-27 06:12

For people getting "ERROR: Could not resolve all dependencies."

This worked for me:
1) Install perl-test-exception first
yaourt -S perl-test-exception
2) Retry installing perl-expect
yaourt -S perl-expect

JohnnyDeacon commented on 2014-08-19 13:16

==> Making package: perl-expect 1.29-1 (Tue Aug 19 08:12:28 COT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> perl-test-exception>=0.32
==> ERROR: Could not resolve all dependencies.
The build failed.

snark.real commented on 2014-06-23 04:39

Please update source to
source=("http://cpan.metacpan.org/authors/id/R/RG/RGIERSIG/Expect-1.21.tar.gz")

jnbek commented on 2013-05-31 20:24

this 'looks' like an upstream bug, I'll investigate further.

Artefact2 commented on 2013-05-31 12:36

Package does not build, fails with: http://paste.artefact2.com/p/a63b418

unforgiven512 commented on 2013-04-07 10:34

I am willing to take over this package. It is currently in an unbuildable state.