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

go install net: open /usr/lib/go/pkg/linux_amd64/net.a: permission denied #15

Closed
Dr-Terrible opened this issue Jan 14, 2016 · 0 comments

Comments

@Dr-Terrible
Copy link
Owner

This compilation error happens because you have dev-go/go-net::gentoo-0_pre20150804 installed in your system. It's a very well known bug.

That ebuild is stale and broken by design; uninstall it with emerge -C dev-go/go-net, and your package should be able to successfully continue the compilation.

If the error persists after you have removed dev-go/go-net, then chances are that those files in /usr/lib/go/pkg/linux_amd64/* are leftovers from a previous broken session of sys-apps/portage, hence they are still present in your filesystem despite the uninstall of dev-go/go-net.

In case, run this command¹ from your terminal: qfile /usr/lib/go/pkg/linux_amd64/net.a. If qfile doesn't shows you an output such as: dev-go/go-net (/usr/lib/go/pkg/linux_amd64/net.a), then that file is an orphan cluttering your system. Just manually remove it.

Unfortunately there is nothing I can do to fix this scenario, or to prevent it, since I'm not the maintainer of that ebuild. Feel free to enquiry Gentoo developers for a proper solution.

¹- qfile is provided by package app-portage/portage-utils;

I'll leave this bug report open as a reminder for future users.

Repository owner locked and limited conversation to collaborators Oct 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant