Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51749 closed defect (fixed)

neovim @0.1.2 Fails to build

Reported by: herrbischoff (Marcel Bischoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: raimue (Rainer Müller)
Port: neovim

Description

This port fails to build, please find the log file below. Also, there is a more current stable version available: 0.1.4 (https://github.com/neovim/neovim/releases/tag/v0.1.4)

[...]
:info:build [ 96%] Built target nvim
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f runtime/CMakeFiles/runtime.dir/build.make runtime/CMakeFiles/runtime.dir/depend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/CMakeFiles/runtime.dir/DependInfo.cmake --color=
:info:build Dependee "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/CMakeFiles/runtime.dir/DependInfo.cmake" is newer than depender "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/CMakeFiles/runtime.dir/depend.internal".
:info:build Dependee "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/CMakeFiles/runtime.dir/depend.internal".
:info:build Scanning dependencies of target runtime
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f runtime/CMakeFiles/runtime.dir/build.make runtime/CMakeFiles/runtime.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build [ 96%] Generating syntax/vim/generated.vim
:info:build [100%] Generating copy_docfiles
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime && /opt/local/bin/lua /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/scripts/genvimvim.lua /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/src/nvim /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/syntax/vim/generated.vim
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime && /opt/local/bin/cmake -E copy_directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/doc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/doc
:info:build [100%] Generating doc/tags
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/runtime/doc && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/bin/nvim -u NONE -i NONE -es --headless -c helptags\ ++t\ . -c quit
:info:build /bin/sh: line 1: 51161 Abort trap: 6           /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2/bin/nvim -u NONE -i NONE -es --headless -c helptags\ ++t\ . -c quit
:info:build make[2]: *** [runtime/doc/tags] Error 134
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build make[1]: *** [runtime/CMakeFiles/runtime.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/work/neovim-0.1.2" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port neovim returned: command execution failed
:debug:build Error code: CHILDSTATUS 49751 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 neovim: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port neovim for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_neovim/neovim/main.log

Attachments (1)

nvim_2016-07-04-113547_Poppins.crash (11.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (10)

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

Priority: HighNormal

The Priority field is only for use by Macports team members, please do not set it.

comment:2 in reply to:  1 Changed 8 years ago by herrbischoff (Marcel Bischoff)

Replying to mf2k@…:

The Priority field is only for use by Macports team members, please do not set it.

Alright, noted. I'm not too familiar with Trac but shouldn't it be invisible to non-members then? Just a thought.

comment:3 Changed 8 years ago by raimue (Rainer Müller)

Works for me on OS X 10.10, using Xcode 7.2.1.

The nvim binary used abort() while generating tags for the help system of the runtime files. That is hard to debug remotely as it did not seem to produce any more information.

comment:4 Changed 8 years ago by herrbischoff (Marcel Bischoff)

What I find interesting is that compiling the source code by hand (make; make install) works flawless, installing via MacPorts fails with the above error messages. Is there any output or information you could need to debug this further?

Here's my environment:

❯ xed -v
xed version 7.3.1
❯ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.5
BuildVersion:	15F34

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

Also fails for me in the same way, OS X 10.11.6 beta 3 (15G12a), Xcode 7.3.1. Crash log attached.

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

comment:6 Changed 8 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Upstream: https://github.com/neovim/neovim/issues/4183

neovim updated to 0.1.4 in r149878.

comment:7 Changed 8 years ago by herrbischoff (Marcel Bischoff)

Thanks. But shouldn't

-DLUA_PRG=/opt/local/bin/lua

read

-DLUA_PRG=${prefix}/bin/lua

to make it independent of using /opt/local?

comment:8 Changed 8 years ago by raimue (Rainer Müller)

Of course! Thanks for noticing. Fixed in r149883.

comment:9 Changed 8 years ago by herrbischoff (Marcel Bischoff)

Thanks again! Builds smoothly here.

Note: See TracTickets for help on using tickets.