Summary: | sys-fs/e2fsprogs-1.41.14 breaks sys-boot/silo (undefined references to posix_memalign) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | 404 Error <404errorqc> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc64 | ||
OS: | Linux | ||
URL: | http://marc.info/?l=linux-sparc&m=129468771631829&w=2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
silo-1.4.14-r1.ebuild Tweaked posix_memalign.patch (to go into files/) silo-1.4.14-r1.ebuild posix_memalign.patch (to go into files/) |
Description
404 Error
2011-01-05 13:33:23 UTC
Please, can you attach the full build.log and paste your "emerge -pv silo" output? Created attachment 259491 [details]
build.log
@base-system: any help appreciated. I'm sending this upstream anyway Sorry guys, I didn't forget this bug, I am due to rebuild another SPARC chroot in a near future (this week I hope), will do a follow-up on the subject. i dont understand what you need. e2fsprogs uses posix_memalign, so provide it in silo if you want to use the libraries. the function is pretty trivial to implement -- just read the desc of it in `man posix_memalign`. all you need is like a call to malloc with some bit twiddlin. Have you tested silo-1.4.14_p20100228 with e2fsprogs-1.41.14 yet? I reported this upstream. Testing is appreciated, as far as i've tested, it builds but silo breaks. I've just patched silo with the patch from Dave Miller, and have tested it by installing new bootblock with silo -f, then rebooting. It will not boot - unknown ext2 error: 4294967295. I have just looked at this again this morning. There appears to be a problem with the patch from David Miller, I had to spin a new patch based on it to be able to apply it cleanly to the e2fsprogs sources. I then tried to build both unstable e2fsprogs, that went well. Silo compiled OK and was installed to /boot. On reboot, I got the same error that I had the night before. I strongly suspect that posix_memalign() does need to be implemented or linked from glibc as a static function (maybe extract what we need?) otherwise silo fails to boot. New ebuild and patch attached. Created attachment 259694 [details]
silo-1.4.14-r1.ebuild
Created attachment 259695 [details, diff]
Tweaked posix_memalign.patch (to go into files/)
OK, I have now a newer ebuild and a new patch that solves this problem entirely for all current versions of e2fsprogs/e2fsprogs-lib (<=1.41.14), attached to this bug report. Please test. Created attachment 260060 [details]
silo-1.4.14-r1.ebuild
Created attachment 260061 [details, diff]
posix_memalign.patch (to go into files/)
Nice job Alex, would be good to add a little note like "Required by e2fsprogs >= 1.41.14", remembering the role of a "callback" function is not trivial to guess. Will test when I will have 2 minutes. Fixed Thank you, AFAK corrections are in silo-1.4.14_p20100228 |