Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while building the lxc-3.0.2 rpm #2541

Closed
aston-r opened this issue Aug 17, 2018 · 4 comments
Closed

error while building the lxc-3.0.2 rpm #2541

aston-r opened this issue Aug 17, 2018 · 4 comments
Labels
Incomplete Waiting on more information from reporter

Comments

@aston-r
Copy link

aston-r commented Aug 17, 2018

Dear Developers,

$subj

STR:
-build rpm using the default lxc.spec from the repository

Actual Result:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib64/liblxc.a
make: *** [rpm] Error 1

I have fixed the issue in the following way:

--- a/lxc.spec.in
+++ b/lxc.spec.in
@@ -244,6 +244,7 @@ fi
 %defattr(-,root,root)
 %{_sbindir}/*
 %{_libdir}/*.so.*
+%{_libdir}/*.a
 %{_libdir}/%{name}
 %{_localstatedir}/*

As far as I can see the issue appears after the following changes: 57d533f

@brauner
Copy link
Member

brauner commented Aug 17, 2018 via email

@brauner brauner added the Incomplete Waiting on more information from reporter label Aug 20, 2018
@2xsec
Copy link
Contributor

2xsec commented Oct 10, 2018

@brauner #2686. :)

@2xsec
Copy link
Contributor

2xsec commented Oct 10, 2018

@aston-r The issue is fixed. If you don't need static library, you can use --disable-static option. :)

@brauner brauner closed this as completed Oct 10, 2018
@brauner
Copy link
Member

brauner commented Oct 10, 2018

Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Incomplete Waiting on more information from reporter
Development

No branches or pull requests

3 participants