Bug 1157832

Summary: "lpf build" stalls at "installing build dependencies"
Product: [Fedora] Fedora Reporter: barsnick
Component: lpfAssignee: Alec Leamas <leamas.alec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: leamas.alec
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: lpf-0.1-8.36e5aa0.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-02 17:23:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Output from "lpf log spotify-client" none

Description barsnick 2014-10-27 19:38:02 UTC
Created attachment 951149 [details]
Output from "lpf log spotify-client"

Description of problem:
"lpf build" stalls at "installing build dependencies". 

Version-Release number of selected component (if applicable):
lpf-0.1-6.36e5aa0.fc20.noarch
lpf-spotify-client-0.9.4.183.g644e24e.428-8.fc20.noarch

How reproducible:

Steps to Reproduce:
1. lpf build spotify-client
2. wait very shortly until it stalls
3. press Ctrl+C

Actual results:
No notification, no nothing.

The log (took me quite some time to figure out how to access that!!!) reveals that lpf was trying to install some dependencies, and was stuck at the underlying prompt from yum.

Log is attached.

Expected results:
Prompt for dependant package installation. Or at least provide some information. Or time out. Or something.

Additional info:
Interestingly, running lpf without root permissions usually works nicely, it prompts for sudo permissions when wanting to install a package. In this case, sudo would have been required (AFAICT), but permissions weren't requested from me. Apart from that, lpf was probably stuck at the interactive confirmation prompt, and hadn't even reached the point yet where sudo permissions would be missing. But I'm just guessing.

What did help here was to manually install the build dependencies (yum install python-devel redhat-lsb-core). lpf then progresses further, but fails later, explanation below. A new bug report for another misbehavior is coming up.

Furthermore, lpf-spotify-client (from rpmfusion) currently has a problem of its own, in that the 32 bit "source" and 64 bit "source" available from "upstream" are of different versions, and the version referenced by the lpf-spotify-client no longer exists. That issue probably needs to go to rpmfusion bugzilla.

Comment 1 Alec Leamas 2014-10-27 19:54:06 UTC
The last issue is already reported: 

https://bugzilla.rpmfusion.org/show_bug.cgi?id=3247

I need to find some time to give lpf a little love.

Comment 2 Fedora Update System 2014-10-28 23:15:52 UTC
lpf-0.1-8.36e5aa0.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/lpf-0.1-8.36e5aa0.fc21

Comment 3 Fedora Update System 2014-10-31 01:26:24 UTC
Package lpf-0.1-8.36e5aa0.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lpf-0.1-8.36e5aa0.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13947/lpf-0.1-8.36e5aa0.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-02-02 17:23:52 UTC
lpf-0.1-8.36e5aa0.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.