php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61368 Upstream tarball includes cruft (*.orig and autom4te.cache)
Submitted: 2012-03-13 07:12 UTC Modified: 2012-03-22 08:01 UTC
From: ondrej@php.net Assigned: stas (profile)
Status: Closed Package: *General Issues
PHP Version: 5.4.0 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ondrej@php.net
New email:
PHP Version: OS:

 

 [2012-03-13 07:12 UTC] ondrej@php.net
Description:
------------
On Mon, Mar 12, 2012 at 23:32, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> On Mon, Mar 12, 2012 at 23:11, Christopher Jones <christopher.jones@oracle.com> 
wrote:
> > The autom4te.cache and *.orig files originally mentioned are included in
> > php.net's php-5.4.0.tar.bz2
> > I.e. this is a valid issue.
> 
> Definitely seems to be a bug in the makedist script, since these files are
> not in the SVN but appear when packaging.
> 
> > Ondřej, please log a bug.


Test script:
---------------
ondrej@kiMac:/tmp$ md5 ~/Downloads/php-5.4.0.tar.gz
MD5 (/Users/ondrej/Downloads/php-5.4.0.tar.gz) = 46b72e274c6ea7e775245ffdb81c9ce5
ondrej@kiMac:/tmp$ tar -tzvf ~/Downloads/php-5.4.0.tar.gz | grep .orig
-rw-r--r--  0 smalyshev staff   30417 29 úno 08:37 php-5.4.0/ext/standard/url_scanner_ex.c.orig
-rw-r--r--  0 smalyshev staff   27289 29 úno 08:37 php-5.4.0/ext/standard/var_unserializer.c.orig
-rw-r--r--  0 smalyshev staff   19670 29 úno 08:37 php-5.4.0/ext/pdo/pdo_sql_parser.c.orig
-rw-r--r--  0 smalyshev staff   518939 29 úno 08:37 php-5.4.0/ext/date/lib/parse_date.c.orig
ondrej@kiMac:/tmp$ tar -tzvf ~/Downloads/php-5.4.0.tar.gz | grep autom4te
drwxr-xr-x  0 smalyshev staff       0 29 úno 08:37 php-5.4.0/autom4te.cache/
-rw-r--r--  0 smalyshev staff  3012815 29 úno 08:37 php-5.4.0/autom4te.cache/output.0
-rw-r--r--  0 smalyshev staff     2855 29 úno 08:37 php-5.4.0/autom4te.cache/requests
-rw-r--r--  0 smalyshev staff   387029 29 úno 08:37 php-5.4.0/autom4te.cache/traces.0


Expected result:
----------------
Neither .orig nor autom4te.cache/ directory in distribution tarball.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-22 08:01 UTC] stas@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

New git version doesn't have this problem anymore.
 [2012-03-22 08:01 UTC] stas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 02 16:01:29 2025 UTC