Bug #70311 [Opn->Csd]: ZipArchive not generating output

From: Date: Mon, 28 Sep 2015 12:41:18 +0000
Subject: Bug #70311 [Opn->Csd]: ZipArchive not generating output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196283@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70311&edit=1

 ID:                 70311
 User updated by:    bergmann at berlitec dot de
 Reported by:        bergmann at berlitec dot de
 Summary:            ZipArchive not generating output
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Zip Related
 Operating System:   Mac OS X 10.10.4
 PHP Version:        5.6.12
 Block user comment: N
 Private report:     N

 New Comment:

I guess this can be closed.


Previous Comments:
------------------------------------------------------------------------
[2015-09-21 20:16:57] bchen at deltacontrols dot com

Although it's related to symlinks, $a->close() should return FALSE when a zip is failed to
generate.

I believe that's a bug fixed in Zip 1.13.0.
https://pecl.php.net/package-changelog.php?package=zip&release=1.13.0

Waiting PHP to include 1.13.1 :)

------------------------------------------------------------------------
[2015-08-24 14:40:54] cmb@php.net

> I've got a couple symlinks in my project. After removing them
> the zip is created just fine.

Then the issue might be related to bug #60348.

> Concerning zip, what changed from 5.4 to 5.6? Seems strange that
> it works in 5.4 but not in 5.6.

Which version of libzip do you use for your PHP 5.4? If it's
something else than 0.11.2 that might explain the changed
behavior.

------------------------------------------------------------------------
[2015-08-24 14:11:07] bergmann at berlitec dot de

Alright, I figured it out. Call me a moron.
I've got a couple symlinks in my project. After removing them the zip is created just fine.

P.S.: Concerning zip, what changed from 5.4 to 5.6? Seems strange that it works in 5.4 but not in
5.6.

P.P.S: Thanks for your time cmb

------------------------------------------------------------------------
[2015-08-24 13:30:41] bergmann at berlitec dot de

With that version the zip was created just as expected. I'll try to reinstall my other
installation.

------------------------------------------------------------------------
[2015-08-24 12:07:58] cmb@php.net

You can set the desired bison by giving the path to the executable
in the environment variable YACC. See also ./configure --help.
bison 3.0.4 is supposed to work.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=70311


--
Edit this bug report at https://bugs.php.net/bug.php?id=70311&edit=1


Thread (11 messages)

« previous php.bugs (#196283) next »