Re: Misterious tar errors on today's current/amd64

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Tue, 18 Sep 2007 19:08:47 +0200
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
Received on Tue Sep 18 2007 - 15:08:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC