-
Notifications
You must be signed in to change notification settings - Fork 7
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
unsymlink-lib with paludis based systems #19
Comments
I guess the most obvious way to fix it is to rewrite vdb filenames. |
Any progress on this? Any way we could help? |
Nothing concrete has been done yet. |
All the packages that have files that got installed into lib64 that should be in lib still own /lib or /usr/lib. There are some messy ways to fix this, but I think fixing the vdb record temporarily via a useflag and patch might be the best idea. You can then rebuild everything that owns /lib or /usr/lib, remove the useflag and rebuild again. |
Could you be more specific? According to https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html /lib /usr/lib become separate directories from /lib64 and /usr/lib64. Now, to check which directories are actually recorded in /var/db/pkg directories e.g. for sys-libs/glibc-2.29-r2 I look into /var/db/pkg/sys-libs/glibc-2.29-r2/CONTENTS and see following:
Same for /var/db/pkg/sys-libs/binutils-libs-2.30-r4/CONTENTS
So Paludis recorded paths actually dereferencing symlinks. Am I missing something obvious here? |
The issue is, that you don't know if the package should have been in lib or lib64, because there are be packages that install in both. E.g a fixed /var/db/pkg/dev-lang/python-3.7.5-r1/CONTENTS would look like this:
Before removing the dereferencing this would have looked like this:
How would you decide where it should have been installed? The only hint that something was awry is this line: I have a patch that I would like to test that fixes that. But that was hastily written and I would like to test it further if it breaks something. |
Ha-ha, Python. Again. Yes, I'll gladly review the patch when it is ready. |
anything new on this issue. 17.0 profiles are deprecated and we need an easy way to make the change to 17.1 |
Hi. |
I've pushed the patch to negril@f7af7dd. The vdb tests should capture this as well. I'm not quite sure we should merge it. It seems wiser to add the patch via use-flag. I am using the following set to reinstall affected packages. There are a few false positives.
|
Thanks for the patch. Could you confirm that https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html migration plan also suits Paludis? |
I would assume so. The output from I will run the full migration once I can take my test machine down. |
I successfully ran the full migration and the system seems fine. Can't recompile everything since the gentoo tree has to many packages relying on EAPI 8 now. |
Thanks for info. |
Gentoo is moving to profiles 17.1 which required lib and lib64 is be real directories and to eliminate the lib symlink to lib64 and lib32. The unsymlink-lib program does not work properly on paludis based Gentoo systems. The issue appears to be in vardb, where paludis appear to have recorded the physical file location instead or the logical file locations according to Gentoo. Any idea of what to do?
The text was updated successfully, but these errors were encountered: