Bug #72443 [NEW]: Installing shared extensions: cp: cannot stat 'modules/*': No such file or dire

From: Date: Fri, 17 Jun 2016 15:24:50 +0000
Subject: Bug #72443 [NEW]: Installing shared extensions: cp: cannot stat 'modules/*': No such file or dire
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201699@lists.php.net to get a copy of this message
From:             eugenekurilov at gmail dot com
Operating system: centos
PHP version:      7.0.7
Package:          Compile Failure
Bug Type:         Bug
Bug description:Installing shared extensions: cp: cannot stat 'modules/*': No such file or
dire

Description:
------------
I created a new extension by "ext_skel".
[root@localhost ext]# ./ext_skel --extname=eugene
Creating directory eugene
Creating basic files: config.m4 config.w32 .gitignore eugene.c
php_eugene.h CREDITS EXPERIMENTAL tests/001.phpt eugene.php [done].

To use your new extension, you will have to execute the following
steps:

1.  $ cd ..
2.  $ vi ext/eugene/config.m4
3.  $ ./buildconf
4.  $ ./configure --[with|enable]-eugene
5.  $ make
6.  $ ./sapi/cli/php -f ext/eugene/eugene.php
7.  $ vi ext/eugene/eugene.c
8.  $ make

In this case I can't use /buildconf. 


Test script:
---------------
I used phpize instead buildconf

[root@localhost eugene]# phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012

[root@localhost eugene]# ./configure
.....
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h


[root@localhost eugene]# make

Build complete.
Don't forget to run 'make test'.


[root@localhost eugene]# make test

Build complete.
Don't forget to run 'make test'.


=====================================================================
PHP         : /usr/local/bin/php
PHP_SAPI    : cli
PHP_VERSION : 7.0.7
ZEND_VERSION: 3.0.0
PHP_OS      : Linux - Linux localhost.localdomain 3.10.0-327.el7.x86_64
#1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64
INI actual  : /root/php-7.0.7/ext/eugene/tmp-php.ini
More .INIs  :
CWD         : /root/php-7.0.7/ext/eugene
Extra dirs  :
VALGRIND    : Not used
=====================================================================
TIME START 2016-06-15 20:05:35
=====================================================================
SKIP Check for eugene presence [tests/001.phpt]
=====================================================================
TIME END 2016-06-15 20:05:35

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   32
---------------------------------------------------------------------

Number of tests :    1                 0
Tests skipped   :    1 (100.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    0 (  0.0%) (  0.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================

This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it.  You can then email it to
qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: n


[root@localhost eugene]# make install
Installing shared extensions:    
/usr/local/lib/php/extensions/no-debug-non-zts-20151012/
cp: cannot stat 'modules/*': No such file or directory
make: *** [install-modules] Error 1



-- 
Edit bug report at https://bugs.php.net/bug.php?id=72443&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=72443&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=72443&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=72443&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=72443&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=72443&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=72443&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=72443&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=72443&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=72443&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=72443&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=72443&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=72443&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=72443&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72443&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=72443&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=72443&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=72443&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72443&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=72443&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=72443&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#201699) next »