Bug 1225841
| Summary: | Amanda amcheck broken: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Bieringer <pb> |
| Component: | amanda | Assignee: | Petr Hracek <phracek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | fedora, goodyca48, jdunn, nuno.dias, phracek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | amanda-3.3.7p1-1.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-04 20:13:04 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: | |||
|
Description
Peter Bieringer
2015-05-28 10:19:35 UTC
I can confirm I have the same problem. amdump won't work either due to the same problem, which makes Amanda non-functional. $ sudo -u amandabackup /usr/sbin/amdump <XXX> Can't load '/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so' for module Amanda::Util: /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193. at /usr/lib64/perl5/vendor_perl/Amanda/Util.pm line 11. Compilation failed in require at /usr/sbin/amdump line 30. BEGIN failed--compilation aborted at /usr/sbin/amdump line 30. See http://archives.zmanda.com/amanda-archives/viewtopic.php?t=7332&sid=d8727253f9e58c8528a8dcc40ea0d5c7 Hmm, looks like nobody take care regarding this issue leaving amanda broken in Fedora 22 for the time being...
...for those who can't wait here an adjusted spec file for 3.3.7p1, a rebuild based on F22 source rpm is working fine again (tested on 2 systems).
--- amanda.spec 2015-02-27 14:27:07.000000000 +0100
+++ amanda-3.3.7p1.spec 2015-06-20 18:42:17.551446207 +0200
@@ -9,7 +9,7 @@
Summary: A network-capable tape backup solution
Name: amanda
-Version: 3.3.6
+Version: 3.3.7p1
Release: 10%{?dist}
Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
Source1: amanda.crontab
@@ -109,9 +109,9 @@
%patch1 -p1 -b .xattrs
%patch2 -p1 -b .tcpport
%patch3 -p1 -b .config
-%patch4 -p1 -b .autogen
-%patch5 -p1 -b .krb5
-%patch6 -p1 -b .swig-3.0.5
+#%patch4 -p1 -b .autogen
+#%patch5 -p1 -b .krb5
+#%patch6 -p1 -b .swig-3.0.5
./autogen
%build
@@ -270,6 +270,7 @@
%{perl_vendorarch}/Amanda/Tests.pm
%{perl_vendorarch}/Amanda/Util.pm
%{perl_vendorarch}/Amanda/Xfer.pm
+%{perl_vendorarch}/Amanda/Message.pm
%{_mandir}/man5/amanda-archive-format.5*
%{_mandir}/man7/amanda-compatibility.7*
(In reply to Peter Bieringer from comment #4) That patch works for me. Thanks Peter! In rawhide it is fixed by commit http://pkgs.fedoraproject.org/cgit/amanda.git/commit/?id=c2fd8f98642675cdb365da18c87f061e5619737c In F22 it is fixed by commit http://pkgs.fedoraproject.org/cgit/amanda.git/commit/?h=f22&id=c2fd8f98642675cdb365da18c87f061e5619737c amanda-3.3.7p1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/amanda-3.3.7p1-1.fc22 Package amanda-3.3.7p1-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing amanda-3.3.7p1-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10554/amanda-3.3.7p1-1.fc22 then log in and leave karma (feedback). amanda-3.3.7p1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |