Bug 4021 - build-perl-modules hangs on YAML-Syck-0.64
: build-perl-modules hangs on YAML-Syck-0.64
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.5b1
: PC Ubuntu Linux
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-30 09:40 UTC by Erland Isaksson
Modified: 2008-09-15 14:39 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
auto yes (356 bytes, patch)
2006-08-30 13:02 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erland Isaksson 2006-08-30 09:40:15 UTC
When launching build-perl-modules.pl on slimserver 6.5 from nightly 2006-08-30 it hangs when compiling YAML-Syck-0.64 on Ubuntu Dapper 6.06.

I tried to compile it manually and it results in the following output:
===================
slimserver@inspiron8600lin:~/Downloads/YAML-Syck-0.64$ /usr/bin/perl Makefile.PL

*** WARNING ***

This release breaks compatibility with versions earlier than version 0.60 of
YAML::Syck and YAML.pm when serializing blessed references.

See the COMPATIBILITY file for more information.

*** Pre-0.60 version of YAML.pm (0.57) detected.
*** Pre-0.60 version of YAML::Syck (0.44) detected.
Continue installing YAML::Syck? [y]
===================

The problem seems to be that it asks for a "y" but this question never shows up when running build-perl-modules.pl.
By entering "y" anyway when it seems to hang the compilation continues and succeeds.

The output when running build-perl-modules.pl just looks as follows:
=======================
Downloading XML-Parser-2.34.tar.gz to: /var/lib/slimserver/Downloads
Uncompressing..
Configuring..
 /usr/bin/perl Makefile.PL
Building..
Library for XML-Parser-2.34.tar.gz is OK!

Downloading YAML-Syck-0.64.tar.gz to: /var/lib/slimserver/Downloads
Uncompressing..
Configuring..
 /usr/bin/perl Makefile.PL
=======================
And nothing more happens until you enter y and press enter.
Comment 1 KDF 2006-08-30 13:02:06 UTC
Created attachment 1488 [details]
auto yes

YAML Syck requiress user intervention when the package detects a version below 0.60 on the system.  In this patch, we auto-feed the yes response.
Comment 2 Dan Sully 2006-08-30 13:53:37 UTC
Thanks - please apply.
Comment 3 KDF 2006-08-30 14:04:38 UTC
fixed, trunk at change 9297, 6.5 at change 9298
Comment 4 KDF 2006-09-02 10:49:32 UTC
*** Bug 4034 has been marked as a duplicate of this bug. ***
Comment 5 KDF 2006-09-02 10:50:49 UTC
The solution here does not work for all cases.  Either a system doesn't like the redirect, or when no input is required, the added redirect causes failure.

Might it be possible to expose the message to the user for manual response when needed?
Comment 6 Dan Sully 2006-09-03 16:51:32 UTC
Fixed in change 9392