Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36921 closed defect (fixed)

php53 @5.3.18: +suhosin variant fails patch phase

Reported by: halfi@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: php53

Description

OS X 10.8.2 (12C60) Xcode Version 4.5.2 (4G2008a)

Halfi:default user$ sudo port upgrade outdated
--->  Computing dependencies for php53-fpm
--->  Applying patches to php53-fpm
Error: org.macports.patch for port php53-fpm returned: command execution failed
Please see the log file for port php53-fpm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log

Halfi:default user$ tail -n 20 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log
:info:patch Skipping patch.
:info:patch 1 out of 1 hunk ignored -- saving rejects to file scripts/php-config.in.rej
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/work/php-5.3.18" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/php/files/patch-php53-scripts-php-config.in.diff'
:info:patch Exit code: 1
:error:patch org.macports.patch for port php53-fpm returned: command execution failed
:debug:patch Error code: CHILDSTATUS 740 1
:debug:patch Backtrace: command execution failed
    while executing
"system $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
:info:patch Warning: targets not executed for php53-fpm: org.macports.install org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:patch Please see the log file for port php53-fpm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log
Halfi:default user$ port -v
MacPorts 2.1.2

Change History (6)

comment:1 Changed 12 years ago by halfi@…

Cc: halfi@… added

Cc Me!

comment:2 Changed 12 years ago by halfi@…

Halfi:default user$ php -v
PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 24 2012 17:45:44) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: halfi@… removed
Keywords: php53-fpm php fpm removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to ryandesign@…
Type: updatedefect

It compiles fine for me. Please run "sudo port clean php53-fpm", then try again, then attach the main.log file if it fails again.

comment:4 Changed 12 years ago by halfi@…

Halfi:default user$ sudo port clean php53-fpm
--->  Cleaning php53-fpm
Halfi:default user$ sudo port upgrade outdated
--->  Computing dependencies for php53-fpm
--->  Fetching archive for php53-fpm
--->  Attempting to fetch php53-fpm-5.3.18_0+suhosin.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php53-fpm
--->  Attempting to fetch php53-fpm-5.3.18_0+suhosin.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/php53-fpm
--->  Attempting to fetch php53-fpm-5.3.18_0+suhosin.darwin_12.x86_64.tbz2 from http://packages.macports.org/php53-fpm
--->  Fetching distfiles for php53-fpm
--->  Verifying checksum(s) for php53-fpm
--->  Extracting php53-fpm
--->  Applying patches to php53-fpm
Error: org.macports.patch for port php53-fpm returned: command execution failed
Please see the log file for port php53-fpm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

main.log

Halfi:default user$ tail -n 20 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log
:info:patch patching file win32/build/config.w32
:info:patch patching file win32/build/config.w32.h.in
:info:patch Command failed: /usr/bin/gzip -dc "/opt/local/var/macports/distfiles/php5/suhosin-patch-5.3.9-0.9.10.patch.gz" | ( cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/work/php-5.3.18" && /usr/bin/patch -p1 )
:info:patch Exit code: 1
:error:patch org.macports.patch for port php53-fpm returned: command execution failed
:debug:patch Error code: CHILDSTATUS 663 1
:debug:patch Backtrace: command execution failed
    while executing
"system $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec patch "$gzcat \"$patch\" | (" ")""
    (procedure "portpatch::patch_main" line 33)
    invoked from within
"$procedure $targetname"
:info:patch Warning: targets not executed for php53-fpm: org.macports.install org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:patch Please see the log file for port php53-fpm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php53-fpm/main.log

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php53 added; php53-fpm removed
Resolution: fixed
Status: newclosed
Summary: php53-fpm don't compilled on mountain lionphp53 @5.3.18: +suhosin variant fails patch phase

Ah yes, the suhosin variant. Thanks for the report. Fixed in r99594.

comment:6 Changed 12 years ago by halfi@…

Thanks! Well done!

Note: See TracTickets for help on using tickets.