| Summary: | app-portage/eix can't be merged | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Sergey Kishchenko <voidwrk> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | martin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Interix | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch file to make eix work in rootless environment
Ebuild that makes use of submitted patches |
||
|
Description
Sergey Kishchenko
2009-09-24 13:54:46 UTC
Created attachment 205115 [details, diff]
Patch file to make eix work in rootless environment
Thanks for the report. i just committed a similar fix to the svn repo - you should receive it through rsync in a few minutes when you sync. the issue was interix3 only, so the patch is conditional now. you can understand the following as constructive critics :) : Next time please just attach a diff to the previous ebuild in bugzilla - this makes it more readable for me. Also, create an attachment instead of pasting the whole ebuild/patch in the comment - this makes it possible for me to save the file and have all whitespaces correct - which may not be the case otherwise. for the ebuild: for an EAPI=2 ebuild, the patching should be done in a function src_prepare(). please take a look at the ebuild i committed - you can see what i mean there. otherwise - good job, thanks! (since i have no XP box to test currently, could you please try, and report back if it worked?) Created attachment 205117 [details]
Ebuild that makes use of submitted patches
(In reply to comment #1) > Created an attachment (id=205115) [edit] > Patch file to make eix work in rootless environment > hmm... could you try to sync, update, and tell me if this is still an issue? i thought that would be fixed somewhere else...? hmmm... i just tried in my interix 5.2 environment: eix-update works flawlessly as the user that installed the prefix. Please CC me for eix bugs related to compile problems - they should be fixed in the tarball, not only by patches. Concerning the other patch: It is not needed, because setting SKIP_PERMISSION_TESTS=true skips the related tests. Of course, it is not nice that the error message does not point out this possibility. (In reply to comment #6) > Please CC me for eix bugs related to compile problems - they should be fixed in > the tarball, not only by patches. > Concerning the other patch: It is not needed, because > setting SKIP_PERMISSION_TESTS=true skips the related tests. > Of course, it is not nice that the error message does not point out this > possibility. > ok, so for the next eix release, will you add a check for ftello and fseeko, and fallback to ftell and fseek if not available? thanks. The fseeko/ftello fix and improved error messages are already in the trunk. It will appear in eix-0.18.1. |