* Lionel Le Folgoc <mrpo...@gmail.com> [090720 22:02]:
> I'm using reprepro for a repository I'm maintaining, and I've just tried
> to use the new "build-needing" action with the 3.11.0-1 release (rebuilt
> for lenny, but I'm not sure it matters).
>
> I've followed the instructions given by the build-needing command (add
> at least 'Tracking:minimal' and run retrack'), and it seems to generate
> false-positives:

Why do I write test cases when they never catch the obvious errors...

The following patch should fix that:

Index: needbuild.c
===================================================================
RCS file: /cvsroot/mirrorer/mirrorer/needbuild.c,v
retrieving revision 1.5
diff -u -r1.5 needbuild.c
--- needbuild.c 11 Jul 2009 11:07:39 -0000      1.5
+++ needbuild.c 21 Jul 2009 09:30:16 -0000
@@ -152,7 +152,7 @@
        r = target->getversion(control, &sourceversion);
        if( !RET_IS_OK(r) )
                return r;
-       r = chunk_getwordlist(control, "Architectures", &architectures);
+       r = chunk_getwordlist(control, "Architecture", &architectures);
        if( RET_IS_OK(r) ) {
                bool skip = true;
 

Thanks for your feedback,
        Bernhard R. Link

P.S: This command is not wanna-build. Without an extra
database of history it cannot avoid all false positives.
(Though no need to have false positives as dump as this).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to