[MacPorts] #47086: Latest Sphinx fails to build
#47086: Latest Sphinx fails to build --------------------+-------------------------------- Reporter: uri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: sphinx --------------------+-------------------------------- $ sudo port clean sphinx Password: ---> Cleaning sphinx $ sudo port install sphinx ---> Computing dependencies for sphinx ---> Fetching archive for sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sphinx ---> Fetching distfiles for sphinx ---> Verifying checksums for sphinx ---> Extracting sphinx ---> Configuring sphinx ---> Building sphinx Error: org.macports.build for port sphinx returned: command execution failed Please see the log file for port sphinx for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sphinx/sphinx/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port sphinx failed -- Ticket URL: <https://trac.macports.org/ticket/47086> MacPorts <https://www.macports.org/> Ports system for OS X
#47086: Latest Sphinx fails to build ---------------------+-------------------------------- Reporter: uri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: sphinx | ---------------------+-------------------------------- Comment (by uri@…): Sorry, this way to display screen output is better. {{{ $ sudo port clean sphinx Password: ---> Cleaning sphinx $ sudo port install sphinx ---> Computing dependencies for sphinx ---> Fetching archive for sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sphinx ---> Fetching distfiles for sphinx ---> Verifying checksums for sphinx ---> Extracting sphinx ---> Configuring sphinx ---> Building sphinx Error: org.macports.build for port sphinx returned: command execution failed Please see the log file for port sphinx for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sphinx/sphinx/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port sphinx failed }}} -- Ticket URL: <https://trac.macports.org/ticket/47086#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47086: Latest Sphinx fails to build ---------------------+-------------------------------- Reporter: uri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: sphinx | ---------------------+-------------------------------- Comment (by uri@…): The link command seems to be missing {{{ -lc++ }}} at the end. -- Ticket URL: <https://trac.macports.org/ticket/47086#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47086: Latest Sphinx fails to build ---------------------+-------------------------------- Reporter: uri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: sphinx | ---------------------+-------------------------------- Description changed by mf2k@…: Old description:
$ sudo port clean sphinx Password: ---> Cleaning sphinx $ sudo port install sphinx ---> Computing dependencies for sphinx ---> Fetching archive for sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sphinx ---> Fetching distfiles for sphinx ---> Verifying checksums for sphinx ---> Extracting sphinx ---> Configuring sphinx ---> Building sphinx Error: org.macports.build for port sphinx returned: command execution failed Please see the log file for port sphinx for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sphinx/sphinx/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port sphinx failed
New description: {{{ $ sudo port clean sphinx Password: ---> Cleaning sphinx $ sudo port install sphinx ---> Computing dependencies for sphinx ---> Fetching archive for sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/sphinx ---> Attempting to fetch sphinx-2.2.4_0+mysql5.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sphinx ---> Fetching distfiles for sphinx ---> Verifying checksums for sphinx ---> Extracting sphinx ---> Configuring sphinx ---> Building sphinx Error: org.macports.build for port sphinx returned: command execution failed Please see the log file for port sphinx for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sphinx/sphinx/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port sphinx failed }}} -- -- Ticket URL: <https://trac.macports.org/ticket/47086#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47086: Latest Sphinx fails to build ---------------------+-------------------------------- Reporter: uri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: sphinx | ---------------------+-------------------------------- Comment (by uri@…): Update that shows there's something fishy going on with the mess of the linker and compiler flags. When I removed most of them, the build seemed to succeed: {{{ .......... /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/opt/local/etc/sphinx\"" -DDATADIR="\"/opt/local/var/sphinx/data\"" -I/opt/local/include -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -Os -arch x86_64 -D_FILE_OFFSET_BITS=64 -DNDEBUG -MT sphinxaot.o -MD -MP -MF .deps/sphinxaot.Tpo -c -o sphinxaot.o sphinxaot.cpp mv -f .deps/sphinxaot.Tpo .deps/sphinxaot.Po /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/opt/local/etc/sphinx\"" -DDATADIR="\"/opt/local/var/sphinx/data\"" -I/opt/local/include -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -Os -arch x86_64 -D_FILE_OFFSET_BITS=64 -DNDEBUG -MT sphinxplugin.o -MD -MP -MF .deps/sphinxplugin.Tpo -c -o sphinxplugin.o sphinxplugin.cpp mv -f .deps/sphinxplugin.Tpo .deps/sphinxplugin.Po rm -f libsphinx.a ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxstemar.o sphinxutils.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o sphinxjson.o sphinxudf.o sphinxaot.o sphinxplugin.o ranlib libsphinx.a /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/opt/local/etc/sphinx\"" -DDATADIR="\"/opt/local/var/sphinx/data\"" -I/opt/local/include -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -Os -arch x86_64 -D_FILE_OFFSET_BITS=64 -DNDEBUG -MT indexer.o -MD -MP -MF .deps/indexer.Tpo -c -o indexer.o indexer.cpp mv -f .deps/indexer.Tpo .deps/indexer.Po /usr/bin/clang++ -pipe -Os -arch x86_64 -D_FILE_OFFSET_BITS=64 -DNDEBUG -L/opt/local/lib -o indexer indexer.o libsphinx.a -L/opt/local/lib/mysql5/mysql -lmysqlclient -lz -lexpat -lz -L/usr/local/lib -lpthread -L/usr/lib -lc++ Undefined symbols for architecture x86_64: "std::terminate()", referenced from: ___clang_call_terminate in indexer.o ___clang_call_terminate in libsphinx.a(sphinxutils.o) ___clang_call_terminate in libsphinx.a(sphinx.o) ___clang_call_terminate in libsphinx.a(sphinxstd.o) ___clang_call_terminate in libsphinx.a(sphinxaot.o) ___clang_call_terminate in libsphinx.a(sphinxexpr.o) ___clang_call_terminate in libsphinx.a(sphinxjson.o) ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [indexer] Error 1 make: *** [all] Error 2 $ sudo /usr/bin/clang++ -o indexer indexer.o libsphinx.a -L/opt/local/lib/mysql5/mysql -lmysqlclient -L/opt/local/lib -lexpat -lz $ }}} -- Ticket URL: <https://trac.macports.org/ticket/47086#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts