Summary: | net-analyzer/sussen-0.90 doesn't compile with RPM 5.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | flameeyes, joshua.rich, Ma3oxuct, n3npq, netmon, sandro.bonazzola, vapier |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://dev.mmgsecurity.com/bugs/show_bug.cgi?id=94 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-analyzer\:sussen-0.90\:20080110-200836.log
rpm-4.4.6-r3 installed file list |
Description
Alexander Skwar
2008-01-11 06:36:13 UTC
Created attachment 140660 [details]
net-analyzer\:sussen-0.90\:20080110-200836.log
Build log.
Seems like sussen 0.90 is incompatible with RPM 5.0. I downgraded to rpm-4.4.6-r4, and now I'm able to build sussen-0.90. Mike, may be I'm completely misunderstood, but seems that headers exported by rpm-5.0 are not usable as some of them depend on other system headers they do not include and some are just incomplete. At least I did not manage to include anything but rpm/rpmio.h, while sussen needs rpmps.h included too. If I am correct, then may it's worth to hardmask rpm-5.0? Take a look at bug 202399 too. rpm-5 is not backwards compatible with older rpm versions, which would explain the cause of this bug as well as the other bug Peter cited. Hard masking until sussen and net-snmp are "made up to speed" with rpm-5 certainly won't hurt. Just curious, but wouldn't it be better to just change sussen and net-snmp to block when RPM 5 is installed? no, adding blockers just makes peoples' lives miserable i dont see how this could have worked against rpm 4 considering it didnt actually install any headers ... which means sussen has some automagic detection running that the ebuild is not correctly controlling ? (In reply to comment #6) > i dont see how this could have worked against rpm 4 considering it didnt > actually install any headers ... As far as I see, it does. In any case, rpm-5.0 is new package which breaks compatibility with the previous releases. Both net-snmp and sussen require changes to work with new version, may be, as described here: http://www.mail-archive.com/rpm-devel@rpm5.org/msg00113.html Until this changes occur (I'm more interested in net-snmp fixes ATM) the best we can do is hardmask rpm-5.0. Mike, any objections for hardmasking? I think in gentoo world net-snmp is more important package then rpm ;) unless you can explain to me how it works against rpm-4.x without any actual rpm headers installed, i'm not OK with p.masking i'm not going to argue the relative merits of rpm vs net-snmp as you're most likely correct, but masking one package so that you can ignore bugs in another doesnt sound like the route to go for any set of packages Created attachment 141992 [details] rpm-4.4.6-r3 installed file list (In reply to comment #8) > unless you can explain to me how it works against rpm-4.x without any actual > rpm headers installed, i'm not OK with p.masking Mike, rpm-4.4.6-r3 does install headers. Take a look at attachment. This is file list on my system... > i'm not going to argue the relative merits of rpm vs net-snmp as you're most > likely correct, but masking one package so that you can ignore bugs in another > doesnt sound like the route to go for any set of packages Sure. But issue was reported upstream and rpm developers are aware about breakage and are going to help us fixing this issues. Until this happens it's better to avoid breakage of unstable tree. please consult latest rpm-4.4.7 ... istr that was the version i checked out and it wasnt installing any headers ... but that sounds like a different issue we need to address ... which means masking rpm-5.x wont fix breakage as rpm-4.4.7 is no good if you check that out, we can mask 5.0.0 and open another bug for 4.4.7 ... (In reply to comment #10) > please consult latest rpm-4.4.7 ... istr that was the version i checked out and > it wasnt installing any headers ... Ah, now I see. Only rpm-4.4.7-r3 which is currently package masked does not install headers. All previous revisions/versions do. Also on x86 ~rpm-4.4.7 is masked too at default-linux/x86/package.mask. So I've masked >=app-arch/rpm-4.4.7-r3 for now. I hope I've manage resolve this issues soon... There's a patch to the oval/unix/rpm.c file that will permit compiling with rpm-5.x here: http://wraptastic.org/pub/jbj/sussen-rpm.c-rpm5.patch You will also need to add -I/usr/include/rpm/ to CFLAGS in the Makefile. Yes the patch is quite raw. Much better needs to be done, but that will require participation from sussen developers. tracked at https://bugs.launchpad.net/rpm/+bug/634179 Hi Jeff. Could you attach patch here? The link you posted here is not available any more... *** Bug 370951 has been marked as a duplicate of this bug. *** I just bumped into this issue from revdep-rebuild after installing rpm. Any hope of seeing it resolved, or should I just punt and zap sussen? The disk on which the patch resided crashed years ago. Lemme see if I can find ... meanwhile sussen wasn't in good shape in 2008, and there are many changes to rpm's API since, all versions. dropped |