From: ramsy at ramix dot jp
Operating system: Linux
PHP version: 4.3.6
PHP Bug Type: *Compile Issues
Bug description: $(prefix)/lib/php/build/* was wrong attr.
Description:
------------
$(prefix)/lib/php/build/* was 755.
When rpm package, It is misunderstood with a script and the file of that
creates the broken package dependency.
Reproduce code:
---------------
scripts/Makefile.frag(part1):
BUILD_FILES = \
scripts/phpize.m4 \
build/mkdep.awk \
- build/shtool \
build/scan_makefile_in.awk \
Makefile.global \
acinclude.m4
+BUILD_FILES_EXEC = \
+ build/shtool
+
scripts/Makefile.frag(part2):
@echo "Installing build environment:
$(INSTALL_ROOT)$(phpbuilddir)/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir)
&& \
- (cd $(top_srcdir) && $(INSTALL) $(BUILD_FILES)
$(INSTALL_ROOT)$(phpbuilddir))
+ (cd $(top_srcdir) && \
+ $(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
+ $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir) )
--
Edit bug report at http://bugs.php.net/?id=28385&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28385&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28385&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28385&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28385&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28385&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28385&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28385&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28385&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28385&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28385&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28385&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28385&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28385&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28385&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28385&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28385&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28385&r=float