php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46840 ln: creating symbolic link `..phar': File exists
Submitted: 2008-12-12 03:44 UTC Modified: 2008-12-17 11:17 UTC
From: moo dot tinys at gmail dot com Assigned: helly (profile)
Status: Closed Package: PHAR related
PHP Version: 5.3CVS-2008-12-12 (CVS) OS: linux
Private report: No CVE-ID: None
 [2008-12-12 03:44 UTC] moo dot tinys at gmail dot com
Description:
------------
make install twice and i'll get an error:
ln: creating symbolic link `/home/moo/test/php5-debug-zts//bin/phar': File exists


Reproduce code:
---------------
$ LANG=C make  install
.....
$ LANG=C make  install
Installing PHP SAPI module:       cgi
Installing PHP CGI binary: /home/moo/test/php5-debug-zts//bin/
Installing PHP CLI binary:        /home/moo/test/php5-debug-zts//bin/
Installing PHP CLI man page:      /home/moo/test/php5-debug-zts//php/man/man1/
Installing build environment:     /home/moo/test/php5-debug-zts//lib/php/build/
Installing header files:          /home/moo/test/php5-debug-zts//include/php/
Installing helper programs:       /home/moo/test/php5-debug-zts//bin/
  program: phpize
  program: php-config
Installing man pages:             /home/moo/test/php5-debug-zts//php/man/man1/
  page: phpize.1
  page: php-config.1
/home/moo/src/php/php5/build/shtool install -c ext/phar/phar.phar /home/moo/test/php5-debug-zts//bin
ln -s /home/moo/test/php5-debug-zts//bin/phar.phar /home/moo/test/php5-debug-zts//bin/phar
ln: creating symbolic link `/home/moo/test/php5-debug-zts//bin/phar': File exists
make: *** [install-pharcmd] Error 1


Expected result:
----------------
make install should finish

Actual result:
--------------
ln: creating symbolic link `/home/moo/test/php5-debug-zts//bin/phar': File exists
make: *** [install-pharcmd] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-17 11:17 UTC] bjori@php.net
Fixed in CVS couple of day ago
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC