Opened 4 years ago

Closed 2 months ago

#46959 closed defect (fixed)

sphinx 2.2.4_0 on Yosemite build failed on dependency mysql5

Reported by:… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: sphinx


On fresh yosemite migrate installation. port rebuild following official instruction. Installing sphinx failed on building dependencies mysql5


  • Xcode up to date (Version 6.1.1 (6A2008a))
  • sphinx 2.2.4_0
  • MacOS 10.10.2
  • port 2.3.3

My analysis

Seems the problem is ./abi_check.out: Permission denied (port install sphinx was launched with sudo)


A workaround is : sudo port install sphinx +mysql56

Here are the logs

:info:build /bin/sh: ./abi_check.out: Permission denied
:info:build make[2]: *** [do_abi_check] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build make[1]: *** [abi_check] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build for port mysql5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 14875 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for mysql5: org.macports.activate org.macports.destroot org.macports.install
:error:build Failed to install mysql5
:debug:build Registry error: mysql5 not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port mysql5 for details:

Change History (2)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Keywords: Yosemite Mysql sphinx removed
Priority: LowNormal

Yeah, the default variant should be changed.

comment:2 Changed 2 months ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.