FreeBSD Port: mpack-1.6

Boris Samorodov bsam at ipt.ru
Wed Mar 1 11:20:04 PST 2006


On Wed, 01 Mar 2006 13:10:46 -0600 Paul Schmehl wrote:
> --On Wednesday, March 01, 2006 22:02:37 +0300 Boris Samorodov
>   <bsam at ipt.ru> wrote:
> >
> >> I've looked through the source code, but I'm not sure where the
> >> problem is. I only see one call to open the file.
> >
> > No. Lookup before mpack reads Makefile.
> >
> I see that, but I only see one call to open the file in the source.
> I'll have to check to see what's calling that function.  Thanks.

> > Can't say for sure why that patch exists, but deletting
> > files/patch-unixpk_c should help. Cvs says "Yet another overflow
> > check, better temp file name & misc cleanups". Assume this comment is
> > for the whole commit.
> >
> I've already incorporated that patch in to the other one and deleted
> it, but that doesn't fix this bug.

Hm:

-----
# uname -a
FreeBSD srv.sem.ipt.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 28 22:21:02 MSK 2006     bsam at srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV  i386

# cd /usr/ports/converters/mpack
# rm files/patch-unixpk_c
(Makefile,v 1.18)
# make
...
# cd work/mpack-1.6
# mkdir /usr/tmp
# ./mpack -s "test" Makefile bsam at ipt.ru
#
-----

That's it. With that patch I've got "File exists" error.
Double check you additional patches?


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-ports mailing list