Opened 10 years ago

Closed 6 years ago

#46959 closed defect (fixed)

sphinx 2.2.4_0 on Yosemite build failed on dependency mysql5

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

Description

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

Versions

  • 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)

workaround

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 org.macports.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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for mysql5: org.macports.activate org.macports.build 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:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log

Change History (2)

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

Keywords: Yosemite Mysql sphinx removed
Priority: LowNormal

Yeah, the default variant should be changed.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

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