First of all, the package is team maintained. So it isn't only me here. If you want, feel free to join the Debian PHP PEAR Maintainers <email address hidden>, we'd be very (extremely, delighted...) happy to have some more hands, because there's lots of packages to maintain.
Second, I just had a longer look at the issue. Just after installing the package, here's what I have:
# ls -lah /usr/share/doc/php-compat/tests/function/acosh.phpt
-rw-r--r-- 1 root root 263 Jun 30 23:16 /usr/share/doc/php-compat/tests/function/acosh.phpt
As you see, the date is correct. So I didn't understand first what issue we were having here. Then I finally understood: file dates in the Git repository are also correct, and only the orig.tar.gz has wrong dates, but since I'm packaging with Git, I don't see the issue. You'll have it only if you don't use git-buildpackage to build, but downloading the source package and building. I tried, and it proves me correct!!! So I wonder, when you pull a package from Debian, do you *ALWAYS* rebuild it before importing it in Ubuntu?
Anyway, instead of doing what you asked above (eg, using a find and a touch after dh_installdocs), I've switched to using the dh short style and pkg-php-tools, since this is a waaaaaaaaay better, cleaner, faster, and more maintainable. And magically, this solves the issue, even when *not* using git-buildpackage. I'm not sure what the scripts of pkg-php-tools are doing, but it is well possible that they have addressed the situation, since the issue of stupid dates in upstream PHP PEAR packages are recurring. FYI, I'm currently in the process of switching all of my PHP PEAR packages to this style of packaging, which I believe will smooth everything.
So, here's the changelog for my last upload:
php-compat (1.6.0a3-2) unstable; urgency=low
* Now using DEP5 for the debian/copyright.
* Now using pkg-php-tools and dh 8 short style (so depends on dh 8).
This also sloves an issue when rebuilding the package without using
git-buildpackage, because of upstream file dates set to 1/1/1970,
which was affecting Ubuntu (LP: #836935).
* Section is now php.
So, I would suggest you to synch this last upload to SID, since it will fix your troubles. I hope you didn't mind the long explanations, but I thought it was worth explaining! :)
Cheers,
Thomas Goirand (zigo)
P.S: Note that I couldn't use the ${phppear:Debian-Depends} since it was erroring on me...
Hi,
First of all, the package is team maintained. So it isn't only me here. If you want, feel free to join the Debian PHP PEAR Maintainers <email address hidden>, we'd be very (extremely, delighted...) happy to have some more hands, because there's lots of packages to maintain.
Second, I just had a longer look at the issue. Just after installing the package, here's what I have:
# ls -lah /usr/share/ doc/php- compat/ tests/function/ acosh.phpt doc/php- compat/ tests/function/ acosh.phpt
-rw-r--r-- 1 root root 263 Jun 30 23:16 /usr/share/
As you see, the date is correct. So I didn't understand first what issue we were having here. Then I finally understood: file dates in the Git repository are also correct, and only the orig.tar.gz has wrong dates, but since I'm packaging with Git, I don't see the issue. You'll have it only if you don't use git-buildpackage to build, but downloading the source package and building. I tried, and it proves me correct!!! So I wonder, when you pull a package from Debian, do you *ALWAYS* rebuild it before importing it in Ubuntu?
Anyway, instead of doing what you asked above (eg, using a find and a touch after dh_installdocs), I've switched to using the dh short style and pkg-php-tools, since this is a waaaaaaaaay better, cleaner, faster, and more maintainable. And magically, this solves the issue, even when *not* using git-buildpackage. I'm not sure what the scripts of pkg-php-tools are doing, but it is well possible that they have addressed the situation, since the issue of stupid dates in upstream PHP PEAR packages are recurring. FYI, I'm currently in the process of switching all of my PHP PEAR packages to this style of packaging, which I believe will smooth everything.
So, here's the changelog for my last upload:
php-compat (1.6.0a3-2) unstable; urgency=low
* Now using DEP5 for the debian/copyright. buildpackage, because of upstream file dates set to 1/1/1970,
* Now using pkg-php-tools and dh 8 short style (so depends on dh 8).
This also sloves an issue when rebuilding the package without using
git-
which was affecting Ubuntu (LP: #836935).
* Section is now php.
-- Thomas Goirand <email address hidden> Tue, 20 Sep 2011 01:13:22 +0800
So, I would suggest you to synch this last upload to SID, since it will fix your troubles. I hope you didn't mind the long explanations, but I thought it was worth explaining! :)
Cheers,
Thomas Goirand (zigo)
P.S: Note that I couldn't use the ${phppear: Debian- Depends} since it was erroring on me...