Hi Tilman,

On 05/30/10 22:56, Tilman Sauerbeck wrote:
Hi,
in pkgutils-cross.git, commit 3f0931c4294981d3e3edb8c8ba8e422a4dd3a442
you added the -m flag to the bsdtar call that's used to extract source
archives.
That flag causes bsdtar to ignore the mtimes contained in the archive.

This causes build failures for eg the module-init-tools port:
In module-init-tools-3.11.1.tar.bz2, aclocal.m4 is stored after
configure. When extracting with -m, aclocal.m4 will have a newer mtime
than configure.
When you call make, it will realize the time difference and will
regenerate the configure script.
First many thanks for the report.

modules-init-tools worked fine here but anyways you're right, this kind of situations reminds me to some failed builds which were ok only sometimes and as you said 'make' regenerates the configure script. Sorry for the headaches I could cause.
For me, the newly created configure script then fails horribly.
Agree with that. I'll revert this commit.

I don't think you should need -m. Can you give an example of what
problem it fixed?
With this change I was trying to fix this problem when installing / upgrading a package:

[sepen@safe-env /devel/crux-arm]$ sudo pkgadd-cross -u ports/core-cross-noeabi/wget/wget#1.12-2.pkg.tar.gz
pkgadd: could not install etc/: Can't update time for /var/lib/pkg/rejected/etc
pkgadd: could not install etc/wgetrc: Can't update time for /var/lib/pkg/rejected/etc/wgetrc
pkgadd: could not install usr/: Can't update time for /usr
pkgadd: could not install usr/bin/: Can't update time for /usr/bin
pkgadd: could not install usr/bin/wget: Can't update time for /usr/bin/wget
pkgadd: could not install usr/man/: Can't update time for /usr/man
pkgadd: could not install usr/man/man1/: Can't update time for /usr/man/man1
pkgadd: could not install usr/man/man1/wget.1.gz: Can't update time for /usr/man/man1/wget.1.gz


This happens to me only in a host centos but finally I could not fix the bug so seems that I introduced a bug instead of solve a fix, :(
Do you have an idea about how to solve this problem on some hosts?

Best regards,
-- 
Jose V Beneyto | http://sepen.mine.nu/