#28385 [Opn->Ver]: [PATCH] some files in $(prefix)/lib/php/build/* installed with wrong permissions

From: Date: Mon, 05 Jul 2004 23:46:44 +0000
Subject: #28385 [Opn->Ver]: [PATCH] some files in $(prefix)/lib/php/build/* installed with wrong permissions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61736@lists.php.net to get a copy of this message
ID: 28385 Updated by: sniper@php.net -Summary: $(prefix)/lib/php/build/* was wrong attr. Reported By: ramsy at ramix dot jp -Status: Open +Status: Verified -Bug Type: *Compile Issues +Bug Type: Compile Failure Operating System: Linux PHP Version: 4.3.6 Previous Comments: ------------------------------------------------------------------------ [2004-07-05 11:54:48] hotta dot michihide at gmail dot com i'm trying to rewrite a bit. $(prefix)/lib/php/build/* have attributes of 755. on building php as an rpm package, they are treated as scripts and build fails because of broken dependencies. ------------------------------------------------------------------------ [2004-05-13 18:02:46] ramsy at ramix dot jp 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 this bug report at http://bugs.php.net/?id=28385&edit=1

« previous php.bugs (#61736) next »