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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 22:01:31 2024 UTC