Package: reprepro Version: 3.0.1 Severity: normal Trying to compile reprepro in a non-debian system where I need a repository set up, I found this error on compiling it from the source tarball. It seems to me that it only happens when you are not using libarchive, as it's my case.
Anyway, it happens on: ... gcc -DHAVE_CONFIG_H -I. -std=gnu99 -Wall -I/home/golan/install/db-4.3.29/include -I/home/golan/install/libgpg-error-1.4/include -I/home/golan/install/gpgme-1.1.2/include -g -O2 -MT extractcontrol.o -MD -MP -MF .deps/extractcontrol.Tpo -c -o extractcontrol.o extractcontrol.c extractcontrol.c: In function `try_extractcontrol': extractcontrol.c:138: error: `debfilename' undeclared (first use in this function) extractcontrol.c:138: error: (Each undeclared identifier is reported only once extractcontrol.c:138: error: for each function it appears in.) make[2]: *** [extractcontrol.o] Error 1 make[2]: Leaving directory `/home/golan/src/reprepro-3.3.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/golan/src/reprepro-3.3.0' make: *** [all] Error 2 $ It's a very particular installation as I am installing the dependencies on my home directory, but that shouldn't matter. In any case, I think the error is a typo on the variable name "debfilename" that I think it refers to debfile instead. Attached is the patch I've used. Thanks. Let me know if you need something else. -- Jesús Roncero <[EMAIL PROTECTED]> System Developer Tel: +44 (0) 845 666 7778 http://www.mxtelecom.com
--- extractcontrol.orig.c 2008-02-20 11:05:29.000000000 +0000 +++ extractcontrol.c 2008-02-20 11:05:44.000000000 +0000 @@ -135,7 +135,7 @@ fprintf(stderr, "Unexpected emtpy line in control information within '%s'\n" "(obtained via 'ar p %s control.tar.gz | tar -XOzf - %scontrol')\n", - debfilename, debfilename, + debfile, debfile, brokentar?"":"./"); free(controlchunk); controlchunk = NULL;

