Opened 7 years ago

Closed 6 years ago

#56058 closed defect (duplicate)

nodejs7 7.10.1_0 Build failed

Reported by: krischik (Martin Krischik) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: nodejs7

Description (last modified by mf2k (Frank Schima))

Description

use sudo port install nodejs7 to install the port. The build fails with the following error message:


:info:build   /usr/bin/clang++ '-D_DARWIN_USE_64_BIT_INODE=1' '-DV8_TARGET_ARCH_X64' '-DENABLE_DISASSEMBLER' '-DV8_I18N_SUPPORT' -I../deps/v8/include -I../deps/v8 -I../deps/v8_inspector -I../deps/v8_inspector/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/obj/gen/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/obj/gen -I/opt/local/include/openssl  -O3 -gdwarf-2 -fstrict-aliasing -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/obj.target/standalone_inspector/deps/v8_inspector/src/inspector/inspected-context.o.d.raw  -Os -stdlib=libc++ -c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/obj.target/standalone_inspector/deps/v8_inspector/src/inspector/inspected-context.o ../deps/v8_inspector/src/inspector/inspected-context.cc
:info:build ../deps/v8_inspector/src/inspector/inspected-context.cc:77:24: error: return type of out-of-line definition of 'v8_inspector::InspectedContext::createInjectedScript' differs from that in the declaration
:info:build void InspectedContext::createInjectedScript() {
:info:build ~~~~                   ^
:info:build ../deps/v8/src/inspector/inspected-context.h:38:8: note: previous declaration is here
:info:build   bool createInjectedScript();
:info:build   ~~~~ ^
:info:build 1 error generated.
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out/Release/obj.target/standalone_inspector/deps/v8_inspector/src/inspector/inspected-context.o] Error 1
:info:build rm 244b58bb59dd83905a1593749aed467c074794f1.intermediate
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1/out'
:info:build make: *** [node] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/work/node-v7.10.1" && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++ CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os -stdlib=libc++" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1 
:info:build Exit code: 2
:error:build Failed to build nodejs7: command execution failed
:debug:build Error code: CHILDSTATUS 96347 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs7/nodejs7/main.log for details.

I add the full log.

Attachments (1)

main.log (8.1 MB) - added by krischik (Martin Krischik) 7 years ago.
Build log

Change History (3)

Changed 7 years ago by krischik (Martin Krischik)

Attachment: main.log added

Build log

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

Cc: ciserlohn@… removed
Description: modified (diff)
Keywords: Email: ciserlohn@macports.org GitHub: ci42 removed
Owner: set to ci42
Status: newassigned

comment:2 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: duplicate
Status: assignedclosed

Duplicate of ticket:55655.

Note: See TracTickets for help on using tickets.