Misterious tar errors on today's current/amd64

Stefan Ehmann shoesoft at gmx.net
Tue Sep 18 10:08:51 PDT 2007


On Tuesday 18 September 2007 17:54:40 Eric Anderson wrote:
> Dmitry Morozovsky wrote:
> > Hi there colleagues.
> >
> >
> > marck at n5600:/usr/ports/archivers/rpm> uname -a
> > FreeBSD n5600.rinet.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Tue Sep 18
> > 17:23:00 MSD 2007     marck at n5600.rinet.ru:/usr/obj/usr/src/sys/MINI 
> > amd64
> >
> > (freshly built system)
> >
> > marck at n5600:/usr/ports/archivers/rpm> make
> > ===>  Patching for rpm-3.0.6_13
> > ===>  Applying FreeBSD patches for rpm-3.0.6_13
> > 1 out of 1 hunks failed--saving rejects to aclocal.m4.rej
> > => Patch patch-av failed to apply cleanly.
> > *** Error code 1
> >
> > Stop in /usr/ports/archivers/rpm.
> >
> > marck at n5600:/usr/ports/archivers/rpm> l work/rpm-3.0.6/aclocal.m4*
> > -rw-rw-r--  1 marck  wheel  6657 Sep 18 17:48 work/rpm-3.0.6/aclocal.m4
> > -rw-rw-r--  1 marck  wheel  6656 Sep 13  2000
> > work/rpm-3.0.6/aclocal.m4.orig -rw-rw-r--  1 marck  wheel   324 Sep 18
> > 17:48 work/rpm-3.0.6/aclocal.m4.rej
> >
> > marck at n5600:/usr/ports/archivers/rpm> cd work/
> > marck at n5600:/usr/ports/archivers/rpm/work> rm -rf rpm-3.0.6/
> > marck at n5600:/usr/ports/archivers/rpm/work> tar tvzf
> > /usr/ports/distfiles/rpm-3.0.6.tar.gz |grep aclocal -rw-rw-r--  0 2161  
> > 2161    34470 Sep 13  2000 rpm-3.0.6/aclocal.m4 -rw-rw-r--  0 2161   2161
> >    34044 Sep 13  2000 rpm-3.0.6/popt/aclocal.m4
> > marck at n5600:/usr/ports/archivers/rpm/work> tar xzf
> > /usr/ports/distfiles/rpm-3.0.6.tar.gz
> > marck at n5600:/usr/ports/archivers/rpm/work> l rpm-3.0.6/acl*
> > -rw-rw-r--  1 marck  wheel  6656 Sep 13  2000 rpm-3.0.6/aclocal.m4
> >
> > So, aclocal.m4 does not extracted correctly.
> >
> > WTF? I'm out of ideas.
>
> Maybe try rolling these back:
>
> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libarchive/archive_write_disk
>.c.diff?&r1=1.14&r2=1.15&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libarchive/test/test_write_di
>sk.c.diff?&r1=1.3&r2=1.4&f=h

I also just got bitten by this on a freshly installed current.

Reverting those files and rebuilding/reinstalling libarchive helps here.

-- 
Stefan


More information about the freebsd-current mailing list