Bug 846944

Summary: hugin fails to start
Product: [openSUSE] openSUSE 13.1 Reporter: fire bird <firebird209>
Component: OtherAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bwiedemann, forgotten_xRcrmyYBVX, sbrabec, wbauer, zpambak
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description fire bird 2013-10-21 21:37:23 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

On openSUSE 13.1 RC1, hugin is broken out of the box, when you try to start it, nothing happens, it doesn't start. Trying to start it from a terminal, I get the following error:

hugin: error while loading shared libraries: libhuginbase.so.0.0: cannot open shared object file: No such file or directory

This library, in fact, is not missing. A temporary workaround to this issue is to use: LD_LIBRARY_PATH=/usr/lib64/hugin/ hugin  (thanks to DimStar for the help) to start hugin 

Reproducible: Always

Steps to Reproduce:
1. Start hugin, nothing happens at all.
2. Start hugin from a terminal
3. As a result of starting hugin from a terminal, an error message is returned.
Actual Results:  
When starting hugin, it does not start do to a missing library (which isn't actually missing)

Expected Results:  
The expected result is for hugin to properly start instead of it thinking there is a library missing, causing it to give an error (from a terminal)
Comment 1 Stanislav Brabec 2013-10-23 16:39:02 UTC
Confirming.
Comment 2 Stanislav Brabec 2013-10-25 16:54:36 UTC
I am not friendly with cmake build system. It can even be a bug in the new cmake.

I worked around it by a simple hack in the spec file:

export LDFLAGS="-Wl,-rpath -Wl,%{_libdir}/hugin"

https://build.opensuse.org/package/show/home:sbrabec:branches:graphics/hugin

Created OBS request id 204827 to graphics.
Comment 3 Bernhard Wiedemann 2013-10-25 18:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (846944) was mentioned in
https://build.opensuse.org/request/show/204832 Factory / hugin
Comment 4 Forgotten User xRcrmyYBVX 2013-11-21 19:44:47 UTC
Hugin is still broken on 13.1 (i.e. not even starting for the average user) and the fix has been available for a month now...

Could this (or the superseeded version) be released, please?
Comment 5 Eric van lier 2013-11-23 07:47:42 UTC
There is a quick workaround.
opensuse 13.1 ships with hugin version 2012.0.0 from repo Official release.

I installed version hugibn version  2013.0.0 from repo Graphics and it works without any problems. 

Conclusion: upgrade Hugin to v 2013.0.0 in repo Official Release
Comment 6 Wolfgang Bauer 2013-11-25 11:08:56 UTC
I can confirm this as well on 13.1 final.

This also affects digikam's "Panorama" and "Exposure Blending" tools. They can't run the required hugin tools.
Comment 7 Stanislav Brabec 2013-11-25 14:55:23 UTC
OOPS. Bad things happened. The submit request above conflicted with another request (version upgrade). => It did not occur as a standalone fix in Factory. => 13.1 team did not cherry pick it.

Fixing now and applying the same patch for 13.1:

https://build.opensuse.org/package/show/home:sbrabec:branches:openSUSE:13.1:Update/hugin.openSUSE_13.1_Update
Comment 8 Wolfgang Bauer 2013-11-25 16:22:46 UTC
(In reply to comment #7)
> Fixing now and applying the same patch for 13.1:
> 
> https://build.opensuse.org/package/show/home:sbrabec:branches:openSUSE:13.1:Update/hugin.openSUSE_13.1_Update

I just installed that package and can confirm that it fixes the issue. I hope it will be released as online update soon... ;-)

Thank you!
Comment 9 Stanislav Brabec 2013-11-25 16:39:23 UTC
Created OBS maintenance request id 208303 with this minimal fix.
Comment 10 Benjamin Brunner 2013-12-02 11:00:17 UTC
Update released for openSUSE 13.1. Resolved fixed.
Comment 11 Swamp Workflow Management 2013-12-02 11:06:06 UTC
openSUSE-RU-2013:1798-1: An update that has one recommended fix can now be installed.

Category: recommended (important)
Bug References: 846944
CVE References: 
Sources used:
openSUSE 13.1 (src):    hugin-2012.0.0-8.4.1