-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mar 3, 2007, at 3:52 AM, Martin Costabel wrote:

> Could those of you who have or had the dpkg-deb failure caused by
> tar-1.16.1 claiming
>
>    "file changed as we read it"
>
> please help with debugging this? Based on the outcome of these  
> tests, we
> should be able to decide whether we need to patch tar or dpkg, or
> whether we need to dig further down.
>
> I have made a special version of the tar executable that prints some
> more information if this error appears. It prints the old/new  
> ctimes and
> the old/new file sizes. The special version is a universal binary  
> (so it
> should work on both ppc and intel) and is available at
> http://perso.orange.fr/costabel/tar.gz
>
> A possible test procedure to follow would be:
>
> 1. Download the new tar:
>
>    curl -O http://perso.orange.fr/costabel/tar.gz
>    gunzip tar.gz
>    chmod +x tar
>    mv tar /var/tmp/
>
> 2. Replace (temporarily) Fink's tar by the new one
>
>    sudo ln -sf /var/tmp/tar /sw/bin/tar
>
> 3. Build one of the packages that give you the tar error (mysql,  
> gcc42,
> gnumeric were among those where the error was reported). Cross your
> fingers that the error will happen again ;-)
>
> 4. Report to the list the part of the error message that is printed
> after the "file changed as we read it" line.
>
> 5. Put Fink's tar back to where it was before
>
>    sudo ln -sf gtar /sw/bin/tar

I just got synaptic to fail with your tar:

dpkg-deb -b root-synaptic-0.57.2-2012 /sw/fink/10.4/unstable/main/ 
binary-darwin-i386/utils
dpkg-deb: building package `synaptic' in `/sw/fink/10.4/unstable/main/ 
binary-darwin-i386/utils/synaptic_0.57.2-2012_darwin-i386.deb'.
tar: ./sw/sbin/synaptic: file changed as we read it
=====
Old ctime: 1172946146
New ctime: 1172946150
Old size : 14130940
New size : 14130940
=====

/sw/bin/dpkg-deb: subprocess tar -cf returned error exit status 1
### execution of dpkg-deb failed, exit code 2

Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD8DBQFF6b6I4sDFGYouOqARAinjAJ9ttimRePg946/7uO9thcdsxZEkmwCdGcg/
+0g2Y91bH0sSg/bWuwoqJbM=
=okQd
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to