We've noticed that some builds are interactive. This combined with a bug in our autobuilder so these builds were hanging.
However I can reproduce the same behaviour using 'fedpkg local' (see below).
Obviously mock or Koji must be closing stdin.
Anyway is this a bug in the packaging?
Rich.
$ fedpkg clone -B perl-Audio-Beep Cloning into bare repository '/home/rjones/d/fedora/perl-Audio-Beep/rpkg.git'... cd perl-Audio-Beep/masteremote: Counting objects: 96, done. remote: Compressing objects: 100% (74/74), done. remote: Total 96 (delta 33), reused 47 (delta 17) Receiving objects: 100% (96/96), 11.51 KiB | 0 bytes/s, done. Resolving deltas: 100% (33/33), done. Checking connectivity... done.
$ cd perl-Audio-Beep/master $ fedpkg local Downloading Audio-Beep-0.11.tar.gz ######################################################################## 100.0%
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DDaXlx + umask 022 + cd /home/rjones/d/fedora/perl-Audio-Beep/master + cd /home/rjones/d/fedora/perl-Audio-Beep/master + rm -rf Audio-Beep-0.11 + /usr/bin/gzip -dc /home/rjones/d/fedora/perl-Audio-Beep/master/Audio-Beep-0.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Audio-Beep-0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x music/beep_player.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1IrEhL + umask 022 + cd /home/rjones/d/fedora/perl-Audio-Beep/master + cd Audio-Beep-0.11 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' Would you like to install Japanese documentation? If you enter 'y' then i will try to install Japanese docs alongside English ones. On platforms using 'man' manpages (typically on UN*X) Japanese documentation will be available transparently to users whose locale language is set to Japanese. On other platforms the documentation will be available as Audio::Beep_jp Default is to not install Japanese docs. [N/y] <-- hangs here
On Wednesday, 12 October 2016 at 16:56, Richard W.M. Jones wrote:
We've noticed that some builds are interactive. This combined with a bug in our autobuilder so these builds were hanging.
However I can reproduce the same behaviour using 'fedpkg local' (see below).
Obviously mock or Koji must be closing stdin.
Anyway is this a bug in the packaging?
It is. Builds must be non-interactive.
Regards, Dominik