Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9196 closed defect (fixed)

php5-cli & php5-cgi error on compilation

Reported by: Nicolas Le Falher <n.lefalher@…> Owned by: mhei
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: php5-cli php5-cgi Cc:

Description

Compilation of php5-cli or php5-cgi return an error :

rm -rf /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5
mkdir -p /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/stamp /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5
install -d -m0755 /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5/etc
install -m0644 ./files/php.ini /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5/etc/
SHELL= /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/host/bin/flock /data/Documents/informatique/Openwrt/src/trunk_fresh/tmp/.root-copy.flock -c 'cp -fpR /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5/. /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/'
rm -rf /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/tmp-php5
touch /data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/root-rdc/stamp/.php5_installed
mkdir -p /data/Documents/informatique/Openwrt/src/trunk_fresh/bin/rdc/packages /data/Documents/informatique/Openwrt/src/trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4/ipkg-rdc/php5-cli/CONTROL
install -d -m0755 /data/Documents/informatique/Openwrt/src/trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4/ipkg-rdc/php5-cli/usr/bin
cp -fpR /data/Documents/informatique/Openwrt/src/trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4/php-cli /data/Documents/informatique/Openwrt/src/trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4/ipkg-rdc/php5-cli/usr/bin/php-cli
cp: cannot stat `/data/Documents/informatique/Openwrt/src/trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4/php-cli': No such file or directory
make[3]: *** [/data/Documents/informatique/Openwrt/src/trunk_fresh/bin/rdc/packages/php5-cli_5.3.4-1_rdc.ipk] Error 1
make[3]: Leaving directory `/data/Documents/informatique/Openwrt/src/trunk_fresh/feeds/packages/lang/php5'
make[2]: *** [package/feeds/packages/php5/compile] Error 2
make[2]: Leaving directory `/data/Documents/informatique/Openwrt/src/trunk_fresh'
make[1]: *** [/data/Documents/informatique/Openwrt/src/trunk_fresh/staging_dir/target-i386_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/data/Documents/informatique/Openwrt/src/trunk_fresh'
make: *** [world] Erreur 2

ps : compile only php5 works.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Nicolas Le Falher <n.lefalher@…>

Wrong path in compile, workaround :

#cd trunk/build_dir/target-i386_uClibc-0.9.32/php-5.3.4
#trunk_fresh/build_dir/target-i386_uClibc-0.9.32/php-5.3.4$ ln -s sapi/cli/ php-cli

Same solution for cgi.

comment:2 Changed 7 years ago by Nicolas Le Falher <n.lefalher@…>

Compile are ok, but binary missing in pkg :

root@OpenWrt:/# ls -al  /usr/bin/php*                                                          
lrwxrwxrwx    1 root     root             9 Apr  7  2011 /usr/bin/php-cgi -> sapi/cgi/         
lrwxrwxrwx    1 root     root             9 Apr  7  2011 /usr/bin/php-cli -> sapi/cli/         
lrwxrwxrwx    1 root     root             7 Apr  7  2011 /usr/bin/php-fcgi -> php-cgi    
root@OpenWrt:/# find . -name sapi                                                              
root@OpenWrt:/# 

comment:3 Changed 7 years ago by mhei

  • Owner changed from developers to mhei
  • Status changed from new to assigned

comment:4 Changed 7 years ago by mhei

  • Resolution set to fixed
  • Status changed from assigned to closed

Thanks for reporting. Should be fixed in r26825.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.